Usability: Applying the Template Simulation File
This tutorial demonstrates applying the template simulation file to another geometry.
- Select .
- Near the top of the Create a File dialog, to the right of the Template field, click Select.
- In the Open dialog, navigate to the file QueryTutorial_TemplateFile.simt and click Open.
- In the Create a File dialog, click OK.
- Save the simulation as QueryTutorial_MultiplePipes.sim.
Import the next geometry and visualize it. You are importing a set of connected pipes.
-
Import the connected pipes on which to run the simulation:
- Select .
-
Navigate to the surface file
pipeAssy.x_t
in the foundationTutorials folder of the downloaded tutorial files. - In the Import Surface Options dialog, accept the default settings and click OK.
The complete geometry appears in the scene.
Before running the mesh pipeline, you must identify the upstream and downstream faces of the imported assembly. The
Fill Holes operation requires that these faces be correctly assigned.
-
Apply the inlet and outlet tags on the imported geometry parts:
- Expand the node.
- Right-click the Inlet node and select .
- Expand the and nodes.
- Multi-select the Outlet nodes in these Surfaces nodes, right-click one of them, and select .
- To run the mesh pipeline as far as Extract Volume, expand the Fill Holes, Imprint, and Extract Volume nodes in turn and select Execute for each. node, right-click the
You must assign the boundary conditions before running the Automated Mesh operation, as otherwise prism layers are generated across the inlet and outlet faces. By assigning boundaries first, the prism layer mesher only generates layers on the pipe walls.
-
To assign the boundary conditions, apply the
Inlet End and
Outlet End tags to the respective faces within the
Extract Volume part:
- Expand the node.
- To the Pipe 1.Inlet node, apply the tag, Inlet End.
- To the Pipe 4.Outlet and Pipe 6.Outlet nodes, apply the tag, Outlet End.
- To generate the volume mesh, right click the Execute. node and select
-
To review the boundary assignments of the parts, expand the
node:
- The Inlet boundary has one part surface assigned to it.
- The Outlet boundary has two part surfaces.
- The Wetted Wall boundary contains the rest of the parts.
These assignments of part surfaces are correct because you prioritized the selection of them in the template simulation.
-
To visualize the mesh, create a mesh scene.
Since the physics models were prepared in the template, you are ready to run the simulation.
-
Click
(Run) in the top toolbar.
The Residuals display is created automatically and shows the progress of the solver. - You can evaluate the design with scalar or vector scenes, or plots.
- Save the simulation.