ACU-T: 4200 Humidity – Pipe Junction
Prerequisites
This tutorial provides the instructions for setting up and running a basic transient humidity transport simulation using a pipe junction model. Prior to starting this tutorial, you should have already run through the introductory tutorial, ACU-T: 1000 Basic Flow Set Up, 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
The problem to be addressed in this tutorial is shown schematically in Figure 1. As an example, a pipe junction problem is attached here to show the capability of the Humidity modelling in AcuSolve. In this problem, there are two inlets with different flow, thermal, and humidity conditions. As the flow proceeds downstream of the pipe, two pipes merge into a single pipe to create a single outlet and a distinct profile of temperature and humidity is attained. The geometry is symmetric about the XZ midplane of the pipe, as shown in the figure.
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-T4200_Humidity.hm and click Open.
- Click .
-
Create a new directory named Humidity 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 Humidity 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 1 s and the Final time to 50 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 both the Minimum and Maximum stagger iterations to
2.
- Close the dialog and save the model.
Define Flow Boundary Conditions
-
From the Flow ribbon, Profiled
tool group, click the Profiled Inlet tool.
- Select the surface highlighted in the figure below.
-
In the microdialog:
- Set the Average velocity to 1 m/sec.
- Set the Temperature to 333.15 K.
- Set the Humidity input type to Dewpoint Temperature.
- Set the Dewpoint temperature to 278.15 K.
- In the Boundaries legend, double-click on Inlet, change the name to Hot_inlet, then press Enter.
- On the guide bar, click to execute the command and remain in the tool.
- Select the surface highlighted in the figure below.
-
In the microdialog:
- Set the Average velocity to 3 m/sec.
- Set the Temperature to 283.15 K.
- Set the Humidity input type to Relative Humidity.
- Set the Relative humidity to 20.
- In the Boundaries legend, double-click on Inlet, change the name to Cold_inlet, then press Enter.
- On the guide bar, click to execute the command and exit the tool.
-
Click the Outlet tool.
-
Select the surface highlighted in the figure below then click on the
guide bar.
-
Click the Slip tool.
-
Select the surface highlighted in the figure below (the surface with the
minimum y-coordinate).
- In the Boundaries legend, double-click on Slip, change the name to y_neg, then press Enter.
- Click on the guide bar.
-
Select the surface highlighted in the figure below (the surface with the
maximum y-coordinate).
- In the Boundaries legend, double-click on Slip, change the name to y_pos, then press Enter.
- 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 pipe solid.
- In the dialog, click , select Relative Humidity and Temperature from the list of variables, then click on the white space in the dialog.
-
Set the initial values of Relative Humidity and Temperature to
20 and 333.15 K,
respectively
- 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.
- Set the Temperature to 333.15 K and the remaining fields as shown in the figure below.
-
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.
Post-Process the Results with HM-CFD Post
In this step, you will create contour plots for temperature, relative humidity, mass fraction humidity, and velocity.
- 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.
-
Click the Slice Planes tool.
-
Select the x-z 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 and repeat the steps 5-11 to create a similar
contour plot for relative humidity.
-
Hide the relative humidity contour and repeat the steps 5-11 to create a
similar contour plot for mass fraction humidity.
-
Hide the mass fraction humidity contour and repeat the steps 5-11 to create a
similar contour plot for velocity.
Summary
In this tutorial, you learned how to set up and solve a humidity transport 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 contour plot of temperature distribution, relative humidity, humidity mass fraction, and velocity using HyperMesh CFD Post.