SMS:TUFLOW Menu

From XMS Wiki
Jump to navigationJump to search

TUFLOW Simulation Menu

The TUFLOW Simulation menu is accessed by right-clicking on a TUFLOW simulation TUFLOW Simulation Project Explorer icon.png item (Sim) in the Project Explorer. The following menu commands are available:

Delete

Removes the TUFLOW simulation.

Duplicate

Creates another copy of the simulation.

Rename

Changes the name of the simulation.

Export TUFLOW files

SMS will save the TUFLOW input files in the TUFLOW directory for that simulation. If one does not already exist, a prompt will ask to select a location.

Launch TUFLOW

Launches TUFLOW using input files that have previously been exported.

Save Project, Export and Launch TUFLOW

Saves the project, writes out the TUFLOW input files, and launches TUFLOW.

2D Model Control

Brings up the 2D Model Control dialog where various model parameters are set. See TUFLOW 2D Model Control page.

1D Control

Brings up the Control 1D dialog where various model parameters are set. See Model Parameters page.

Model Check

Causes SMS to perform a check for invalid settings that could prevent TUFLOW from running properly. If errors are found, they will be reported in the Model Check dialog with information on how to correct them.

Components Menu

The TUFLOW Components menu is accessed by right-clicking on the TUFLOW components folder TUFLOW Component Folder.svg in the Project Explorer. The following menu command is available:

New 2D Geometry Component

Creates a geometry components. The TUFLOW simulation can contain components. 2D Grids and certain map coverages can be linked to this component.

Once a 2D geometry component TUFLOW Grid Component Icon.svg is created the component item below the components folder has a right-click menu with the following commands:

Delete

Removes the component.

Duplicate

Creates a copy of the component with all linked grids and coverages.

Rename

Changes the name of the component.

Add External Files

Launches a browser to add external files to the component.

Grid Options

Brings up the TUFLOW Grid Options dialog.

Material Sets Menu

The TUFLOW Material Set menu is accessed by right-clicking on the TUFLOW material set folder Material Set Folder.svg in the Project Explorer. The following menu command is available:

New Material Set

Creates a new material set. The TUFLOW simulation can contain multiple material sets.

A material set item below the Material Sets folder also has a right-click menu with the following commands:

Rename

Changes the name of the material set.

Properties

Brings up the TUFLOW Material Properties dialog.

Delete

Removes the material set.

Export

Saves the material set as a TUFLOW Materials File (*.tmf).

TUFLOW Menu Bar Commands

The following commands are available in the TUFLOW menu in the menu bar when the Cartesian Grid Module is enabled and a cell or cells are selected in a TUFLOW grid.

File:TUFLOW Cell Attributes.jpg
TUFLOW Cell Attributes dialog

Cell Attributes

Enabled when one or more cells on a TUFLOW grid are selected. The attributes that can be set using this command are the cell code and the option to override the global initial water level (set in the 2D Model Control). The cell code options are:

  • active cell: cell is part of calculations and the results grid domain; Cell Code = 1
  • inactive cell – in mesh; cell is not part of the calculations, but is a part of the results grid domain, Cell Code = -1; because comparing two simulations with the Data Calculator in SMS requires the SMS mesh results (*.2DM file) have the same domain, this option is primarily used to keep the model results compatible for comparison while taking the differences into account (e.g. areas of a floodplain that are raised to prevent flooding and are thus no longer included in the computation)
  • inactive cell – not in mesh: cell is entirely removed from the computation and results, Cell code = 0

For SMS versions 11.1 and earlier the selected cells will only be used if Specify cell by cell is selected in Cell codes section of the TUFLOW Grid Options dialog.

Assign Material Type

This command is enabled when one or more cells on a TUFLOW grid are selected. The command will open the Materials Data dialog. The Materials Data dialog will allow selecting a material to assign to a cell. The material set for the cell will only be used if Specify cell by cell is selected in the Materials section of the TUFLOW Grid Options dialog.

Related Topics