SMS:Generic Model Graphical Interface: Difference between revisions
mNo edit summary |
|||
Line 9: | Line 9: | ||
=== Material Properties === | === Material Properties === | ||
Each element is assigned a material type. [[SMS:Generic Model Material Properties|Material properties]] describe the hydraulic characteristics of each material type. | Each element is assigned a material type. [[SMS:Generic Model Material Properties|Material properties]] describe the hydraulic characteristics of each material type. | ||
==Dependencies== | |||
The generic model interface lets a generic model designer create a custom interface by setting up input parameters for their model. | |||
The parameters may be global parameters, bc parameters (applied to node, element, or nodestring), or material parameters. | |||
It is often useful to have certain parameters displayed only in some situations. | |||
For example, the numeric engine may support manning values by depth or a single manning value for all depths. If the user chooses to use manning values by depth he or she would need to provide a curve for manning values based upon depth. If the user chooses to do a single manning value he or she would need to provide a single manning value. | |||
This manning example could be expanded another level. Suppose the manning value mentioned above was part of the material properties for each material. Also, suppose that the engine supported chezy as well as manning to represent roughness but this had to be applied at a global level. If the global parameter is chezy, the material properties dialog should only show the option to enter a chezy value. If the global parameter is manning, the material properties dialog would let the user choose whether to provide this using a single value or a curve by depth. The controls would work as described in the preceding paragraph. | |||
The generic model designer can use dependencies to accomplish both situations above. Dependencies show/hide parameters based upon the setting of a parent parameter. The parent parameter must be before the child parameter. If the child parameter is a material or boundary condition parameter, the parent can also be a global parameter. | |||
Dependencies are controlled on the child level when defining the model. To assign a dependency the parent and child parameters must exist and the parent must have its options defined. Dependencies are specified by clicking on the "None" button in the dependency column for the child parameter. You specify the parent you want to use for this parameter whether a global parameter or local (whatever level you currently are defining). Then check the boxes next to the parent parameters that will allow the child parameter to be visible. A child option may be visible for several parent options. | |||
Whenever a parent object is invisible all children that are dependent upon the option are also invisible. | |||
==Overview== | |||
The designer/user can define whether the curves in their model are interpolated to the timestep duration or not. | |||
=== Saving the Model === | === Saving the Model === |
Revision as of 21:02, 6 November 2012
The Generic Model Graphical Interface includes tools to assist with creating, editing and debugging a Generic Model. The Generic Model interface exists in the Mesh Module.
Define Model
The Define Model Dialog is used to setup the options that apply to the simulation as a whole.
Boundary Conditions
All numeric models require boundary condition data. Generic Mesh Model boundary conditions can be defined on nodestrings, nodes, and elements. See Generic Model BC Nodestrings, Generic Model BC Nodes, and elements for more information.
Material Properties
Each element is assigned a material type. Material properties describe the hydraulic characteristics of each material type.
Dependencies
The generic model interface lets a generic model designer create a custom interface by setting up input parameters for their model.
The parameters may be global parameters, bc parameters (applied to node, element, or nodestring), or material parameters.
It is often useful to have certain parameters displayed only in some situations.
For example, the numeric engine may support manning values by depth or a single manning value for all depths. If the user chooses to use manning values by depth he or she would need to provide a curve for manning values based upon depth. If the user chooses to do a single manning value he or she would need to provide a single manning value.
This manning example could be expanded another level. Suppose the manning value mentioned above was part of the material properties for each material. Also, suppose that the engine supported chezy as well as manning to represent roughness but this had to be applied at a global level. If the global parameter is chezy, the material properties dialog should only show the option to enter a chezy value. If the global parameter is manning, the material properties dialog would let the user choose whether to provide this using a single value or a curve by depth. The controls would work as described in the preceding paragraph.
The generic model designer can use dependencies to accomplish both situations above. Dependencies show/hide parameters based upon the setting of a parent parameter. The parent parameter must be before the child parameter. If the child parameter is a material or boundary condition parameter, the parent can also be a global parameter.
Dependencies are controlled on the child level when defining the model. To assign a dependency the parent and child parameters must exist and the parent must have its options defined. Dependencies are specified by clicking on the "None" button in the dependency column for the child parameter. You specify the parent you want to use for this parameter whether a global parameter or local (whatever level you currently are defining). Then check the boxes next to the parent parameters that will allow the child parameter to be visible. A child option may be visible for several parent options.
Whenever a parent object is invisible all children that are dependent upon the option are also invisible.
Overview
The designer/user can define whether the curves in their model are interpolated to the timestep duration or not.
Saving the Model
The Generic Model Files are written automatically with the SMS project file or can be saved separately using the File | Save Mesh or File | Save As menu commands. See Generic Model Files for more information on the files used for the Generic Model run.
Generic Model Menu
See Generic Model Menu for more information.
Related Topics
Modules: Mesh Module · Cartesian Grid Module · Scatter Module · Map Module · GIS Module · Particle Module
Models: ADCIRC · BOUSS-2D · CGWAVE · CMS-Flow · CMS-Wave · FESWMS · FVCOM · Generic Mesh Model · GENESIS · HYDRO AS-2D · PTM · SRH-2D · Steering · STWAVE · TABS · TUFLOW