SMS:SRH-2D Simulation 13.0

From XMS Wiki
Jump to navigationJump to search
Example of an SRH-2D simulation in the Project Explorer

SRH-2D makes use of simulations starting in SMS 12.0 and later. 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.

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

SRH-2D Components

Components for SRH-2D hydraulic simulation 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.

An SRH-2D sediment transport simulation requires these components plus an additional coverage of type SRH-D Sediment Materials. The boundary condition coverage must be set to run type of "Mobile".

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 SRH-2D simulation. A link (Coverage Link.svg or Mesh Link.svg) 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. Similarly, components can be unlinked from a simulation 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 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-2D command or the Save, Export, and Launch SRH-2D command.

The simulation run involves three steps.

  1. Exporting the SRH-2D files – SMS writes out a SRH-2D folder in the same directory where the SMS project is saved. The SRH-2D folder has several files which have mesh geometry information, boundary conditions, material definitions as well as model control information defined in the model.
  2. Running the pre-processor – SRH-Pre is a pre-processor that reads in the files exported from SMS and creates an input file for SRH-2D.
  3. Running SRH-2D – After running SRH-Pre, an input file ([case name].DAT) is written out which is used to run the SRH-2D hydrodynamic engine.

After using a launch command, the SRH-2D Simulation Run Queue will appear. If there are any errors in the model run, the run queue will exit early. The model run can also be exited early by clicking the Abort button. When the model run is completed, select Load Solution button to import the model run results into SMS.

Running SRH-2D requires both the pre-SRH-2D executable and the SRH-2D 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