Training Guide > Simple Flow Tutorials > Mesh Comparison Tutorial > Hexahedral Mesh > Setting Boundary Conditions and Values
Setting Boundary Conditions and Values
The default boundary conditions for the wall, outlet and symmetry boundaries are all suitable so the only changes required are to the inlet boundary.
- Open the Regions > Fluid > Boundaries > Inlet > Physics Conditions node.
- Select the Turbulence Specification node.

- In the Properties window, change the Method property to
K + Epsilon.
- Open the Physics Values > Turbulent Dissipation Rate node and then select the Constant node.

- Change the Value property to
0.07 J/kg-s.
- Similarly, change the turbulent kinetic energy at the inlet to
0.024 J/kg.
The velocity at the inlet will be given a parabolic profile, stored in a text file called inlet.xy. Before such data can be used as a boundary condition, they must be imported as a table.
- Open the Tools node.
- Right-click on the Tables node and select .

- In the Open dialog, navigate to the
doc/tutorials/hexMesh directory and select file inlet.xy.
- Click Open.
The files's data are now stored in a table called `inlet'. To assign the data as an inlet velocity magnitude boundary condition:
- Return to the Physics Values node for the Inlet boundary.
- Select the Velocity Magnitude node.

- In the Properties window, change the Method property to .

- Select the Table (x,y,z) node under the Velocity Magnitude node.
- In the Properties window, change the Table property to and the Table: Data property to .

This completes the boundary condition definition.
The next step is Setting Stopping Criteria.
Return to CD-adapco STAR-CCM+ Index