SMS

Build Watershed and Streams from Raster Data

Delineating a watershed area into a usable model can be a daunting process. Two new tools in the Surface-water Modeling System (SMS) Toolbox make defining a watershed domain quick and easy. Introducing the Streams from Rasters and the Watershed from Rasters tools.

These two tools are found in the Coverages folder in the Toolbox.These two tools can extract data from an imported raster to automatically generate the feature objects for watershed streams and domains for your SMS model.

The first tool, Streams from Raster, will evaluate the raster elevation data, extract the direction of runoff, create connected arcs, and put it into a separate coverage for you. You’ll need a directional raster in order to run the tool.

The Streams from Raster tool will show the entire runoff flow based on elevation in the selected raster. If water starts here, then it will go in that direction until it ends up there in that stream bed. You can see and trace the most likely paths for water flow until it hits the lowest point possible for that flow path. This can help you plan where to place your stream arcs for your model.

A watershed domain created from raster data

The Watershed from Rasters tool creates a domain of the watershed area. This tool uses an amalgamation of several processes that operate in a particular order in the background as the tool runs. Several of these processes have been added to the Toolbox, including Streams from Raster, to run as separate tools, if desired. Once run, you will end up adding feature objects that define a domain to a coverage.

Then, the feature objects can be used to create a geometry (2D or 3D meshes or UGrids, etc.) of the watershed area. By using the Watershed from Raster tool, it enhances the speed at which a model can be created.

Head on over to SMS and try delineating a watershed with these new tools in your next model.

Blog tags: 

2D Mesh Editing Versus Regeneration: Which is More Apt?

If you need to make a change to a mesh, should you use the toold in the 2D Mesh module to edit, or instead regenerate the mesh? A 2D mesh consists of elements that define the computational domain of the numerical model. A numerical simulation requires a geometric definition of its domain– the mesh, available for use in SMS 13.3. Occasionally when constructing a mesh, a moment occurs where the mesh is insufficient for any reason.

In most cases the recommendation is to regenerate the mesh; as opposed to editing the mesh manually. The following list involves common circumstances where one may manually edit a mesh:

  • There is no mesh generator coverage present.
  • Deleting Outer Elements: Since the triangulation process creates elements (i.e. thin triangles) outside the mesh boundaries, deleting outer elements provides some refinement.
  • Merging Triangles/Element: Numeric solvers are more stable and accurate when quadrilateral elements are rectangular and triangular elements are equilateral.
  • Editing Individual Elements: After compound edits, a mesh could benefit from individual manipulation to increase stability. Swapping edges: Think of the two triangles as a quadrilateral, and the common edge between them is a diagonal of the quadrilateral. By swapping this common edge, it changes to be along the opposite diagonal of the quadrilateral. If this edge is clicked again, it returns back to its original state.
  • Turning a specific element into a void element.

You may make edits in the Mesh Generator coverage. Manual edits should be intentional and reserved for small sections of a mesh. Generally, manual edits of a mesh ought to be minimal.

In nearly all cases the recommendation is to regenerate the mesh; as opposed to editing the mesh manually. This is because any process that edits a mesh, causes the node and element ordering to become disorganized. Additionally, editing a mesh invalidates any solution files that have been previously saved. Manually editing a 2D mesh risks creating issues with the assigned elevation data or other datasets being used. As such, if there is a solution dataset attached to the mesh, the model simulation should be re-run.

Example of file generated mesh preview

A useful tip is reviewing your mesh before generating, using the preview tools that are available in a given dialog. Make adjustments to the arcs, vertices, and polygons on the mesh. Do not be afraid to add more arcs, vertices, or polygons if further refinement is needed.

If you want to generate a new mesh with the desired edits, you will need to create a mesh generator coverage. The following are examples of tools that can create a new mesh:

  • Map → 2D Mesh tool.
  • 2D Mesh from 2D Grid in the toolbox.
  • Additionally, most of the Unstructured Grid tools may be utilized to generate a new mesh.

Make use of the mesh editing and generating capabilities of SMS 13.3 today!

Blog tags: 

Discover the Refine UGrid Tools in SMS

The Surface-water Modeling System (SMS) continues to expand its capabilities. Currently, SMS is expanding to make more use of unstructured grids. An unstructured grid (UGrid) is a flexible geometric object that can include cells such as 2D and 3D cells with any number of faces and nodes. This flexibility allows for more realistic modeling of geological features.

In SMS, UGrids can be imported directly or created by converting an existing geometry such as a 2D mesh, 2D scatter set, Quadtree or map feature objects. When creating an UGrid from an existing geometry, it is usually best to make certain the geometry already refined to the level you need for your project. However, sometimes the Ugrid needs to be refined after it has been generated or imported. To do this, SMS provides two tools for refining UGrids: Refine UGrid and Refine UGrid by Error.

Both tools are located in the SMS Toolbox under the Unstructured Grids folder.

The Refine Ugrid uses an existing UGrid then splits (refines) the elements into smaller elements. The Refine UGrid tool provides you with the option to select datasets with “locked” nodes—any node with a non-zero scalar value. Any cell edges that contain one or more locked nodes will not be split. Utilizing such a tool will equip you to complete a surface-water modeling project with focused accuracy and efficiency. .

Example of refining a UGrid

Similar to the Refine UGrid tool, the Refine UGrid by Error tool produces a 2D UGrid that has been refined as a result of an existing 2D UGrid, however this tool integrates elevation rasters into the process. Entering a value that guides the acceptable error threshold, the maximum number of iterations to perform, and the necessary elevation rasters are all required components of the input parameters for this tool.

Being able to refine UGrids adds increased accuracy for your surface-water projects in SMS. Check out the refine UGrid tools in SMS today!

Blog tags: 

Eliminate Null Values in SMS

Does your Surface-water Modeling System (SMS) model contain null values? Null values can be useful at times. Some models are even built around them. But what about when you don’t want them in your model? The tools in the Toolbox have ways to change, correct, or exclude data, including null values, without needing to manually edit the files and re-importing them, to clean up the data. These tools have multiple uses for viewing data in different ways, modifying current datasets, and creating new ones from the modifications made.

The Toolbox holds a very useful option in the Filter Dataset. It can be used to modify data in existing datasets by using various filters to include, exclude, or change the data being processed. When you have null values inside your project that you wish to exclude, you can use this tool to eliminate null values and assigning them to 0.

In order to use the Filter option, follow these steps:

  1. Go to Toolbox | Dataset | Filter Dataset.
  2. Click on Run Tool…
  3. Under Input dataset, select the dataset from the dropdown.
  4. For the If condition, select null from the dropdown.
  5. For Assign on true, select Specify from the dropdown.
  6. Enter 0.0 for the Specified Value.
  7. Under Output dataset, enter a new name for the results of the test.
  8. Click OK to run the tool.
Example of the Filter Dataset tool

Once you have created a filtered dataset, the new dataset can then be viewed in the simulation or used with other tools in the toolbox to modify, view, or create other new datasets for better visualization.

This filter function can also be found under Data | Data Set Toolbox… under the Tools section in the left-hand column. It has a slightly different look but the exact same utility.

Head over to SMS and try out the Filter tool to see how it can improve your model results and data visualizations.

Blog tags: 

Pages