Docsity

Concepts of Modflow 2000, Šeme i konceptualne mape od Integrisani GIS i transport

Delimični pregled teksta

Preuzmite Concepts of Modflow 2000 i više Šeme i konceptualne mape u PDF od Integrisani GIS i transport samo na Docsity!

MODFLOW-2000, THE U.S. GEOLOGICAL SURVEY MODULAR

GROUND-WATER MODEL—USER GUIDE TO MODULARIZATION

CONCEPTS AND THE GROUND-WATER FLOW PROCESS

By Arlen W. Harbaugh^1 , Edward R. Banta 2 , Mary C. Hill 3 , and

Michael G. McDonald 4

U.S. GEOLOGICAL SURVEY

Open-File Report 00-

Reston, Virginia

(^1) U.S. Geological Survey, Reston, VA (^2) U.S. Geological Survey, Lakewood, CO (^3) U.S. Geological Survey, Lakewood, CO (^4) McDonald Morrissey Associates, Reston, VA

Preface iii

PREFACE

This report describes an enhanced version of the U.S. Geological Survey modular ground-water model, called MODFLOW-2000, for which the structure has been expanded to facilitate the solution of multiple related equations. The performance of the program has been tested in a variety of applications. Future applications, however, might reveal errors that were not detected in the test simulations. Users are requested to notify the U.S. Geological Survey of any errors found in this User Guide or the computer program by using the address on the back of the report title page. Updates might occasionally be made to both the User Guide and to MODFLOW-2000. Users can check for updates on the Internet at URL http://water.usgs.gov/software/ground_water.html/.

MODFLOW-2000—User Guide to Modularization Concepts and the Ground-Water Flow Process

vi

INPUT INSTRUCTIONS (Continued)

Contents vii

FIGURES

Introduction 1

MODFLOW-2000, The U.S. Geological Survey Modular Ground-Water

Model—User Guide to Modularization Concepts and the

Ground-Water Flow Process

By Arlen W. Harbaugh, Edward R. Banta, Mary C. Hill,and Michael G. McDonald

ABSTRACT

MODFLOW is a computer program that numerically solves the three-dimensional ground-water

flow equation for a porous medium by using a finite-difference method. Although MODFLOW was

designed to be easily enhanced, the design was oriented toward additions to the ground-water flow

equation. Frequently there is a need to solve additional equations; for example, transport equations and

equations for estimating parameter values that produce the closest match between model-calculated

heads and flows and measured values. This report documents a new version of MODFLOW, called

MODFLOW-2000, which is designed to accommodate the solution of equations in addition to the

ground-water flow equation. This report is a user’s manual. It contains an overview of the old and added

design concepts, documents one new package, and contains input instructions for using the model to

solve the ground-water flow equation.

INTRODUCTION

MODFLOW is a computer program that simulates three-dimensional ground-water flow through a porous medium by using a finite-difference method (McDonald and Harbaugh, 1988). MODFLOW was designed to have a modular structure that facilitates two primary objectives: ease of understanding and ease of enhancing. Ease of understanding was an objective because U.S. Geological Survey technical managers generally believe that modelers should understand how a model works in order to use it properly. Ease of enhancement was an objective because experience showed that there was a continuing need for new capabilities. Examples of enhancements are reports by Prudic (1989), Hill (1990), Leake and Prudic (1991), Goode and Appel (1992), Harbaugh (1992), McDonald and others (1992), Hsieh and Freckleton (1993), Leake and others (1994), Fenske and others (1996), and Leake and Lilly (1997).

MODFLOW was originally documented by McDonald and Harbaugh (1984). As with most computer programs that are used over a long time period, MODFLOW underwent several overall updates. The second version of MODFLOW is documented in McDonald and Harbaugh (1988), and this version is often called MODFLOW-88 to distinguish it from other versions. A third version is called MODFLOW-96 (Harbaugh and McDonald, 1996a and 1996b).

In addition to the enhancements and updates, the U.S. Geological Survey developed two major extensions to MODFLOW—MODFLOWP (Hill, 1992) and MOC3D (Konikow and others, 1996). MODFLOWP and MOC3D solve equations in addition to the ground-water flow equation. MODFLOWP solves a MODFLOW calibration problem by calculating values of selected input data that result in the best match between measured and model calculated values, and MOC3D solves the solute-transport equation for concentration.

Although MODFLOW was originally designed to facilitate change, its design concepts did not include solving equations other than the ground-water flow equation. As a result, incorporating capabilities such as those added through MODFLOWP and MOC3D was not as straightforward from the programmer’s or user’s

MODFLOW-2000—User Guide to Modularization Concepts and the Ground-Water Flow Process

2

perspective as were the other enhancements that dealt only with the ground-water flow equation. Therefore, MODFLOW-2000 has been developed to facilitate the addition of multiple types of equations. Ease of understanding continues to be included as an objective of the design. There is also an objective to minimize changes that would impact existing MODFLOW users.

For many data input quantities, MODFLOW-2000 allows definition using parameter values, each of which can be applied to data input for many grid cells. In combination with new multiplication and zone array capabilities, the parameters make it much easier to modify data input values for large parts of a model. Defined parameters also can have associated sensitivities calculated and be modified to attain the closest possible fit to measured hydraulic heads, flows, and advective travel. This is accomplished using the Observation, Sensitivity, and Parameter-Estimation Processes of MODFLOW-2000, which are documented by Hill and others (2000).

This report first documents the enhanced modular structure that is incorporated within MODFLOW-2000 to accommodate the solution of multiple equations. An overview of the new design concepts is provided from the perspective of a user; the detailed design information needed by programmers will be provided in separate documentation as the information becomes available. This report also documents the incorporation of the ground- water flow equation within the new structure, including the documentation of a new package called the Layer- Property Flow Package and input instructions for using MODFLOW-2000 to simulate ground-water flow. A user will also need to refer to earlier MODFLOW reports, such as McDonald and Harbaugh (1988), to find information about how the ground-water flow equation is solved by using the finite-difference method. The parts of MODFLOW-2000 that solve additional equations also are documented in separate reports, such as Konikow and others (1996) and Hill and others (2000).

Although some new data-input capabilities have been added to MODFLOW-2000, most of the input data used by earlier versions of MODFLOW to simulate ground-water flow can be read without change. A data conversion program is provided to convert the parts of the input data that require change.

DESIGN CONCEPTS

This section of the report discusses several general aspects of MODFLOW-2000. The first involves the old and new modularization concepts and how they work together; these are presented in the first three sections below. Next, MODFLOW-2000 allows system characteristics to be defined by using parameters, and the basic ideas behind this change are discussed. Finally, a basic change in the major output files is discussed.

Previously Existing Design Concepts—Packages, Procedures, and Modules

MODFLOW-2000 expands upon the modularization approach that was originally included in MODFLOW (McDonald and Harbaugh, 1988). The design of MODFLOW can be viewed from two perspectives. The first perspective is the user’s perspective. A user views the program according to its capability to simulate different kinds of ground-water flow problems. To facilitate this perspective, the program is divided into pieces called packages. Each hydrologic capability, such as leakage to rivers, recharge, and evapotranspiration, that is included within the ground-water flow equation is a separate package. Further, because there are many methods for solving the simultaneous equations resulting from the finite-difference method, each solution method is a package. The Preconditioned Conjugate Gradient (PCG2 of Hill, 1990) and Strongly Implicit Procedure (SIP) are examples of solution methods implemented as packages in MODFLOW. Finally, the remainder of the code that is not included in a hydrologic or solution package becomes the Basic (BAS) Package. BAS provides overall program control.

The second perspective is the perspective of the programmer, for whom the goal is to break the program into pieces that make the program logic as simple as possible while maintaining the desired functionality. In MODFLOW, these pieces are called procedures. The program logic, which is typically represented by a flowchart, is thus represented by describing the sequence of procedures. Examples of procedures are the Read and Prepare Procedure in which user-specified data are read and prepared for use and the Formulate Procedure in which the finite-difference equation is constructed for each model cell.

MODFLOW-2000—User Guide to Modularization Concepts and the Ground-Water Flow Process

4

Flow Process is somewhat different in detail from the original MODFLOW. This is indicated in the MODFLOW- 2000 flowchart presented in the next section.

Overall Structure

Depending on what processes are included along with the Ground-Water Flow Process, MODFLOW’s structure can be significantly more complex than it was originally. For example, when the Observation, Sensitivity, and Parameter-Estimation Processes are added, a new parameter estimation loop is added to the structure, which allows the Ground-Water Flow Process to be executed multiple times, and a new parameter- sensitivity loop is added. A simplified flowchart of the Global, Ground-Water Flow, Observation, Sensitivity, and Parameter-Estimation Processes combined is shown in figure 1. To illustrate the changes compared to the original, the procedures and program loops of the Global and Ground-Water Flow Processes, which comprise the functionality of the original MODFLOW, are identified with asterisks. Normally, each procedure would be shown as a separate box; however, some of the sequential procedures are combined into a single box to save space in the illustration. Further, figure 1 excludes some of the less important procedures of the Observation, Sensitivity, and Parameter-Estimation Processes to minimize the size and complexity of the illustration. Enough of the structure is shown to illustrate the expansion that is typical when using multiple processes.

Most of the procedures listed in figure 1 are described by McDonald and Harbaugh (1988). A new procedure required by the Parameter-Estimation Process is Rewind (RW). The Rewind Procedure is needed to allow the ground-water flow equation to be solved multiple times without totally redefining the way that the Ground-Water Flow Process reads and stores data. This procedure rewinds the input files to their beginning before restarting the Ground-Water Flow Process. Thus, the input files are reread each time the flow equation is solved.

Parameters and Variables

Another change in MODFLOW-2000 is the addition of parameters as used in parameter-estimation terminology. In earlier MODFLOW documentation, the term parameter was generally used to mean any input data value. For example, the recharge flux at a cell is a parameter by this definition. However, a more restricted definition of “parameter” is commonly used when dealing with statistical parameter-estimation theory (Draper and Smith, 1998; Ott, 1993). To make it possible to smoothly incorporate parameter estimation into MODFLOW- 2000 and provide an additional, convenient approach for specifying input data, the more restricted meaning is used in this report. Thus, here a parameter is a single value that is given a name and determines the value of a variable used in the finite-difference ground-water flow equation at one or more model cells. The definition of a parameter specifies which variable is being defined and the cells for which the parameter applies. For example, a parameter might define the aquifer hydraulic conductivity for a group of cells in a model layer, or a parameter might define the riverbed conductance for one or more reaches of a river. Parameters are defined as part of the Ground-Water Flow Process of MODFLOW-2000, and they can be used by other processes. In addition to facilitating the incorporation of the Observation, Sensitivity, and Parameter-Estimation Processes, the parameter approach for model input can make data input easier. For a full explanation of how to define parameters, refer to the Using Parameters in the Ground-Water Flow Process Section of this report.

In order to be consistent with this new usage of the term “parameter” in MODFLOW-2000, the term “auxiliary parameter” as used in MODFLOW-96 (Harbaugh and McDonald, 1996a, p. 26) has been changed to “auxiliary variable.”

Design Concepts 5

GWF FM*

GWF AP*

GWF OC, BD, OT*

STRESS LOOP*

ITERATION LOOP*

PES AP

SEN FM

SEN AP

ITERATION LOOP

PARAMETER-ESTIMATION LOOP

TIME STEP LOOP*

GWF AD*

PARAMETER- SENSITIVITY LOOP

GWF ST* and RP*

GWF AL* and RP*

GWF AL

GLO DF, AL, and RP*

OBS, SEN, and PES AL

OBS, SEN, and PES RP

PES RW

OBS FM

SEN OT

PES OT

GWF RP

Figure 1. -- Flowchart of Global (GLO), Ground-Water Flow (GWF), Observation (OBS), Sensitivity (SEN), and Parameter Estimation (PES) Processes.

Procedures:

DF -- Define AL -- Allocate RP -- Read and Prepare RW -- Rewind ST -- Stress AD -- Advance a time step FM -- Formulate equations AP -- Solve equations OC -- Output Control BD -- Calculate volumetric budget OT -- Write output

  • Indicates procedures that comprise the functionality of the original MODFLOW.

Global Process 7

as hydraulic head, drawdown, and volumetric budget. When the Observation Process is active, the LIST file also contains model-calculated equivalents to the observations and related statistics.

The Example Section of this report includes output from model runs that illustrate the use of GLOBAL and LIST files in a ground-water flow simulation. One model run uses a single LIST file, whereas the second uses both LIST and GLOBAL files.

GLOBAL PROCESS

As stated in the Design Concepts Section, the Global Process has been included in MODFLOW-2000 to control overall program flow, open files, and read global data such as space and time discretization. Unlike other processes, the Global Process does not actually solve an equation.

Activating Capabilities and Opening Files Using the Name File

MODFLOW-2000 activates capabilities and opens files the same way that MODFLOW-96 does. There is a single name file that contains the names of most of the files used by the Ground-Water Flow, Observation, Sensitivity, and Parameter-Estimation Processes. The name file also includes file types that determine which program options are activated. For example, if the name file contains a line beginning with file type RIV, then the River Package is activated. Instructions for preparing the name file are included in the Input Instructions Section of this report. Example name files are included in the Examples Section of this report.

Space Discretization

The Global Process reads information that defines the physical size of the finite-difference grid. As in all earlier MODFLOW versions, the finite-difference grid in MODFLOW-2000 is assumed to be rectangular horizontally, while the grid can be distorted vertically (fig. 2). However, unlike previous versions of MODFLOW, MODFLOW-2000 always requires the definition of the complete geometry of the each cell. Previous versions of MODFLOW do not require direct definition of vertical cell geometry for confined layers because the cell geometry is already incorporated within transmissivity (hydraulic conductivity of a cell times cell thickness), storage coefficient (specific storage times cell thickness), and vertical leakance (vertical hydraulic conductivity divided by the vertical distance between two nodes). By not directly specifying vertical cell geometry for confined layers, the amount of input data and computer memory requirements are minimized. MODFLOW-2000 always defines vertical cell geometry, however, because other processes, such as transport modeling, may need this information even if the Ground-Water Flow Process does not. Further, the need to minimize the use of computer memory is not as great as when MODFLOW was first developed.

The horizontal grid dimensions are specified in variables DELR and DELC (fig. 2A). Columns are numbered starting from the left side of the grid. Rows are numbered starting from the upper edge (plan view) of the grid. DELRj is the width of the cells (from the left side to the right side) in column j. That is, all the cells in a column have the same width, and there is one value of DELR for each of the NCOL columns in the model grid. Similarly, DELCi is the width of cells (from the top to the bottom in plan view) in row i, and there is one value of DELC for each of the NROW rows in the model grid.

Layers are numbered starting from the top layer and going down (fig. 2B). Elevation of the top of layer 1 is defined in addition to the bottom elevation of every layer. The elevation information can be used to calculate the thickness of all cells. Below each layer except the bottom layer, there can also be a confining bed through which only vertical flow is simulated. Simulating confining beds by this method often is called the Quasi-Three- Dimensional (Quasi-3D) Approach (McDonald and Harbaugh, 1988, p. 5-18). There is no requirement to use the Quasi-3D Approach; that is, any confining bed can be simulated using one or more distinct model layers as desired. Further, there is no requirement that all processes support the use of the Quasi-3D Approach. The GWT Process, for example, does not support the calculation of concentrations in confining beds in which the Quasi-3D

MODFLOW-2000—User Guide to Modularization Concepts and the Ground-Water Flow Process

8

Approach is used (Konikow and others, 1996, p. 31). For these confining beds, the elevation of the bottom of the bed is also defined. The elevation information can be used to calculate the thickness of the confining beds.

As shown in figure 2B, the user must specify the top elevation of layer 1 and the bottom elevations of all model layers and confining beds. The top elevation of other model layers and confining beds need not be separately specified because the top elevation is the same as the bottom elevation of the layer or confining bed that is immediately above. There is no requirement to use distorted layers as shown in the illustration. Flat layers can be used by simply specifying a constant value for the elevation of each layer.

The space discretization information is included in a new file called the discretization file. Previously, this information was included in the Block-Centered Flow Package file.

Time Discretization

Time discretization in MODFLOW-2000 is dealt with much as in earlier versions of MODFLOW. The fundamental component of time discretization is the time step. Time steps are grouped into stress periods. Time dependent input data can be changed every stress period.

For each stress period, the user specifies the total length (PERLEN), the number of time steps (NSTP), and the multiplier for the length of successive time steps (TSMULT). That is, the length of time step n is the length of time step n-1 times TSMULT. A series of numbers in which each successive value is a constant times the previous value is called a geometric series. The length of the first time (∆t (^) 1) step can be determined from the following equation for a geometric series:

TSMULT^1

TSMULT 1

t 1 PERLEN NSTP.

MODFLOW is designed to simulate steady state or transient conditions. For steady state, the storage term in the ground-water flow equation (see the Ground-Water Flow Process Section) is set to zero. This is the only part of the flow equation that depends on length of time, so the stress-period length does not affect the calculated heads in a steady-state simulation. However, it is required in MODFLOW-2000, as in earlier versions of MODFLOW, that the length of a steady-state stress period be specified, partly so that the same input mechanism for all stress periods can be used. A single time step is all that is required for steady-state stress periods. Unlike earlier versions of MODFLOW, the stress period length can be zero, but care is needed because a non-zero length may be important for other processes such as transport (GWT).

The biggest differences in the way stress periods are implemented compared to previous versions of MODFLOW is that MODFLOW-2000 allows individual stress periods in a single simulation to be either transient or steady state instead of requiring the entire simulation to be either steady state or transient. Steady-state and transient stress periods can occur in any order. Commonly the first stress period is steady state and produces a solution that is used as the initial condition for subsequent transient stress periods.

The time-discretization information is included in the new discretization file along with space discretization information. Previously, the time-discretization information was included in the Basic Package file.

MODFLOW-2000—User Guide to Modularization Concepts and the Ground-Water Flow Process

10

Units of Length and Time

As in all earlier MODFLOW versions, the Ground-Water Flow Process of MODFLOW-2000 formulates the ground-water flow equation without using prescribed length and time units. Any consistent units of length and time can be used when specifying the input data for a simulation. The user can set flags that specify the length and time units (see the input instructions for the Discretization File), which may be useful in various parts of MODFLOW; however, it is not a requirement to specify which units are being used. For example, the Basic Package uses the time-units flag (ITMUNI) to be able to print a table of simulation time that is labeled with time units. If the time units are not specified, the program still runs, but the table of simulation time does not indicate the time units. A length-unit flag, which was not included in any of the earlier versions of MODFLOW, has been added to MODFLOW-2000. It is expected that other processes will generally work with consistent length and time units; however, there could be situations in which there is a requirement to specify the length or time units. In such situations, the input instructions will state the requirements.

GROUND-WATER FLOW PROCESS

This section describes the Ground-Water Flow Process. The flow equation used in MODFLOW is briefly summarized, followed by a description of how parameters are used. Then the packages that are incorporated are described. In addition to including many previously documented packages, a new package called the Layer- Property Flow (LPF) Package has been added. Complete documentation of LPF is included in this report. Another part of this section describes a program that converts input data for a MODFLOW-96 simulation to data for MODFLOW-2000. The final part describes the ability to add packages to the Ground-Water Flow Process.

Ground-Water Flow Equation

The partial-differential equation of ground-water flow used in MODFLOW is (McDonald and Harbaugh, 1988, p. 2-1)

t

h

W S

z

h

K

y z

h

K

x y

h

K

x

xx yy zz s

where

Kxx, Kyy , and Kzz are values of hydraulic conductivity along the x, y, and z coordinate axes, which are assumed to be parallel to the major axes of hydraulic conductivity (L/T); h is the potentiometric head (L); W is a volumetric flux per unit volume representing sources and/or sinks of water, with W<0.0 for flow out of the ground-water system, and W>0.0 for flow in (T-1^ ); SS is the specific storage of the porous material (L -1^ ); and t is time (T).

Equation 1, when combined with boundary and initial conditions, describes transient three-dimensional ground-water flow in a heterogeneous and anisotropic medium, provided that the principal axes of hydraulic conductivity are aligned with the coordinate directions.

The Ground-Water Flow Process solves equation 1 using the finite-difference method in which the ground- water flow system is divided into a grid of cells (fig. 2). For each cell, there is a single point, called a node, at which head is calculated. The finite-difference equation for a cell is (McDonald and Harbaugh, 1988, p. 2-18)

Ground-Water Flow Process 11

CR i, j− 21 ,^ k^ (h^ mi,j^ −1,k−^ hm i,j,k)^ + CRi,j+ 21 ,k(h^ mi,j^ +1,k−hm i,j,k)

+ CC i − 21 ,^ j,k (h mi−^ 1,j,k−hm i,j,k) + CCi+ 21 ,j,k(h mi+^ 1,j,k−hm i,j,k) (2)

+ CV i,j, k− 21 (h mi,j,^ k− 1 −hm i,j,k) + CVi,j,k+ 21 (h mi,j,^ k+ 1 −hm i,j,k)

t t

h h

P h Q SS DELR DELC THICK m m 1

m 1 i,j,k

m i,j,k i,j,k i,j,k j i i,j,k

m i, j,k i,j,k −

−

+ + = × ×

where hmi,j,k is head at cell i,j,k at time step m (L); CV, CR, and CC are hydraulic conductances, or branch conductances, between node i,j,k and a neighboring node (L 2 /T); Pi,j,k is the sum of coefficients of head from source and sink terms (L 2 /T); Qi,j,k is the sum of constants from source and sink terms, with Qi,j,k < 0.0 for flow out of the ground-water system, and Qi,j,k > 0.0 for flow in (L 3 /T); SSi,j,k is the specific storage (L -1^ ); DELRj is the cell width of column j in all rows (L); DELCi is the cell width of row i in all columns (L); THICKi,j,k is the vertical thickness of cell i,j,k (L); and t m^ is the time at time step m (T).

To designate hydraulic conductance between nodes, as opposed to hydraulic conductance within a cell, the subscript notation “1/2” is used. For example, CRi,j+1/2,k represents the conductance between nodes i,j,k and i,j+1,k.

For steady-state stress periods, the storage term and, therefore, the right-hand side of equation 2, is set to zero.

The application of equation 2 to all cells defines a set of simultaneous equations, and these equations are solved for head at each node. For solution by computer, equation 2 is modified into the form

CV i, j,k− 21 hi,j,k− 1 +CCi− 21 ,j,khi−1,j,k+CRi,j− 21 ,khi,j−1,k

+ ( −CVi, j,k− 21 −CCi− 21 ,j,k−CRi,j− 21 ,k−CRi,j+ 21 ,k−CCi+ 21 ,j,k−CVi,j,k+ 21 +HCOFi,j,k) hi,j,k

+ CR i, j+ 21 ,khi,j+1,k+CCi+ 21 ,j,khi+1,j,k+CVi,j,k+ 21 hi,j,k+ 1 = RHSi,j,k. (3)

This equation applies to time step m; however, the time superscript has been removed for simplicity. HCOF (^) i,j,k contains P (^) i,j,k and the negative of the part of the storage term that includes the head in the current time step m (the negative sign comes from moving the term to the left-hand side). RHS includes -Q (the negative sign comes from moving Q to the right-hand side) and the part of the storage term that is multiplied by the head at time step m-1.

The CV, CR, and CC coefficients and the storage-related parts of HCOF and RHS are all calculated by a single package, which is called an internal flow package. Each package that contributes a different source or sink term is called a source-term package. Sinks are viewed as negative sources. The structure of MODFLOW was designed so that any number of source-term packages can be in use in a simulation, but there can be only a single internal-flow package in use. However, there can be multiple internal-flow packages available from which to choose. The original MODFLOW included the Block-Centered Flow (BCF) Package; subsequently, the