MODFLOW - Generating Data From Solids
MODFLOW - Generating Data From Solids
0
GMS 8.0 Tutorial
Objectives
Learn the steps necessary to convert solid models to MODFLOW data on a 3D grid. The elevations
associated with the grid are adjusted to match the elevations defined by the solid models. Also, the
material assigned to each grid cell is inherited from the solid that encompasses the cell.
Prerequisite Tutorials
Required Components
Time
None
Sub-surface
Characterization
Grid
Map
Page 1 of 17
30-60 minutes
Aquaveo 2011
Contents
1
2
Contents ...............................................................................................................................2
Introduction.........................................................................................................................2
2.1
Outline..........................................................................................................................4
3
Getting Started ....................................................................................................................4
4
Reading in the Solids ..........................................................................................................4
5
Boundary Matching Versus Grid Overlay .......................................................................5
5.1
Boundary Matching......................................................................................................5
5.2
Grid Overlay ................................................................................................................5
6
Solids MODFLOW Using Grid Overlay ......................................................................6
6.1
Displaying the 3D Grid ................................................................................................6
6.2
Initializing MODFLOW...............................................................................................6
6.3
Activating Cells............................................................................................................6
6.4
SolidsMODFLOW ...................................................................................................7
6.5
Viewing the Grid..........................................................................................................7
7
Solids MODFLOW Using Boundary Matching ..........................................................8
7.1
Layer Ranges................................................................................................................8
7.2
Assigning Layers to Solids.........................................................................................10
7.3
SolidsMODFLOW .................................................................................................11
8
Viewing the Grid ...............................................................................................................11
9
Thin Cells...........................................................................................................................12
9.1
Assigning Minimum Thickness .................................................................................12
9.2
Top Cell Bias .............................................................................................................12
10 Converting the Conceptual Model...................................................................................13
10.1
Using Materials to Define Hydraulic conductivity ....................................................13
11 Running MODFLOW.......................................................................................................14
12 Solids HUF ....................................................................................................................14
12.1
Selecting the HUF Package........................................................................................15
12.2
Converting the Solids to HUF Data ...........................................................................15
12.3
Viewing the HUF Data...............................................................................................16
12.4
Converting the Conceptual Model .............................................................................16
12.5
Running MODFLOW ................................................................................................17
13 Conclusion .........................................................................................................................17
Introduction
Complex stratigraphy can be difficult to simulate in MODFLOW models. MODFLOW
uses a structured grid that requires that each grid layer be continuous throughout the
model domain. This makes it difficult to explicitly represent common features such as
pinchouts and embedded seams in a MODFLOW model.
Solid models can be used to represent arbitrarily complex stratigraphy. Figure 1 shows a
cross section through a solid model where different stratigraphic units pinchout.
Designing a MODFLOW compatible grid for this type of stratigraphy is very difficult.
Page 2 of 17
Aquaveo 2011
GMS Tutorials
Figure 1.
In this tutorial we will cover the steps necessary to convert solid models, like the one in
Figure 1, to MODFLOW data. The elevations associated with the finite-difference grid
will be adjusted to match the elevations defined by the solid models. Also, the material
assigned to each grid cell will be inherited from the solid that encompasses the cell.
Figure 2 shows a MODFLOW compatible grid of the cross section shown in Figure 1.
Figure 2.
Finite difference grid with elevations and materials inherited from the solid
model.
One of the main benefits of using solid models to define stratigraphy for MODFLOW
models is that it provides a grid-independent definition of the layer elevations that can be
used to immediately re-create the MODFLOW grid geometry after any change to the grid
resolution.
Solid models of stratigraphy can easily be created in GMS using the horizons
approach. The tutorial entitled Stratigraphy Modeling Horizons and Solids explains
how to create solid models using GMS.
Page 3 of 17
Aquaveo 2011
GMS Tutorials
2.1
Outline
This is what you will do:
1. Open a file containing solids data.
2. Use the Solids MODFLOW command using the Grid Overlay option.
3. Assign grid layers to the solids
4. Use the Solids MODFLOW command using the Boundary Matching option.
5. Fix problems associated with thin cells.
6. Convert the conceptual model to MODFLOW and run MODFLOW.
7. Convert the solids to HUF data.
8. Convert the conceptual model again and run MODFLOW.
Getting Started
Lets get started.
1. If necessary, launch GMS. If GMS is already running, select the File | New
command to ensure that the program settings are restored to their default state.
Page 4 of 17
Aquaveo 2011
GMS Tutorials
Solids
Grid
Boundary Matching
Grid Overlay
Figure 3.
5.1
Boundary Matching
With the Boundary Matching option, the top and bottom of the grid are deformed to
match the tops and bottoms of the solids. The interior grid layers are also deformed to
match the boundaries of the solids. The grid cell materials are set to match the material of
the solid that the grid cell center is located in.
This option results in a close fit between the grid and the solids, but it can result in thin
cells which can cause stability problems or dry cell issues when running MODFLOW.
This option requires that you determine which grid layers should be associated with
which solids.
5.2
Grid Overlay
With the Grid Overlay option, the top and bottom of the grid are deformed to match the
tops and bottoms of the solids. The interior grid layer boundaries are deformed to be
evenly spaced between the top and bottom of the grid using a simple linear interpolation.
Page 5 of 17
Aquaveo 2011
GMS Tutorials
The interior grid layers are not changed to match the solid boundaries. As with the
boundary matching option, the grid cell materials are set to match the material of the
solid that the grid cell center is located in.
This option does not result in as close a fit between the grid and the solids as the
boundary matching option, but may avoid the thin cell problems associated with the
Boundary Matching option. This option does not require you to assign grid layer ranges
to each solid.
6.1
6.2
Initializing MODFLOW
We must initialize MODFLOW before we can execute the Solids MODFLOW menu
command.
1. If necessary expand the 3D Grid Data folder
on the plus symbol next to the item.
6.3
Activating Cells
We need to inactivate the cells outside our model domain.
1. In the Project Explorer select the Map Data folder
Page 6 of 17
Aquaveo 2011
GMS Tutorials
6.4
SolidsMODFLOW
1. In the Project Explorer select the Solid Data folder
6.5
Figure 4.
Page 7 of 17
Aquaveo 2011
GMS Tutorials
The solid cross sections are in front of the grid row we are viewing.
10. In the Project Explorer, turn off the Solid Data folder
11. In the Mini Grid toolbar, use the arrow buttons
different rows.
.
to view the grid along
Figure 5.
At this point we could continue to develop the MODFLOW model, but before doing that
well take a look at the Solids MODFLOW Boundary Matching option.
7.1
Layer Ranges
Before we can convert the solids to MODFLOW data using the Boundary Matching
option we must assign a layer range to each of the solids. The layer range represents the
consecutive sequence of layer numbers in the MODFLOW grid that are to coincide with
the solid model. A sample set of layer range assignments is shown in Figure 6(a). The
example in Figure 6 is a case where each solid is continuous through the model domain
Page 8 of 17
Aquaveo 2011
GMS Tutorials
and there are no pinchouts. Each of the solids is given a layer range defined by a
beginning and ending grid layer number. The resulting MODFLOW grid is shown in
Figure 6(b).
A. Layers 1-2
B. Layer 3-5
C. Layers 6-7
(a)
(b)
Figure 6.
A more complex case with pinchouts is illustrated in Figure 7(a). Solid A is given the
layer range 1-4, and the enclosed pinchout (solid B) is given the layer range 2-2. The set
of grid layers within the defined range that are actually overlapped by the solid may
change from location to location. The layer range represents the set of grid layers
potentially overlapped by the solid anywhere in the model domain. For example, on the
left side of the problem shown in Figure 7(a), solid A covers grid layers 1, 2, 3 and 4. On
the right side of the model, solid A is associated with grid layers 1, 3 and 4 since the
enclosed solid (solid B) is associated with layer 2. Likewise, Solid C is associated with
grid layers 5 and 6 on the left side of the model but only with layer 6 on the right side of
the model where solid D is associated with layer 5. The resulting MODFLOW grid is
shown in Figure 7(b).
Page 9 of 17
Aquaveo 2011
GMS Tutorials
A. Layers 1-4
B. Layers 2-2
D. Layers 5-5
C. Layers 5-6
(a)
1
2
3
4
5
6
(b)
Figure 7.
When assigning layer ranges to solids, care must be taken to define associations that are
topologically sound. For example, since solid B in Figure 7(a) is enclosed by solid A,
solid B could not be assigned a layer range that is outside the layer range of solid A.
7.2
Page 10 of 17
Aquaveo 2011
GMS Tutorials
Figure 8.
if necessary.
7.3
upper_aquifer 1
lower_aquifer 2
clay 3
silty-clay 4
silty-clay 5
Begin layer
End layer
SolidsMODFLOW
1. Select the Solids | Solids MODFLOW menu command.
2. Select the Boundary Matching option and select OK.
The Solids MODFLOW command may take a few seconds to a few minutes to
complete depending on the speed of your computer.
Page 11 of 17
Aquaveo 2011
GMS Tutorials
Figure 9.
1. Notice that the second layer has both silty-clay (blue) and upper_aquifer (green)
materials assigned to it.
2. Use the arrow buttons
Thin Cells
The purpose of the Boundary Matching option for the Solids MODFLOW command is
to ensure that each upper and lower boundary defined by the solid model is precisely
matched by a layer boundary in the MODFLOW grid. As a result of this approach thin
cells often occur where solids pinchout. Notice the thin cells that you get on the edges of
the clay (yellow) and silty-clay (blue) solids in Figure 9. If you want to limit the effect of
the thin cells in your model grid you can set a target minimum thickness for each of the
solids.
9.1
2. Change the Target min. cell thickness to 20 and select OK to exit the dialog.
3. Repeat these steps for all of the remaining solids.
9.2
Page 12 of 17
Aquaveo 2011
GMS Tutorials
2. Change the option next to Use top cell bias to Yes and select OK to exit the
dialog.
3. Select the Solids | Solids MODFLOW menu command.
4. Select OK to execute the Solids MODFLOW menu command.
Figure 10.
Row 30 of the model grid using target minimum thickness and top cell bias.
Your grid should now look similar to Figure 10. Notice the top row is thicker, and the
thin cells in the yellow and blue areas are now thicker.
10
10.1
Page 13 of 17
Aquaveo 2011
GMS Tutorials
3. Select the Material Properties button in the Layer data section of the dialog.
4. Select each material in the list and enter the values for the properties shown in
the table below.
Horizontal k
Vert. anisotropy
(Kh / Kv)
upper_aqufier
15.0
3.0
lower_aquifer
30.0
3.0
clay
0.5
3.0
silty-clay
1.0
3.0
11
Running MODFLOW
We are now ready to run MODFLOW. First, we must save our MODFLOW simulation.
1. Select the File | Save As menu command.
2. Save the project with the name run1_lpf.gpr.
3. Select the MODFLOW | Run MODFLOW menu command.
4. When MODFLOW has finished running, select the Close button.
MODFLOW solution will automatically be read in.
5. Select the Display Options button
6. Select the
The
7. Turn off the Cell faces option and select OK to exit the dialog.
You should now see the head contours on the grid. Cycle through the layers to see how
the head contours change within the different layers. You can also switch into side view
to see the contours on the rows or columns.
12
Solids HUF
Now we will use the HUF package in MODFLOW instead of the LPF package to define
the hydraulic properties of the grid cells. This package is designed to represent complex
stratigraphic relationships in a grid independent fashion.
The hydro-stratigraphy is represented using a set of hydrogeologic units. Each unit is
defined by two arrays, one for the top elevation and one for the thickness. The thickness
values can be set to zero in regions of the model where the unit is not present. When
MODFLOW is executed, each cell is compared to the corresponding unit elevation arrays
and equivalent hydraulic properties are assigned to the cell. The figure below shows an
example of HUF units on a MODFLOW grid.
Page 14 of 17
Aquaveo 2011
GMS Tutorials
Figure 11.
12.1
HUF data.
12.2
Page 15 of 17
Aquaveo 2011
GMS Tutorials
proportions entered in the Elevation bias spreadsheet. The entire grid depth for
each grid column is distributed according to the entries in the spreadsheet for each
layer.
6. In the Elevation bias spreadsheet, change the value for layer 1 to 0.4.
7. Select OK to execute the Solids HUF menu command.
12.3
12.4
and
4. Change the flow package to HUF and select OK to exit the dialog.
5. Select the Feature Objects | Map MODFLOW menu command.
6. Ensure the All applicable coverages option is selected and select OK.
Page 16 of 17
Aquaveo 2011
GMS Tutorials
12.5
Running MODFLOW
Were now ready to save the project and run MODFLOW.
1. Select the File | Save As menu command.
2. Save the project with the name run1_huf.
3. Select the MODFLOW | Run MODFLOW menu command.
4. When MODFLOW has finished running, select the Close button.
MODFLOW solution will automatically be read in.
The
You should now see the head contours on the grid. You may see some red triangles on
certain grid cells. These cells have gone dry (the water table is below the bottom of the
cell) in this simulation. Cycle through the layers to see how the head contours change
within the different layers. You can also switch into side view to see the contours on the
rows or columns.
13
Conclusion
This concludes the tutorial. Here are some of the key concepts in this tutorial:
Solids can be used to define the MODFLOW layer elevations. They can also be
used to create MODFLOW HUF data.
You must assign layer ranges to the solids before using them to create a layered
grid if using the Solids MODFLOW Boundary Matching option.
You can use a minimum thickness to avoid thin cells. You can also specify a top
cell bias to make the top grid layer thicker.
If you are using solids to define your MODFLOW layer data, you probably want
to use the Material IDs approach to define the hydraulic properties of grid cells
based on their material.
Page 17 of 17
Aquaveo 2011