Skip to main content
U.S. flag

An official website of the United States government

GRIDGEN Version 1.0: a computer program for generating unstructured finite-volume grids

February 26, 2015

GRIDGEN is a computer program for creating layered quadtree grids for use with numerical models, such as the MODFLOW–USG program for simulation of groundwater flow. The program begins by reading a three-dimensional base grid, which can have variable row and column widths and spatially variable cell top and bottom elevations. From this base grid, GRIDGEN will continuously divide into four any cell intersecting user-provided refinement features (points, lines, and polygons) until the desired level of refinement is reached. GRIDGEN will then smooth, or balance, the grid so that no two adjacent cells, including overlying and underlying cells, differ by more than a user-specified level tolerance. Once these gridding processes are completed, GRIDGEN saves a tree structure file so that the layered quadtree grid can be quickly reconstructed as needed. Once a tree structure file has been created, GRIDGEN can then be used to (1) export the layered quadtree grid as a shapefile, (2) export grid connectivity and cell information as ASCII text files for use with MODFLOW–USG or other numerical models, and (3) intersect the grid with shapefiles of points, lines, or polygons, and save intersection output as ASCII text files and shapefiles. The GRIDGEN program is demonstrated by creating a layered quadtree grid for the Biscayne aquifer in Miami-Dade County, Florida, using hydrologic features to control where refinement is added.

Publication Year 2015
Title GRIDGEN Version 1.0: a computer program for generating unstructured finite-volume grids
DOI 10.3133/ofr20141109
Authors Jyh-Ming Lien, Gaisheng Liu, Christian D. Langevin
Publication Type Report
Publication Subtype USGS Numbered Series
Series Title Open-File Report
Series Number 2014-1109
Index ID ofr20141109
Record Source USGS Publications Warehouse
USGS Organization Office of Ground Water