GMS

The HDF5 File Format and MODFLOW

The HDF5 file format is a cross platform binary format for storing scientific data. HDF5 allows you to reduce the size of the file data by compressing repeated values. This allows your data to be read and written much faster than if you stored the data as ASCII (plain text) files. GMS can read and write to HDF5 files, and stores its own HDF5 files with the other MODFLOW data files.

Exporting an HDF5 file

There are no hard file size limits. The number of objects within an HDF5 file is not limited, and the format supports complex relationships through grouping and linking. In addition to support for common metadata types, you can create user-defined metadata to accommodate whatever needs you have in your project. The only limits with these are the capabilities of your computer.

HDF5 was designed to be extensible and to allow for future changes to the platform. GMS takes advantage of this by checking HDF5 data for key values in order to substitute them into your arrays or lists. This allows you to better use transient parameters and very large pilot point sets. GMS handles the pilot point interpolation through an external routine that helps speed up the processing.

There are external HDF5 file viewers and editors, such as HDFView. However, it is very easy for you to modify the data in such a way that it makes the HDF5 unreadable by GMS. Because of this, we recommend only viewing the files using these tools. You should only manually edit the file if given explicit directions by a developer. If modifications need to be made to the HDF5 file, we recommend you make the changes to your project in GMS which will re-export the HDF5 file.

Learn more about the HDF5 file format from the HDF Group, a consortium of scientists worldwide that works on the HDF5 format. You can also read the article on the XMSWiki about using the HDF5 format with MODFLOW. This article goes into more details about multiple specific uses for the file format.

Make use of HDF5 files with MODFLOW in GMS today!

Blog tags: 

Using the CLN Package to Model Faults and Fractures

Needing to model features or faults in your MODFLOW-USG model? The CLN Package is used in conjunction with MODFLOW-USG to model features that are significantly smaller than the individual cells in a 3D groundwater flow model. This tool allows you to model one-dimensional linear features within a three-dimensional simulation domain when the flow connections are separate from those of the aquifer. This makes it ideal for modeling fractures and faults.

CLN network map

There are a number of requirements to use the CLN package:

  1. The MODFLOW version must be set to MODFLOW-USG in the MODFLOW Global/Basic Package dialog.
  2. There must be a coverage with Wells and Wells (CLN) turned on in the Coverage Setup dialog.
  3. The coverage must have a default layer range of at least two layers, and it must be active on the layers where the CLN features will be.

The CLN package works with unstructured and 3D grids. It allows connections to be set up between the CLN cells to regular groundwater cells. You can connect a CLN cell to one or more groundwater flow cell, and CLN cells do not have to be ordered upstream to downstream. These features allow you to scale the conceptualization of the flow as needed.

For example, a single cylindrical CLN cell (representing a long fracture or fault within the ground) connected to multiple groundwater flow cells may be pumped to simulate multi-node well connections. The CLN cell extracts water from the groundwater flow cells as part of the solution to the coupled CLN and groundwater flow equations.

You can treat a CLN cell as a well by using the WEL Package to assign a source or sink to the cell. This can also be done using multiple CLN cells. Multiple fractures can be connected together to form one larger network. To make things easier, you can also use shapefiles to map the features of the CLN cells and connections.

CLN network map examples

By using this method, you can create a more complete picture of the domain you are modeling. Try using the CLN package to model faults and features in GMS today!

Blog tags: 

Using MODFLOW-NWT for Mine Dewatering

Have you tried dewatering a mine model using MODFLOW-NWT? MODFLOW-NWT is a version of MODFLOW provided by the USGS that uses a method to solve MODFLOW models that are non-linear due to unconfined cells or non-linear boundary conditions, creating an asymmetric results matrix. Because mines that need to be dewatered sit below the water table, cells within the simulation will become dry at times due to the removal of the water from the mine. MODFLOW-NWT is great for such situations as it handles dry cells well.

Modeled mine example

Mine dewatering models are often used when estimating the required flow capacity for the pumps used in the field. You can create a regional model to establish a baseline, then create one or more models with various pit depths to establish the best approach for the mine in question. While elevations cannot be set to transition during a MODFLOW run, multiple conceptual models can be created within the same project in order to keep all of the data together.

It’s important to remember the difference between wells and drains when creating the dewatering model. Drains only subtract water when the head is above the elevation of the drain. Therefore, drains can be used to represent the seepage face around the edges of the pit, and the drain elevations should be set to equal the ground surface elevations. The amount of water removed by a drain is related to the conductance of the material of the seepage face. Drains are generally used at the bottom and side seepage faces of the mine.

Wells remove a specific amount of flow, and can therefore dewater the cell they are in prior to dewatering the rest of the mine. MODFLOW-NWT, as mentioned previously, handles these dry cells very well, keeping them active in case they become wet again.

Because MODFLOW-NWT uses 3D grids, you should make sure the cells inside the pits are inactive. You do this by creating the boundary polygon, and then removing a "donut hole" of cells within the pit area. Use the Activate Cell(s) in Coverages tool to inactivate the cells. You’ll have to do this for each layer, and each layer should be on its own coverage.

Finally, always use the Model Check to make sure there aren't any obvious errors or missing values in any of the inputs. After MODFLOW-NWT finishes running, you should review the water table by looking at the drawdown output contours. You can also do this by switching to Ortho view and reviewing the head in the appropriate rows or columns.

Try out making a mine dewatering model using MODFLOW-NWT in GMS today!

Blog tags: 

Using CAD data in GMS

Do you need to work with CAD data in your GMS project? This blog post will go over some of the ways to import, export, and convert CAD data in GMS.

Importing CAD Data

CAD data is common with project designs and is often necessary in order to import a CAD data file into GMS for an accurate view of the project. This is how CAD data can be imported:

  1. Select File | Open.
  2. In the Open dialog, it may help to change the File of Type field to specify a CAD format, such as "DWG/DXF".
  3. Navigate to the CAD file you wish to import and open the file.

CAD data can also be imported using the Open macro or using the drag-and-drop method like you would with any other file.

How to Convert CAD Data

For some projects, it is necessary to convert CAD data to another data type. You may also need to convert your project data into a CAD file format.

Converting from CAD

Converting options within GMS include the ability to convert CAD data to feature objects, TINs, and/or solids. This is done by right-clicking on the CAD object in the Project Explorer and selecting a command option in the Convert submenu.

CAD Data Conversion Menu in GMS

After selecting any of the conversion options, a dialog will be opened for more specifics on the conversion process.

Converting to CAD

GMS data can also be converted into CAD data by doing the following:

  1. In the Project Explorer and Graphics Window, hide any data you don’t want converted.
  2. Right-click in an empty spot in the Project Explorer and select the Convert to CAD command to bring up the Save CAD data dialog.
  3. Select location and name for your CAD file.

The CAD data that is converted from GMS will be saved as a DWG file or DXF file depending on what you select.

Exporting CAD Data

GMS also allows you to export CAD data in a project by doing the following:

  1. Right-click the CAD folder in the Project Explorer.
  2. Select Export to bring up the DWG/DXF Filename dialog.
  3. The options will appear to either select the DWG or the DXF file types to save as CAD data.

To find exported data, browse the project file folder. Another thing to note is that objects found within GMS must first be converted to CAD Data before being exported as CAD data.

Try importing, exporting, and converting CAD files in GMS today!

Blog tags: 

Pages