SMS:SRH-2D Simulation: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
Components for SRH-2D usually include:
Components for SRH-2D usually include:
*A 2D mesh
*A 2D mesh
*A boundary condition coverage
*A [[SMS:SRH Coverages|boundary condition coverage]]
*A material coverage
*A [[SMS:SRH Coverages|material coverage]]
*A monitor point coverage
*A [[SMS:SRH Coverages|monitor point coverage]]
*An obstructions coverage
*An [[SMS:SRH Coverages|obstructions coverage]]


Right-clicking on the simulation gives access to the SRH-2D [[SMS:SRH Menu|menus]], including access to the [[SMS:SRH Model Control|SRH Model Control]] dialog. Each SRH simulation can have its own parameters based on what is entered into the model control.
Right-clicking on the simulation gives access to the SRH-2D [[SMS:SRH Menu|menus]], including access to the [[SMS:SRH Model Control|SRH Model Control]] dialog. Each SRH simulation can have its own parameters based on what is entered into the model control.

Revision as of 15:24, 16 July 2015

Example of an SRH simulation in the Project Explorer

SRH-2D makes use of simulations. Simulations are useful as multiple simulations can be used in the same project.

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

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 SRH simulation. A link is then created between the component and the simulation. It the component is updated, it is updated automatically in all simulations that are linked to it.

Components for SRH-2D usually include:

Right-clicking on the simulation gives access to the SRH-2D menus, including access to the SRH Model Control dialog. Each SRH simulation can have its own parameters based on what is entered into the model control.

Running an SRH-2D 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 SRH command or the Save, Export, and Launch SRH command.

The SRH 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 SRH model run in to SMS as soon as the model run is complete.

Running SRH-2D requires both the pre-SRH executable and the SRH executable. If SMS cannot find these executables, the model run will encounter an error. The File Locations tab in the Preferences dialog can be used to specify the path to these executables if SMS cannot find them.

Related Topics