SMS

Understanding SRH-2D's Monitor Coverage

Being able to determine hydraulic parameters at specific locations in the model domain is a handy, and sometimes even necessary, tool for any SRH-2D model. That is why there is a specific coverage in the Surface-water Modeling System (SMS) where you can create monitor objects that will collect the information you need during the simulation run. This blog post will cover some information that you may find useful when trying to make the most out of your monitor coverage.

SRH-2D outputs monitor data at a fixed interval of every 100 time steps. This is important to keep in mind if you’re looking to collect a certain amount of data from your monitor points or lines. You may need to adjust the size of the time steps depending on what kind of output you need.

SRH-2D monitor points output file
Monitor Points

When creating monitor points on the SRH-2D monitor coverage, it is recommended that you create at least three monitor points: one near each end of the model domain, and one in the middle. During the simulation run, SRH-2D collects data at the points about a number of things, including but not limited to: the position in the X and Y direction, bed elevation, water elevation, and water depth.

Monitor Lines

Monitor lines can help you verify the continuity and model stability of your SRH-2D simulation. SRH-2D uses monitor lines to calculate the total flow and average water surface elevation along the arc. Monitor lines work best when they cross a river rather than running parallel. Lines with too many curves can cause difficulties in snapping to the mesh properly. Monitor lines can be placed anywhere along a river, but we recommend that one be created near the inflow and outflow boundaries. Remember to use monitor lines judiciously. Too many monitor lines can bog down your simulation, or even keep it from converging properly.

Monitor Output Files

Monitor output files are automatically exported to the location of the project files using this directory format: \[Project_Name]_models\SRH-2D\[Simulation_Name]\Output_Misc. The Output_Misc folder contains a DAT file for each of the monitor features using the *[Simulation_Name]_LNn.dat naming convention for lines, and *[Simulation_Name]_PTn.dat for points. These files contain all the data for each individual point or line, and can be opened in your prefered text editor application.

SRH-2D Solution Plots

We covered how SRH-2D solution and monitor plots work in a blog post a while back. If you’re interested in learning more about solution and monitor plots and how to use them, follow this link to our website.

Head over to SMS and try out the monitor coverage with your SRH-2D model today!

Blog tags: 

Handling Depth vs. Elevation

When creating a surface-water model, your model will make use of bathymetry data as either elevation or depth. Knowing how the Surface-water Modeling System (SMS) represents depth versus elevation is vital when it comes to creating, running, and understanding a model. SMS uses several different numerical models, and some models require that depth be negative and elevations be positive, while other models require the opposite.

It can become confusing when trying to remember what is needed for each model, which is why the decision was made to standardize how SMS treats elevation and depth across all models. SMS treats all depth values as negative and all elevation values as positive. That way you don’t have to remember how data needs to be entered for each model. If depth data is entered with positive values, SMS will read the data as part of the land elevations, which will produce incorrect calculations.

Depth/elevation shown on a grid

Some of the most used models where you may see that the elevation values have been changed to fit SMS’s conventions after importing are CMS-FLOW, CMS Wave, and CGWAVE. If you’re not sure whether or not the imported elevation data has been changed and would like to check, then this is a great time to make use of the Mesh module’s find function. Under both the Nodes menu and the Elements menu you’ll see a Find… option listed. You can use this to quickly locate a specific node or element inside of SMS to compare the elevation data with the model’s files outside of SMS.

If SMS has changed the values of the elevation data to account for the required negative depth value, there is no need to be concerned about how this will affect the end result for your model. SMS automatically adjusts the data to match the convention of the model when the project information is exported to the model executable.

Take this information and head over to SMS, more confident that your project’s elevation data will be handled correctly.

Blog tags: 

Two Tools for Creating a Raster from a Dataset

Do you have solution data that you want to export as raster data? The Surface-water Modeling System (SMS) provides two tools to help you create rasters from datasets. In this blogpost we will discuss the WSE/Depth Raster from Dataset tool and Raster from Dataset tool as well as the uses for both these tools and the differences between them.

Example of the WSE/Depth Raster from Dataset tool

WSE/Depth Raster from Dataset tool and Raster from Dataset tool are two separate tools in the SMS Toolbox. Each addresses the process of converting datasets to rasters, but with some differences.

To start, it should be noted that both tools are designed for creating raster data from solution datasets. This means that your project should contain solution data from a successful model run. Also, both tools allow you to define the pixel size of the resulting raster.

The WSE/Depth Raster from Dataset tool creates a raster based on water-surface elevation (WSE) or depth data. The tool requires that you have a geometry containing a WSE or elevation solution dataset in your project and that you have a raster containing the project elevation. It can extract both a WSE raster and a depth raster from a single tool execution. The tool is designed specifically to work with the bathymetry data. Other datasets may be converted incorrectly when using the WSE/Depth Raster from Dataset tool.

For other solution dataset on a geometry, the Raster from Dataset tool can create a raster from those datasets. This tool will work with datasets on various geometries including meshes, scatter sets, and unstructured grids (UGrids). The tool also allows you to use a raster template to define the output origin, activity, and possible resolution.

Now that you know some of the similarities and differences between the WSE/Depths Raster from Dataset tool and the Raster from Datasets tool, try out both of these tools and other features in the SMS Toolbox today!

Blog tags: 

Speed Up Edits Using Mesh Subsets

While working with meshes in the Surface-water Modeling System (SMS), you may have noticed that the more elements there are in the mesh, the slower the processing speed gets when making edits. Subset edit mode allows you to edit just one portion of the mesh at a time, which can increase the processing speed considerably. You can access the “Edit Subset” option by selecting the elements on the mesh you want to work with and right-clicking in the Graphics Window.

Using the Edit Subsit mode

Working within the edit subset mode was designed to let you work on a large mesh without overtaxing your machine’s memory and processing power. When you select a section of the mesh and enter subset mode, SMS will stop displaying the parts of the mesh that were not selected. This allows SMS to ignore the elements and data on the parts of the mesh outside of the subset. This can help free up computing power while making changes to the subset mesh. When you are done making your changes, you can exit the subset mode to have SMS include your changes in the full-sized mesh.

While in subset mode, the mesh in the Project Explorer will be tagged with the (subset) suffix. Some of the specific commands that you can use in subset edit mode are:

  • Commit Subset: this command takes you out of subset edit mode, and merges the changes made to the mesh subset with the rest of the mesh.
  • Revert Subset: this command takes you out of subset edit mode, but does not retain any of the changes made to the mesh subset.

You may notice that "Refine" is listed as an option in the right-click menu while subset edit mode is active, however you are not able to refine elements in a subset. If you select "Refine" an error will appear stating "Command not available in subset edit mode."

Some actions that you are not able to perform while in subset edit mode are:

  • Making changes on the border of the mesh subset.
  • Creating a new mesh.
  • Running a numerical model.
  • Changing attributes such as boundary conditions on nodes, nodestrings, and elements.
  • Renumbering node/nodestring/element IDs.

Head over to SMS and see how subset edit mode speeds up the processing time when editing large meshes today!

Blog tags: 

Pages