SMS:AdH Simulations: Difference between revisions
(Created page with "thumb|250 px|Example of an AdH simulation in the Project Explorer Simulations are available for AdH starting in SMS 13.3. A simulation should contain a 2D mesh and an AdH boundary conditions coverage, and optional AdH coverages. Right-clicking on the simulation will display options and dialogs. To create a new simulation: # Right-click on empty space in the Project Explorer and select ''New Simulation'' | '''AdH'''. A new...") |
No edit summary |
||
Line 10: | Line 10: | ||
Multiple AdH simulations can be included in a single project. | Multiple AdH simulations can be included in a single project. | ||
==Simulation Components== | |||
An AdH simulation uses the following components in the model run: | An AdH simulation uses the following components in the model run: | ||
* 2D mesh – Any generic 2D mesh will work. Generally this mesh should be created from the Mesh Generation coverage. | * 2D mesh – Any generic 2D mesh will work. Generally this mesh should be created from the Mesh Generation coverage. | ||
Line 18: | Line 18: | ||
Each component can be added to the simulation by selecting the component and dragging it under the simulation item [[File:Simulation Icon.svg|16 px]] in the Project Explorer. Linked 2D mesh [[File:Mesh Link.svg|16 px]] and coverages [[File:Coverage Link.svg|16 px]] will be displayed under the simulation. | Each component can be added to the simulation by selecting the component and dragging it under the simulation item [[File:Simulation Icon.svg|16 px]] in the Project Explorer. Linked 2D mesh [[File:Mesh Link.svg|16 px]] and coverages [[File:Coverage Link.svg|16 px]] will be displayed under the simulation. | ||
==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 AdH simulation. A link [[File:Mesh Link.svg|16 px]] is then created between the component and the simulation. | 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 AdH simulation. A link [[File:Mesh Link.svg|16 px]] is then created between the component and the simulation. | ||
Line 27: | Line 27: | ||
If a component is updated, it must be reapplied to the simulation. | If a component is updated, it must be reapplied to the simulation. | ||
== Running the AdH 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 '''Run Simulation''' command or the '''Save and Run Simulation''' command. | 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 '''Run Simulation''' command or the '''Save and Run Simulation''' command. | ||
Revision as of 19:51, 11 September 2023
Simulations are available for AdH starting in SMS 13.3. A simulation should contain a 2D mesh and an AdH boundary conditions coverage, and optional AdH coverages. Right-clicking on the simulation will display options and dialogs.
To create a new simulation:
- Right-click on empty space in the Project Explorer and select New Simulation | AdH. A new tree item will appear.
- Drag and drop simulation components under the newly created simulation tree item . Components available include:
- 2D mesh
- Boundary Conditions coverage
- Materials coverage
Multiple AdH simulations can be included in a single project.
Simulation Components
An AdH simulation uses the following components in the model run:
- 2D mesh – Any generic 2D mesh will work. Generally this mesh should be created from the Mesh Generation coverage.
- Boundary Conditions coverage – Contains arcs defining the boundary condition attributes for the model run.
- Materials coverage – Allows creating recording stations at specified nodal locations.
- Sediment Material coverage –
Each component can be added to the simulation by selecting the component and dragging it under the simulation item in the Project Explorer. Linked 2D mesh and coverages will be displayed under the simulation.
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 AdH simulation. A link is then created between the component and the simulation.
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 Apply To submenu. The Apply To submenu becomes available once a simulation has been created.
Components can be removed by right-clicking on the component link under the simulation and select Remove.
If a component is updated, it must be reapplied to the simulation.
Running the AdH 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 Run Simulation command or the Save and Run Simulation command.
The simulation run involves three steps.
- Exporting the AdH files – SMS writes out an AdH folder in the same directory where the SMS project is saved. The AdH folder has several files which have mesh geometry information, and boundary conditions as well as model control information defined in the model.
- Running AdH – After using a launch command, the Simulation Run Queue dialog will 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 button appears with the model run has finished. Clicking this button will load the solution into SMS.