SMS:CMS-Flow Simulation: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
Line 7: Line 7:
==CMS-Flow Components==
==CMS-Flow Components==
Components for CMS-Flow usually include:
Components for CMS-Flow usually include:
*A [[SMS:Quadtree Module|Quadtree]]
*A [[SMS:Quadtree Module|quadtree grid]] or a [[SMS:Cartesian Grid Module|Cartesian grid]]
*A CMS-Flow Boundary Conditions Coverage
*A CMS-Flow Boundary Conditions coverage
*A CMS-Flow Save Points coverage
*A CMS-Flow Save Points coverage (optional)


A simulation cannot include multiple coverages of the same type. So if building multiple boundary condition coverages, only one of the boundary condition coverages can be included in the simulation. Coverages can be merged if needed.
A simulation cannot include multiple coverages of the same type. So if building multiple boundary condition coverages, only one of the boundary condition coverages can be included in the simulation. Coverages can be merged if needed.

Revision as of 14:01, 28 September 2015

CMS-Flow makes use of simulations starting in SMS 12.1 and later. Simulations are useful as multiple simulations can be used in the same project.

Simulations for CMS-Flow are created by right-clicking in the Project Explorer and selecting New Simulation | CMS-Flow. The simulation will appear in the Project Explorer under the "Simulation Data" item.

Right-clicking on the simulation gives access to the CMS-Flow menus, including access to the CMS-Flow Model Control dialog. Each CMS-Flow simulation can have its own parameters based on what is entered into the Model Control. Each simulation can share the same components or use different components or any combination of shared and different components.

CMS-Flow Components

Components for CMS-Flow usually include:

A simulation cannot include multiple coverages of the same type. So if building multiple boundary condition coverages, only one of the boundary condition coverages can be included in the simulation. Coverages can be merged if needed.

Linking Components

After a simulation has been created, components may be added to the simulation. Components are usually added by clicking on the component item in the Project Explorer and dragging the item under the CMS-Flow simulation. A link is then created between the component and the simulation. If the component is updated, it is updated automatically in all simulations that are linked to it.

Components can also be added to a simulation by right-clicking on the component in the project explorer and selecting the simulation name in the Link To submenu. Simularly, components can be unlinked from a simualtion by right-clicking on the component and selecting the simulation name in the Unlink From submenu. The Link To and Unlink From submenus become available once a simulation has been created.

Running an CMS-Flow Simulation

After all components have been added to the simulation and the model parameters have been established, the simulation can be run. This is done by right-clicking on the simulation and choosing the Launch CMS-Flow command or the Save, Export, and Launch CMS-Flow command.

The CMS-Flow Model Wrapper should appear. If there are any errors in the model run, the model wrapper will exit early. The model run can also be exited early by clicking the Abort button. When the model run is completed, select Exit to close the model wrapper.

The Load solution option in the model wrapper is selected by default. This option will load the solution from the CMS-Flow model run in to SMS as soon as the model run is complete.


Related Topics