Professional Documents
Culture Documents
GEOS 5311 Lecture Notes: Introduction To Modflow: Dr. T. Brikowski
GEOS 5311 Lecture Notes: Introduction To Modflow: Dr. T. Brikowski
Modflow
Dr. T. Brikowski
Spring 2013
About Modflow
I
Discretization in Modflow
I
Qi = Ss
h
V
t
3
Grid Types
Cell Numbering
Special Cells
Cell Types
Package Name
Basic Package
Abbrev
BAS6
Output
Control
Gage Package
OUT1
GAGE
Description
Used to specify the grid dimensions, the
computational time steps, and an array
identifying which packages are to be used.
Controls what and when information is to
be output from MODFLOW.
Matrix Construction
GMS-supported matrix construction packages for Modflow. One
and only one of these must be selected.
Package Name
Block Centered Flow
Package
Abbrev
BCF6
Layer Propery
Flow
Package
LPF
Description
Performs the cell by cell flow calculations. The input to this package includes layer types and cell attributes
such as storage coefficients and transmissivity.
Parameters for sensitivity
analysis or parameter estimation are
NOT supported.
Performs the cell by cell flow calculations. The input to this package includes layer types and cell attributes
such as storage coefficients and transmissivity
Hydrogeologic
Unit Flow
Package
Upstream
Weighting
HUF
UPW
Source/Sinks
GMS-supported source-sink packages for Modflow. Any number
of these can be selected, none are required.
Package Name
River Package
Abbrev
RIV1
Recharge
Package
Well Package
Multi-Node
Well
RCH
Description
Simulates river type boundary conditions (water source or sink, depending
on head difference between river and
aquifer)
Simulates areal recharge
WEL
MNW
Source/Sinks (cont.)
Drain Package
DRN
Evapotranspiration EVT
package
General
GHB
Head
Boundary
Package
Source/Sinks (cont.)
Stream/Aquifer
Interaction
Package
STR
CHD
Simulates the exchange of water between the aquifer and surficial streams.
Includes routing and automatic computation of stage (i.e. like River package but accounting for effect of aquifer
on river, and along-stream surface water
flow). Parameters for sensitivity analysis
or parameter estimation are NOT supported.
Simulates specified head boundary conditions where the head is allowed to vary
with time (e.g. a fluctuating lake level)
Source/Sinks (cont.)
Horizontal
Flow
Barrier
Package
HFB
Matrix Solution
GMS-9.0-supported matrix solution packages for Modflow. One
and only one of these must be selected. Changing solvers may
allow a failed run to converge.
Package Name
Direct
Abbrev
DE4
Geometric Multigrid
GMG
Description
Modified Gaussian elimination
(Harbaugh, 1995). Quick, can
stall, but memory-intensive for
linear problems
Good for regular grids (generates
sub-grids based on input geometry) tricky with anisotropy
LMG
Strongly
Implicit
Package
Preconditioned
Conjugate Gradient
Package
Slice
Successive
Overrelaxation
Package
SIP1
PCG2
SSOR
Multi-Grid Approaches
Modflow Processes
Modflow2K has been structured in terms of four basic processes,
representing the general tasks involved in modeling (Fig. 6):
I
Process Flowchart
File Structure
Figure 7: Example Modflow grid. After Harbaugh et al. (Fig. 10, 2000).
Modflow Namefile
LIST 6 twri.lst
BAS6 5 TWRI.ba6
BCF6 11 TWRI.bc6
WEL 12 twri.wel
DRN 13 twri.drn
RCH 18 twri.rch
SIP 19 twri.sip
OC 22 twri.oc
DIS 10 TWRI.dis
Figure 8: Example Modflow namefile. After Harbaugh et al. (pg. 90,
2000).
3 15 15 1 1 0 NLAY,NROW,NCOL,NPER,ITMUNI,LENUNI
1 1 0 CONSTANT 5.000000E+03 DELR
CONSTANT 5.000000E+03 DELC
CONSTANT 2.000000E+02 TOP of system
CONSTANT -1.500000E+02 Layer BOTM layer 1
CONSTANT -2.000000E+02 Confining bed BOTM layer 1
CONSTANT -3.000000E+02 Layer BOTM layer 2
CONSTANT -3.500000E+02 Confining bed BOTM layer 2
CONSTANT -4.500000E+02 Layer BOTM layer 3
8.640E+04 1 1.000E+00 SS PERLEN,NSTP,TSMULT,Ss/tr
Figure 9: Example Modflow discretization (grid-definition) file. After
Harbaugh et al. (pg. 90, 2000).
Figure 10: Modflow discretization file input instructions. Each package file has such
instructions, making hand-editing possible. Note Modflow2K input is free-format
(spacing and length of entries is unimportant). After Harbaugh et al. (2000, pg. 45).
Governing Equation
The general governing equation solved by Modflow is:
h
h
Kxx
+
Kyy
+
Kzz
W = Ss
x
x
y
y
z
z
t
(1)
where
I
Ss is specific storage
1
L
Numerical Approximation
I
= Kri,j 1 ,k (ci vk )
2
hi,j1,k hi,j,k
rj 1
2
Conductance
Horizontal Discharge
hi,j,k
(rj ci vk )
t
(2)
Source-Sink Representation
Ns
X
(Pi,j,k,n hi,j,k ) +
qi,j,k,n
n=1
n=1
Ns
X
{z
HeadDependent
{z
KnownFlux/Head
(3)
Ns
X
n=1
m+1
Pi,j,k,n hi,j,k
+ Qi,j,k = Ssi,j,k (rj ci vk )
m+1
m
hi,j,k
hi,j,k
Matrix Equation
Figure 12: Example matrix equation for 4x3x2 Modflow grid (see Fig.
13). After (Fig. 46, McDonald and Harbaugh, 1988).
13
10
14
11
15
12
16
Matrix Structure
Figure 14: Banded matrix structure of 4x3x2 Modflow grid example (see
Fig. 12), only non-zero diagonals are shown, D-E-F are adjacent. After
(Fig. 47, McDonald and Harbaugh, 1988).
Figure 15: Geometry for computation of VCONT for fully-3D case. After
(Fig. 27, McDonald and Harbaugh, 1988).
VCONT Formulas
Kz
(c r )
v
Cv
Kz
=
c r
z
(4)
VCONT
zk+ 1
2
vk+1 /2
Kk+1
vk /2
Kk
2
vk+1
Kk+1
vk
Kk
=
=
VCONT
ztotal
PN zi
i=1 Ki
Zu
2 + Zc
Zu
2
Kzu
Zc
Kzc
ZL
2
ZL
2
KzL
ZL
2
KzL
1
Zu
2
Kzu
Kzc
Zc
Zc
Kzc
VCONT Summary
I
~h
|{z}
~
q
|{z}
Source/Sinks
Known Head
[U
~
L] ~h = q
Comparative Performance
I
I
I
Figure 17:
Comparison of Modflow matrix package performance, showing convergence rate and trends. The
problem is a 1-D grid with fixed head of 0 at both ends, and the indicated smooth (wavenumber k=1) and
oscillatory (k=15) components of error applied to the initial head condition (k=1+15). The exact solution is a
value of 0 everywhere in the grid. After Mehl and Hill (Fig. 1, 2001).
LMG 2D Performance
(5)
SIP Dialog
Figure 20: GMS interface for Modflow SIP (Strongly Implicit Package)
package showing most-commonly-set parameters.
SSOR Package
I
SSOR Dialog
PCG Package
I
PCG Dialog
LMG Method
I
LMG Dialog
Figure 23: GMS interface for Modflow LMG (Linked Multi-Grid) package
showing most-commonly-set parameters.
Modflow Documentation
References
Anderson, M.P., Woessner, W.W.: Applied Groundwater Modeling.
Academic Press, San Diego (1992)
Barrett, R., Berry, M., Chan, T.F., Demmel, J., Donato, J., Dongarra, J.,
Eijkhout, V., Pozo, R., Romine, C., der Vorst, H.V.: Templates for the
Solution of Linear Systems: Building Blocks for Iterative Methods.
SIAM, Philadelphia, PA (1994),
http://www.netlib.org/templates/templates.ps
Detwiler, R., Mehl, S., Rajaram, H., Cheung, W.: Comparison of an
algebraic multigrid algorithm to two iterative solvers used for modeling
ground water flow and transport. Ground Water 40(3), 267272
(MAY-JUN 2002)
Harbaugh, A.W.: Direct solution package based on alternating diagonal
ordering for the U.S. Geological Survey modular finite-difference
ground-water flow model. Open-File Report 95-288, U. S. Geol.
Survey, Denver, CO (1995), http:
//water.usgs.gov/software/MODFLOW/code/doc/ofr95288.pdf
References (cont.)
Harbaugh, A.W.: Modflow-2005, the u.s. geological survey modular
ground-water modelthe ground-water flow process. Techniques and
Methods Book 6-A16, U. S. Geol. Survey, Denver, CO (2005),
http://pubs.usgs.gov/tm/2005/tm6A16/PDF/TM6A16.pdf
Harbaugh, A.W., Banta, E.R., Hill, M.C., McDonald, M.G.:
MODFLOW-2000, the U.S. Geological Survey modular ground-water
model user guide to modularization concepts and the ground-water
flow process. Open File Rept. OFR00-92, U. S. Geol. Survey, Denver,
CO (2000), http://water.usgs.gov/nrp/gwsoftware/
modflow2000/ofr00-92.pdf, 121 p
Harbaugh, A.W., McDonald, M.G.: Users documentation for
MODFLOW-96, an update to the U.S. Geological Survey modular
finite-difference ground-water flow model. Open-File Report 96-485,
U.S. Geol. Survey (1996), http:
//water.usgs.gov/software/MODFLOW/code/doc/ofr96486.pdf
Hill, M.C.: Preconditioned conjugate-gradient 2 (PCG2), A computer
program for solving ground-water flow equations. Water-resour.
investig. rept. 90-4048, U.S. Geol. Survey, Denver, CO (1990a)
References (cont.)
Hill, M.C.: Solving groundwater flow problems by conjugate-gradient
methods and the strongly implicit procedure. Water Resour. Res. 26,
19611969 (1990b)
McDonald, M.G., Harbaugh, A.W.: A modular three-dimensional
finite-difference ground-water flow model. Techniques of Water
Resour. Investig. A1, Book 6, 200 (1988)
Mehl, S.W., Hill, M.C.: Modflow-2000, the u.s. geological survey modular
ground-water model user guide to the link-amg (lmg) package for
solving matrix equations using an algebraic multigrid solver. Open File
Report OFR 01-177, U. S. Geol. Survey, Denver, CO (2001), http://
water.usgs.gov/nrp/gwsoftware/modflow2000/ofr01-177.pdf
Prickett, T.A., Lonnquist, C.G.: Selected digital computer techniques for
groundwater resource evaluation. Bulletin, Illinois State Water Survey,
Urbana, IL (1971)