Aquaveo & Water Resources Engineering News

Export UGrids Seamlessly With the Export UGrid Tool

Do you have an unstructured grid (UGrid) in the Groundwater Modeling System that you want to share with other projects or applications? Having a portable UGrid allows you to share data between projects or with colleagues. The Groundwater Modeling System (GMS) has several ways to export data, including UGrids, from a model. The Export UGrid tool in the Toolbox allows you to export your UGrid to a file location your computer.

When you open the Export UGrid tool, found under the Unstructured Grids section in the Toolbox, you have only three steps to take:

  1. Select the UGrid you wish to export.
  2. Select the file type.
  3. Save it with a name and location.

There are three primary file types in the Export UGrid tool to choose from: XMC, STL, and OBJ. Two of these, XMC and STL, have two additional variations on the formats for saving: ASCII and binary.

Example of file generated with the Export UGrid tool

Aquaveo has provided the XMC format, our format, for exporting structured and unstructured grids of all varieties: 2D grids, 3D grids, quadtree/octree, nested, and voronoi.

GMS also provides the STL file format. This stereolithography file can be used with 3D CAD printing and should be able to be read by CAD software. It may also be converted to other file formats. This can only be used with triangular grids.

The last format type is OBJ. A geometry definition file format originally created for animation software, it has since been used for modeling and simulations in various applications. An OBJ file can be converted to STL and other formats. The OBJ format is limited to triangular grids only.

The ASCII formats of both the XMC and the STL file types, as well as the OBJ file type can be viewed and edited in a text editor.

The variety of file formats gives you flexibility in choosing how best to use the data. Head on over to GMS and see what the Export UGrid tool can do for you.

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: 

Streamlining GMS by Using Keyboard Shortcuts

No matter how long you have been using the Ground-water Modeling System (GMS), you can enhance your experience with keyboard shortcuts. GMS comes equipped with various keyboard shortcuts–quick keys, hotkeys, accelerator keys, keybindings–in order to make the process more efficient for you. Whether you are just beginning or seasoned, such shortcuts are useful for any water modeling project.

The newest addition to the collection is related to the GMS unstructured grid (UGrid) feature, and facilitates progress with one click: Select all cells in UGrid layer using the “l” (L) key.

New select UGrid layer shortcut

Here are a few more shortcut options that expedite the groundwater modeling process:

  • CTRL+D (Display Options): Quickly populate your display options module for view and modification.
  • CTRL+F (Frame Image): Use this option to scale and frame your model in the Main Graphics Window.
  • View: Utilize these options and view your project from any perspective quickly.
    • Shift+P (Plan View)
    • Shift+F (Front View)
    • Shift+S (Side View)
    • Shift+O (Oblique View)

With all of the intricacies of the GMS software, simplifying even the smallest commands may increase productivity in infrastructure planning:

  • CTRL+N (New Project): Clear the contents of your previous project easily with this command.
  • CTRL+O (Open File): Import a new file with this command.
  • Delete Key: Delete objects easily with this command.
  • CTRL+A (Select All): Select all objects easily with this command.
  • CTRL+U (Unselect All): Unselect all objects easily with this command.

Mastering keyboard shortcuts is a key aspect of becoming a proficient user of GMS. By taking advantage of these time-saving tools, users can navigate the environmental engineering software more efficiently, focus on their modeling tasks, and ultimately achieve better results in their water modeling projects. Use the "GMS Keyboard Shortcuts" article on the Aquaveo wiki to view these commands and more.

Additional shortcuts continue to be added to GMS. Access the latest version of GMS to make use of the newest shortcuts today!

Blog tags: 

Discover MODRAT Percent Impervious

When working with the Watershed Modeling System (WMS) and the MODRAT model, one potential aspect of your watershed analysis would be determining the percent impervious values for each sub-basin. Accurate percent impervious calculations may significantly influence your hydrologic modeling outcomes. Here is a guide to help you navigate this process effectively.

Importing Land Use Data

To compute the percent impervious for each sub-basin in MODRAT, you need to start with accurate land use data. Land use data in WMS is typically stored in the GIS and Map modules. The most efficient way to read this data into WMS is through a shapefile. Here’s how you can do it:

Example of the Map MODRAT Attributes dialog
  1. Create a Land Use Coverage: In WMS, start by creating a new land use map coverage. This coverage will hold all the land use data you import.
  2. Import the Polygon File: Import your land use polygon shapefile into WMS. This file should contain various land use types and their respective boundaries.
  3. Assign the Percent Impervious Field: Ensure that the percent impervious field, often labeled as IMPERV_ by the Los Angeles County Department of Public Works (LACDPW), is correctly mapped to the LA County Soil land use field in WMS. This step is crucial as it links the impervious data to your land use coverage.
  4. Compute and Assign Percent Impervious: With the land use data now present in WMS, use the "Map Attributes" command in the MODRAT menu to compute and assign the percent impervious values. This function will analyze the land use data and calculate the percent impervious for each sub-basin.
Using Coverage Overlay Options

Another method to determine the percent impervious values is by using the Coverage Overlay options in WMS. This approach is similar to calculating curve numbers and involves overlaying land use coverage with drainage coverage.

  1. Overlay Land Use and Drainage Coverage: Start by overlaying your land use coverage with an existing drainage coverage. This will combine the datasets, allowing for an analysis of land use types within each drainage area.
  2. Calculate Percentages: The overlay will provide you with the percentages of different land use types within each sub-basin.

Whether you choose to import land use data directly or use the coverage overlay options, both methods can aid in determining the percent impervious. Use either method in your MODRAT projects in WMS today!

Blog tags: