Template Simulation Files
Template simulation files allow you to define pre-configured setups for use in new simulations. When used in conjunction with query-based selection, template files present a powerful technique for automating repeat analyses on similar geometries.
Elements that you can define in a simulation without a mesh being present include:
- The mesh pipeline (see The Meshing Workflow)
- Physics continua with selected models and properties
Regions and boundaries
- Reports, scenes, monitor plots, and XY plots
Within a template simulation file, convert any selections of specific objects to query-based selections that choose objects based on naming conventions, metadata, or other characteristic data. For details on the selection predicates available, see Predicates.
To create a template simulation file:
Construct a clean simulation file that contains the objects you want to reuse repeatedly in future simulations.
To document a template simulation file with instructions, links, and other helpful information, you can include a simulation guide. For details, see Simulation Guide.
When complete, select
.Save the template file with a name of your choice. The simulation file has the extension, .simt, which distinguishes it from regular simulation files.
To create a simulation from an existing template:
- Select .
- In the Create a File dialog, use either technique to access the simulation template:
- To access a recently used simulation template, select from the drop-down list of the Template field 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 simulation template file (which has a .simt extension) and click Open.
- In the Create a File dialog, click OK.
- Save the simulation with a new name.