GMS

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: 

Tips for MODFLOW 6 in GMS 10.5 Beta

Have you had a chance to use MODFLOW 6 in the GMS 10.5 Beta? If you have, you may have noticed that MODFLOW 6 operates a little differently than other versions of MODFLOW. This is to allow for some additional tools and options.

When using MODFLOW 6 in GMS 10.5 Beta, here are a couple tricks to try out.

Having Multiple MODFLOW 6 Simulations in the Same Project

You can create multiple simulations in the same project by using the simulation workflow in GMS 10.5 beta. This is particularly useful when attempting to calibrate your project. The way this is done is by doing the following:

  1. Right-click on the simulation in the Project Explorer and select the Duplicate command. This will create a duplicate of the simulation that includes all the same parameters and uses the same grid.
  2. On the new simulation, change the parameter that needs to be calibrated, such as the head values or the pump values of the wells. It is generally best to only focus on one parameter change when calibrating the model.
  3. Run the new simulation and compare the results between the different simulations.
  4. Repeat this process with additional simulations to calibrate the model.
Duplicate command in the simulation menu
Running Multiple Simulations at the Same Time

After you have created multiple MODFLOW 6 simulations, you can run all of the simulations at once. This is done by doing the following:

  1. Right-click on the simulation folder and select the Save All and Run command.

The Simulation Run Queue dialog will display all of the simulation model runs. While the simulations are running, the Simulation Run Queue can be moved aside or minimized to allow you to keep using GMS. The results can be loaded into the project for you to review when the simulations have finished.

Sae All and Run command in the simulation folder menu

Additional features for MODFLOW 6 are still being added to GMS and will appear in future versions of the software. For now, check out MODFLOW 6 in GMS 10.5 beta today!

Blog tags: 

Tips for Using MODPATH in GMS

MODPATH is designed to work with MOFLOW to show particle tracking information. Using MODPATH can provide valuable information to your groundwater model. With that in mind, here are a couple tips for using MODPATH.

Seeing the Breakdown of Position vs Time

After running MODPATH, you can use GMS to see the breakdown of position vs time.

  • Duplicate your particle set and change the duration for each to correspond to the end of a different time step. This will help visualize when the particles traveled along their pathlines.
  • View the Pathline Report by right-clicking on a particle set in the Project Explorer and selecting the View Pathline Report command.
MODPATH Pathline Report
MODPATH Crashing During a Transient MODFLOW-NWT/UPW Simulation

While MODPATH is quite stable, it can crash when used with some MODFLOW-NWT models. To avoid this, look at the following:

  • When the water level is below the bottom of the cell in MODFLOW-NWT, making the cell dry but not inactive, MODPATH calculations give bad values. Check the cell thickness to see if it is above the water level. Then, inactivate cells above the water level.
  • The alternative workflow, which is not appropriate for every model, would be to change your MODFLOW-NWT model so that either the cells do not go dry, or are set to be inactive from the beginning, which is what this user on this forum post chose to do.
Importing Old Versions of Particle Coordinate Files

GMS has the capability to read in older particle coordinate files. Old versions of the endpoint, pathline, and time series files are automatically detected and read by MODPATH-PLOT. When old particle coordinate files are read, all time step values are automatically set equal to 1 and the particle release time is set equal to 0. The discharge code (IDCODE) for all particles is set to 1 (normally terminated).

Using these tips can increase your MODPATH expertise. Try out MODPATH using GMS today!

Blog tags: 

Sharing GMS Project Files

As many of us work in a collaborative environment, sharing projects becomes essential. When sharing a GMS project, it is not as simple as sending over just the GMS project group file (*.gpr) project file. GMS projects are stored in multiple separate files that work together. When sharing a GMS project, it is important to include all of the necessary files.

GMS projects are saved as a project group file (*.gpr). This file saves feature objects, projection data, data objects and other general settings. However, it only references many other aspects of a project that are contained in separate files. It will reference the location of all external files such as shapefiles (*.shp, *.dbf, *.prj, etc.), images, CAD files, grid files, etc. When sharing a GPR file, the file needs to be able to locate these external files. Ideally, these files should be located in the same folder as the GPR file. This is why it is recommended to zip all the project files together before you send it out to be shared.

GMS project files

When your project contains a MODFLOW model, it is important to know that GMS saves the MODFLOW project in separate files. For example, each package saved as a different file. Rivers (*.riv), drains (*.drn), wells (*.wel), streams (*.str), recharge (.rch), etc. are all different packages with different file extensions. Sending over just the package file, such as only sending a wells file, is not much use as GMS will likely be unable to open it.

Along with the MODFLOW package files, GMS will need the MODFLOW name file (*.mfn). This file allows GMS to build the MODFLOW project when it is imported. All other input and output MODFLOW files should be included when sharing your GMS project.

Note that many files will be saved in a folder created next to the GPR file. Files in the folder should be left there and the entire folder should be moved with the GPR file. GMS saves the relative location of files included in the project.

When sharing your GMS project, keeping all of the necessary files together can save the person receiving the project a lot of frustration. For more about GMS file formats, be sure to check out the GMS articles on the XMSWiki and start sharing your GMS projects today!

Blog tags: 

Pages