Preparing the Surfaces, Region, and Boundaries
There is only one boundary surface at this stage, but as you need to have separate surfaces for the inlet and outlet boundaries, it is necessary to split the surface before creating the volume mesh.
Split the surface:
- Right-click the node and select .
-
In the
Split Part Surfaces by Angle dialog do the following:
- Make sure that the surface is selected in the view panel.
- Accept the default angle.
- Click OK.
Information on the splitting action is shown in the Output window. Three part surfaces are shown in the object tree.
Create a region and associated boundaries from the geometry part and its surfaces:
-
Right-click
Assign Parts to Regions....
and select
The Assign Parts to Regions dialog appears.
- Select Create One Region for All Parts.
- Select Create a Boundary for Each Part Surface.
- Click Apply.
-
Close the dialog.
In the object tree, all of the surfaces appear as individual boundaries within the region.
Rename the single region:
- Rename the Fluid. node to
For this case generate a trimmed cell volume mesh aligned in the axial direction, with two layers of prism cells next to the cylinder wall. You do not wish to have prism cells on the inlet and outlet boundaries, however, and so to avoid this you must define the boundary types before you create the mesh. (The volume meshing tools do not generate prism layers on non-wall surfaces by default.)
- Rename the Outlet. node to
- With the boundary still selected, set the Type to .
- Rename Wall. to
- Rename Inlet. to
- Set the Type to Velocity Inlet.