ACU-T: 4101 T-Junction Flow using the Eulerian Multiphase Model
Prerequisites
This tutorial provides the instructions for setting up and running a basic transient multiphase simulation using the Eulerian multiphase 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
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-T4101_TJunction.hm and click Open.
- Click .
-
Create a new directory named T_Junction 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 T_Junction 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 the General Simulation Parameters
-
From the Flow ribbon, click the Physics tool.
The Setup dialog opens.
- Under the Physics models setting, select the Multiphase flow radio button.
- Change the Multifluid type to Eulerian.
-
Click the Eulerian material drop-down menu and select Material
Library from the list.
You can create new material models in the Material Library.
- In the Material Library dialog, select Eulerian Multiphase, switch to the My Material tab, then click to add a new material.
- In the microdialog, click on the top-left corner and change the name to WaterAirEul.
- Set the Carrier field to Water and the Disperse field to Air.
-
Set the diameter, drag model, and other parameters as shown in the image
below.
- Close the material model microdialog and then close the Material Library dialog.
- In the Setup dialog, set the Eulerian Material to WaterAirEul.
- Set Time step size and Final time to 0.01 and 1, respectively. Select Spalart-Allmaras for the Turbulence model.
-
Set the gravity to 0, -9.81, 0 and the pressure scale to
Absolute.
-
Click the Solver controls setting and set the Minimum
and Maximum stagger iterations to 2 and
4, respectively.
- Close the dialog and save the model.
Assign Material Properties
-
From the Flow ribbon, click the Material tool.
- Verify that WaterAirEul has been assigned as the material.
- On the guide bar, click to exit the tool.
Define Flow Boundary Conditions
-
From the Flow ribbon, click the Constant tool.
-
Click the inlet face highlighted in the figure below.
- In the microdialog, activate Phasic inflow and then change the inflow velocity type to Normal.
- Enter a value of 1.5 and 1.6 m/s for the Normal velocity of the Carrier Field and Disperse Field, respectively.
-
Set the Volume fraction specification type to Value and
set the Carrier fluid volume fraction to 0.98.
-
Click the Turbulence tab in the microdialog. Set the Turbulence input type to
Direct and the Eddy viscosity to
0.001.
Note: When phasic inflow is active, Turbulence input type = Direct should be used.
- On the guide bar, click to execute the command and exit the tool.
-
Click the Outlet tool.
-
Select the face highlighted below and verify the settings in the microdialog.
- On the guide bar, click to execute the command and remain in the tool.
-
With the Outlet tool still active, select the face highlighted below after
rotating the model. Then click on the
guide bar.
-
Click the Slip tool.
-
Select the top and bottom faces highlighted below then click on the
guide bar.
- Save the model.
Generate the Mesh
-
From the Mesh ribbon, click the
Volume tool.
Note: If the model has not been validated, you are prompted to create the simulation model before running the batch mesh.
-
In the Meshing Operations dialog, check that the Average
Element size is set to 0.0025.
-
Click Mesh.
The Run Status dialog opens. Once the run is complete, the status is updated and you can close the dialog.Tip: Right-click on the mesh job and select View log file to view a summary of the meshing process.
Define Nodal Outputs
-
From the Solution ribbon, click the Field tool.
The Field Output dialog opens.
- Check the box for Write Initial Conditions.
-
Set the time interval to 1.
Run AcuSolve
-
From the Solution ribbon, click the Run tool.
The Launch AcuSolve dialog opens.
- 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, uncheck
Pre-compute flow, and set the velocity values to
0. Uncheck Pre-compute
Turbulence.
-
Click Run to launch AcuSolve.
The Run Status dialog opens. Once the run is complete, the status is updated and you can close the dialog.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
- Once the solution is complete, right-click the AcuSolve run in the Run Status dialog and select Visualize results.
- Once the results are loaded in the Post ribbon, click the Top face of the view cube to orient to the xy-plane.
-
Click the Boundary Groups tool.
- In the modeling window, select the top slip surface.
- In the microdialog, set the display variable to velocity.
- Activate the Legend toggle and set the legend limits to 0 and 2.5, respectively.
-
Click and set the colormap properties as shown
below.
-
Click on the guide bar to create the velocity contour
plot.
- In the Post Browser, right-click Boundary Group 7 and select Edit.
- In the microdialog, change the display variable to volume fraction: air and set the legend limits to 0 and 0.1.
-
Click on the guide bar to create the volume fraction contour
plot.
Summary
In this tutorial, you learned how to set up and solve a multiphase flow simulation using the Eulerian multiphase model available in AcuSolve using HyperMesh CFD. 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 velocity and field volume fraction using HyperMesh CFD Post.