Aquaveo & Water Resources Engineering News

Getting a Head Start with the Import UGrid Points Tool

Does setting up an unstructured grid (UGrid) in your Ground-water Modeling System (GMS) project seem to take too many steps? If you already have a CSV file containing point information, one of the tools in our Toolbox can help you create a UGrid quickly. The Import UGrid Points tool allows you to import a CSV file and turn it into a UGrid in one process.

Example of a UGrid created from the Import UGrid Points tool

Our Import UGrid Points tool works similarly to the File Import Wizard does but processes CSV files with fewer steps and directly creates the UGrid. In order for the Import UGrid Points tool to work, the basic file must include, at a minimum, x and y coordinates. Z is optional. Other datasets associating data with each point may be included as well, and the Import UGrid Points tool can handle transient data associated with the points. Note that because it is limited to one z coordinate column, The Import UGrid Points tool will only create 2D UGrids.

The Import UGrid Points tool requires the CSV file have the following:

  • "No data value” values for any values that should import as "NULL" or "no data"
  • A time unit for those files containing transient data specified as a floating point number
  • A coordinate system projection file associated with the points you are importing

The CSV file must be properly formatted before importing. It must have a heading row to define each column of data. If the file also contains transient data for each point, the second row must be blank for the x, y and z coordinates but contain date/time information in a specified format. If the CSV file is not set up correctly, the tool will fail to set up the UGrid.

The Import UGrid Points tool is very useful for getting a head start on the UGrid creation, especially if you already have older data you've been wanting to import. As long as it is formatted correctly, and you have the projection file to match it to, you can try it here. If you have a file that isn't working with the File Import Wizard, you could also try this tool.

Head on over to GMS and try the Import UGrid Points tool today!

Blog tags: 

Using the Clean Options function

When building your Surface-water Modeling System (SMS) project, are you encountering issues because of poorly rendered or imported feature objects? When you have a large number of feature objects, it can be easy to have some drawn in the wrong location, overlapping other objects, or other errors. This can interfere with the operation of the simulation. Cleaning up the feature objects can make the difference in a successful running simulation and one that fails to converge.

Example of the Clean Options before and after

When you create your surface water model, either by extracting features from existing data or building them manually, you can end up with multiple arcs and points that are unnecessary for your SMS model or may even interfere with the model’s simulation. By using the Clean Options dialog, you can consolidate or eliminate points, nodes, vertices, and arcs, all based on parameters you select.

The Clean Options dialog gives you multiple options. You can choose to clean every arc in a coverage, but perhaps you only want to focus on one set of arcs, one branch of a stream network for instance. The dialog will allow you to choose. You can run a full clean or select specific actions. You can control how close points, nodes, vertices, and arcs have to be before they are considered for snapping. You can also remove arcs that are less than a length you choose to enter.

The Clean Options dialog can be reached either through the Clean Options macro at the top of SMS, or through the Feature Objects | Clean… menu command. The algorithm used by the dialog applies clean operations to the active coverage in a priority order. Sometimes, snapping will create new cleaning opportunities and bumps the newly created opportunity to the top of the priority list. It will need to go through multiple iterations to check that all have been completed.

For instance, locations are sorted from left-to-right by their X-coordinates, with ties broken by sorting from bottom-to-top by their Y-coordinates. Segments are sorted by comparing their endpoints using the same comparison as for locations. Then the "first" locations on each segment are compared, and the segment containing the earlier location is chosen first. In the event of a tie, the "second" location is used to break the tie, and so on until all points, nodes, and arc segments have been cleaned. Once a location is moved, it is locked in place for the remainder of the iteration.

It is often wise to first duplicate the coverage you are trying to clean and rename it, before running the Clean Options dialog on the duplicate coverage. That way, if the parameters set were too high, you can go back to the original coverage, duplicate, and run it again with different parameters. If the clean didn’t change much, you can alter the selections and run it again.

The Clean Options function can save you a lot of time in fixing issues with your feature objects. Head on over to SMS, and see if the Clean Options function can help your project!

Blog tags: 

Best Uses for the Clip and Trim Coverage Tools

Did your Surface-water Modeling System (SMS) project end up with an excessive amount of arcs, nodes and points in a coverage? Maybe the shapefile you imported converted many more details than your project needed, or extracting features from your raster did the same. There are several ways you could go about simplifying the project to ensure the simulation only covers what is needed. We have a couple of tools that can help you simplify the amount of feature objects your project will deal with: the Clip tool and the Trim Coverage tool.

Both located in the Toolbox under the Coverages folder, the Clip and the Trim Coverage tools allow you to limit the feature objects within an area and create a new coverage containing what is desired.

The Clip tool limits arcs to only those inside a selected separate coverage that has a polygon which defines where to trim the feature objects on the target coverage. This trim coverage will typically be a coverage you create and can be of any coverage type. The Clip tool quickly creates a new coverage with arcs, nodes, and points located within the polygon desired. Where the arcs are “cut” at the polygon edge, a new node is created at the new endpoint.

Example of the Clip Tool before and after

The Trim Coverage tool works similar to the Clip tool but has a few more options. The extra options allow you to choose to trim to the inside or to the outside of the selected coverage polygons, trim to the inside being the default. And also, you can specify a buffer distance to trim to: how close to the polygon boundary you want the arcs, etc. to be trimmed to.

For either of the tools, you will need the coverage containing the arcs, nodes, and points needing to be limited, and also, the coverage containing the polygons which will define the boundaries of where the clipping or trimming will occur. For the Trim Coverage tool, you have the two additional parameters to define, if desired.

After entering a name for the soon-to-be created coverage, run the tool. For both the Clip and Trim Coverage tools, it will clip all the arcs to the limits of the polygon, creating a new endpoint or node at the point where the original arc intersected the polygon boundary.

Head on over to SMS and see how these tools can help your project today!

Blog tags: 

Three Methods for Assigning CHD

Do you have a Ground-water Modeling System (GMS) project where you are needing to edit values in your constant head cells? If it is a simple grid approach, academic-style project, editing each cell is likely fine. But if you have a large, more complex, conceptual model, editing the constant head cells may prove problematic. Here are some ways that you can accomplish this with a minimum of effort.

A constant head (CHD) cell is an area where the water levels will remain fairly steady no matter what the inflow or outflow may be. Lakes, coastal areas, etc. are good candidates of constant head boundaries. Assigning cells to be constant heads provides a steady boundary where the water levels will stay the same for the model duration.

Example of a CHD boundary

The constant head cells are typically assigned or edited in one of three ways. One method is to directly edit the IBOUND array. When setting up a MODFLOW simulation or when editing packages, the MODFLOW | Global Options menu will let you choose the IBOUND package to edit the options there including the array. Copying and pasting data from an external spreadsheet into the array could save you time here.

Another method is to select a set of cells and use the 3D Grid Cell Properties dialog. You can right-click on a cell to bring up the dialog. Make sure you are on the MODFLOW tab and edit the “IBOUND” and “Starting head” rows. If multiple cells are selected, this will edit all selected cells.

The simplest method is to define the constant head zones using feature objects as part of a conceptual model in the Map module. When you set up a coverage using the feature objects, the Coverage Setup dialog will allow you to assign CHD to cells in the grid. You can change what the default assignment will be if you also select “Layer Range” and make changes using the Attribute Table.

Whichever method you choose to assign CHD, when you are ready to run your ground-water model, the Model Checker can be used to see if there are errors in the assigned constant head cells. Then you can correct those cells mentioned specifically by using the IBOUND array or the Cell Properties dialog as mentioned above.

Head on over to GMS and see which method of defining your constant head cells works best for you!

Blog tags: 

Easily Snapping Outlet Points to Stream Arcs

When creating your Watershed Modeling System (WMS) project, did you find that your outlet point isn’t in the right place on the stream arc? Outlet points are placed at the points of confluence in a watershed. Designating an outlet point is necessary for delineating a watershed, but it must be placed correctly. The Snap Outlet Points to Streams tool, found in the Toolbox, can help place the outlet points in the correct locations.

Example of a point that is not snapped to the streams

If an outlet point is near but not on a stream arc, WMS can automatically snap an outlet point to the stream, or the stream arc to the outlet point, within a very limited range, depending on which was created first. But if two stream arcs are close together, and the outlet point between them, the auto-snapping may place it on the wrong stream arc, thus making the watershed delineation incorrect. Or, the outlet point may be placed far enough away from the stream arcs that WMS can’t automatically snap it to the appropriate stream arc for watershed delineation. When an outlet point is placed incorrectly, it can cause problems for your model. Either the watershed delineation will fail, or the basins created could have incorrect boundaries. This is where the Snap Outlet Points to Streams tool can be useful.

The Snap Outlet Points to Streams tool will allow you to place outlet points away from the stream arcs but still snap them to a stream. It allows you to define how far away from the outlet point to look for a stream arc. While you still should be cautious about outlet point placement, it gives you a little more latitude in creation locations to ensure the correct delineation of the watershed.

To find the Snap Outlet Points to Streams tool, you will need to look in the Toolbox under the Coverages folder. When you open it, you will choose the input coverage containing the outlet points, and also, the input raster streams file. You will need to define the maximum distance in map units for the tool to search for the stream arcs to snap to. After entering a new coverage name for the output coverage to be created, you can run the tool.

Head on over to WMS and try the Snap Outlet Points to Streams tool today!

Blog tags: 

Is a Paid or Community License Right for You?

For us at Aquaveo, we seek to provide state-of-the-art software for your water resources projects. We’d like to see as many hydrologists, civil engineers, and more using our software to better the community and the world. For this reason, we provide with our Surface-water Modeling System (SMS) software, both a trial, community, and paid editions.

The trial version grants you full access to all the features of SMS for a limited time. Typically, this trial period is for two weeks. During the trial, you can use any of the models or functionalities in SMS. This lets you decide what features of SMS you will need for your project.

After the trial period, or when you are ready, you can contact our sales team for a pad license. WIth a full license, you can select what features you want included. Aquaveo has two primary editions: Riverine, and River and Coast. Add-ons are available for each for the packages, or you can custom build what is unlocked so you have exactly the tools and modules you need for your work.

For some of our users, only a limited number of features are needed. The community edition of SMS includes only some of the core components, such as the GIS and Mesh modules, and a few of the more common surface-water models available, such as SRH-2D, ADCIRC, and CMS-Flow. Some limits have been added to these features, for example the number and size of meshes is limited in community edition. The community edition mostly supports small or simple projects and is not intended to support large or complex models.

SMS Community Edition

There are several advantages to having a paid license over relying on the community edition, including access to newer tools and functionality. Furthermore, a current paid license allows access to Aquaveo's technical support and other resources. Fortunately, it is possible to upgrade to a paid license at any time. Once you have a paid license, you retain access to all the features for the version of license you purchase.

Download SMS today and see what version works best for you!

Blog tags: 

Reliable Grid Conversion with the Voronoi UGrid from UGrid Tool

Did you realize while planning your Groundwater Modeling System (GMS) project that a different unstructured grid (UGrid) would be a better fit? UGrids are very flexible and can be refined around streams, wells, basins, and other objects. But sometimes, one type of UGrid may fit better than another for a particular project. The Voronoi UGrid is one of the more flexible types of UGrids available in GMS. The Voronoi UGrid from UGrid Tool in the Toolbox is there to help convert a UGrid into a Voronoi UGrid.

For most UGrids, the attributes and boundary conditions assigned are associated with the edges, points, and nodes, all on the outer edges of the cells. For a Voronoi UGrid, those things are associated with the point at the center of the cell.

Example of a Voronoi grid

If your model is fairly straight-forward, has structured boundaries or rectangular domains, UGrids with rectangular cells might still be the better choice. Or, if you require computational efficiency, the Voronoi UGrid may not be your best choice. However, if those are not considerations, then using the Voronoi UGrid from UGrid Tool may be a good option for you.

With a Voronoi UGrid, you get even greater flexibility to refine around irregular boundaries thus improving your groundwater model’s accuracy. The cells of the Voronoi UGrid are created with an algorithm that depends solely on the geometry of the points, arcs, and polygons in the active coverage. Voronoi UGrid cells can have more sides (up to eight) than just the three or four sides allowed in most other UGrids. Therefore, it can fit into the boundaries of a model and be refined along arcs and at points much more accurately.

You will find the Voronoi UGrid from UGrid Tool in the Unstructured Grid folder of the Toolbox. The Voronoi UGrid from UGrid Tool only needs the input UGrid and a name for the new Voronoi UGrid it will generate. There are some limitations to the tool. Conversions may not occur if any created final cells would have more than 8 edges. The UGrid being converted must contain only 2D cells. And there can also be no disjoint regions where cells aren’t connected to the rest of the UGrid.

Head on over to GMS to see if the Voronoi UGrid from UGrid tTool will help your model!

Blog tags: 

Benefits of 3D Structures

Does your Surface-water Modeling System (SMS) project require simulating the effects of bridges or culverts? For some time we have had the capacity to simulate these structures in 2D or 1D for use with numeric models such as SRH-2D and TUFLOW. More recently, we have added the ability to create and insert these structures in 3D thus improving your modeling capabilities and visualization options.

When running a model, having a bridge or other structure in the model can change the results of the model run. 3D structures provide more detail for how the structure will fit into the landscape. SMS allows the creation of the structure and inserting it into the 2D model, so you can see how and where it fits into the project. This potentially makes for a more accurate model. Furthermore, an unstructured grid of the 3D structure can be generated to visually show how the structure fits into your model..

3D structure example

Currently, SMS has the ability to create two kinds of 3D structures: bridges and culverts. It can also customize each one to include multiple configurations. 3D structures provide extra flexibility in the simulation, such as being able to have variations in the bridge ceiling along the entire width, which can match the reality of bridge structures much more closely. Your model can also include more than one 3D structure and a mix of types of structures as well. But note, multiple 3D structures could slow down your simulation. Currently, 3D structures can only work with SRH-2D models.

Creating a 3D structure will also automate some things you would have likely needed to do manually beforehand, like create the voids necessary for piers and walls. This reduces the potential for errors that manual void creation can have and improves the reliability of the model.

The 3D structure can be used as part of an observation plot and can also generate a new dataset for the maximum water surface elevation (ceiling elevation) in the model. Overtopping is, of course, included, as well as pressure flow through the culvert or under the bridge.

Head on over to SMS and see how adding 3D structures can improve your project today.

Blog tags: 

Incorporating Inline Steering in CMS

Are you wanting to internally couple a CMS-Wave model with your CMS-Flow model? The Surface-water Modeling System (SMS) offers the Inline Steering Model Control option, which allows CMS-Flow steering using CMS-Wave data. The steering is controlled by the CMS-Flow model executable and not SMS. The steering tool is useful in facilitating the process of launching models multiple times. Furthermore, the steering module automates repetitive user tasks. Using the steering tool for CMS will enable data sharing between circulation and wave propagation numerical models.

Example of CMS inline steering

In SMS version 12.1 and later the Inline Steering option is reached by going to the CMS-Flow Model Control dialog:

  1. Build and run a successful CMS-Wave model.
  2. Right-click on the CMS-Flow simulation in the Project Explorer and select Model Control.
  3. Select the Wave tab and select the Inline steering option under the drop-down in the Wave information heading.
  4. Import the specific CMS-Wave solution file.
  5. Enter the inline steering value.

Coupling of models is an efficient and accurate means of calculating wave-driven currents, setup and setdown, and wave-current interaction in nearshore regions, including tidal inlets. In SMS version 12.0 and earlier the steering tool can also be used to facilitate the transfer of data from wave models to circulation models and back. In versions 12.1 and later, the CMS-Flow Model Control is used for steering.

When using Inline Steering, it is necessary to build a CMS-Wave model prior to incorporating any data into CMS-Flow. Following that, it is then possible to build a model in CMS-Flow using the stored data and solution files. If you encounter problems with the CMS-Flow simulation results, and notice that neighboring outputs are not quite right, check the Steering Interval option in the CMS-Flow Model Control Dialog. If this option has a number less than 0.25 inputted, it causes problems as there is no proper indication for CMS-Flow to include CMS-Wave solutions in its calculations. To fix this, set the steering interval to a number greater than zero, and the CMS-Flow simulation should respond to the CMS-Wave inputs.

Try Inline Steering for your CMS-Flow models in SMS today!

Blog tags: 

How to Prioritize Interpolating Multiple Rasters

Do you have a project requiring multiple elevation rasters that are difficult to reconcile with each other? To manage the rasters, and get the best data for your project, our Groundwater Modeling System (GMS) has many tools in the Toolbox to help. One of these, the Interpolate Priority Rasters tool, gives you the ability to prioritize the elevation data from each raster.

When multiple rasters are interpolated to the geometry, multiple datasets will be created, one for each raster. A raster catalog can help consolidate this information but it doesn’t prioritize data. With the Interpolate Priority Rasters tool, you can specify exactly which raster takes precedence first, second, and so on. It will create one dataset that contains all the prioritized information. This ensures that the information most important to your model can be retained and used.

Multiple overlapping rasters

Rasters downloaded from separate sources, or from the same database but at differing times, can contain discrepancies in the data. When the rasters overlap, those differences can create problems with the model. If major discrepancies exist, some of the other tools in the Toolbox can help correct them before using the Interpolate Priority Rasters tool.

In GMS, the Interpolate Priority Raster tool can be used with both 2D and 3D UGrid geometries. All that is needed for this tool is a geometry selected, a dataset used to provide default values for interpolation, a method for interpolation, and the selected rasters placed in the order of priority. Once run, a new dataset is created with the integrated data. If the new dataset is meant to be the elevation of the target geometry, you will need to map it manually because it will not be done automatically, but you will have an interpolated raster that is consistent across the model.

Head on over to GMS and try the Interpolate Priority Rasters tool in your models.

Blog tags: 

Pages