ACU-T: 4201 Condensation & Evaporation - Air Box
Prerequisites
This tutorial provides instructions for running a transient simulation of an enclosed air-box using the humidity model. Prior to starting this tutorial, you should have already run through the introductory tutorial, ACU-T: 1000 UI Introduction, and have a basic understanding of HyperMesh CFD and AcuSolve. To run this simulation, you will need access to a licensed version of HyperMesh CFD and AcuSolve.
Problem Description
From the above plot, we can see that the Air volume initial temperature is set to 297.15 K. The Bottom Wall temperature drops to 285.13 K over 1 sec, maintains 285.13 K for 1 sec, and then rises back to 297.15 K over 1 sec. The dew point temperature of the air at 70% RH is 291.14 K and is reached at 0.5 and 2.5 sec. On the whole we can see that both condensation and evaporation occurs when the dew point temperature is reached, as explained above.
Start HyperMesh CFD and Open the HyperMesh Database
- Start HyperMesh CFD from the Windows Start menu by clicking .
-
From the Home tools, Files tool group, click the Open Model tool.
The Open File dialog opens.
- Browse to the directory where you saved the model file. Select the HyperMesh file ACU-T4201_Air_Box.hm and click Open.
- Click .
-
Create a new directory named Air_Box and navigate into this directory.
This will be the working directory and all the files related to the simulation will be stored in this location.
- Enter Air_Box as the file name for the database, or choose any name of your preference.
- Click Save to create the database.
Validate the Geometry
The Validate tool scans through the entire model, performs checks on the surfaces and solids, and flags any defects in the geometry, such as free edges, closed shells, intersections, duplicates, and slivers.
Set Up Flow
Set Up the Simulation Parameters and Solver Settings
-
From the Flow ribbon, click the Physics tool.
The Setup dialog opens.
-
Under the Physics models setting:
- Select the Multiphase flow radio button.
- Set the Multifluid type to Humidity transport.
- Set the Time step size to 0.1 s and the Final time to 10 s.
- Set the Turbulence model to Spalart-Allmaras.
- Set the Gravity to (0,-9.81,0).
- Set the Pressure scale to Gauge and click . In the microdialog, set the Absolute pressure offset to 101325 Pa then press Esc.
- Click the Solver controls setting.
-
Set the Minimum stagger iterations to 2 and the Maximum
to 4.
- Close the dialog and save the model.
Define Flow Boundary Conditions
-
From the Flow ribbon, click the No Slip tool.
-
Select the bottom surface (the surface with the minimum y-coordinate).
- In the microdialog, click on Temperature tab and set the Thermal boundary condition to Temperature.
-
Set the Temperature to 1, expand the multiplier function
drop-down, and select Create new.
- In the multiplier dialog, set the Type to Piecewise Linear.
- Set the Variable to Time Step.
- Click twice to add two rows.
-
Enter the values as shown in the figure below then close the dialog.
- In the Boundaries legend, double-click on Wall and rename it to Bottom.
- On the guide bar, click to execute the command and exit the tool.
-
Click the Slip tool.
-
Select the surface with the maximum z-coordinate.
- In the Boundaries legend, double-click on Slip and rename it to z_pos.
- On the guide bar, click to execute the command and remain in the tool.
-
Select the surface with the minimum z-coordinate.
- In the Boundaries legend, double-click on Slip and rename it to z_neg.
- Click on the guide bar.
- Save the model.
Compute the Solution
The input HyperMesh database contains the mesh, hence you do not need to generate the mesh again.
Define the Nodal Initial Conditions
-
From the Solution ribbon, click the Part tool.
- Select the box solid.
- In the dialog, click , select Relative Humidity from the list of variables then click on the white space in the dialog.
-
Set the value to 70.
- Click on the guide bar.
Run AcuSolve
-
From the Solution ribbon, click the Run tool.
- Set the Parallel processing option to Intel MPI.
- Optional: Set the number of processors to 4 or 8 based on availability.
- Expand Default initial conditions and enter the values as shown below.
-
Leave the remaining options as default and click
Run to launch AcuSolve.
Tip: While AcuSolve is running, right-click on the AcuSolve job in the Run Status dialog and select View Log File to monitor the solution process.
-
Click the Plot tool.
-
In the Plot Utility dialog, double-click on
Residual Ratio to plot the residuals.
- Click to add a new plot.
- Set the X-Axis to Time.
- To set the Y-Axis variable, click and then double click on temperature under Surface Output from the list of variables.
-
In the list of surface outputs, select Bottom -
Output.
-
Click Create.
-
Similarly, view the plots for Relative Humidity and Dewpoint Temperature.
Post-Process the Results with HM-CFD Post
In this step, you will create contour plots for temperature, relative humidity, and dew point temperature.
- Once the solution is completed, navigate to the Post ribbon.
- From the menu bar, click .
-
Select the AcuSolve log file in your problem
directory to load the results for post-processing.
The solid and all the surfaces are loaded in the Post Browser.
-
In the Post Browser, click on the icon beside
Flow Boundaries to turn off the display of all the
surfaces.
-
Drag the slider on the Animation toolbar to the 10th frame.
-
Click the Slice Planes tool.
-
Select the x-y plane in the modeling window.
- In the slice plane microdialog, click to create the slice plane.
- In the display properties microdialog, set the display to temperature.
- Click then activate the Legend toggle.
-
Click and set the Colormap Name to Rainbow
Uniform.
-
On the guide bar, click to
create the temperature contour plot.
-
Hide the temperature contour, then repeat the steps 6-12 to create a similar
contour plot for relative humidity.
-
Hide the relative humidity contour, then repeat the steps 6-12 to create a
similar contour plot for dew point temperature.
Summary
In this tutorial, you learned how to set up and solve a multiphase humid air condensation and evaporation simulation using HyperMesh CFD and AcuSolve. You started by importing the HyperMesh CFD input database and then defined the flow setup. Once the solution was computed, you created a plot of residual ratios using the plot utility in HyperMesh CFD. Finally, you created a contour plot of temperature distribution, relative humidity, and dew point temperature using HyperMesh CFD Post.