Modflowsurfact V3 PDF
Modflowsurfact V3 PDF
Modflowsurfact V3 PDF
MODFLOW-SURFACT
SOFTWARE LICENSE AND LIMITED WARRANTY
This legal document is an agreement between you, the end user, and HydroGeoLogic, Inc. (hereafter “HGL”). BY OPENING
THIS SEALED DISK OR TAPED PACKAGE, YOU ARE AGREEING TO BECOME BOUND BY THE TERMS OF THIS
AGREEMENT, WHICH INCLUDES THE SOFTWARE LICENSE, LIMITED WARRANTY AND ACKNOWLEDGMENT.
IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, DO NOT OPEN THE DISK PACKAGE. PROMPTLY
RETURN THE UNOPENED DISK PACKAGE AND THE OTHER ITEMS (INCLUDING WRITTEN MATERIALS,
BINDERS, OR OTHER CONTAINERS, AND HARDWARE, IF ANY) WHICH ARE PART OF THIS PRODUCT.
In order to preserve and protect its rights under applicable laws, HGL does not sell any rights in HGL’s SOFTWARE. Rather,
HGL grants the rights to use HGL SOFTWARE by means of a SOFTWARE LICENSE. HGL specifically retains title and
copyrights to all HGL software.
1. GRANT OF LICENSE. In consideration of payment of the license fee which is a part of the price you paid for this
product, and your agreement to abide by the terms and conditions of this License and Limited Warranty, HGL, as Licensor, grants
to you, the Licensee, a nonexclusive right to use and display this copy of an HGL software program (hereinafter the
“SOFTWARE”) on a single COMPUTER (i.e., with a single CPU) at a single location so long as you comply with the terms of
this License. If the single computer on which you use the SOFTWARE is a multiuser system, the Licensee covers only one user
at a time on that single system. HGL reserves all rights not expressly granted to Licensee.
2. OWNERSHIP OF SOFTWARE. As the LICENSEE, you own the magnetic or other physical media on which the
SOFTWARE is originally or subsequently recorded or fixed, but an express condition of the License is that HGL retains title and
ownership of the SOFTWARE recorded on the original disk copy(ies) and all subsequent copies of the SOFTWARE, regardless
of the form or media in or on which the original and other copies may exist. This License is not a sale of the original
SOFTWARE or any copy.
3. COPY RESTRICTIONS. This SOFTWARE and the accompanying written materials are copyrighted. Unauthorized
copying of the SOFTWARE, including SOFTWARE which has been modified, merged, or included with other software, or of
the written materials is expressly forbidden. You may be held legally responsible for any copyright infringement which is caused
or encouraged by your failure to abide by the terms of this License.
Subject to the restrictions above, and if the SOFTWARE is not copy protected, you may make one (1) copy of the SOFTWARE
solely for backup purposes. You must reproduce and include the copyright notice on the backup copy.
4. USE RESTRICTIONS. As the LICENSEE, you may physically transfer the SOFTWARE from one computer to another
provided that the SOFTWARE is used on only one computer at a time and a written undertaking to that effect is provided by the
LICENSEE prior to such transfer. You may not electronically transfer the SOFTWARE from one computer to another over a
network. You may not distribute copies of the SOFTWARE or accompanying written materials to others. You may not modify,
adapt, translate, reverse, engineer, decompile, disassemble, or create derivative works based on the SOFTWARE, and/or modify,
adapt, translate, or create derivative works based on the written materials without the prior written consent of HGL. You may
not remove any proprietary notices, labels, or marks on the SOFTWARE or accompanying documentation.
5. TRANSFER RESTRICTIONS. This SOFTWARE is licensed only to you, the LICENSEE, and may not be transferred
to anyone without the prior written consent of HGL. Any transferee of the SOFTWARE shall be bound by the terms and
conditions of this License and Limited Warranty. In no event may you transfer, assign, rent, lease, sell or otherwise dispose of
the SOFTWARE on a temporary or permanent basis except as expressly provided herein.
6. TERMINATION. This License is effective until terminated. This License will terminate automatically without notice
from HGL if you fail to comply with any provision of this License. Upon termination you shall destroy the written materials and
all copies of the SOFTWARE, including modified copies, if any.
7. UPDATE POLICY. HGL may create, from time to time, updated versions of the SOFTWARE. At its option, HGL
will make such updates available to LICENSEE and transferees who have paid the update fee.
LIMITED WARRANTY
HGL warrants to their original LICENSEE that the disk(s) on which the SOFTWARE is recorded is free from defects in materials
and workmanship under normal use and service for a period of ninety (90) days from the date of purchase as evidenced by a copy
of the receipt. FURTHER, HGL HEREBY LIMITS THE DURATION OF ANY IMPLIED WARRANTY(IES) TO THE
RESPECTIVE PERIODS STATED ABOVE. SOME STATES DO NOT ALLOW LIMITATIONS ON DURATION OF AN
IMPLIED WARRANTY, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU.
HGL’s entire liability and your exclusive remedy as to the disks(s) and/or the recording of the SOFTWARE thereon and/or
accompanying written materials, shall be, at HGL’s option, either (a) return of the purchase price or (b) replacement of the disk
which does not meet HGL’s Limited Warranty and which is returned to HGL postage prepaid with a copy of the receipt. If failure
of the disk and/or SOFTWARE has resulted from accident, abuse or replacement, disk will be warranted for the remainder of
the original warranty period or thirty (30) days, whichever is the longer.
DISCLAIMER OF WARRANTY
THE SOFTWARE AND ACCOMPANYING WRITTEN MATERIALS (INCLUDING INSTRUCTIONS FOR USE) ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND. FURTHER, HGL DOES NOT WARRANT, GUARANTEE
OR MAKE ANY REPRESENTATIONS REGARDING THE USE, OR THE RESULTS OF USE, OF THE SOFTWARE OR
WRITTEN MATERIALS IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY, CURRENTNESS, OR
OTHERWISE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY
YOU. IF THE SOFTWARE OR WRITTEN MATERIALS ARE DEFECTIVE YOU, AND NOT HGL OR ITS DEALERS,
DISTRIBUTORS, AGENTS, OR EMPLOYEES, ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING,
REPAIR, OR CORRECTION.
EXCEPT AS EXPLICITLY STATE HEREIN, HGL GIVES NO WARRANTIES OR CONDITIONS, WHETHER EXPRESSED,
IMPLIED, STATUTORY OR OTHERWISE WITH REGARD TO THE SOFTWARE, ACCOMPANYING
DOCUMENTATION, DISKS(S) ON WHICH THE SOFTWARE IS COPIED AND HGL SPECIFICALLY DISCLAIMS ANY
IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY HGL, ITS DEALERS, DISTRIBUTORS, AGENTS OR
EMPLOYEES SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY AND
YOU MAY NOT RELY ON ANY SUCH INFORMATION OR ADVICE. THE WARRANTY GIVES YOU SPECIFIC LEGAL
RIGHTS. YOU MAY HAVE OTHER RIGHTS WHICH VARY FROM STATE TO STATE.
NEITHER HGL NO ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION OR DELIVERY
OF THIS PRODUCT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL
DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF
BUSINESS INFORMATION, AND THE LIKE) ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT
EVEN IF HGL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND/OR COULD HAVE FORESEEN
THE POSSIBILITY OF SUCH DAMAGES.
The License and warranty shall be governed by the laws of the State of Virginia and shall be for the benefit of HGL, its successors
and assigns. The LICENSEE consents to exclusive jurisdiction in the state and federal courts of the State of Virginia.
ACKNOWLEDGMENT
BY OPENING THIS SEALED DISK OR TAPED PACKAGE YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
LICENSE AND LIMITED WARRANTY, UNDERSTAND THEM AND AGREE TO BE BOUND BY THEIR TERMS AND
CONDITIONS. YOU ALSO AGREE THAT THE LICENSE AND LIMITED WARRANTY ARE THE COMPLETE AND
EXCLUSIVE STATEMENT OF AGREEMENT BETWEEN THE PARTIES AND SUPERSEDE ALL PROPOSALS OR PRIOR
AGREEMENTS ORAL OR WRITTEN, AND ANY OTHER COMMUNICATION BETWEEN THE PARTIES RELATING TO
THE SUBJECT MATTER OF THE LICENSE OR LIMITED WARRANTY.
Should you have any questions concerning this License or this Limited Warranty, or if you desire to contact HGL for any reason,
please contact in writing: MS-VMS Sales, HydroGeoLogic, Inc., 1155 Herndon Parkway, Suite 900, Herndon, VA 20170, USA.
MODFLOW-SURFACT SOFTWARE (VERSION 3.0)
OVERVIEW: INSTALLATION, REGISTRATION,
AND RUNNING PROCEDURES
BY:
HYDROGEOLOGIC, INC.
HERNDON, VA 20170, USA
TEL: (703) 478-5186
FAX: (703) 471-4180
E-MAIL: [email protected]
WEB PAGE: www.hgl.com
Contents i
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
MODFLOW-SURFACT SOFTWARE (VERSION 3.0)
OVERVIEW: INSTALLATION, REGISTRATION,
AND RUNNING PROCEDURES
ABSTRACT
Overview 1-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
Version 2.1 provides additional physical transport modeling capabilities which
include:
• Mass partitioning into all phases of a saturated-unsaturated system with advective
+ dispersive transport in the active phase and diffusive transport in the inactive
phase of a two phase system.
• Mass partitioning from an immobile (single or multi-species) NAPL phase into the
other two phases (air and water) with transport of contaminant (by advection +
dispersion in the active phase, and diffusion in the inactive phase) and subsequent
depletion of the NAPL phase.
This document presents Version 3.0 of MODFLOW-SURFACT. Enhancements
to Version 2.2 include:
• Variable anisotropy option - This option allows for horizontal anisotropy to be
included on a cell-by-cell basis. Note that MODFLOW requires the anisotropy
to be uniform within each model layer.
• Vertical conductivity input option - With this option, the vertical conductivity of
grid blocks is input, and the saturated leakance between layers is computed
internally. Note that MODFLOW requires the saturated leakance between layers
as input.
• Other packages developed by the USGS for later versions of MODFLOW
including MODFLOW-96 and MODFLOW-2000 have also been incorporated into
this version of MODFLOW-SURFACT. Packages incorporated from
MODFLOW-96 include the Transient Leakage Package (TLK), the Direct Solver
Package (DE4), the Stream Routing Package (STR1), the Hydraulic Flow Barrier
Package (HFB), the Interbed Storage Package (IBS), the Constant (time-varying)
Head Package (CHD), the General Finite Difference Package (GFD), and the
Flow and Head Boundary (time-varying) Package (FHB). Packages incorporated
from MODFLOW 2000 include the Reservoir Package (RES1), the Steam Flow
Routing Package (SFR1), the Lake Package (LAK 3), the Gauge Package
(GAGE), and the Evapotranspiration Segments Package (EST1).
• The additional packages, LAK3, SFR1, GAGE, TLK, STR1, HFB, ETS1, CHD,
FHB, and RES1 are documented in their respective USGS documents. When
input for these packages has been altered in the MODFLOW-SURFACT
framework (ETS1, FHB), the input documentation for those is provided in this
document.
• When using the LAK3 package as implemented here, the value of LAYCON
should be set to the unconfined options (LAYCON = 3, 13, 23, 33, 43) for the
LAK 3 package to work correctly with the BCF Packages herein. A warning to
this effective is reflected in the output listing file if this condition is not met.
• Rewetting of the LAK3 package has been modified herein such that the water level
in the lake is set just slightly above the lake bottom upon rewetting. The original
algorithm of setting the lake level to the average value of adjacent groundwater
heads can create lake levels much higher than the lake bottom upon rewetting, thus
artificially creating significant amounts of water in the lake during the rewetting
step. The original LAK3 package is documented by Merritt and Konikow, 2000.
1-2 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
• The Gage package default output file names and extensions are fname.001,
frame.002, etc., up to the number of distinct files opened by the user for gage
information output, where frame is the default filename. Alternately, the NAME-
file convention may be used to open these files.
• The FHB package had been modified to include an option providing for step
functions of head or flow versus instead of interpolation between the tabular input
time values for the various FHB nodes.
• The Recharge Package (RSF4) has been modified to include zonal input of
recharge with zonal recharge values provided via a separate recharge time-series
(RTS) file, that is independent of the stress-period setup for varying boundary
conditions.
• The ET packages EVT and ETS1 (referred to as ET2 in MODFLOW-SURFACT)
have been modified to include zonal input of ETmax values provided via a separate
ET time-series (ETS) file, that is independent of the stress-period setup for
varying boundary conditions.
• Links have been provided to the SALTCHEM module of the UNSATCHEM
(Simunek et al, 1996) software package for including the ion equilibrium and
kinetic chemistry routines developed at the U.S. Salinity Laboratory of the
Agricultural Research Service. The SALTCHEM modules may be obtained as a
DLL from the ARS to be used with MODFLOW-SURFACT.
• An optional PCG5 package has been included, that has more options for
decomposition of the matrix and includes reduced system ordering schemes. This
solver is the MATIS matrix solver developed by Dr. Peter Forsyth at the
University of Waterloo, Ontario, Canada. It is a proprietary package distributed
optionally with MODFLOW-SURFACT with only the ORTHOMIN acceleration
scheme. This solver can be up to 20 times faster than the PCG4 solver due to its
advanced computational techniques.
• Curvilinear grid option - This option allows for non-rectangular grids in the areal
plane. Hence, DELR and DELC for each node within a layer is required as input,
with multiple layers stacked vertically below the first. Note that the original
MODFLOW grid was rectangular in the areal plane.
• Additional moisture retention input options for unsaturated zone flow simulations
including bi-modal relative permeability curves and options for tabulated input.
• For air phase flow simulations an additional input option for initial water heads
within the system is provided. Using this option, the water heads may be supplied
on a cell-by-cell basis, representing certain water flow conditions. The original
option only allowed for input of a water-table elevation across the domain which
was used to calculate head values for water assuming hydrostatic equilibrium in
the vertical direction.
• The LAK2 package, developed by Greg Council at GeoTrans in 1996 has been
implemented with permission from the author. Input instructions and
implementation details of this package are available from GeoTrans.
• An observation node package has been included to list the breakthrough of head
or contaminant concentrations through time, at any prescribed observation
location(s).
Overview 1-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
• MODFLOW96 style input is allowed by creating a NAME file which opens the
input files for all relevant packages of a simulation.
• Modifications for using MODPATH with the FWL4, FWL5 and ATO4 Packages.
This enhancement extracts time step information to a binary *.mph file (when
using the ATO4 package) for use with a modified version of MODPATH. The
original version of MODPATH utilizes only time step information from the OC
package and does not recognize FWL4 and FWL5 cell by cell output from
MODFLOW-SURFACT.
• Documentation of MODPATH is available in the original USGS report (Pollock,
1994). The current document discusses the enhancements and provides the
necessary input instructions for the modified MODPATH.
• Branched Chain Decay option - This option allows for branched chain decay
computations with appropriate stotiometry. The original option allowed for only
a straight chain decay with one unit of parent decaying to one unit of daughter
product.
• Transport simulations with the evapotranspiration (EVT) package of MODFLOW
is enhanced. The previous version allows for water to leave the system due to ET,
with contaminant mass being left behind. The enhancement includes providing
a root uptake factor that determines how much contaminant mass is removed with
the ET flux, thus enabling removal of contaminant due to ET, to varying degrees
prescribed by the user. This functionality has also been extended to the
evapotranspiration segments package included here from MODFLOW 2000.
• An option IUNCAD provided in the BTN file for transport simulations accounts
for adsorption occurring only in the saturated portion of an unconfined grid-block
for groundwater flow simulation cases.
• Mass balance printout can now be performed at user-defined intervals independent
of printing of information for heads and concentrations when the adaptive time-
stepping package is used for transient simulations. (See flags IBUDFL and
ICONBD for flow and transport mass balances respectively, in the AT04
package).
• Cell-by-cell mass balance printout option is provided (see flag IUNITMB in the
AT04 package) for absolute and normalized mass balances at each cell.
• An optional dual domain transport module has been included to provide dual
porosity simulation capabilities for aggregated or fractured settings.
• An option, NOMATRIX has been added to solution of the transport equation and
input via the BTN file. When turned off (NOMATRIX = 0), the matrix of
coefficients is written to disk for subsequent use when necessary. When
NOMATRIX =1, this matrix is not written to disk and is computed whenever
needed. Depending on CPU and disk speeds of the computing environment, one
may be faster than the other.
• A density-dependent transport module is available as an exclusive option, for
saltwater intrusion analyses in coastal systems or other settings where the flow-
field is influenced by the density of contaminants.
• The adaptive time-stepping package (ATO) has been modified to include options
for restart of a simulation from some in-between point of the dataset.
1-4 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
• The compressible storage term of the air flow equation has been corrected. The
term was expressed as:
The effect of this change is only felt on transient air flow simulations. Further this
effect is significant only for simulations without significant forced air movement
where the incorrect version of the term allows for much more rapid equilibration
to steady-state, than the correct form.
• The optional flag SS/TR of MODFLOW 2000 is included to allow for
combinations of stead-state and transient simulations during any stress-period.
This is detailed in Section 3.4.2 of the Transport chapter which discusses input to
the BAS package.
• Residual saturations during air-phase flow simulations were not implemented
correctly. For non-uniform Sy arrays, the execution would terminate with a
‘square-root domain error’. This bug has been fixed.
• A non-linear reactions (RCT) package has been implemented within the transport
module, which is a multiphase extension of the reaction package of the RT3D
code. If dual porosity or dual domain transport is considered, the reactions may
occur within either or both domains, as selected by a flag in the RCT input file.
• The case of transport in a transient unsaturated flow-field wherein the specific
yield (Sy) values used for flow differ from the porosity (M) values used for
transport requires the storage term to be expanded. This is detailed in Section
2.2.1 of the Transport chapter, and options are provided for phase allocation of
the remaining pore space. In previous versions, this remaining pore space was
allocated to water in the saturated zone and to air in unsaturated portions of the
domain.
• Input for the concentration at prescribed head nodes in the HCN package was
being over-ridden by zero for certain cases. This bug has been fixed.
• A bug in the cross-dispersivity option (ICROSS=1) for transport simulations has
been fixed.
• Additional input data consistency checks have been added.
All modules of MODFLOW-SURFACT are fully compatible, and a mix-and-match of
modules from the original MODFLOW, and from MODFLOW-SURFACT may be used
in a single simulation. The transport capabilities are also fully flexible with complexity
being added to the system as needed. Thus, a transport simulation can include the highest
level of complexity of multi-phase, multicomponent transport of reactive substances in a
dual porosity setting.
Overview 1-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
The modular structure of MODFLOW is maintained, and modules for the
enhanced features are called from the main program. New formulations and computational
schemes implemented into the additional packages have been verified using analytical
solutions and other numerical models. A complete compatibility is maintained between
the additional packages of MODFLOW-SURFACT and the original MODFLOW code.
Input preparation for MODFLOW-SURFACT is straightforward and follows the
MODFLOW format structure. Input data for flow modeling is essentially that required
by the original MODFLOW, and minimal additional data is required for the
enhancements. Transport simulations make use of all MODFLOW data sets, and
duplication of the supplied input information is eliminated. Transport parameters are
supplied to the code via an additional data set, and boundary conditions are implemented
through the MODFLOW boundary data sets.
1-6 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
additional simulation capabilities into the BCF4 package to create the
BCF5 package. These include unsaturated zone moisture movement
simulation capabilities using Richards Equation, and simulation of air
movement in a saturated-unsaturated system, for air sparging or
vacuum extraction analyses.
• FWL4 This is the fracture-well package which enhances MODFLOW’s
capability of modeling wells, and is added to existing packages.
• RSF4 This is the recharge-seepage face boundary condition package that
enables simulations of seepage faces and recharge to low-conductivity
unconfined systems.
• ATO4 This is an adaptive time stepping and output control package which
can supersede MODFLOW’s time stepping routines and output
control.
• PCG4 This is a preconditioned conjugate gradient (PCG) solver package
which may be used as an alternative to other solver packages
developed for MODFLOW. The PCG4 package is a robust
alternative to the previous PCG1 package developed by Hill (1994).
• NRB1 This is a Newtown-Raphson linearization package with a backtracking
scheme for step control. This package can greatly improve robustness
of simulations for unconfined or unsaturated fluid flow cases.
• OBS This is the observation node package which provides time varying
information at specified observation nodes. Nodal heads are output
with this package for flow simulation and contaminant concentrations
for transport simulations.
The above packages have been developed by HydroGeoLogic, Inc., to provide
MODFLOW with extended capabilities. Other packages, originally developed by the
USGS to extend the capabilities of MODFLOW, are also available. These packages are
also incorporated in MODFLOW-SURFACT and include the following:
• STR Streamflow-Routing Package developed by Prudic (1989).
• IBS The Interbed-Storage Package developed by Leake and Prudic (1991).
The IBS Package allows MODFLOW to simulate the effects of
aquifer compaction due to dewatering. The IBS Package also contains
the CHD (time-variant specified-head) Package which allows constant
head cells to vary with time. This overcomes one limitation of the
original version of MODFLOW.
• HFB Horizontal Flow Barrier developed by Hsieh and Freckleton (1993).
HFBs are used to simulate the effects of low-permeability fault zones
or slurry walls.
• FHB Flow and Head Boundary Package documented in Leake and Lilly
(1997). The FHB Package allows for implementation of time-varying
flux and head boundary conditions, regardless of the stress period
setup of a simulation.
• SFR Stream-Flow Routing Package documented in Prudic et al. (2004).
The SFR package allows streamflow routing and includes links to the
Lake (LAK3) and Gage (GAGE) packages.
Overview 1-7
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
• ETS Evapotranspiration Segments Package documented in Banta (2000).
The ETS package allows for segmented input of the ET function thus
allowing for a generalized function of ET flux with depth.
• LAK3 The Lake Package documented in Merrett and Konikow (2000). The
LAK3 package represents lakes interacting with the groundwater and
includes the GAGE package and links to the SFR package.
The user may incorporate his or her own custom packages into MODFLOW-
SURFACT. For customization of MODFLOW-SURFACT, please contact the software
sales department as directed in Section 1.3 of this overview.
1.6 INSTALLATION
MODFLOW-SURFACT should be installed under the Windows operating system.
The installation process is very similar to many other Windows applications. To install,
follow the steps described below.
1. Insert Disk 1 of the MODFLOW-SURFACT distribution disks into one of your
CD drives.
2. From the Program Manager window, click on the File item from the horizontal
menu underneath the window title.
3. Choose the Run item from this menu. You will be presented with a dialog box
entitled Run.
4. There will be a text entry box with the heading Command Line:. If the CD drive
you are using is D, for example, then enter the following:
D:SETUP
and press ENTER.
1-8 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
5. The SETUP program will ask you to select the Hard Disk Drive and the directory
name where the MODFLOW-SURFACT files will be stored. The default is
C:\MODFLOW_SURFACT. Either enter a new path or click on Start install
to continue with the installation in the default directory. The SETUP program will
check your system to make sure that you have enough disk space.
6. After creating the necessary directories and expanding the files, SETUP will
provide an option to update your "AUTOEXEC.BAT" file. If this option is
selected, SETUP will add the directory name to your PATH statement so that you
may run MODFLOW_SURFACT from any directory on your computer. If you
do not want SETUP to modify your AUTOEXEC.BAT file, you should modify
the PATH yourself.
7. The last step involved in the installation of MODFLOW-SURFACT is rebooting
your computer so that the changes made to the "AUTOEXEC.BAT" file become
effective. After rebooting your computer, start Windows and you will find that
SETUP has created a MODFLOW-SURFACT program folder.
EXAMPLES
*
*——VOL_1
* *
* *——SEC2_4_1
* * *
* * *—CASE_A
* * *
* * *—CASE_B
* *
* *——SEC3_4_1
* *
* *——SEC4_3_2
* *
* *——SEC5_3
Overview 1-9
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
1.8 MEMORY MANAGEMENT
MODFLOW-SURFACT allocates the memory required by data arrays and lists
at execution time in a one-dimensional array called the “X” array. The total memory
space needed by the “X” array depends on the number of model grid cells and on the type
and number of packages required in a simulation. In the original MODFLOW code, the
dimension of the “X” array is declared in a static manner, i.e., at compile time.
Therefore, if the simulation problem required additional memory the user would have to
modify the Fortran source code and recompile the code with increased “X” array
dimension. This limitation has been overcome in MODFLOW-SURFACT by using
dynamically allocatable arrays. MODFLOW-SURFACT allocates and de-allocates
memory dynamically during the execution time based on the memory requirements of the
problem. This ensures the most efficient use of computer memory and allows simulation
problems of virtually unlimited size to be handled without code modification, subject only
to available computer memory.
1-10 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
1.10 GETTING STARTED
The following instructions give you a step-by-step introduction to running
MODFLOW-SURFACT. By following these instructions you will be able to:
1. Use the MODFLOW-SURFACT hard-lock protection system.
2. Understand how to use MODFLOW-SURFACT.
1.10.1 Protection of MODFLOW-SURFACT
A hard-lock is included in your MODFLOW-SURFACT package. Before you
can use MODFLOW-SURFACT, you must put the hard-lock in the USB port on your
computer.
If you choose to uninstall MODFLOW-SURFACT from one machine and install
it on another, the hard-lock is easily moved from one computer to another.
1.10.2 Running MODFLOW-SURFACT — BACKGROUND
MODFLOW-SURFACT can be executed in two different modes depending on the
supplied command line argument. The following modes are available:
Argument Description
1 BAS file format
3 NAME file convention for opening input and output files of a simulation.
In the two modes, MODFLOW-SURFACT will read the Basic (BAS) Package file
name (for argument “1”) as a second command line argument and assumes the default
filenames for the remaining files, or the entire filename of the NAME file (for argument
= “3”) which opens all other input and output files required by the simulation. The
default naming convention uses the file extension to distinguish each of the various input
files used in the simulation. All files, however, share the same name. The default file
naming convention used by MODFLOW-SURFACT is shown in Table 1. It is required
that all the input data files are located in the same directory and have been given the
appropriate default names.
If no command line arguments are provided, MODFLOW-SURFACT will require
a file called “file.id”. This file provides the above mentioned options (Modes 1 or 3) and
the file names (BAS or NAM) needed for the simulation. Thus, a user may use a “file.id”
file that provides one of the two modes of operation or provides the mode information
using command line arguments using DOS as described below.
(a) Using “file.id”
Under Windows, MODFLOW-SURFACT uses the “file.id” file to determine the
mode of operation. For option 1 the “file.id” file contains the following text:
1
drive:\directory\basic_package_file_name
For option 3, the “file.id” file contains the following text:
3
drive:\directory\NAME_file_name
Overview 1-11
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
(b) Using command line options using DOS
Under DOS, the user can run MODFLOW-SURFACT in any mode described
previously, for example:
To execute MODFLOW-SURFACT with Option 1, type the following at the
command prompt:
MSFT 1 drive:\directory\basic_package_file_name
To execute MODFLOW-SURFACT with Option 3 type the following at the
command prompt.
MSFT 3 drive:\directory\NAME_file_name
where drive:\directory\basic_package_file_name represents the complete path and name
of the basic package input file, using the default naming convention shown in Table 1.
For example:
MSFT 1 c:\MSVMS\EXAMPLES\VOL_1\SEC3_4_1\PRB_1.BAS
will run the problem with default filename PRB_1.
An example of using the NAME file convention (similar to the method of opening
files in MODFLOW 96) is:
MSFT 3 c:\MSVMS\EXAMPLES\GV42\GV42.NAM
where the name-file, GV42.NAM appropriately opens all input and output files needed for
the simulation. As an example, the NAME file may contain the following lines:
LIST 6 gv42.out
BAS 1 gv42.bas
BCF 11 gv42.bcf
GHB 17 gv42.ghb
RCH 18 gv42.rch
SIP 19 gv42.sip
OC 22 gv42.oc
PG4 23 gv42.pcg
ATO 32 gv42.ato
DATA 33 Lay1.Kx
DATA (BINARY) 34 gv42.hds
DATA (BINARY) 35 gv42.rar
where the first entry in each row denotes the type of file being opened, the second entry
is the FORTRAN unit number on which this file is attached, and the last entry denotes the
appropriate filename. The type of file being opened is denoted by LIST for the output
listing file; by the appropriate two or three letter acronym for each of the packages (as
noted in Table 1); or by the word DATA or DATA (BINARY) for other files that contain
ASCII or binary arrays. For instance, in the above example, the hydraulic conductivity
array for layer 1 is read from a separate file called Lay1.Kx which is opened on Fortran
Unit 33. Note that Table 1 entries are ordered in the same manner as entries in the IUNIT
array of the BAS package.
1-12 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
Table 1. MODFLOW-SURFACT Input/Output Default File Extensions
CELL-BY-CELL
OUTPUT NAME-
FILE file
PACKAGE NAME FLOW TRANSPORT acronym
Basic Flow (BAS) *.BAS -- -- BAS
Block-Centered Flow (BCF4) *.BCF *.CBB -- BCF
Well (WEL) *.WEL *.CBW *.TBW WEL
Drain (DRN) *.DRN *.CBD *.TBD DRN
River (RIV) *.RIV *.CRV *.TRV RIV
Evapotranspiration (EVT) *.EVT *.CBE -- EVT
Transient Leakage (TLK) *.TLK CBT -- TLK
General-Head Boundary (GHB) *.GHB *.CBG *.TBG GHB
Recharge-Seepage Face Boundary *.RCH *.CRC *.TRC RCH
(RSF4)
Strongly Implicit Procedure (SIP) *.SIP -- -- SIP
Direct Solver (DE4) *.DE4 -- -- DE4
Slice-Successive Overrelaxation *.SOR -- -- SOR
(SSOR)
Output Control (OC) *.OC -- -- OC
Preconditioned Conjugate *.PCG -- -- PG4
Gradient (PCG4)
Streamflow-Routing (STR) *.STR *.CS1 -- STR
*.CS2
Preconditioned Conjugate *.PG2 -- -- PG2
Gradient 2 (PCG2)
Horizontal-Flow Barrier (HFB) *.HFB -- -- HFB
Basic Transport (BTN1) *.BTN -- *.TBT BTN
Lake 2 Package by GeoTrans *.LAK CLK -- LAK
(LAK)
Interbed-Storage (IBS) *.IBS *.CBI -- IBS
Time-Variant Specific-Head *.CHD -- -- CHD
(CHD)
Fracture Well (FWL4) *.FWL *.CFW *.TFW FWL
Adaptive Time-Stepping and *.ATO -- -- ATO
Output Control (ATO4)
Prescribed Concentration *.PCN -- *.TPC PCN
Boundary (PCN1)
Prescribed-Head-Concentration *.HCN -- *.THC HCN
Boundary (HCN1)
Overland Flow (OLF)1 *.OLF *.OL1 *.OL2 OLF
1
Channel Flow (CHF) *.CHF *.CH1 *.CH2 CHF
Overview 1-13
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
CELL-BY-CELL
OUTPUT NAME-
FILE file
PACKAGE NAME FLOW TRANSPORT acronym
1
Analytical Infiltration (PRL) *.PRL *.PR1 -- PRL
Observation Node (OBS) *.OBS *.OBW Channel flax on OBS
*.OBV
Generalized Finite Differences *.GFD *.CGF -- GFD
(GFD)
Flow and Head (time-varying) *.FHB *.CFB -- FHB
Boundary (FHB)
Interception of Precipitation and *.IPT *.ESI -- IPT
Evapotraspiration (IPT)
Reactive Transport (RCT) *.RCT -- TRC RCT
Saltchem Module (SLC) *.SLC -- TSL SLC
2
Link-AMG (LMG) *.LMG -- -- LMG
Preconditioned Conjugate *.PG5 -- -- PG5
Gradient 5 (PCG5)
Reservoir (RES) *.RES *.CRS -- RES
Multi-node Fracture Well *.WL5 *.CW5 *.TW5 WL5
(FWEL5)
Stream-Flow Routing (SFRI) *.SFR *.CSF -- SFR
Lake 3 Package of USGS (LAK3) *.LK3 *.CL3 -- LAK3
Gage Package (GAGE) *.GAG -- -- GAG
Evapotranspiration Segments *.ET2 *.CEZ *.TEZ ET2
Package (ETS1)
Main Output *.OUT -- --
Head Output *.HDS -- --
Drawdown Output (Saturation *.DDN -- --
output for unsaturated fluid flow
simulations)
Concentration Output *.CON -- --
Default 2-D Real array Input *.2DR -- --
Default 2-D integer array input *.2DI -- --
* respresents the root file name of the basic package. The same name is used with different file extensions for all the
remaining input/output files when MODFLOW-SURFACT is invoked in Non-Interactive mode.
– indicates that the corresponding file is not created.
1
Not available in MODFLOW-SURFACT.
2
The AMG solver is not available.
1-14 Overview
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
REFERENCES
Banta, E.R., 2000. MODFLOW-2000, the U.S. Geological Survey modular groundwater
model - Documentation of packages for simulating evapotranspiration with a
segmented function (ETS1) and drains with return flow (DRT1), U.S. Geological
Survey Open-File Report 00-466, 127 p.
Goode, D.J. and Appel, CA, 1992. Finite-difference interblock transmissivity for
unconfined aquifers and for aquifers having smoothly varying transmissivity: U.S.
Geological Survey Water-Resources Investigations Report 92-4124, 79 pp.
Hshieh, P.A. and Freckleton, J.R., 1993. Documentation of a Computer Program to
Simulate Horizontal-Flow Barriers Using the U.S. Geological Survey’s Modular
Three-Dimensional Finite-Difference Ground-Water Flow Model, U.S. Geological
Survey, Open-File Report 92-477, 32 pp.
Hill, M.C., 1994. Preconditioned Conjugate-Gradient 2 (PCG2), a Computer Program
for Solving Groundwater Flow Equations, U.S. Geological Survey Water
Resources Investigations Report 90-4048, 43 pp.
HydroGeoLogic, Inc., 1996. MODFLOW-SURF (Version 1.2). The HydroGeoLogic
Enhanced Version of the U.S. Geological Modular Groundwater Flow Model,
Code Documentation Report.
Leake, S.A., and M.R. Lilly, 1997. Documentation of a computer program (FHB1) for
assessment of transient specified flow and specified head boundaries in
applications of the modular finite-difference ground-water flow model
(MODFLOW), U.S. Geological Survey Open-File Report 97-571, 50 p.
Leake, S.A., and Prudic, D.E., 1991. Documentation of a Computer Program to
Simulate Aquifer-System Compaction Using the Modular Finite-Difference
Ground-Water Flow Model, U.S. Geological Survey, Book 6, Chapter A2, 68 pp.
McDonald, M.G., and Harbaugh, A.W., 1988. A Modular Three-Dimensional Finite-
Difference Ground-Water Flow Model: U.S. Geological Survey Techniques of
Water-Resources Investigations Book 6, Chapter A1.
McDonald, M.G., Harbaugh, A.W., Orr, B.R., and Ackerman, D.J., 1991. A method
of converting no-flow cells to variable-head cells for the U.S. Geological Survey
Modular Finite-Difference Ground-Water Flow Model: U.S. Geological Survey
Open-File Report 91-536, 99 pp.
Merrett, L.M., and L.F. Konikow, 2000. Documentation of a computer program to
simulate lake-aquifer interaction using the MODFLOW groundwater flow model
and the MOC3D solute transport model, U.S. Geological Survey Water-Resources
Investigations Report 00-4167, 146p.
Prudic, D.E., L.F. Konikow and E.R. Banta, 2004. A new stream-flow routing package
to simulate stream-aquifer interaction with MODFLOW 2000, U.S. Geological
Survey Open-File Report 2004-1042, 95 p.
Prudic, D.E., 1989. Documentation of a Computer Program to Simulate Stream-Aquifer
Relations Using a Modular Finite-Difference Ground-Water Flow Model, U.S.
Geological Survey, Open-File Report 88-729, 113 pp.
References 1-15
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
Simunek, J., D.L. Suarez, and M. Sejna, 1996. UNSATCHEM Software Package for
Simulating the One-Dimensional Variability Saturated Water Flow, Heat
Transport, Carbon Dioxide Production and Transport, and Multi-Component
Solute Transport with Major Ion Equilibrium and Kinetic Chemistry, Version 2.0,
U.S. Salinity Laboratory, ARS, U.S. Department of Agriculture, Riverside, CA,
Research Report No. 141.
1-16 References
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\SURFACT overview_new.wpd
MODFLOW-SURFACT SOFTWARE (VERSION 3.0)
DOCUMENTATION
BY:
HYDROGEOLOGIC, INC.
HERNDON, VA 20170, USA
TEL: (703) 478-5186
FAX: (703) 471-4180
E-MAIL: [email protected]
WEB PAGE: www.hgl.com
Page
ABSTRACT
CHAPTER 1: INTRODUCTION
1.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 Attributes of New Flow Packages in MODFLOW-SURFACT . . . . . . . . 1-2
1.3 MODFLOW-SURFACT Operation and Input Options . . . . . . . . . . . . . 1-3
1.4 Document Organization and Usage Guide . . . . . . . . . . . . . . . . . . . . . 1-4
Contents i
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\Vol I - Chapter 1 and TOC - SURFACT.wpd
CHAPTER 4: THE RECHARGE-SEEPAGE FACE BOUNDARY (RSF4) CONDITION
PACKAGE
4.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.2 Formulation of the RSF4 Boundary Condition Package . . . . . . . . . . . . . 4-1
4.3 Rapid, Transient Recharge Conditions . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Verification and Application Examples . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.4 Verification and Application Examples . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.4.1 Problem 1—Flow to Parallel Drains in an Unconfined Aquifer . . . 4-3
4.4.2 Problem 2—Seepage Through a Square Embankment . . . . . . . . . 4-3
4.5 Input Instructions for the Rsf4 Package . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.5.1 RSF4 Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.5.2 Transient Recharge Time-Series File . . . . . . . . . . . . . . . . . . . . 4-12
CHAPTER 9: REFERENCES
ii Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\Vol I - Chapter 1 and TOC - SURFACT.wpd
FIGURES
Page
Figure 2.1 Dimensionless Drawdown Versus Dimensionless Time
Relationships Showing Comparison of Numerical and Analytical
Solutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Figure 2.B1 Hydraulic Head Profile at 0.4 and 0.8 days for Transient
Infiltration in an Unsaturated Vertical Soil Column. . . . . . . . . . 2-12
Figure 2.B2 Hydraulic Head Profiles at .508d for Flow in an Unsaturated
Rectangular Soil Slab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Figure 2.C1 Steady-State and Transient Distribution of Air Pressure Near
Sparging Well for Air-Phase Flow Simulation.. . . . . . . . . . . . . 2-16
Figure 2.2 A Schematic Diagram of the Unconfined Aquifer System. . . . . . 2-17
Figure 2.3 Steady-State Head Distributions in Layer 1 - Comparison between
Case (a) and Case (b). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Figure 2.4 Steady-State Head Distributions in Layer 2 - Comparison between
Case (a) and Case (b). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Figure 2.5 Steady-State Head Distributions in Layer 3 - Comparison between
Case (a) and Case (b). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Figure 2.6 Applied Pumping Stress at Each Well for Transient Analysis of
the Unconfined Aquifer System. . . . . . . . . . . . . . . . . . . . . . . 2-23
Figure 2.7 Head Distributions in Layer 1 at the End of Pumping (First)
Period (t=4 yr) Showing Comparison between Previous and New
Simulation Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24
Figure 2.8a Head Distribution in Layer 3 at the End of Pumping (First)
Period (t=4 yr) Obtained Using the Previous MODFLOW
Option. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25
Figure 2.8b Head Distribution in Layer 3 at the End of Pumping (First)
Period (t=4 yr) Obtained Using the New Variably Saturated Flow
Option in MODFLOW-SURFACT. . . . . . . . . . . . . . . . . . . . . 2-26
Figure 2.9 Head Distribution in Layer 1 at the End of Recovery (Second)
Period (t=16 yr) Showing Comparison Between the Previous and
New Simulation Options. . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27
Figure 2.10 Head Distributions in Layer 3 at the End of Recovery (Second)
Period (t=16 yr) Showing Comparison between the Previous and
New Simulation Options. . . . . . . . . . . . . . . . . . . . . . . . . . . 2-28
Figure 2.11 Temporal Variation in Head at Three Observation Points Showing
Comparison between the Previous and the New Simulation
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30
Figure 2.12 Temporal Variation in Head at Three Observation Points Showing
Comparison between the New Simulation Option in MODFLOW-
SURFACT and STAFF3D. . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
Figure 3.1 Physical Situation (a) and Conceptualization (b) of a Fracture
Well . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Contents iii
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\Vol I - Chapter 1 and TOC - SURFACT.wpd
Figure 3.2 Verification of the Numerical Solution (FWL4 Package) with the
Analytical Solutions of Theis (1935) and Papadopulos and Cooper
(1967). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Figure 3.3 A Schematic Diagram of the Unconfined Aquifer System for
Fully 3-D Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Figure 3.4 Pumping Operation in the Well for a Fully 3-D Simulation. . . . . . 3-8
Figure 3.5 Temporal Variation of Water Level in the Well for a Fully 3-D
Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Figure 3.6 Temporal Variation of Total Well Flux for a Fully 3-D
Simulation: Comparison Between Prescribed Flux (FWL4
Package) and Prescribed Head (GHB Package) Simulation
Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Figure 3.7 A Schematic Diagram of the Three-Aquifer System for a Quasi 3-
D Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Figure 3.8 Pumping Operation in the Well for a Quasi 3-D Simulation. . . . . 3-13
Figure 3.9 Temporal Variation of Head at Well Nodes in a Quasi 3-D
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Figure 3.10 Temporal Variation of Well Fluxes of Aquifers for a Quasi 3-D
Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Figure 3.11 Vertical Profiles of Heads in the Aquifers in the First Stress
Period at t=2 yr. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Figure 3.12 Vertical Profiles of Heads in the Aquifers at the End of First
Stress Period (t=3 yr). . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
Figure 3.13 Vertical Profiles of Heads in the Aquifers in the Second Stress
Period at t=4.5 yr. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Figure 3.14 Vertical Profiles of Heads in the Aquifers in the Second Stress
Period at t=7.5 yr. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
Figure 4.1 Schematic Diagram Depicting Flow to Parallel Drains in an
Unconfined Aquifer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Figure 4.2 Discretization Scheme Used for the Simulation of Flow through
Parallel Drains. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Figure 4.3 Comparison of Numerical and Analytical Solutions for the
Parallel Drain Problem (Recharge = 0.01 ft/d). . . . . . . . . . . . . 4-5
Figure 4.4 Transient Movement of the Water Table for the Parallel Drain
Problem (Recharge = 0.02 ft/d). . . . . . . . . . . . . . . . . . . . . . . 4-6
Figure 4.5 Steady Seepage through a Square Embankment. . . . . . . . . . . . . 4-7
Figure 4.6 Simulated Water Table and Base Pressure Head Profiles. . . . . . . 4-9
Figure 5.1 A Schematic Diagram of the Unconfined Aquifer System. . . . . . . 5-3
Figure 5.2 Applied Pumping Stress at Each Well for Transient Analysis of
the Unconfined Aquifer System. . . . . . . . . . . . . . . . . . . . . . . 5-4
Figure 5.3 Head Distributions in Layer 1 at the End of Pumping (First)
Period (t=4 yr) Showing Comparison between the Previous and
New Time-Stepping Schemes. . . . . . . . . . . . . . . . . . . . . . . . . 5-6
iv Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\Vol I - Chapter 1 and TOC - SURFACT.wpd
Figure 5.4 Head Distributions in Layer 3 at the End of (First) Stress Period
(t=4 yr) Showing Comparison between the Previous and New
Time Stepping Schemes. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Figure 5.5 Head Distributions in Layer 1 at the End of Recovery (Second)
Period (t=16 yr) Showing Comparison between the Previous and
New Time-Stepping Schemes. . . . . . . . . . . . . . . . . . . . . . . . 5-8
Figure 5.6 Head Distributions in Layer 3 at the End of Recovery (Second)
Period (t=16 yr) Showing Comparison between the Previous and
New Time-Stepping Schemes. . . . . . . . . . . . . . . . . . . . . . . . 5-9
Contents v
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I for Surfact only\Vol I - Chapter 1 and TOC - SURFACT.wpd
MODFLOW-SURFACT
VOLUME I: FLOW MODULES
ABSTRACT
MODFLOW-SURFACT is a fully integrated groundwater flow and solute
transport code developed by HydroGeoLogic, Inc., based on the widely popular U.S.
Geological Survey modular three-dimensional (3-D) groundwater flow modeling code,
MODFLOW. This volume (Volume I of the code documentation) describes new flow
modules added to MODFLOW to enhance its groundwater flow modeling capability and
computational robustness. The physical and mathematical concepts underlying the new
enhancements are detailed, and implementation of these concepts into the modular
structure of MODFLOW is discussed. Example problems are provided to verify the code
and acquaint the user with its applications. The reader is expected to be familiar with the
original MODFLOW documentation (McDonald and Harbaugh, 1988).
MODFLOW uses the block-centered finite-difference approach to simulate
groundwater flow. Fully or quasi 3-D simulations of confined and unconfined layers may
be performed. Through its new flow packages, MODFLOW-SURFACT enhances the
schemes for performing unconfined simulations to rigorously model
desaturation/resaturation of aquifers and overcome numerical difficulties encountered with
previous versions of MODFLOW. MODFLOW-SURFACT provides an option for
discretizing the domain using an axi-symmetric geometry for efficient simulation of
pumping tests, baildown/recovery tests, etc. External stresses normally allowed by
MODFLOW include constant head, constant flux, areal recharge, evapotranspiration,
drains, and streams. In addition, MODFLOW-SURFACT provides a rigorous well
withdrawal package, unconfined recharge boundary conditions, and seepage face boundary
conditions. Finally, MODFLOW-SURFACT includes options for adaptive time-stepping
and output control procedures and an additional Preconditioned Conjugate Gradient (PCG)
solution package. Version 2 of MODFLOW-SURFACT contains additional capabilities
which include rigorous saturated-unsaturated moisture movement simulation capability,
air flow simulation capability, and a Newton-Raphson linearization package for improved
robustness.
The new flow packages of MODFLOW-SURFACT are written in FORTRAN 77
and compiled using the Compaq Visual Fortran Professional Edition 6.6® compiler. It will
run without modification on any Pentium based PC with a minimum recommended 64Mb
of RAM.
CHAPTER 1: INTRODUCTION
CHAPTER 1: INTRODUCTION
1.1 GENERAL
The U.S. Geological Survey Modular Flow Model (MODFLOW) is probably the
most popular groundwater code being used worldwide as a simulation tool to support
groundwater investigations. MODFLOW has been greatly enhanced by HydroGeoLogic,
Inc., to allow the user to handle complex field problems in a more robust and efficient
manner. The enhanced code is named MODFLOW-SURFACT (i.e., MODFLOW with
new flow and contaminant transport packages). The SURF acronym given to the new flow
packages denotes the following:
• S - robust and efficient (matrix solution, nonlinear iterations with adaptive
time- stepping, output control, and axi-symmetric) Schemes
• U - rigorous treatment of Unconfined flow
• R - non-ponding Recharge and seepage face boundary conditions
• F Fracture well representation to provide rigorous treatment of well
-
conditions.
Seven new modular packages have been developed by HydroGeoLogic, Inc., and
added to the original MODFLOW code (McDonald and Harbaugh, 1988). These packages
are as follows:
(1) BCF4 - The Block-Centered Flow Package which includes an axi-
symmetric analysis option and provides a rigorous treatment of
unconfined flow using a variably saturated formulation with
pseudo-soil functions. This package also includes rigorous water
and air flow simulation capabilities for Version 2.
(2) FWL4/
FWL5 - The Fracture-Well Packages (FWL4 and FWL5) provide a
rigorous treatment of well withdrawal conditions using one-
dimensional (1-D) fracture tube elements to emulate a well.
(3) RSF4 - The Recharge-Seepage Face Package which accommodates non-
ponding recharge and seepage face boundary conditions.
(4) ATO4 - The Adaptive Time stepping and Output control Package which
conducts the transient solution using an aggressive time stepping
scheme with automatic generation and control of time steps as
well as better output control.
(5) PCG4 - The Preconditioned Conjugate Gradient Package which contains
a new PCG matrix solver as a robust alternative to the existing
Strongly Implicit Procedure (SIP) and Slice Successive Over-
Relaxation (SSOR) solvers in MODFLOW.
(6) NRB1 - The Newton-Raphson linearization package with backtracking
increases robustness for unconfined or unsaturated flow (of air or
water) simulations.
(7) OBS1 - The observation node package for recording hydrographs at select
nodes.
These additional flow packages in MODFLOW-SURFACT are documented
herein. Provided in the following chapters are their brief descriptions, formulations,
verification and application examples, input instructions, and sample data files. Users of
this document are assumed to be reasonably familiar with the original MODFLOW code
2.1 GENERAL
The MODFLOW code utilizes a block-centered finite-difference approach to solve
the groundwater flow equation. The flow domain is discretized into rows, columns, and
layers such that each node represents a rectangular block of porous material which is
referred to as a cell. A node in the resulting finite-difference grid represents either a no-
flow, variable-head, or constant-head cell, and any hydraulic property associated with a
cell is specified with respect to the corresponding node.
For unconfined flow simulations, the BCF1 package of the original MODFLOW
code (McDonald and Harbaugh, 1988) converts a desaturated variable-head cell into a no-
flow cell. This results in permanent exclusion of parts of the flow domain from the model
simulation. The inability of MODFLOW to revert these cells to variable-head cells in case
of any recovery of potentiometric levels may cause the code to produce misleading or
erroneous simulation results.
An attempt was made by McDonald et al. (1991) to reconvert no-flow cells into
variable-head cells to allow resaturation of the cells if needed. Their rewetting scheme
was implemented in the BCF2 Package (Block-Centered Flow Package, Version 2). The
scheme utilizes heads at the neighboring cells to determine whether to reconvert a no-flow
cell into a variable-head cell. Unfortunately, the BCF2 rewetting option is prone to
convergence and stability problems during rewetting or when withdrawals dry up the
respective cells (McDonald et al., 1991). This is because the ad hoc procedure used to
reactivate dry cells can seriously violate flow and mass conservation principles. In
addition, the harmonic transmissivity averaging scheme used in the code becomes
physically inconsistent when the head-dependent transmissivity at a neighboring cell
reduces to zero. A host of problems associated with the BCF2 rewetting package, along
with a host of alleviation schemes, have been documented by Goode and Appel (1992) who
added the BCF3 package to MODFLOW to provide alternative procedures for averaging
transmissivities. In view of the serious difficulties encountered with the above-mentioned
rewetting procedures, a rigorous approach that satisfies flow continuity requirements and
allows free movement of the water table in unconfined layers, without any kind of forced
conversion, is necessary. HydroGeoLogic, Inc., developed such an innovative approach
by using a 3-D variably saturated flow formulation with pseudo-soil water retention
functions automatically generated to reduce the unsaturated flow problem to one of seeking
the water-table level (i.e., the elevation where pressure head is zero or atmospheric) in a
cell. The formulation has been designed to provide accurate delineation of the water table
and capture the delayed yield response of an unconfined system to pumping and recharge.
Data requirements for the simulation are unchanged, since pseudo-soil relations are used
instead of constitutive relations of the real soils. Key advantages of our approach include:
• A rigorous treatment of 3-D flow (i.e., without the Dupuit assumptions) which
does not require turning cells on and off.
• A robust numerical scheme with good convergence and stability characteristics and
the desired capability to handle complete desaturation and resaturation of cells.
Using the finite-difference method, the variably saturated formulation with pseudo-
soil functions is programmed into the existing BCF3 Package of MODFLOW and the new
version is referred to as the BCF4 Package. The new option of the BCF4 Package
computes the interblock conductance as a product of the weighted harmonic mean of the
block hydraulic conductivities, relative permeability, and mean flow area. The use of the
(1)
where:
x, y, and z are Cartesian coordinates (L);
Kxx, Kyy, and Kzz are the principal components of hydraulic conductivity along the
x, y, and z axes, respectively ( );
t is time (T).
For a fully saturated medium (i.e., Sw = 1.0), the relative permeability is unity and
equation (1) reduces to:
(2)
(3)
where r and z are the radial and vertical coordinates of the axi-symmetric cylindrical
coordinate system, and Krr and Kzz are the principal hydraulic conductivities along the
radial and vertical axes, respectively.
When the axi-symmetric option is invoked, the BCF4 Package regards the radial
coordinate (r) as the horizontal x-coordinate, while the vertical coordinate (z) is unchanged
and the horizontal y-coordinate is made inactive by setting the number of rows of grid
blocks (NROWS) to 1. Note that the axi-symmetric configuration of any grid block ()xi,
)zk) is generated by rotation of the block about the z-axis.
(4a)
(4b)
when n and ( are empirical parameters and Se is the effective water saturation defined as
Se=(Sw-Swr)/(1-Swr) with Swr being referred to as the residual water saturation. The Brooks-
Corey expression produces a similar curve to the van Genuchten function when the
parameter n is chosen such that n = 1 + 2/( (van Genuchten, 1980).
A further enhancement of simulation capability is provided by inclusion of a
piecewise - continuous hydraulic conductivity function by following Mohanty et al (1997),
to include a bimodal description of preferential flow pathways in the system. Thus, if the
saturation in the system is less than a critical value S*, the van Genuchten function of
equation (4b) is used. However, when saturation is above S*, an exponential conductivity
curve is applied that increases conductivity rapidly near saturation, as follows:
(5a)
where S* is the critical or breakpoint saturation value where flow changes from capillary
dominated to non-capillary dominated and vice versa, kr* is the relative permeability
corresponding to S*, and * is a fitting parameter representing effective macroporosity or
other structural features contributing to non-capillary dominated flow. Other functional
forms may be accommodated by tabular input option also provided.
The relationship of pressure head (R = h-z, where z = vertically upward
coordinate) versus water saturation is described by the following function (van Genuchten,
1977, 1980):
where " and $ are empirical parameters, hc is the capillary head defined as (hap-R), where
hap, the pressure head in air is taken as atmospheric (=0), and Swr is the residual water
phase saturation. The parameters $ and ( are related by ( = 1-1/$. The Brooks-Corey
and van Genuchten functions for the moisture retention and relative permeability
characteristics can be measured in the laboratory for a given soil.
The BCF4 package invokes variably saturated flow simulations using real soil
functions [equations (4) or (5) with equation (6)] via an index IREALSL in the BCF4 input
file. For the van Genuchten soil functions, additional inputs are required for the
parameters ", $, and Swr. If the Brooks Corey relative permeability function is requested,
the Brooks Corey parameter n is also required as input. The remaining parameters are
identical to those discussed in section 2.2 for 3-D, cross-sectional, or axi-symmetric
situations.
(7)
where xi, xj (i, j = 1, 2, 3) are Cartesian coordinates, koij is the intrinsic permeability
tensor, kra is the relative permeability to air, µa is the dynamic viscosity of air, Ca is the
pressure in the air phase, Da is the density of air, Wa is the volumetric flux of air per unit
volume of porous medium representing sources and/or sinks of air, and Sa (=1-Sw) is the
air phase saturation.
For solution of equation (7) within the framework of MODFLOW-
SURFACT/MODHMS, it is convenient to transform the equation into MODFLOW type
variables. Equivalent definitions to pressure head and hydraulic head are therefore
required for the air phase as
(8)
where hap is the pressure head of the air phase, Ma is the potential in the air phase, Dw is
the density of water, g is gravitational acceleration, and haM is the potential head or total
head in the air phase. Further, by definition, the hydraulic conductivity Kij may be
expressed as:
(9)
(10)
The last term in equation (7) may be manipulated for the air phase in an analogous
manner as was done by Bear (1979, p. 91) for the water phase to give
(11)
(12)
where "s is the compressibility of the soil matrix and $a is the compressibility of air. Ssa
is not a tangible parameter for most aquifer systems, and further manipulation is required
to pose the equation in terms of Ss, the specific storage of the porous material, defined as
(Bear, 1997)
(13)
(14)
Using equations (10), (11), and (14) in (7) gives the air phase flow equation in
terms of MODFLOW type variables and basic parameters as:
(15)
Note that the last term of equation (15) is the compressible storage term which is
significant in transient simulations that investigate subsurface air follow due to atmospheric
pressure fluctuations. The denominator of this term is close to unity, however the entire
form has been retained for completeness. Effects of density variations on air flow have
been tested against analytical solutions of Shan, 1995.
The van Genuchten capillary pressure function of equation (6) provides the
saturation distribution within the porous medium with the constraint that Sw+Sa=1.
Relative permeability to the air phase is expressed by the Brooks Corey relationship as:
(16)
(17)
Note that the Brook-Corey parameter n has to be greater than 2 for physically
realistic kr functions when air is the active phase.
Relative permeability to the air phase is expressed by the van Genuchten
relationship as:
(18)
When solving for the air phase flow equation only, an assumption has to be made
with regards to the water phase in the system, since water is treated as a passive phase.
Two options are provided in MODFLOW-SURFACT/MODHMS for treatment of the
water phase when solving for air phase flow. As a first option, water is assumed to be in
hydrostatic equilibrium with a constant hydraulic head, equal to the initial elevation of the
water table, ZWT (x,y), at any x, y location in the domain.
The pressure head in the water phase, hwp (=R used previously) at any elevation
z within the domain in therefore given as:
(19)
where water pressure, hwp equals the ambient air pressure (=0) at the water table.
The capillary head required in equation (6) [hc=hap-hwp] is therefore obtained by
using (19) and (8) as:
(20)
As a second option, the ambient water pressure may be obtained for equation(6) from a
steady-state solution to the water flow equation over the same domain. Thus
recharging/discharging systems may be accommodated during air phase flow calculations
by providing correct air and water saturations under ambient air conditions.
The density of air at system pressure conditions is obtained from the ideal gas law
as:
(21)
where Dstd is the standard air density at atmospheric pressure conditions, Catm; is the
absolute pressure of air in the system; and it is assumed that the apparent molecular weight
of air is the same for system conditions, as it is for standard conditions. Re-arranging
equation (8) and expressing the air pressure under absolute pressure conditions gives
where the reference pressure Patm occurs at the reference elevation z=0 (i.e, at the
datum). Density effects of air on the system potential are usually small and one may
prescribe Patm for mean sea level conditions regardless of the datum elevation, without
significant loss in accuracy.
Substituting (22) into (21) and re-arranging gives the air phase density in terms of
the MODFLOW-SURFACT/MODHMS variables as
(23)
Summarizing the formulation for variably saturated air phase flow, MODFLOW-
SURFACT/MODHMS uses equation (15) to govern air flow behavior subject to capillary-
saturation relations of equation (6) and relative permeability behavior of either equation
(16) or equation (18). Capillary head is determined from equation (20) with a passive
water phase assumption of instant hydrostatic equilibrium for water, or as hi = hap-hwp with
the ambient hwp as input (obtained from a steady-state solution to Richards equation).
Finally, air phase density is computed from equation (23).
The BCF4 package invokes the air phase flow formulation using the index
IREALSL in the BCF4 input file. In addition to the parameters required for soil moisture
relations and relative permeability functions, air phase flow simulations also require input
for Dw, µw, µa, $w, $a, Catm, g, and ZWT (x,y). The remaining simulation input parameters
are identical to those discussed in section 2.2 for 3-D, cross-sectional, or axi-symmetric
situations.
sD = 4BKbs/Q
and
ty = Kbt/
where b is the initial saturated thickness, and the remaining symbols are as defined
previously.
The numerical results from the fully 3-D and the axi-symmetric simulations are
compared in Figure 2.1 with the Neuman analytical solution. For the bottom and middle
observation points, the numerical and analytical solutions are in excellent agreement. For
the top observation point, the two numerical solutions are in good agreement, but deviate
from the analytical solution at early time values. This deviation may be due to the impact
of the simplifying assumption of constant saturated thickness and the approximate water-
table boundary conditions used by the analytical solution. Note that our numerical solution
is based on a rigorous variably saturated flow formulation.
The van Genuchten functions were used for both moisture retention as well as
relative permeability.
The soil was assumed to be homogeneous and isotropic. The van Genuchten
relationship was used for the moisture retention curve, while the Brooks Corey
relationship was used to define the relative permeability function.
Modeling Approach and Results
The PCG4 solver was selected to solve the system of matrix equations with a
convergence tolerance of 0.01 cm. An initial time step size of 0.01 days was enlarged by
a factor of 1.2 up to a maximum time step size of 0.05 days. Computed values of
hydraulic head along the base and top of the flow region are plotted in Figure 2.B2 for a
time value of 0.508 days. These results compare very well with results obtained by using
the finite-element model of HydroGeoLogic (1992).
The van Genuchten functions were used to describe the relative permeabilities and
capillary pressure of the air-water system.
Modeling Approach
The domain is uniformly discretized into 3 layers, 15 rows, and 15 columns of
grid blocks (i.e., )z = 100 ft, )x = )y = 5,000 ft). Thus, the value of VCONT (vertical
hydraulic conductivity divided by inter-layer distance between two adjacent nodal layers)
is calculated as . A constant head of zero is prescribed on the west side of top and
middle layers. The initial head distribution required by the code is uniformly set to zero
throughout the domain. The 15 wells are located in Layer 3. While these wells act as
sinks, surface recharge and constant head boundary on the west provide replenishment to
the aquifer system thus maintaining the desired steady flow conditions.
Two separate steady-state simulation runs are performed with: (a) input LAYCON
values of 3, and (b) input LAYCON values of 43 for all the three layers. Note that
LAYCON is a control parameter indicating the aquifer treatment option required for a
particular nodal layer. Case (a) uses the original MODFLOW formulation to compute
horizontal interblock transmissivity and conductance, whereas Case (b) activates the new
option included in the BCF4 Package. (See input instructions of the BCF4 Package.) For
both cases, the SIP Package is used to solve the matrix equation. Other than the difference
in input LAYCON values for the layers, the remaining input data for BCF4 Package and
the other Packages (Basic, Well, Recharge, SIP, and Output Packages) are identical. The
input data files used for the simulations are listed in Appendix B.
To maintain continuous recharge to the flow system, the prescribed recharge rate
is applied to the highest active cell in each vertical column. This is necessary for Case (a)
to allow continuous infiltration if any of the active cells receiving the recharge become
dry. The reason is that variable-head cells convert to no-flow cells if they are dry and do
not transmit recharge to the water table. This is not the case if the new variably saturated
flow option is used [Case (b)] and such a complication in data input is obviated.
1a. Data: ISS IBCFCB HDRY IWDFLG WETFCT IWETIT IHDWET IAXIS IREALSL ICNTRL IVHYC IANIXY ICURVL IOLDHDR
Format: I10 I10 F10.0 I10 F10.0 I10 I10 I10 I10 I10 I10 I10 I10 I10
*** Enter item 1b only if tabulated retention and permeability functions are used (IREALSL
= 5 or 6)
(If there are 40 or fewer layers, use one record; otherwise, use more records as needed.)
**Enter item 3 only if air phase flow simulation is required (IREALSL=3 or 4).
3. Data: RHOWP RHOAP VISW VISG COMPWAT COMPAIR ATMGP GRAV INITW
Format: E10.3 E10.3 E10.3 E10.3 E10.3 E10.3 E10.3 E10.3 I10
Note that for input LAYCON=40 or 43, the hydraulic conductivity, bottom and top
elevations are input in items 10, 11, and 14, respectively.
*Enter items 10, 11 and 12 only if the input LAYCON value for this layer is one of the
following:
1, 3, 11, 13, 21, 23, 31, 33, 40, 43
**Enter item 13 only if this layer is not the bottom most layer of the grid and if IVHYC =
0.
**Enter item 14 only if the simulation is transient (ISS = 0) and the input LAYCON value
for this layer is one of the following: 2, 3, 12, 13, 22, 23, 33, 43
**Enter item 15 only if the input LAYCON value for this layer is one of the following: 2,
3, 12, 13, 22, 23, 33, 40, 43
**Enter item 16 only if the wetting capability is active (IWDFLG is non-zero) and input
LAYCON value for this layer is one of the following: 1, 3, 11, 13, 21, 23, 31, 33
Note: The WETDRY array is irrelevant for input LAYCON = 40 or 43, and, therefore, item
14 is not needed for the new variably saturated flow scheme.
**Enter items 23, 24 and 25 only if tabular retention input is required (IREALSL= 5
or 6) and input LAYCON is 43. Note that items 23, 24 and 25 are entered once for
each interpolation point, and then repeated for each of the remaining N_HSK
interpolation points of tabular input.
IREALSL -- is a flag indicating that real soil moisture functions are used to define
flow in the unsaturated zone above the water-table.
If IREALSL=0, the pseudo-soil relations are used to define the
water-table.
If IREALSL is greater than 0, then flow in the unsaturated zone is
treated rigorously.
If IREALSL=1, van Genuchten functions are used for retention
and relative permeability characteristics of the
unsaturated layers and water flow is simulated.
If IREALSL=2, van Genuchten function is used to characterize
moisture retention, and Brooks-Corey function is
used for relative permeability characteristics of the
unsaturated layers and water flow is simulated.
If IREALSL=3, van Genuchten functions are used for retention
and relative permeability characteristics of the
unsaturated layers and air flow is simulated.
If IREALSL=4, van Genuchten functions are used to characterize
moisture retention and Brooks-Corey function is
used for relative permeability characteristics of the
unsaturated layers and air flow is simulated.
If IREALSL=5, Tabular input of moisture retention and relative
permeability curves is used to characterize
unsaturated layers and flows of water is simulated.
If IREALSL=6, Tabular input of moisture retention and relative
permeability curves is used to characterize
unsaturated layers and flow of air is simulated.
If IREALSL=7, The bimodal hydraulic conductivity curve of
Mohanty (1997) is used to characterize unsaturated
zone water flow with preferential pathways as
discussed in Section 2.2B.
Note: This flag is required only for input LAYCON=43, 53, 44 or
54.
ICURVL -- is the index for using a curvilinear grid in the areal plane.
If ICURVL =1, a curvilinear grid is used with input of DELR and
DELC required for every node within a layer.
Note that layers are stacked vertically below each
other, hence, DELR and DELC for a node in lower
layers are the same as for the node vertically above
it.
If ICURVL =0, a rectangular grid is used, as in the original
MODFLOW.
LAYCON -- is the layer-type index array. Each element of LAYCON holds the
identification for the respective layer. Read one value for each layer.
Chapter 2: The Block-Centered Flow (BCF4) Package 2-39
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_2-3.wpd
There is a limit of 200 layers. If there are 40 or fewer layers, use one
record; otherwise, use two or more records. Leave unused elements in a
record blank. LAYCON is the parameter through which the new options
of the BCF4 Package may be implemented, as discussed below.
The BFC4 Package supports 20 different input LAYCON values. These values are
input in I2 format. From this value, the first digit (tens), if any, determines the application
of the type of interblock transmissivity function depending on the value of the digit. The
second digit (ones) of the input LAYCON value determines the layer characteristics as in the
original model. The meaning of the second digit is as follows (McDonald and Harbaugh,
1988):
0 - Strictly confined -
Transmissivity and storage coefficient of the layer are
kept constant for the entire simulation.
1 - Strictly unconfined - Transmissivity of the layer varies. It is calculated
from the saturated thickness and hydraulic
conductivity. The storage coefficient is constant in
time. This code is valid only for Layer 1.
2 - Confined/Unconfined - Transmissivity of the layer is kept constant. The
storage coefficient may alternate between confined and
unconfined values.
3 - Confined/Unconfined - Transmissivity of the layer is allowed to vary. It is
calculated from the saturated thickness and hydraulic
conductivity. The storage coefficient may alternate
between confined and unconfined values.
The above description can be summarized as follows (Goode and Appel, 1992):
The meaning of the LAYAVG (tens digit with a factor of ten) is as follows:
Stored
LAYAVG Value Meaning
0 Harmonic mean interblock transmissivity (McDonald and
Harbaugh, 1988)
10 Arithmetic mean interblock transmissivity (Goode and Appel,
1992)
20 Logarithmic mean interblock transmissivity (Goode and
Appel, 1992)
30 Arithmetic mean saturated thickness times logarithmic mean
hydraulic conductivity (Goode and Appel, 1992)
40 Harmonic mean interblock hydraulic conductivity introduced
in BCF4 Package. Note that this LAYAVG value is to be
used when the rigorous unconfined storage schemes are
implemented.
50 Arithmetic mean interblock hydraulic conductivity. Except
for hydraulic conductivity calculation, LAYAVG=50 is
treated the same as LAYAVG=40.
Thus, the tens part of the input LAYCON value is stored in array LAYAVG, and
the ones part of the input LAYCON is stored in LAYCON array. The stored values of
LAYAVG determines the method of computing interblock transmissivity (when LAYAVG
= 10, 20, 30, 40, or 50).
TRPY – is a 1-D array containing an anisotropy factor for each layer. It is the ratio
of transmissivity or hydraulic conductivity (whichever is being used) along
a column to transmissivity or hydraulic conductivity along a row. Set to 1.0
for isotropic conditions. This is a single array with one value per layer. Do
not read an array for each layer; include only one array control record for
the entire array. If the value is the same for all layers, the entire array can
be specified by setting LOCAT to 0 and setting CNSTNT to the value that
applies to all layers. See below for explanation of LOCAT and CNSTNT.
DELRCV – is the cell width along rows for a curvilinear grid. This is a 2-D array
containing one value for each NCOL column, for each of the NROW
rows of a layer.
DELC – is the cell width along columns. Read one value for each of the NROW
rows. This is a single array with one value for each row.
Note: DELC array is NOT read for an axi-symmetric simulation
(IAXIS>0).
DELCCV – is the cell width along columns for a curvilinear grid. This is a 2-D
array containing one value for each of the NCOL column, for each of
the NROW rows of a layer.
ZWT – is the elevation of water table in the domain used as a reference for air
flow calculation.
PWC – is the hydraulic head in the water phase used as a reference for air flow
calculations.
SF1 -- is the primary storage coefficient, the storability. Read only for a transient
simulation (steady-state flag, ISS, is 0). For input LAYCON equal to 1, 11,
21, or 31, SF1 will always be specific yield, while for input LAYCON equal
to 2, 12, 22, 3, 13, 23, 33, 40, or 43, SF1 will always be confined storage
coefficient. For input LAYCON equal to 0, 10, or 20, SF1 would normally
be confined storage coefficient. The primary storage coefficient divided by
the block thickness is equal to the specific storage (Ss) of equations (1) and
(2).
Note (1): An input LAYCON value of 0, 10, or 20 can also be used to
simulate water-table conditions where drawdowns are expected to remain
everywhere a small fraction of the saturated thickness and where there is no
layer above, or flow from above is negligible. In this case, specific yield
values would be entered for SF1.
VHY – is the vertical hydraulic conductivity of each cell. VHY is read only
for a layer represented by one of the following input LAYCON values:
1, 3, 11, 13, 21, 23, 31, 33, 40, 43.
BOT -- is the elevation of the aquifer bottom. Read only for a layer represented by
one of the following input LAYCON values: 1, 3, 11, 13, 21, 23, 31, 33,
40, 43.
VCONT -- is the vertical hydraulic conductivity divided by the thickness, from one
layer to the layer below. The value for a cell is the hydraulic conductivity
divided by thickness for the material between the node in that cell and the
node in the cell below. Because there is not a layer beneath the bottom
layer, VCONT is not specified for the bottom layer.
SF2 -- is the secondary storage coefficient, the specific yield. SF2 is read only if
the simulation is transient (steady-state flag, ISS, is 0) and input LAYCON
value for the layer is one of the following: 2, 3, 12, 13, 22, 23, 33, 43.
Note that SF2 is the porosity when solving for air flow or for Richard’s
equation in the unsaturated zone.
TOP -- is the elevation of the aquifer top. TOP is read only for a layer represented
by one of the following input LAYCON values: 2, 3, 12, 13, 22, 23 ,33,
40, 43.
WETDRY -- is a combination of the wetting threshold and a flag to indicate which
neighboring cells can cause a cell to become wet. If WETDRY < 0, only
the cell below a dry cell can cause the cell to become wet. If WETDRY >
0, the cell below a dry cell and the four horizontally adjacent cells can cause
a cell to become wet. If WETDRY is 0, the cell cannot be wetted. The
absolute value of WETDRY is the wetting threshold. When the sum of
BOT and the absolute value of WETDRY at a dry cell is equaled or
exceeded by the head at an adjacent cell, the cell is wetted. WETDRY is
read only if IWDFLG is not 0 and input LAYCON value is one of the
following: 1, 3, 11, 13, 21, 23, 31, 33.
VANAL -- is the van Genuchten parameter " for unsaturated soils. VANAL is
read only when the input LAYCON value for the layer is 43, and the
real soil moisture functions are requested with IREALSL…0.
VANSR -- is the residual saturation level for unsaturated soil. VANSR is read
only when the input LAYCON value for the layer is 43, and the real
soil moisture functions are requested with IREALSL…0.
H_VAL – is the pressure head value for an interpolation point of tabular input for
moisture retention and relative permeability functions. H_VAL is read
only when the input LAYCON value for the layer is 43, and tabular
input of functions is requested with IREALSL=5 or 6.
S_VAL – is the corresponding water saturation value for interpolation point with
associated value of H_VAL. S_VAL is read only when the input
LAYCON value for the layer is 43, and tabular input of functions is
requested with IREALSL=5 or 6.
K_VAL – is the corresponding relative permeability value for the active flowing
phase, for interpolation point with associated value of H_VAL.
K_VAL is read only when the input LAYCON value for the layer is
43, and tabular input of functions is requested with IREALSL=5 or 6.
3.1 GENERAL
HydroGeoLogic, Inc., added to the U.S. Geological Survey Modular Groundwater
Flow Model, MODFLOW, new well packages that simulate a wellbore as a high-
conductivity fracture tube. These packages, which are an alternative to the existing well
package (WEL1 Package) in MODFLOW, are referred to as the Fracture-Well (FWL4 and
FWL5) Packages. Fracture-Well Packages are designed to overcome several problems
associated with the original WEL1 Package.
First, the FWL4 and FWL5 Packages emulate flow through multilayer wells. This
is because the fracture tube representation allows connection of aquifer cells (nodes) that are
associated with the well with 1-D finite diameter cylindrical well-cells. Additionally, the
total withdrawal rate prescribed for the well is rigorously incorporated. Volumetric fluxes
from each individual node associated with the fracture well are automatically computed by
the code, to sum to the total withdrawal from the well. On the other hand, the original
WEL1 Package implements only a source/sink term at an aquifer node representing a well.
Therefore, it requires the user to determine the contribution of each node to a physical well
that penetrates two or more nodes. These nodal flux contributions are typically estimated
such that the prescribed withdrawal rate is apportioned according to the transmissivities of
the contributing well nodes. Such an estimation might itself be a serious error thus
misrepresenting the physical system. Furthermore, for unconfined systems, prescribing the
nodal fluxes according to the WEL1 Package could cause computational difficulties. The
FWL4 and FWL5 Packages, however, automatically apportion the net well withdrawal
(input by the user) to the well nodes. For each time step, the computed nodal fluxes may
vary substantially, as is the case in the event of desaturation and resaturation of individual
layers.
Another feature of the new FWL4 and FWL5 Packages is that for an overpumped
unconfined system, the total well withdrawal is automatically adjusted when the water level
in the well has reached the well bottom. At this stage, the hydraulic head at the bottom well
node is fixed at well-bottom conditions, and the total withdrawal is computed to correspond
to the feasible quantity that the well can supply under these conditions. If a situation occurs
whereby the withdrawal demand is less than what the well can supply at bottom-hole
pressure conditions (i.e., say the pumping is reduced for a particular period or recharge is
increased), the hydraulic heads at the well nodes will bounce back to reflect these new
conditions, and the well will provide the full withdrawal demand. The previous WEL1
Package does not physically adjust the pumping rate when the water level drops below the
bottom of the well. Instead, it continues the computation into the non-physical realm, with
the head values at the well nodes continually dropping below the well-bottom elevation. On
other occasions, the WEL1 Package causes the system to become computationally unstable
by cyclically drying and wetting the pumping cells between iterations.
The FWL4 and FWL5 Packages also implement well-bore storage, which is
neglected in the previous versions of MODFLOW. The differences between the FWL4 and
FWL5 packages is that the FWL4 package assumes superposition to add the well-flow
equations to those of the porous matrix while the FWL5 package uses a logarithmic well
function to depict flow from the matrix block to the well node. Thus, a refined areal
discretization is still required in the vicinity of each well if the user is interested in accurate
predictions of local drawdowns with the FWL4 package.
Finally, the FWL4 and FWL5 Packages are intended for use only with the rigorous
variably saturated simulation option (i.e., input LAYCON = 40 or 43) of the BCF4 Package.
The following sections of this chapter provide further elaboration on the capabilities of the
FWL4 and FWL5 Packages and include a brief discussion of the formulation and
(24)
where l is the distance along the well screen (L), is the hydraulic conductivity of the
well ( ), is the relative permeability within the well, is the dimensionless
saturated thickness of the well cell (ratio of saturated thickness to cell thickness), is the
well-bore specific storage (L–1), and is the hydraulic head in the well (L).
Pseudo-soil functions are used to define unsaturated flow behaviors in fracture wells,
as discussed in the BCF4 Package documentation (Chapter 2), such that the water-table
condition within a well cell is accurately represented by vertical equilibrium conditions. The
saturated hydraulic conductivity of the wellbore, which is estimated from laminar flow
theory by applying the Hagen-Poiseuille equation, may be expressed as (Sudicky et al.,
1995):
(25)
where Qmwk is the matrix to well flux in layer k; krk is the relative permeability, Kk and
Thickk are the horizontal conductance and thickness of the matrix block, hmk is the head in
the matrix block for layer k, hwk is the head in the well node at layer k, Sk is the skin factor
coefficient and re is the effective radius of the matrix block defined as (Halford and Hanson,
2002; Neville and Tonkin, 2004).
(27)
where )x and )y are the horizontal grid block dimensions of the cells containing the well.
The FWL5 package then seeks simultaneous solution for heads in the well and porous matrix
block nodes, which are distinct from each other; therefore, the porous matrix grid-block
does not require refinement around the wells for better accuracy of well flows, heads and
extraction conditions.
Information required from the user by the FWL4 and FWL5 Packages include: well
locations, identification of the top and bottommost layers in which a particular well is
screened, well bottom elevations, radii of the wells, withdrawal (–ve) or injection (+ve)
rates (L3 T –1 ) from the wells, and well-bore specific storage values (L–1). In addition, the
FWL5 package also requires input of a skin friction coefficient and of initial heads in the
well the instant any well is activated at any stress period. The FWL4 and FWL5 modules
organize the geometric information, compute K l using equation (25), and apply the discrete
fracture-well equation (24) to the respective well nodes. Withdrawals or injections are then
applied to the bottom most screened layer in the wells for every stress period. The
formulation appropriately distributes the stresses among the well nodes. Finally, when
necessary, a switching of boundary conditions at the well nodes (i.e., from prescribed fluxes
to prescribed heads) is performed automatically as described below.
Withdrawal continues at the prescribed rate in each well until the water level in the
well reaches the well bottom. This bottom elevation of a well is physically located anywhere
in the lowest nodal layer that is screened. When the piezometric head at the lowest well
node corresponds to the bottom elevation of a well, the head values are held fixed and the
well yield is allowed to fall below the demand and up to zero. If at a later stage, the aquifer
system recovers and the well yield increases to be larger than the demand, or if the demand
drops below the yield, the well reverts to withdrawing water at the prescribed pumping rate.
The total well yield and contributions of each layer to the well yield are reported in the
output file. In the following sections, illustrative examples are provided to verify and
demonstrate the applications of the FWL4 and FWL5 Packages.
3.3 VERIFICATION EXAMPLE
The Fracture-Well Package (FWL4) option is verified by comparing numerical
results with the analytical solutions obtained by Theis (1935) and Papadopulos and Cooper
(1967) for drawdown in a homogeneous aquifer with a constant discharge well. Unlike the
Theis solution, the solution of Papadopulos and Cooper accounts for well-bore storage.
Hence, two simulations are performed, one with and one without well-bore storage, to test
the numerical scheme used in FWL4.
Modeling Approach
The domain is discretized into 3 layers, 15 rows, and 15 columns ()x = )y = 5,000
ft and )z = 100 ft). The value of VCONT (vertical hydraulic conductivity divided by inter-
layer distance between two adjacent layers) is calculated as 10 – 6 s –1. A constant primary
storage coefficient (specific storage times block thickness) of 10–4 is specified for each layer.
A constant head of zero is prescribed on the west side of top and middle discretized layers.
The 0.4 ft diameter well is located at the center of the domain (Row 8, Column 8) and is
screened in all 3 layers to the bottom of the aquifer. The withdrawal demand is 10 ft 3/s for
the first 2.5 years. Note that the Fracture-Well (FWL4) Package automatically adjusts the
pumping rate when the aquifer can not supply the specified withdrawal rate (i.e., when water
level in the well reaches the well bottom). Pumping is stopped in the second stress period
for 4 years to allow aquifer recuperation. As the well is fully penetrating, the top and
bottom of the well are located in Layers 1 and 3, respectively, and the well bottom elevation
is specified as –250 ft.
A transient simulation is performed using the BCF4 (variably saturated flow option
of input LAYCON=43) and FWL4 Packages. The PCG4 Package is used to solve the matrix
equation. The input data files used for the simulation are listed in Appendix C.
Initial piezometric heads in all aquifers are zero throughout the domain. The left (west)
boundary in the figure is a constant-head boundary with zero head and the remaining
boundaries are no-flow boundaries. A fully penetrating well of 0.4 ft diameter and well-bore
specific storage of 10 – 6 ft –1 is located at the center of the domain. Pumping from the well
is stopped after operating at 5 ft 3/s for a period of three years (Figure 3.8). The aquifers
are then allowed to recuperate for 9 years. The hydraulic parameters for the three aquifers
are as follows:
Hydraulic Conductivity (Kxx, Kyy, Kzz) = 10 – 4 ft/s
Specific Yield (Sy) = 0.1
Specific Storage (Ss) of Aquifer 1 = 1.11 x 10 – 5 ft – 1
Specific Storage (Ss) of Aquifer 2 = 2.50 x 10 – 5 ft – 1
Specific Storage (Ss) of Aquifer 3 = 3.33 x 10 – 5 ft – 1
Initial heads in the top aquifer are uniformly set at 10 ft. Initial heads in the bottom
aquifer are uniformly set at 30 ft. The hydraulic conductivity and specific storage values are
K=100 ft/d and S=0.0001 for the top aquifer, and K=400 ft/d and S=0.0001 for the
bottom aquifer. The well fully penetrates both aquifers and has a well-bore radius of 0.5 ft.
Modeling Approach
This problem was solved using both FWL4 and FWL5 packages. Each aquifer in
the domain is treated as a separate nodal layer with zero vertical leakage through the
confining bed. The FWL5 simulations use a uniformly spaced grid of 100 columns and 100
rows with a grid spacing of 470 ft. Initial heads in the well are the same as those in the
adjacent layer.
The FWL4 simulations use a variably spaced grid with a finer grid spacing
adjacent to the well. The first case (confined) simulation is conducted till 1.2 days to
exclude comparisons at later times when lateral boundary effects may interfere with
the analytical solution results. The second case (unconfined) simulation is conducted
till 160 days to allow the heads in the well to reach bottom-hole conditions.
Results and Discussions
The temporal variation of water level and flux at the well for the first (confined)
simulation case are presented in Figures 3.15 and 3.16 respectively. Results for the FWL4
and FWL5 cases match the analytical solution thus verifying the FWL4 and FWL5 packages.
Note that comparisons in the figures are for simulations with the MNW package which
compare very well with the analytical solutions (Neville and Tonkin, 2004). Further, the
FWL4 package provides correct heads and approportioning of fluxes between the two aquifer
layers with a refined grid around the well. Figures 3.17 and 3.18 present the temporal
variation of head and flux at the well for the second (unconfined) simulation case. Results
for the FWL4 and FWL5 package match closely indicating that both packages with different
well approximations provide similar results. Further, both packages can successfully handle
well drying conditions.
The FWL4 Package can only be used with the new LAYCON options of the BCF4
Package (i.e., input LAYCON = 40 or 43).
3.5.2 FWL4 Input
Input for the Fracture-Well (FWL4) Package is read from the unit specified in
IUNIT (21). To invoke the FWL4 Package, an input LAYCON value of either 40 or 43 must
be used for all the layers in the model grid.
Input data for the FWL4 Package primarily consists of well locations, top and
bottom layers in which each well is screened, the bottom elevations and radii of the wells,
withdrawal (–ve) or injection (+ve) rates, and well-bore specific storage (L–1). Information
for each well is specified in one record in a given stress period. The number of records in
a stress period depends on the number wells in the domain.
1. Data: MXFWEL IFWLCB FCONST IFREWL4 MUTWL4
Format: I10 I10 F10.0 I10 I10
The value of FCONST depends on the length and time units used in preparing input
data sets. The following table presents FCONST values in different length and time units:
FCONT Value in dimensions
If the length and time units used in the simulation are different from those given in the above
table, the equivalent value of FCONST must be computed using the relation given above.
IFREWL4 -- is a flag to read data items 2 and 3 of the FWL4 file in free format.
If IFREWL4 = 0, the FWL4 file is read in default format as noted in the
input instructions.
If IFREWL4 = 1, data items 2 and 3 of the FWL4 file are read in free
format.
MUTWL4 -- is a flag to suppress printout of FWL4 inputs in the output file.
If MUTWL4 = 0, FWL4 input read for every stress period is printed to the
output file.
If MUTWL4 = 1, printing of FWL4 input to the output file at every stress
period is suppressed, warnings would still be printed.
ITMP -- is the number of wells (including all unplugged wells) in a given stress
period.
Note: Unless either a new well is drilled or an old well is plugged, ITMP
remains constant and is equal to MXFWEL. In other words, an existing
well that is not discharging/recharging must be included in the data for each
stress period with its Q value set to zero.
LSTART -- is the layer number of the model cell that contains the top of the well
screen.
LEND -- is the layer number of the model cell that contains the well bottom.
Row -- is the row number of the model cell that contains the well.
Column -- is the column number of the model cell that contains the well.
Elevation -- is the elevation of the well bottom. Physically, this elevation should lie
within the bottom layer (LEND) of the well.
Radius -- is the radius of the well in the same units as any other length units used in
the simulation. Setting the radius of the well to zero effectively disconnects
the well fracture elements, since the fracture well conductivity (K R in
equations (1) and (2)) becomes zero. (The storage of the well also becomes
zero as a result of the well volume being zero).
Q -- is the volumetric flux (L3 T–1) into the well. A positive value indicates
injection of water in the well and a negative value indicates discharge from
the well.
Storage -- is the well-bore specific storage (Sfs ) given by the following formula: Sfs =
, assuming a saturated simulation for the aquifer, where L s
1. Data: MXFWEL5 IFWL5CB FCONST5 IFWL5HD IFWL5CC INITH5 ICNTF IFREWL5 MUTWL5
Format: I10 I10 F10.0 I10 I10 I10 I10 I10 I10
** Enter the remaining items (3, 4, 5 and 6) for each stress period.
3. Data: ITMP
Format: I10
** Enter items 4, 5 and 6 only if ITMP >0, for each of the ITMP = NCHANGE number of
wells that are activated or de-activated.
** Enter item 5 only if SKINI < 0 (also ITMP and IBOUNDF5 for this well have to be greater
than zero).
Note that LSTART and LEND are starting and ending layers of well LWELL and are defined
for all wells via data item 2.
** Enter item 7 only if INHD = 1 and also if ITRAN ≠ 0. (also ITMP and IBOUNDF5 for
this well have to be greater than zero).
Note: Item 7 is to be repeated (for each species) for the LSPEC = 1, NSPECI contaminant
species of simulation.
3.5.5 Explanation of Fields Used in FWL5 Input Instructions
MXFWEL5 -- is the maximum number of wells in the simulation. These include wells
that may not be active (sink or source) but still act as a vertical connection
between layers.
IFWL5CB -- is a flag and a unit number for flow simulation.
If IFWL5CB > 0, it is the unit number on which cell-by-cell flow terms
for the well will be recorded whenever ICBCFL (see
Output Control) is set. Default extension of file is
CW5.
If IFWL5CB = 0, cell-by-cell flow terms for the well will not be printed
or recorded.
If IFWL5CB < 0, well injection rate will be printed whenever ICBCFL
is set.
(If IFWL5CB=-1, flux-contribution of each FWL
cell will also be printed.)
FCONST5 -- is the multiplying factor used to compute hydraulic conductivity of the well
given by:
KR = FCONST5 * (Radius)2
where FCONST =
Radius = radius of the well screen [L];
ρ = density of water [M/L3];
g = acceleration due to gravity [L/T 2]; and
: = dynamic viscosity of water .
The value of FCONST5 depends on the length and time units used in preparing
input data sets. The following table presents FCONST5 values in different length and time
units:
FCONT5 Value in dimensions
Time Units
Length
Units
Seconds Minutes Hours Days Years
Meters 1.23E06 7.36E07 4.41E09 1.06E11 3.87E13
Feet 3.74E05 2.24E07 1.35E09 3.23E10 1.18E13
If the length and time units used in the simulation are other than those given in the above
table, equivalent value of FCONST5 must be computed using the relation given above.
IFWL5HD -- is a flag and unit number for saving FWL5 heads (and
concentrations for transport) to a separate file .
INITH5 -- is a flag and a unit number for reading initial heads for all FWL5
nodes.
If INITH5 = 0, initial heads are read and assigned based on the
flag INHD in data item 4.
If INITH5 >1, it is the Fortran unit number from which the
FWL5 initial heads are read in binary format. The file and
formats for this case are the same as what is produced from a
previous simulation which may represent steady-state conditions
from which to begin a simulation. With this flag, the rest of the
file need not be changed. Heads read based on the INHD flag of
data item 4, are overwritten by heads read from file on unit
number INITH5 with a default extension of 2DF, or 2DR
depending on the state of the flag IFWL5HD of the previous
simulation.
IFREWL5 -- is a flag to read data items 2 to 7 of the FWL5 file in free format.
If IFREWL5= 0, the FWL5 file is read in default format as noted
in the input instructions.
If IFREWL5=1, data items 2 to 7 of the FWL5 file are read in
free format.
SKNF(K) -- is the value of the skin factor for all layers (from LSTART to
LEND) of the well.
Note: Setting a very high value for the skin factor (1020) effectively disconnects that layer’s
porous matrix block from the well thereby simulating casing effects within the layer.
HDFWL5(K) -- is the initial head value for all layers (from LSTART to LEND) of
the well
CONFWL5
(K,LSPEC) -- is the initial concentration value for all layers (from LSTART to
LEND) of species LSPEC, of the well.
Note that TSTARTR and TENDR are referenced to the total simulation time and not to
the stress period time, when multiple stress periods occur in a simulation.
TMULTR - Multiplying factor applied to recharge rates of all the zones for the given
event. This scaling is convenient for unit conversions.
RZ(1) - Recharge rate in Zone 1 for this event.
RZ(2) - Recharge rate in Zone 2 for this event.
•
•
•
A sample RTS file is shown in Table 4.1. In this example, the domain is divided into 8
zones of recharge. No rainfall or precipitation occurs for the first 2.375 days of
simulation, so the simulation would proceed rapidly till the first recharge event, adapting
its time-step size depending on convergence behavior. At 2.375 days, a rainfall event
occurs over some of the zones, for a one hour period, till 2.417 days. At 2.417 days, the
intensity (and/or zone) of the recharge event changes, with these entries occurring in the
second row of the file, and so on. Note that no rainfall event occurs between 2.5 and 4
days, and an entry is not required in the file for this situation.
4.042 4.083 1.0 0.151 0.447 0.333 0.106 0.08 0 0.691 0.633
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
5.2 FORMULATION OF ADAPTIVE TIME-STEPPING USED IN THE ATO4
PACKAGE
The adaptive time-step size selection scheme implemented in the ATO4 Package
is simple and effective. The user supplies an initial time-step size (DELT), a maximum
time-step size (TMAX), a minimum time-step size (TMIN), a time-step enlargement factor
(TSMULT), and a time-step reduction factor (TSDIV) for each stress period of length
PERLEN. The initial time-step size, DELT, is used for the first time-step of the stress
period. If convergence is achieved within 35% of the maximum number of iterations
(MXITER), the time-step size is increased by the multiplying factor TSMULT. For a
convergence rate between 35% and 65% of MXITER, the time-step size is unaltered from
the previous DELT, and the convergence behavior of the system is considered optimal for
this value of DELT. If, however, the number of iterations required to achieve
convergence exceeds 65% of MXITER, the time-step size is reduced by a dividing factor
TSDIV. If convergence is not achieved for a particular time-step, the time-step size is
reduced by a factor 5.0 and computations are redone for the smaller time-step size. In
addition, if a print time (i.e., the target time value at which the output printing/saving is
required) is reached, the time-step size is selected to include the print time value. If the
value of DELT is reduced to be smaller than TMIN, the simulation is aborted. This
technique provides a means of exiting the program simulation if severe difficulties are
encountered. Finally, the value of DELT is constrained to be less than or equal to TMAX.
This constraint is significant for accuracy of time discretization, even when the non-
linearities are mild or insignificant. The user is provided with the flexibility of printing
either at specified times using the TMVEC array or after a specified number of time-steps
(NPSTP), or both.
5.3 VERIFICATION EXAMPLE
A transient simulation of pumping in an unconfined aquifer is performed to verify
the ATO4 Package and demonstrate its implementation. The selected problem is depicted
in the BCF4 Package writeup, wherein the simulation is performed using the original
MODFLOW’s time-stepping and output control. A comparison of these two simulation
runs is made in terms of computational efficiency and robustness.
The transient analysis presented in this example considers a 300-ft thick
unconfined aquifer, shown in Figure 5.1. The modeled domain corresponds to a square
of dimensions 75,000 ft x 75,000 ft. The top and bottom of the aquifer are at elevations
of 50 and -250 ft, respectively. Initial groundwater levels in the aquifer are at zero
throughout the domain. The domain is subject to a uniform and continuous recharge of
3.0 x 10–9 ft/s. The left (west) boundary in the figure is a constant (zero) head boundary
with the remaining boundaries being no-flow boundaries. Fifteen wells are screened over
100 ft of the aquifer bottom and located as shown in Figure 5.1. Each well is pumped at
a high rate of 3.85 ft 3/s. Pumping from the wells is stopped after four years. (See Figure
5.2.) The aquifer is then allowed to recuperate for 12 years. The aquifer parameters are:
Horizontal hydraulic conductivity, K xx. Kyy = 10–4 ft/s
Vertical hydraulic conductivity, K zz = 10–5 ft/s
Specific Yield, S y = 0.03
Specific Storage, S s = 10–6 ft–1
5-2 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Figure 5.1 A Schematic Diagram of the Unconfined Aquifer System.
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Figure 5.2 Applied Pumping Stress at Each Well for Transient Analysis of the
Unconfined Aquifer System.
5-4 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Modeling Approach
The domain is discretized into 3 layers, each 100 ft thick with 15 rows and 15
columns of a uniform block of 5,000 ft areally. Thus, the value of VCONT required by
MODFLOW (vertical hydraulic conductivity divided by inter-layer distance between any
two layers) is calculated as 10–7 s–1. A constant primary storage coefficient (specific
storage times block thickness) of 10–4 is specified for each layer. A constant head of zero
is prescribed on the west side of top and middle discretized layers. Initially, the head in
the domain is assumed to be zero. Fifteen wells located in Layer 3 are allowed to pump
at a rate of 3.85 ft 3/s over the first 4 years. Pumping is stopped during the subsequent
period of 12 years, to allow aquifer recuperation.
Two separate transient simulation runs are performed, using (1) the existing
MODFLOW time-stepping and output control, and (2) using the new automatic time-
stepping and output control (ATO4) package. These two simulations are referred as Case
(1) and Case (2), respectively. The unconfined flow option of input LAYCON = 43 was
selected for both cases. The SIP Package is used to solve the matrix equations for both
cases. Time-step control parameters for Case (1) include: MXITER = 50, DELT =
7.875 x 10 6 s, and TSMULT = 1. Time-step control parameters for Case (2) include:
MXITER = 50, DELT = 7.875 x 10 6 s, TSMULT = 1.7, TSDIV = 2.0, TMAX = 2
x 10 7 s, and TMIN = 8 x 10 5 s. The input data files using the ATO4 Package [Case (2)]
are listed in Appendix E.
Results and Discussions
This problem has been examined previously, in the context of the BCF4 package.
This section focuses on comparison of the old and new time-stepping schemes, as applied
to the example problem. Figures 5.3 and 5.4 compare head distributions in layers 1 and
3 respectively, at the end of the pumping period (t=4 yr) for both cases, and Figures 5.5
and 5.6 compare head distributions in layers 1 and 3 respectively, at the end of the
simulation period (t=16 yr). Comparison of the results is excellent, and the ATO4
package performance is verified.
The number of nonlinear iterations required to complete the simulation were 544
iterations for Case 1, and 412 iterations for Case 2. The CPU times for the Case 1 and
Case 2 simulations were 33 seconds and 19 seconds, respectively. The ATO4 package
automatically selects the optimal time-step size for Case 2, thereby making the simulation
more efficient than for Case 1. Note that the simulation for Case 1 was aborted (due to
failure of convergence) if a TSMULT value of 1.7 was used to increment the time-step
size, as was done in Case 2. Further, if the maximum iteration count were more
restrictive (say MXITER=25 instead of 50), Case 1 simulations would abort, while Case
2 simulations would cut the time-step size for unsuccessful iterations, and proceed until
the simulation is completed.
Finally, note that the ATO4 Package used in Case 2 allows for flexibility in
output, and the user may demand output at 3.2 years and 4 years of simulation as is noted
in the output file. The simulation will perform optimally (using large time-step values
possibly exceeding 0.8 years) until it comes to 3.2 years, upon which the simulation solves
the system at both 3.2 and 4 years. The previous MODFLOW versions do not allow this,
and predetermining the time-step at which one wishes to have output, can be tedious.
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Figure 5.3 Head Distributions in Layer 1 at the End of Pumping (First) Period
(t=4 yr) Showing Comparison between the Previous and New Time-
Stepping Schemes.
5-6 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Figure 5.4 Head Distributions in Layer 3 at the End of (First) Stress Period (t=4
yr) Showing Comparison between the Previous and New Time Stepping
Schemes.
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-7
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Figure 5.5 Head Distributions in Layer 1 at the End of Recovery (Second) Period
(t=16 yr) Showing Comparison between the Previous and New Time-
Stepping Schemes.
5-8 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
Figure 5.6 Head Distributions in Layer 3 at the End of Recovery (Second) Period
(t=16 yr) Showing Comparison between the Previous and New Time-
Stepping Schemes.
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-9
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
5.4 INPUT INSTRUCTIONS FOR THE ATO4 PACKAGE
5.4.1 General
Input to the ATO4 Output Control is read from the unit specified in IUNIT (22).
The previous output option, which is specified in IUNIT (12), is ignored if the new ATO4
Package is activated. If both IUNIT (12) and IUNIT (22) are zero, no output control data
are read, and default output control is used. Under the default, head and total budget are
printed at the end of every stress period (McDonald and Harbaugh, 1988). Similar to the
old output control package, all printer output goes to unit 6 as specified in the main
program. If necessary, the unit number for printer output can be changed to meet the
requirements of a particular computer.
The ATO package further includes flags and parameters to restart (or continue)
a simulation from a non-zero time value. This capability is active when the variable
TCNTNU is non-zero and represents the time value (in simulation units of time) from
which the simulation is restart. The first time-step size value of the restart simulation is
also then input in variable DTCNTNU (in simulation units of time). When this is the case,
the simulation will wind itself up to time TCNTNU (appropriately winding stress period
information on boundary conditions and time values of the recharge or ET time-series
files) and proceed from that point onwards with the first time-step size being DTCNTNU.
Initial heads (and concentrations for transport) as well as values of initial storage in
interception in the IPT package and initial values of the ON/OFF switch of regulated
structures in the CHF package (for MODHMS) are obtained from the respective initial
conditions as input for the simulation. Further flags are available for direct input of
starting heads from the binary HDS file (and/or starting concentrations from the CON file)
of a previous MODHMS simulation for the same problem. When the flag (and unit
number) ICNTNU is set to a positive number, the file containing starting heads (all binary
head outputs of a previous run) is opened on the specified unit number (and with default
extension of HDC—which may be obtained by renaming the previous simulation’s HDS
file to extension HDC) and the file is wound up till the specified time (TCNTNU) is
reached. The head values (in all simulated domains) available in the file at this time value
(or greater, if data is not available for time TCNTNU) are used for starting the current
restart simulation. Similarly, when the flag and unit number, ICNTNUC is set to a
positive value, and when a transport simulation is performed, the file containing starting
concentrations is opened on the specified unit number (and containing default extension
of COC—which may be obtained by renaming the previous simulation’s CON file to
extension COC). This file is then wound up to the time value of TCNTNU (or greater)
to obtain initial concentrations for all simulation domains (which include immobile and
mobile domains in the subsurface for dual porosity cases, and, the OLF surface and the
CHF domain as appropriate) and all species of the restart simulation.
5.4.2 ATO4 Input
5-10 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
3. Data: DELT TMIN TMAX TSMULT TSDIV NPRTS NPSTP
Format: F10.0 F10.0 F10.0 F10.0 F10.0 I10 I10
**Enter item 4 only if NPRTS > 0.
4. Data: TMVEC(NPRTS)
Format: 8F10.0 (number of records = NPRTS/8 + 0 or 1)
**Enter item 5 only if INCODE $ 0.
5. Data: Hdpr Ddpr Hdsv Ddsv Conpr Consv
Format: I10 I10 I10 I10 I10 I10
(Record 5 is read 0, 1, or NLAY times, depending on the value of INCODE.
5.4.3 Explanation of Fields Used in Input Instructions
IHEDFM – is a code for the format in which heads will be printed.
IDDNFM – is a code for the format in which drawdowns will be printed. Format
codes have the same meaning for both head and drawdown. A positive
format code indicates that each row of data is printed completely before
starting the next row. This means that when there are more columns in
a row than will fit on one line, additional lines are used as required to
complete the row. This format is called the wrap format. A negative
format code indicates that the printout is broken into strips where only
that number of columns that will fit across one line are printed in a strip.
As many strips are used as are required to print the entire model width.
This format is called the strip format. The absolute value of the format
code specifies the printout format as follows.
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-11
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
TCNTNU – Flag and time value for continuation of a previous simulation. If
TCNTNU = 0, the simulation is NOT a continuation of a previous
simulation. If TCNTNU > 0, the simulation continues from a previous
simulation, from the time value provided for this input.
DTCNTNU - time-step size value used for the continuation simulation from time value
of TCNTNU. If the simulation is not a continuation simulation, this
variable is not required/used.
ICNTNU – Flag and unit number for reading restart heads from an external file
created by a previous simulation.
If ICNTNU = 0, do not look for restart heads in a file created by a
previous simulation.
If ICNTNU > 0, it is the Fortram unit number from which to read heads
for the restart simulation (on file with extension HDC). The file will be
wound to the appropriate time value (TCNTNU) to obtain the required
starting heads.
ICNTNUC – Flag and unit number for reading restart concentrations from an external
file created by a previous simulation (when a transport simulation is
performed).
If ICNTNUC = 0, do not look for restart concentrations in a file created
by a previous simulation.
If ICNTNUC > 0, it is the Fortram unit number from which to read
concentrations for the restart simulation (on file with extension COC).
The file will be wound to the appropriate time value (TCNTNU) to obtain
the required starting concentrations.
IUNITMB -- Flag and unit number for saving nodal mass balance terms to a binary file.
If IUNITMB # 0 Node-by-node flux balances are not saved.
If IUNITMB > 0 Node-by-node flux balances are saved to a binary file
with default extension NFB and the value of IUNITMB is the Fortran Unit
number on which the file is written.
INCODE -- is the head/drawdown output code. It determines the number of records
in input item 5.
If INCODE < 0, layer-by-layer specifications from the last time steps
are used. Input item 5 is not read
If INCODE = 0, all layers are treated the same way. Input item 5 will
consist of one record.
If INCODE > 0, input item 5 will consist of one record for each layer.
IHDDFL – is a head and drawdown output flag.
If IHDDFL = 0, neither heads nor drawdowns will be printed or saved
on disk.
If IHDDFL … 0, head and drawdowns (or saturations) will be printed
or saved according to the flags for each layer
specified in input item 5.
IBUDFL -- is a budget print flag for flow simulation.
If IBUDFL < 0, overall volumetric budget will be printed every “n”
timesteps where n=abs (IBUDFL)
If IBUDFL = 0, overall volumetric budget will not be printed.
5-12 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
If IBUDFL > 0, overall volumetric budget will be printed as specified
by either NPRT or NPSTP in Item 5 input.
(Note that the overall volumetric budget will always be printed at the end
of a stress period, even if the value of IBUDFL is zero.)
Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package 5-13
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
according to the flags specified in input item 5. If NPRTS=0, item 4
must be skipped.
NPSTP – is an output printout control parameter. NPSTP=n means that the overall
volumetric budget, heads/drawdowns, and cell-by-cell flow terms will be
printed or saved at every nth time step of the stress period according to
the flags specified in input items 2 and 5. Set NPSTP equal to zero if the
step wise printing/saving is NOT required.
TMVEC -- is a 1-D array containing NPRTS number of print time values at which
printing or saving of volumetric budget, heads/drawdowns, or cell-by-cell
flow terms is desired in a particular stress period. The printing/saving is
performed according to the flags specified in input items 2 and 5. Time
is assumed to be zero at the beginning of a stress period. The print times
must be specified in ascending order of magnitude and the difference
between two successive values must be at least TMIN.
Note: This item must be skipped if NPRTS=0.
Hdpr -- is the output flag for head printout.
If Hdpr = 0, head is not printed for the corresponding layer.
If Hdpr … 0, head is printed for the corresponding layer.
Ddpr -- is the output flag for drawdown printout.
If Ddpr = 0, drawdown is not printed for the corresponding layer.
If Ddpr … 0, drawdown is printed for the corresponding layer.
Hdsv -- is the output flag for head save.
If Hdsv = 0, head is not saved for the corresponding layer.
If Hdsv … 0, head is saved for the corresponding layer.
Ddsv -- is the output flag for drawdown save.
If Ddsv = 0, drawdown is not saved for the corresponding layer.
If Ddsv … 0, drawdown is saved for the corresponding layer.
Conpr -- is the output flag for concentration printout.
If Conpr = 0, concentration is not printed for the corresponding layer.
If Conpr … 0, concentration is printed for the corresponding layer.
Consv -- is the output flag for concentration save.
If Consv = 0, concentration is not saved for the corresponding layer.
If Consv … 0, concentration is saved for the corresponding layer.
5-14 Chapter 5: The Adaptive Time-Stepping and Output Control (ATO4) Package
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\R03-05.355_4-9.wpd
CHAPTER 6: THE PRECONDITIONED CONJUGATE GRADIENT (PCG4)
PACKAGE
CHAPTER 6: THE PRECONDITIONED CONJUGATE GRADIENT (PCG4)
PACKAGE
6.1 GENERAL
The MODFLOW code generates a system of equations describing the groundwater
flow system in a finite-difference form. This set of algebraic equations is normally solved
by using either a Slice Successive Over-Relaxation (SSOR) or a Strongly Implicit
Procedure (SIP) Package. For complex field simulations, efficiency and robustness may
be lacking in these solution routines. A Preconditioned Conjugate Gradient (PCG2)
Package is provided by Hill (1994) to provide MODFLOW with an alternative solver.
The preconditioning schemes in PCG2 are the least squares polynomial preconditioner
presented by Saad (1985) or the optimal Chebyshev polynomial preconditioner of Meyer
et al. (1989). These schemes are chosen primarily on computer storage considerations and
often perform poorly on large-scale field studies. Recognizing this point, we incorporate
the PCG4 Package which contains a PCG solver based on partial LU decomposition as a
preconditioner. Computer storage requirements are more than those required by the
previous solvers in use with MODFLOW. However, the PCG4 solver is simple, robust
and efficient. The solver has been used on many groundwater modeling projects of
various sizes and complexities. The remaining portions of this chapter are devoted to
formulation of the PCG4 package and input instructions for its use.
6.2 FORMULATION OF STANDARD PCG SCHEME
The Preconditioned Conjugate Gradient (PCG) method (see Kershaw, 1978) has
emerged as one of the most promising iterative methods for solving large sparse symmetric
matrix equations generated by finite element or finite difference approximations of multi-
dimensional field problems. A number of recent papers describe successful conjunctive
applications of PCG schemes in conjunction with finite-element and finite-difference
methods to groundwater flow problems. These include publications by Gambolati (1980),
Kuiper (1981, 1987), Gambolati et al. (1986), Kalf (1988), and Meyer et al. (1989).
The symmetric PCG solver implemented into the PCG4 Package of MODFLOW
is based on a two-step procedure developed by Meijerink and van der Vorst (1977) and
extended and implemented by Kershaw (1978) and Anderson (1983). It is used to solve
the system of algebraic equations resulting from the Picard scheme of the finite element
flow formulation. The first step of this PCG algorithm involves preconditioning the finite
difference coefficient matrix A of a general symmetric matrix system Ax = y by
computing an incomplete triangular Cholesky decomposition (LDLT) of A. The second
step involves Conjugate Gradient iterations of an initial guess x0 of the vector x. The CG
recursive equations are as follows:
(26a)
(26b)
(26c)
(26d)
(26e)
(26f)
This scheme is repeated until the L 2 norm or the L 4 norm of the head error is less than
the prescribed tolerance criteria. A general sparse matrix storage scheme is employed for
which the matrix structure is n×R where n is the number of nodes in the system and R is
the global connectivity structure of the discretized system of equations (R is 7 for a 3-D
finite difference structure and 5 for a 2-D finite difference structure).
6.3 INPUT INSTRUCTIONS FOR THE PCG4 PACKAGE
6.3.1 PCG4 Input
Input required by the PCG4 Package is similar to that of the PCG2 Package
implemented in MODFLOW by Hill (1994). The PCG4 iterative solver is a simple
solution scheme requiring only closure tolerance limits and a maximum limit of solver
iterations as input. There are no iteration parameters to be estimated, nor other choices
to be made by the user. A solver-print-control-flag and maximum outer iterations (>1
for unconfined systems) are also requested as input.
Input for the PCG4 Package is read from a unit specified in IUNIT (13) of the
Basic Package input file. The input is as follows:
Note that input parameters in shaded boxes are required only if Newton Raphson
linearization is used as discussed in Chapter 7.
6.3.2 Explanation of Fields Used in Input Instructions
MXITER -- is the maximum number of outer iterations—that is, calls to the solution
routine. For a linear problem MXITER should be 1, unless more than 50
inner iterations are required, when MXITER could be as large as 10. A
larger number (generally less than 100) is required for a nonlinear
problem.
ITERI -- is the maximum number of inner iterations. For nonlinear problems,
ITERI usually ranges from 6 to 600, depending on the problem, and may
be set at 600 with closure controlled by the tolerance limits.
Note that BFACT and RESRED are required only when INEWT = 1.
HCLOSE -- is the head change criterion for convergence. When the maximum
absolute value of the head change at all nodes during an iteration is less
than or equal to HCLOSE the nonlinear iterations are terminated.
Commonly, HCLOSE is set to equal 0.01.
MUTPCG -- is a flag which controls printing from the solver. If MUTPCG = 0, no
printing from the solver is suppressed. If MUTPCG = 1, the solver
iteration summary is suppressed. If MUTPCG = 2, the solver iteration
summary, as well as convergence behavior at each iteration, is
suppressed. Usually this flag should be set to 1 or 2 to prevent lengthy
outputs. Solver convergence behavior at each iteration needs to be
examined only if the solver fails and the convergence is stalling.
(27)
where superscripts k+1 an k denote current and previous time levels respectively, )t is
the time-step size, B is a diagonal storage matrix, A is the flux matrix, h the potentiometric
head, and F is an external flux. In MODFLOW code terminology hk+1 is HNEW, which
is solved for in equation (27); Bk+1/)t is HCOEF, the storage term added to the diagonal
of the left hand side matrix; Ak+1 contains the flow term comprising of CC, CR, and CV
in their respective diagonal an upper diagonal locations; and Fk+1+Bhk/)t is the RHS
vector. For the new schemes in the BCF4 package discussed in Chapter 2, the RHS vector
is assembled using the modified Picard scheme of Cilea et al (1990). The modified Picard
scheme, in effect, applies a Newton type linearization to the storage term so additional
consideration is only required for Newton-Raphson linearization of the flow terms, Ak+1,
of equation (27). This can be expresses as (Huyakorn an Pinder ,1983)
where r and r+1 denote previous and present iteration levels at the current time value and
)hr+1 is the iteration displacement vector or update vector
(29)
Substituting equation (29) in (28) and rearranging yields the Newton expansion for the
flow term as
(30)
where
(31)
(32)
The Aij contribution to the left-hand-side matrix from the flux term is already filled into
the matrix (CC, CR, and CV) during assembly of the system of equations by MODFLOW.
Therefore, the NRB1 package only needs to add the last term in equation (32) to the left
hand side of the system of equations to provide a Newton-Raphson linearization, along
with adding the right-hand-side of equation (30) to the RHS matrix assembled by
MODFLOW.
The left-hand-side matrix of MODFLOW is symmetric. The modified Picard
method applies a Newton type linearization on the storage term which is only on the
diagonal, therefore the matrix remains symmetric. The additional terms of equation (32),
however, create an unsymmetric system of equations which are not compatible with the
solvers that exist in MODFLOW. Therefore, solution to hk+1 is sought for this asymmetric
system using an Orthomin solution scheme (Anderson, 1983a,b; Behie and Vinsome,
1982; Panday et al., 1993). This solver is also used later by the transport routines of
MODFLOW-SURFACT/MODHMS, and is available through use of the PCG4 package
discussed in Chapter 6.
Boundary conditions of MODFLOW do not require any additional treatment for
this Newton-Raphson scheme. Prescribed head boundaries in equation (30) are
(33)
where q is the boundary flux, B is a leakance factor and ho is a known head on the outside
of the boundary. Expressing equation (33) in Newton-Raphson form gives
(34)
with dq/dh obtained from equation (33) as -B. Substituting equations (33) and (29) into
(34) and rearranging gives
(35)
which is the exact form of the respective boundaries assembled by the Picard iteration
scheme of MODFLOW. No additional treatment is therefore required for these
boundaries.
Full Newton iterations may diverge for many situations, and techniques are applied
to stabilize the solution. Oscillatory behavior in solution is dampened by using the
underrelaxation formula of Cooley (1983). The solution is further stabilized by using a
backtracking formula. After each solution for hk+1 by MODFLOW, the norm residual
of equation (27) is calculated. If this residual is larger than a factor of RESRED from the
value at the previous iteration, the update vector for the current iteration is shortened by
a factor of BFACT (note that 0<BFACT<1). This process is repeated until the residual
of the current iteration is within RESRED times its value at the previous iteration, before
proceeding to the next Newton iteration. Strict residual reduction may be enforced by
setting RESRED to less than one. Although additional computational effort is required per
iteration in implementing Newton-Raphson linearization with backtracking, experience has
indicated its robustness to prove more computationally efficient in solving highly nonlinear
problems.
7.3 INPUT INSTRUCTIONS FOR THE NRB1 PACKAGE
Three parameters are required as input for implementing the NRB1 package. The
switch INEWT is input to instruct the code to use the Newton-Raphson formulation. The
asymmetric matrix generated by the Newton scheme renders the symmetric solvers of
MODFLOW useless. Therefore, the switch INEWT is associated with the PCG4 package
discussed in Volume 1, Chapter 5 of the MODFLOW-SURFACT/MODHMS
documentation. When INEWT=1, the Newton Raphson solution scheme with the
Orthomin asymmetric solver is chosen; when INEWT=0, the Picard scheme of
MODFLOW with the symmetric conjugate gradient solver of PCG4 is chosen. Further,
when INEWT is one, the two backtracking parameters, BFACT and RESRED are required
LIST OF: WELL NO., TIME, HEAD, AND CONCS FOR THE ___ SPECIES
OF SIMULATION
LIST OF: WELL NO., TIME AND CONCS FOR THE ___ SPECIES OF
SIMULATION
Appendix C: Input Data for the Fully 3-D Simulation of Withdrawal from an Unconfined
Aquifer
Appendix D: Input Data for the Simulation of Steady-State Seepage Through a Square
Embankment
Appendix E: Input Data for the Transient Simulation of Pumping and Recovery in an
Unconfined Aquifer Using the ATO4 Package
Appendix H: Time Varying Flow and Head Boundary Package with Step Function Option
Natural porous medium systems exhibit a wide range of heterogeneities which must
be accounted for in groundwater flow simulations. The heterogeneities of material
properties are provided to a finite difference model as nodal values for the individual grid
blocks (cells). The original MODFLOW Block-Centered Flow Packages BCF1 and BCF2
use a harmonic mean of the effective transmissivities of adjacent blocks to calculate the
interblock transmissivity. For unconfined systems, the effective transmissivity of a block
is computed as the effective hydraulic conductivity multiplied by the saturated block
thickness.
Harmonic averaging of interblock transmissivities can cause misrepresentations in an
aquifer system, as illustrated in one extreme example depicted in Figure A.1. Consider
A and B to be adjacent grid blocks in an unconfined aquifer being flooded from the left.
The situation at a given instant is such that grid block A has an average water-table
elevation of h a which is above the bottom of the layer, and block B has an average water-
table elevation of h b, below the bottom of the layer. The transmissivity of grid-block A
is some positive value, since h a is above the bottom. The transmissivity of grid-block B
is zero, since its saturated thickness is zero. The Harmonic mean transmissivity is
therefore computed as zero, and grid-block B never saturates, contrary to what is
physically expected.
A more appropriate and physically consistent procedure is to use the Harmonic mean
of the saturated hydraulic conductivities (or fully saturated transmissivities), with a
midpoint (or upstream) weighting on the relative permeabilities (which are related to the
saturated grid-block thickness by the pseudo-soil functions for our variably saturated
scheme implementation). It is noted (Romeu and Noetinger, 1995) that the Harmonic
mean of block conductivities leads to an underestimation of the equivalent conductivity,
and refined grids may be used to overcome this problem (in addition to inaccuracies
associated with grid-averaging of the results). However, the harmonic averaging of head-
dependent transmissivities leads to a further underestimation of aquifer transmissive
property, as is evidenced by the larger drawdowns near wells predicted by the previous
package of MODFLOW (see Problems 1 and 2 of the BCF4). Further, this problem may
not be overcome by grid refinement.
Appendix A A-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
Figure A.1 A Case of Adjacent Grid Blocks Where Harmonic Averaging of
Head-Dependent Transmissivities Is Inadequate.
A-2 Appendix A
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
APPENDIX B:
INPUT DATA FOR THE SIMULATION OF STEADY-STATE
PUMPING IN AN UNCONFINED AQUIFER
The input data sets used for the steady-state simulation of an unconfined aquifer
system are listed in this Appendix. Two simulations were performed using: Case(a) the
original MODFLOW option and Case(b) the variably-saturated flow option of the BCF4
Package. The problem description is presented in Section 2.4.1 of the BCF4 Package.
The input data files are listed in the following order:
1. The Basic Flow (BAS) Package Input
2a. The Block-Centered Flow (BCF4) Package Input for Case (a)
2b. The Block-Centered Flow (BCF4) Package Input for Case (b)
3. The Well (WEL) Package Input
4. The Recharge (RCH) Package Input
5. The Strongly Implicit Procedure (SIP) Package Input
6. The Output Control (OC) Package Input.
Appendix B B-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
1. The Basic Flow (BAS) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
SAMPLE PROBLEM FOR STEADY-STATE SIMULATION
BASIC MODEL WITH RECHARGE AND WELLS
3 15 15 1 1
11 12 0 0 0 0 0 18 19 0 0 22
1 1 IAPART,ISTRT
1 1(15I3) 3 IBOUND-1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1(15I3) 3 IBOUND-2
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
B-2 Appendix B
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 1 IBOUND-3
999.99
0 0. HEAD-1
0 0. HEAD-2
0 0. HEAD-3
1.26E08 1 1.0 PERLEN,NSTP,TSMULT
2a. The Block-Centered Flow (BCF4) Package Input for Case (a)
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
1 0 777.7 0 0.0 0 0
333
0 1. TRPY
0 5000. DELR
0 5000. DELC
0 0.0001 HY-1
0 -50. BOT-1
0 1.0E-7 VHY/THICK-1
0 50. top-1
Appendix B B-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
0 0.0001 HY-2
0 -150. BOT-2
0 1.0E-7 VHY/THICK-2
0 -50. top-2
0 0.0001 HY-3
0 -250. BOT-3
0 -150. top-3
2b. The Block-Centered Flow (BCF4) Package Input for Case (b)
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
1 0 777.7 0 0.0 0 0
434343
0 1. TRPY
0 5000. DELR
0 5000. DELC
0 0.0001 HY-1
0 -50. BOT-1
0 1.0E-7 VHY/THICK-1
0 50. top-1
0 0.0001 HY-2
0 -150. BOT-2
0 1.0E-7 VHY/THICK-2
0 -50. top-2
0 0.0001 HY-3
0 -250. BOT-3
0 -150. top-3
B-4 Appendix B
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
Appendix B B-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
3. The Well (WEL) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
15 0 MXWELL,IWELBD
15 NWELL
3 5 11 -0.95
3 4 6 -0.95
3 6 12 -0.95
3 9 8 -0.95
3 9 10 -0.95
3 9 12 -0.95
3 9 14 -0.95
3 11 8 -0.95
3 11 10 -0.95
3 11 12 -0.95
3 11 14 -0.95
3 13 8 -0.95
3 13 10 -0.95
3 13 12 -0.95
3 13 14 -0.95
B-6 Appendix B
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
5. The Strongly Implicit Procedure (SIP) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
500 5 MXITER,NPARM
1. .0001 0 .001 1 ACCL,ERR,IPCALC,WSEE
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
12 9 0 0
0 1 1 1
1 0 0 0
Appendix B B-7
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
APPENDIX C:
INPUT DATA FOR THE FULLY 3-D SIMULATION OF
WITHDRAWAL FROM AN UNCONFINED AQUIFER
The input data used for the fully 3-D simulation of withdrawal from an unconfined
aquifer are presented in this Appendix. The problem description is presented in Section
3.4.1 of the FWL4 Package. The input data files are listed in the following order:
1. The Basic Flow (BAS) Package Input
2. The Block-Centered Flow (BCF4) Package Input
3. The Fractured-Well (FWL4) Package Input
4. The Preconditioned Conjugate Gradient (PCG4) Package Input
5. The Output Control (OC) Package Input
Appendix C C-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
1. The Basic Flow (BAS) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
SAMPLE PROBLEM FOR TRANSIENT SIMULATION
WITH A FRACTURE-WELL
3 15 15 2 1
11 00 0 0 0 0 0 00 00 0 0 22 13 21
1 1 IAPART,ISTRT
1 1(15I3) 3 IBOUND-1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1(15I3) 3 IBOUND-2
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
C-2 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 1 IBOUND-3
999.99
0 0. HEAD-1
0 0. HEAD-2
0 0. HEAD-3
7.88E07 80 1.0 PERLEN,NSTP,TSMULT
1.26E08 192 1.0 PERLEN,NSTP,TSMULT
Appendix C C-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
2. The Block-Centered Flow (BCF4) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
0 0 777.7 0 0.0 0 0
434343
0 1. TRPY
0 5000. DELR
0 5000. DELC
0 0.0001 SF1-1
0 0.0001 HY-1
0 -50. BOT-1
0 1.0E-6 VHY/THICK-1
0 0.03 SF2-1
0 50. top-1
0 0.0001 SF1-2
0 0.0001 HY-2
0 -150. BOT-2
0 1.0E-6 VHY/THICK-2
0 0.03 SF2-2
0 -50. top-2
0 0.0001 SF1-3
0 0.0001 HY-3
0 -250. BOT-3
0 0.03 SF2-3
0 -150. top-3
1 2 3 4 5 6 7 8
C-4 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
1 0 3.74E05 MXFWEL,IFWLBD,FCONST(1/(ft-s))
1 NWELL
1 3 8 8 -250. 0.2 -10. 1.0E-6
1 NWELL
1 3 8 8 -250. 0.2 0. 1.0E-6
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
50 300 MXITER,NPARM
0.0001 .001 2
Appendix C C-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
5. The Output Control (OC) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
12 9 0 0
0 1 1 1
1 0 0 0
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
C-6 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
Appendix C C-7
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
C-8 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
Appendix C C-9
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
C-10 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
Appendix C C-11
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
C-12 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
Appendix C C-13
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
-1 1 1 1
C-14 Appendix C
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
APPENDIX D:
INPUT DATA FOR THE SIMULATION OF STEADY-STATE
SEEPAGE THROUGH A SQUARE EMBANKMENT
The input data used for the simulation of steady seepage through a square
embankment are listed in this Appendix. The problem description is presented in Section
4.3.2 of the RSF4 Package. The input data files are listed in the following order:
1. The Basic Flow (BAS) Package Input
2. The Block-Centered Flow (BCF4) Package Input
3. The Recharge-Seepage Face Boundary (RSF4) Package Input
4. The Strongly Implicit Procedure (SIP) Package Input
Appendix D D-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
1. The Basic Flow (BAS) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
STEADY-STATE SEEPAGE THROUGH A SQUARE EMBANKMENT
VERIFICATION WITH COOLEY RESULTS
10 1 12 1 4
11 0 0 0 0 0 0 18 19 0 0 0
1 1 IAPART,ISTRT
1 1(12I3) 3 IBOUND-1
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-2
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-3
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-4
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-5
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-6
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-7
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-8
-1 1 1 1 1 1 1 1 1 1 1 1
1 1(12I3) 3 IBOUND-9
-1 1 1 1 1 1 1 1 1 1 1 -1
1 1(12I3) 3 IBOUND-10
-1 1 1 1 1 1 1 1 1 1 1 -1
999.99
0 10. HEAD-1
0 10. HEAD-2
D-2 Appendix D
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
0 10. HEAD-3
0 10. HEAD-4
0 10. HEAD-5
0 10. HEAD-6
0 10. HEAD-7
0 10. HEAD-8
1 1.0 (12F3.0) 0 HEAD-9
10 10 10 10 10 10 10 10 10 10 10 2
1 1.0 (12F3.0) 0 HEAD-10
10 10 10 10 10 10 10 10 10 10 10 2
1.00E01 1 1.0 PERLEN,NSTP,TSMULT
Appendix D D-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
2. The Block-Centered Flow (BCF4) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
9 0 777.7 0 0.0 0 0
43434343434343434343
0 1. TRPY
11 1.(9F8.3) 5 DELR
0.10 0.90 1.00 1.00 1.00 1.00 1.00 1.00 1.00
1.00 0.90 0.10
0 1. DELC
0 0.01 HY-1
0 9. BOT-1
0 0.01 VHY/THICK-1
0 10. top-1
0 0.01 HY-2
0 8. BOT-2
0 0.01 VHY/THICK-2
0 9. top-2
0 0.01 HY-3
0 7. BOT-3
0 0.01 VHY/THICK-3
0 8. top-3
0 0.01 HY-4
0 6. BOT-4
0 0.01 VHY/THICK-4
0 7. top-4
0 0.01 HY-5
0 5. BOT-5
0 0.01 VHY/THICK-5
0 6. top-5
0 0.01 HY-6
D-4 Appendix D
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
0 4. BOT-6
0 0.01 VHY/THICK-6
0 5. top-6
0 0.01 HY-7
0 3. BOT-7
0 0.01 VHY/THICK-7
0 4. top-7
0 0.01 HY-8
0 2. BOT-8
0 0.01 VHY/THICK-8
0 3. top-8
0 0.01 HY-9
0 1. BOT-9
0 0.01 VHY/THICK-9
0 2. top-9
0 0.01 HY-10
0 0. BOT-10
0 1. top-10
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
1 0 0 8 NRCHOP,IRCHBD,IUNCNF,MXSEEP
1 0 0 8 INRECH,INIRCH,INPNDEL,INSEEP
0 0.0 RECH-1
1 1 12 9.5
2 1 12 8.5
3 1 12 7.5
4 1 12 6.5
5 1 12 5.5
6 1 12 4.5
Appendix D D-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
7 1 12 3.5
8 1 12 2.5
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
500 5 MXITER,NPARM
1. .0001 0 .001 1 ACCL,ERR,IPCALC,WSEED
D-6 Appendix D
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
APPENDIX E:
INPUT DATA FOR THE TRANSIENT SIMULATION OF PUMPING
AND RECOVERY IN AN UNCONFINED AQUIFER USING THE
ATO4 PACKAGE
The input data used for the transient simulation of pumping from an unconfined
aquifer system using the Adaptive Time-Stepping and Output Control (ATO4) Package are
listed in this Appendix. The problem description is presented in Section 5.3 of the ATO4
Package. The input files are listed in the following order:
1. The Basic Flow (BAS) Package Input
2. The Block-Centered Flow (BCF4) Package Input
3. The Well (WEL) Package Input
4. The Recharge (RCH) Package Input
5. The Strongly Implicit Procedure (SIP) Package Input
6. The Adaptive Time-Stepping and Output Control (ATO4) Package Input.
Appendix E E-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
1. The Basic Flow (BAS) Package Input
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
Transient Simulation of Pumping and Recovery
in an Unconfined Aquifer
3 15 15 2 1
11 12 0 0 0 0 0 18 19 0 0 00 22
1 1 IAPART,ISTRT
1 1(15I3) 3 IBOUND-1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1(15I3) 3 IBOUND-2
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
E-2 Appendix E
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
-1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 1 IBOUND-3
999.99
0 0. HEAD-1
0 0. HEAD-2
0 0. HEAD-3
1.26E08 16 1.0 PERLEN,NSTP,TSMULT
3.78E08 16 1.0 PERLEN,NSTP,TSMULT
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
0 0 777.7 0 0.0 0 0
434343
0 1. TRPY
0 5000. DELR
0 5000. DELC
0 0.0001 SF1-1
0 0.0001 HY-1
0 -50. BOT-1
0 1.0E-7 VHY/THICK-1
Appendix E E-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
0 0.03 SF2-1
0 50. top-1
0 0.0001 SF1-2
0 0.0001 HY-2
0 -150. BOT-2
0 1.0E-7 VHY/THICK-2
0 0.03 SF2-2
0 -50. top-2
0 0.0001 SF1-3
0 0.0001 HY-3
0 -250. BOT-3
0 0.03 SF2-3
0 -150. top-3
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
15 0 MXWELL,IWELBD
15 NWELL
3 5 11 -3.85
3 4 6 -3.85
3 6 12 -3.85
3 9 8 -3.85
3 9 10 -3.85
3 9 12 -3.85
3 9 14 -3.85
3 11 8 -3.85
3 11 10 -3.85
3 11 12 -3.85
3 11 14 -3.85
E-4 Appendix E
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
3 13 8 -3.85
3 13 10 -3.85
3 13 12 -3.85
3 13 14 -3.85
0 NWELL
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
3 0
1
0 3.E-9 RECH-1
-1
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
50 5 MXITER,NPARM
1. .0001 0 .001 1 ACCL,ERR,IPCALC,WSEED
Appendix E E-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
1 2 3 4 5 6 7 8
123456789012345678901234567890123456789012345678901234567890123456
78901234567890
12 9 0 0
0 1 1 1
0.7875E07 0.08E07 0.20E08 1.7 2.0 2 0
1.0e08 1.26144e8
1 0 0 0
0 1 1 1
0.23625e8 0.23E07 0.60E08 1.7 2.0 1 0
3.78432e8
1 0 0 0
E-6 Appendix E
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendices_A-E.wpd
APPENDIX F: MODPATH DOCUMENTATION FOR MODFLOW-
SURFACT/MODHMS
APPENDIX F: MODPATH DOCUMENTATION FOR MODFLOW-
SURFACT/MODHMS
F.1.0 INTRODUCTION
MODPATH is a particle tracking post-processing program designed to work with
MODFLOW. MODPATH is documented in User's Guide for
MODPATH/MODPATH-PLOT Version 3 (Pollock, 1994), which provides the particle
tracking methodology, details of input and output files, time concepts, and examples. The
document is available online at:
http://water.usgs.gov/software/code/ground_water/modpath/doc/ofr94464.pdf
The version of MODPATH documented here (henceforth referred to as
MODPATH-SURFACT) is modified from MODPATH Version 3 (Pollock, 1994) to
make it compatible with MODFLOW-SURFACT. This documentation for MODPATH-
SURFACT, is consistent with the original MODPATH documentation. Additional input
variables required by this version of MODPATH-SURFACT are shown in a shaded box.
MODPATH-SURFACT requires these additional variables because of the following
enhancements made to MODFLOW-SURFACT.
1. MODFLOW-SURFACT uses the BCF4 package that provides a rigorous
treatment of unconfined flow using a variably saturated formulation with pseudo-soil water
retention functions to enhance convergence for desaturation/resaturation conditions. The
original MODFLOW code converts a desaturated variable-head cell into a no-flow cell.
2. The BCF4 package also includes real soil options to solve variably saturated
flow situations in a more rigorous fashion by providing moisture retention and
permeability characteristics of the unsaturated layers.
3. The adaptive time-stepping and output control (ATO) package used by
MODFLOW-SURFACT uses a time-stepping scheme with automatic generation and
control of time steps that are not known aprori. In the MODFLOW code, the time domain
(for transient flow simulations) is discretized, with predetermined time-step values.
4. MODFLOW-SURFACT uses a fracture-well (FWL4 and FWL5) packages
that simulate a wellbore as a high conductivity fracture tube. The FWL4 and FWL5
packages truly emulate a multilayer well and automatically apportion the net well
withdrawal to well nodes. Also, with FWL4 and FWL5 packages, the total well
withdrawal is automatically adjusted when the water level in the well reaches the well
bottom.
Before MODPATH-SURFACT can be run, MODFLOW-SURFACT must be run with the
following settings.
1. Flag MPHFLAG in Basic Flow (BAS) package should be equal to 1. If
MPHFLAG =1, then a binary file *.mph is generated by MODFLOW-SURFACT. This
MPH file is used by MODPATH-SURFACT to determine time step information. As
described above, MODFLOW-SURFACT uses adaptive time-stepping (ATO) package
which dynamically determines time stepping depending on the anticipated non-linearities
of the system for a given calculation.
2. All cell-by-cell flow components should be recorded in a single, common
file (CBB file). Use the same unit number for cell-by-cell outputs from all
packages(IBCFCB in BCF file, IFWLCB in FWL file, IDRNCB in DRN file, IRIVCB in
RIV file, IGHBCB in GHB file, IRCHCB in RCH file and so on).
ATO indicates that Adaptive Time-Stepping and Output Control (ATO) package is used
in the MODFLOW-SURFACT/MODHMS simulation.
FWL indicates that Fracture Well (FWL4) package is used in the MODFLOW-
SURFACT/MODHMS simulation.
FWL5 indicates that Multinode Fracture Well (FWL5) package is used in the
MODFLOW-SURFACT/MODHMS simulation.
REALSL indicates that the flag IREALSL is greater than 0 in the Block-Centered Flow
(BCF) package in the MODFLOW-SURFACT/MODHMS simulation. IREALSL is a flag
indicating real soil moisture functions are used to define flow in the unsaturated zone
above the water-table.
Item 9 -- Porosity
REPEAT THE FOLLOWING DATA IN SEQUENCE FOR EACH LAYER:
9A. POR(NCOL,NROW)
FORMAT: 2-D real array reader (U2DREL)
If the model layer has a quasi-3D confining layer, then
9B. PorCB(NCOL,NROW)
FORMAT: 2-D real array reader (U2DREL)
POR -- is the array containing porosity values for a model layer.
PorCB -- is the array containing porosity values for a quasi-3D confining layer
associated with the model layer. If a model layer includes a quasi-3D
confining layer, the PorCB array immediately follows the POR array for
that model layer.
Note that if keyword ‘ATO’ is used in Item 2A, time stepping information in each stress
period is read from MPH file specified in Item 2B. Item 10 B is however, still required
as input.
Needed for
Needed for MODPATH Include in
Description File Type Keyword MODPATH? PLOT? Name file?
Main data file MAIN yes yes yes
F.4.0 REFERENCES
Pollock, David W., 1994, User's Guide for MODPATH/MODPATH-PLOT Version 3:
A particle tracking post-processing package for MODFLOW, the U. S. Geological
Survey finite-difference ground-water flow model, U. S. Geological Survey
Open-File Report 94-464.
100 ft
80 ft
60 ft
Cross-Section
40 ft
20 ft
0 ft
Areal View
5000 ft
Constant Head (100 cells x 50ft) Constant Head
50 ft 30 ft
Figure 1. Groundwater grid and boundary conditions applied to the example
problem.
G.1 GENERAL
ETmax, the maximum rate of evapotranspiration, is taken to be constant within a
stress period of MODFLOW. For rapid changes in ETmax, it would then become tedious
to break up a short time period into several stress periods during a simulation. An option
has therefore been provided, to vary ETmax within a simulation, independent of the stress
periods. The transient ETmax is applied zonally, and an index, MXZETS, is read by the
EVT or ET2 packages indicating the maximum number of zones on which transient ETmax
is applied. If MXZETS is zero, the transient ETmax package is not invoked by the
simulation. However, if transient ETmax exists, an additional integer array is read by the
EVT or ET2 packages, identifying the areal location of each zone. A zonal value of zero
indicates that no transient ETmax zone occurs over that location, and the default value of
ETmax is applied to that location, as read in for the stress period in the EVTR or ETSR
arrays. At locations where the value is not zero, the EVTR or ETSR array is updated with
the appropriate value for that zone, from the ETmax time series data which is supplied in
a separate file. This file, with default extension .ETS, contains the ETmax time series
tabulated for all zones. Each row of the file contains the starting time (TSTART), the
ending time (TEND), a multiplying factor (for unit conversions), followed by one column
of ETmax rates for each of the zones. If a subsequent TSTART value does not match with
a TEND value from the previous row, zero ETmax is applied to each of the zones in the
interim period. Thus, long periods without ET need not be included as a separate row in
the .ETS file.
The time periods between events, or within an event need not be fixed, as this
module is designed for use with adaptive time stepping schemes. The adaptive time
marching scheme ensures that each TSTART and TEND is hit exactly by the simulation,
to ensure that the temporal changes are accurately represented. Within a period or
between periods, the adaptive time stepping schemes try to maximize computational
efficiency.
Details on the EVT and ET2 packages are available in the respective USGS reports
documenting these packages. Note that the ET2 package is denoted as ETS1 in the
original MODFLOW documentation (Banta, 2000). The current documentation describes
extension of these packages to include time-series input of ETmax.
Appendix G: Using ET Time-Series with the EVT and ET2 Packages G-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
EVT1RP
3. Data: SURF
Module: U2DREL
Module: U2DREL
4b Data: IZNETS2
Module: U2DREL
Note that either item 4a or 4b is read depending on whether a time-series for maximum ET
flux (EVTR) is requested or not
5. Data: EXDP
Module: U2DREL
6. Data: IEVT
Module: U2DINT
G-2 Appendix G: Using ET Time-Series with the EVT and ET2 Packages
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
IEVTCB -- is a flag and a unit number.
If IEVTCB > 0, it is the unit number on which cell-by-cell flow
terms will be recorded whenever ICBCFL (see
Output Control) is set.
If IEVTCB # 0, cell-by-cell flow terms will not be printed or
recorded.
Appendix G: Using ET Time-Series with the EVT and ET2 Packages G-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
If INIEVT < 0, layer indicators used during the preceding
stress period will be reused.
SURF -- is the elevation of the ET surface.
EVTR -- is the maximum ET rate (volume of water per unit area (LT-1)).
EXDP -- is the ET extinction depth.
IEVT -- is the layer indicator array. For each horizontal location, it
indicates the layer from which ET is removed. It is needed only if
the ET option is equal to two.
Note that either item 4a or 4b is read depending on whether a time series for
maximum ET flux (ETSR) is requested or not.
If NETSEG >1, (NETSEG - 1) repetitions of Items 7 and 8 are read. If NETSEG >2,
Items 7 and 8 are read for the uppermost segment intersection, followed by repetitions of
Items 7 and 8 for successfully lower intersections.
G-4 Appendix G: Using ET Time-Series with the EVT and ET2 Packages
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
Explanation of Variables Read by the Evapotranspiration Segments Package
Text - is a character variable (79 characters) that starts in column 2. Any
characters can be included in Text. The “#” character must be in column
1. Lines beginning with “#” are restricted to these first lines of the input
file. Text is written to the LIST output file when the input file is read
and provides an opportunity for the user to include information about the
model both in the input file and the associated output file.
NETSOP - is the evapotranspiration (ET) option code. ET variables (ET surface,
maximum ET rate, and extinction depth) are specified in layer variables,
ETSS, ETSR, and ETSX, with one value for each vertical column of cells
in the model grid. Accordingly, ET is calculated for one cell in each
vertical column. The option codes determine the cell within a column for
which ET will be calculated. If NETSOP = 1, ET is calculated only for
cells in the top grid layer.
If NETSOP - 2, the cell for each vertical column is specified by the user
in variable IETS.
If NETSOP = 3, ET is calculated for the top most active grid block.
IETSCB - is a flag and unit number.
If IETSCB > 0, it is the unit number to which ETS1-Package cell-by-cell
flow terms will be written when “SAVE BUDGET” or a non-zero value
for ICBCFL is specified in Output Control (Harbaugh and others, 2000).
IETSCB must be a unit number associated with a file listed with type
“DATA (BINARY)” or “DATAGLO (BINARY)” in the name file.
If IETSCB #0, ETS1-Package cell-by-cell flow terms will not be written.
NPETS - is the number of evapotranspiration-segments parameters. No used. Set
equal to zero.
NETSEG - is the number of segments used to define the relation of evapotranspiration
rate to hydraulic head in the interval where the evapotranspiration rate is
variable.
Appendix G: Using ET Time-Series with the EVT and ET2 Packages G-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
INETSS - is the ET surface (ETSS) read flag.
If INIETS $0, a layer variable containing the layer indicator (IETS) will
be read from Item 9 in the ETS1 input file.
If INIETS < 0, layer indicators used during the preceding stress period
will be reused.
INSGDF - is the segment definition read flag. It is read only if NETSGEG > 1.
If INSGDF $0, two layer variables to define PXDP and PETM for each
fo (NETSEG - 1) segment intersections are read from Items 10 and 11,
respectively, of the ETS1 input file.
If INSGDF <0, PXDP and PETM from the preceding stress period will
be reused.
ETSS - is the elevation of the ET surface (L).
ETSR - is the maximum ET flux (volumetric flow rate per unit area, LT1)
Pname - is the name of a parameter that will be used to define the ETSR the ETSR
variable in the current stress period.
Iname - is an instance name that is ready only if Pname is a time-varying
parameter. Multiple instances of the same time-varying parameter are not
allowed in a stress period.
G-6 Appendix G: Using ET Time-Series with the EVT and ET2 Packages
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
IETSPF - is an optional format code for printing the ETSR variable after it has been
defined by parameters. The format codes are the same as those used in
the U2DREL array reading utility module (Harbaugh and others, 2000).
ETSX - is the ET extinction depth (L). This variable is read only if INETSX $0.
IETS - is the layer indicator variable. For each horizontal location, IETS
indicates the layer from which ET is removed. It is read only if the ET
option (NETSOP) is equal to two and if INIETS $0.
PXDP - is a proportion of the extinction depth (dimensionless), measured
downward from the ET surface, which, with PETM, defines the shape of
the relation between the evapotranspiration rate and head. The value of
PXDP must be between 0.0 and 1.0, inclusive. Repetitions of PXDP and
PETM are read in sequence such that the first occurrence represents the
bottom of the first segment, and subsequent repetitions represent the
bottom of successively lower segments. Accordingly, PXDP values for
later repetitions (representing lower segments) should be greater than
PXDP values for earlier repetitions.
PETM - is a proportion of the maximum evapotranspiration rate (dimensionless)
which, with PXDP, defines the shape of the relation between the
evapotranspiration rate and head. The value of PETM should be between
0.0 and 1.0, inclusive. Repetitions of PXDP and first segment, and
subsequent repetitions represent the bottoms of successively lower
segments. Accordingly, PETM values for later repetitions (representing
lower segments) generally would be less than PETM values for earlier
repetitions.
Format: Free
Appendix G: Using ET Time-Series with the EVT and ET2 Packages G-7
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
TMULTE - Multiplying factor applied to ET rates of all the zones for the given event.
This scaling is convenient for unit conversions.
EZ(1) - ET rate in Zone 1 for this event.
EZ(2) - ET rate in Zone 2 for this event.
•
•
•
EZ(MXZETS) - ET rate in Zone MXZETS for this event.
A sample ETS file is shown in Table G.1. In this example, the domain is divided into 8
zones of ET. No ET occurs for the first 2.375 days of simulation, so the simulation would
proceed rapidly till the first record, adapting its time-step size depending on convergence
behavior. At 2.375 days, ET occurs over some of the zones, for a one hour period, till
2.417 days. At 2.417 days, the intensity (and/or zone) of the ET changes, with these
entries occurring in the second row of the file, and so on. Note that no ET occurs between
2.5 and 4 days, and an entry is not required in the file for this situation.
4.042 4.083 1.0 0.151 0.447 0.333 0.106 0.08 0 0.691 0.633
G-8 Appendix G: Using ET Time-Series with the EVT and ET2 Packages
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix G.wpd
APPENDIX H: TIME VARYING FLOW AND HEAD BOUNDARY PACKAGE
WITH STEP FUNCTION OPTION
APPENDIX H: TIME VARYING FLOW AND HEAD BOUNDARY PACKAGE
WITH STEP FUNCTION OPTION
H.1 GENERAL
The Time-Variant Flow and Head Boundary Package was developed at the USGS
(Leake and Lilly, 1997) to allow prescribed flux and prescribed head cells to take on
different values for each time step. It provides a means of simulating flux variations and
head variations with time that can be provided in a tabular fashion. This package is
adapted here to extend the time-varying prescribed flux and prescribed heads to include
step-functions between tabulated time values as an additional option to interpolation.
Details of the FHB package are provided in the USGS documentation of the FHB
package. The step function implementation of this package is done via an input flag
ITHTFHB. When this flag is set to zero, the original MODFLOW implementation fo this
package is used with interpolation of head or flux values from the tabular input. Note that
adaptive time-stepping may be used with this package and the computational time values
need not honor the tabulated time values of the FHB package. This is also the case for use
of MODFLOW’s time stepping scheme. However, if adaptive time stepping is used and
if the flag ITHTFHB is set to 1 then adaptive time-stepping will honor the time values
provided in the tabular time array for FHB input. Head and flux values for intermediate
times are still interpolated from the tabular input values. If, however, the flag ITHTFHB
is set to 2, the head and flux values are implement as step functions instead of
interpolation. Note that this package has also been extended for the surface-water domains
of MODHMS.
H.2 INPUT INSTRUCTIONS FOR FHB PACKAGE
Input instructions for the FHB package are an extension to input instructions for
the FHB package specified by Leake and Lilly (1997). Input for FHB is read from
IUNIT(30), specified in the Basic Package input (McDonald and Harbaugh, 1988, chap.
4, p. 9–11). All input is free format, which requires each of the numbered data groups to
start on a new input record. More than one record can be used for any data group and
numbers within data groups must be separated by at least one space or a comma. Integer
data types cannot include a decimal point. Blank spaces are not treated as zeros. The FHB
package has been extended to include a step function capability in addition to interpolation
of the prescribed time-series of head or flux at any node. For a transport simulation, the
FHB package further includes possible temporal variations of concentrations of species at
the flow and head boundary nodes. For flow boundary nodes, the parameter IAUX of
each node determines if the concentrations of species are input or whether a zero value is
applied by default. For head boundary nodes, the parameter IAUX further indicates if
concentrations from the HCN package are to be used.
Appendix H: Flow and Head Boundary Package with Step Function Option H-1
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
Omit data item 2 if NFHBX1=0. Input item 2 consists of one record for each of NFHBX1
auxiliary variables.
2. Data: VarName Weight
Type: Character Real
Omit data item 3 if NFHBX2=0. Input item 3 consists of one record for each of NFHBX2
auxiliary variables.
3. Data: VarName Weight
Type: Character Real
Data items 4a and 4b are required for all simulations. Include NBDTIM times in data item
4b.
4a. Data: IFHBUN CNSTM IFHBPT
Type: Integer Real Integer
4b. Data: BDTIM(NBDTIM)
Type: Real
Omit data item 5a if all NGWFLW, NOLFLW and NCHFLW=0.
5a. Data: IFHBUN CNSTM IFHBPT
Type: Integer Real Integer
Omit data item 5b if NGWFLW=0. Input item 5b consists of one set of numbers for each
of NGWFLW cells. Each set of numbers includes layer, row and column indices, an
integer auxiliary variable, and NBDTIM values of specified flow.
5b. Data: Layer Row Column IAUX FLWRAT(NBDTIM)
Type: Integer Integer Integer Integer Real
Omit data item 5bii if ITRAN = 0 or IAUX = 0
5bii. Data: FBCONC (NSPECI, NBDTIM)
Type: Real
Note that data item 5bii consists of one entry for each of the NBDTIM interpolation time
values for a species. Data item 5bii is repeated for each species associated with transport.
Also note that if IAUX (of data item 5b) = 0, the concentration of all species is taken as
zero for this node.
Omit data item 5c if NOLFLW=0. Input item 5c consists of one set of numbers for each of
NOLFLW cells. Each set of numbers includes overland row and column indices, an integer
auxiliary variable, and NBDTIM values of specified flow.
H-2 Appendix H: Flow and Head Boundary Package with Step Function Option
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
Omit data item 5d if NCHFLW=0. Input item 5d consists of one set of numbers for
each of NCHFLW cells. Each set of numbers includes channel segment number, an
integer auxiliary variable, and NBDTIM values of specified flow.
Omit data item 7b if NGWHED=0. Input item 7b consists of one set of numbers for each
of NGWHED cells. Each set of numbers includes layer, row, and column indices, an
integer auxiliary variable, and NBDTIM values of specified head.
7b. Data: Layer Row Column IAUX SBHED(NBDTIM)
Type: Integer Integer Integer Integer Real
Appendix H: Flow and Head Boundary Package with Step Function Option H-3
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
Omit data item 7c if NOLHED=0. Input item 7c consists of one set of numbers for
each of NOLHED cells. Each set of numbers includes overland, row, and column
indices, an integer auxiliary variable, and NBDTIM values of specified head.
Omit data item 7d if NCHHED=0. Input item 7d consists of one set of numbers for
each of NCHHED cells. Each set of numbers includes channel segment number, an
integer auxiliary variable, and NBDTIM values of specified head.
Note that items 5c and 5d are only required for a MODHMS simulation.
Omit data items 8a and 8b if NFHBX2=0 or if NGWHED, NOLHED and NCHHED all
=0. Include one set of data items 8a and 8b for each of NFHBX2 auxiliary variables.
Input item 8b consists of one set of numbers for each of NGWHED, NOLHED, NCHEED
cells. Each set includes NBDTIM values of the variable.
H-4 Appendix H: Flow and Head Boundary Package with Step Function Option
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
Explanation of Fields Used in Input Instructions
NBDTIM -- is the number of times at which flow and head will be specified
for all selected cells.
If NBDTIM = 1, specified flow and head values will
remain constant for the entire simulation.
If NBDTIM > 1, specified flow and head values will be
computed for each time step using linear
interpolation.
NGWFLW -- is the number of groundwater cells at which flows will be
specified.
NGWHED -- is the number of groundwater cells at which head will be specified.
IFHBSS -- is the FHB steady-state option flag. If the simulation is transient,
the flag is read but not used. For steady-state simulations, the
flag controls how specified-flow, specified-head, and
auxiliary-variable values will be computed for each steady-state
solution.
If IFHBSS = 0, values of flow, head, and auxiliary
variables will be taken at the starting
time of the simulation. This results in use
of the first value in arrays FLWRAT,
SBHED, and AuxVar for each respective
boundary cell.
If IFHBCB … 0, values of flow, head, and auxiliary
variables will be interpolated in the same
way that values are computed for
transient simulations.
IFHBCB -- is a flag and unit number.
If IFHBCB > 0, it is the unit number on which
cell-by-cell flow terms will be recorded
whenever ICBCFL is set (see McDonald
and Harbaugh, 1988, chap. 4, p. 14–15).
If IFHBCB # 0, cell-by-cell flow terms will not be
recorded.
NFHBX1 -- is the number of auxiliary variables whose values will be
computed for each time step for each specified-flow cell.
NFHBX2 -- is the number of auxiliary variables whose values will be
computed for each time step for each specified-head cell.
NOLFLW -- is the number of overland cells at which flows will be specified.
NOLHED -- is the number of overland cells at which heads will be specified.
NCHFLW -- is the number of channel cells at which flows will be specified.
NCHHED -- is the number of channel cells at which heads will be specified.
ITHTFHB -- is an index for controlling time-stepping such that tabular entries
for the time inputs are exactly met by the adaptive time-stepping
routines.
IFITHTFHB = 0, the adaptive time-stepping is independent of
tabular time inputs for FHB.
Appendix H: Flow and Head Boundary Package with Step Function Option H-5
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
If ITHTFHB=1, the time steps are adapted to honor the tabular
time value entries of the FHB input.
If ITHTFHB=2, the head or flux values are provided as step
functions instead of interpolating between tabular time values
entries. Thus, the head or flux value associated with a time entry
is maintained till the next time entry at which stage the head or
flux values associated with the new time entry are implemented.
Note that time steps are adapted to honor the tabular time values
when ITHTFHB=2 to accurately capture each step change in
head or flux.
IFHBCC -- is a flag and unit number for printing mass flux output of a
transport simulation.
If IFHBCC>0, it is the unit number on which cell-by-cell mass
flux terms will be recorded wherever ICCCFL is set in the ATO
or OC packages.
If IFHBCC#0, cell-by-cell mass flux terms will not be recorded.
H-6 Appendix H: Flow and Head Boundary Package with Step Function Option
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
IAUX -- is a dummy parameter.
FLWRAT -- is volumetric rate of flow at specified-flow cells. A list of
NBDTIM values must be specified for each of NFLW
specified-flow cells.
FBCONC -- is the concentration of species for fluid entering the domain via
the specified-flow cells. If a value is provided for a node during
outflow conditions, the value is ignored and the outflow
concentration is determined by the concentration of water leaving
the domain at the specified-flux cell.
AuxVar -- is value of real auxiliary variable at specified-flow and
specified-head cells. A list of NBDTIM values must be specified
for each of NFLW specified-flow cells and for each of NHED
specified-head cells.
SBHED -- is an array containing NBDTIM values of the head for each
specified-head cell.
HBCONC -- is the concentration of species for fluid entering the domain via
the specified-head cells. If a value is provided for a node during
outflow conditions, the value is ignored and the outflow
concentration is determined by the concentration of water leaving
the domain at the specified-head cell.
Appendix H: Flow and Head Boundary Package with Step Function Option H-7
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol I\Appendix H.wpd
APPENDIX I: ADDENDUM FOR PCG5 SOLVER
APPENDIX I: ADDENDUM FOR PCG5 SOLVER
I.1 GENERAL
The PCG5 package is a proprietary solver that may be included with MODFLOW-
SURFACT. This package implements the MATIS matrix solver developed by Dr. Peter
Forsyth at the University of Waterloo. The PCG schemes are the same as those discussed
in Chapter 6 of Volume I of this document. However, the PCG5 solver provides for
additional levels of fill during ILU decomposition (the PCG4 solver only accommodates
a fill level of zero). It further includes red-black ordering schemes and a variety of
acceleration techniques (only the Orthomin acceleration scheme is currently released with
MODFLOW-SURFACT) to make this package more robust and efficient than the PCG4
package. Experience has shown this package to be up to 20 times faster than the PCG4
package in solving typical flow and transport problems.
I.2 ITERATIVE SPARSE MATRIX SOLVER (PCG5) PACKAGE INPUT
Input required by the PCG5 package is similar to that of the PCG4 package
discussed in Chapter 6 of Volume I of the MODFLOW-SURFACT/MODHMS document.
The PCG5 iterative solver is a simple solution scheme requiring only closure tolerance
limits and a maximum limit of solver iterations as input. There are no iteration parameters
to be estimated, nor other choices to be made by the user. A solver-point-control-flag and
maximum outer iterations (> 1 for unconfined systems) are also requested as input, to be
consistent with the other solver packages of MODFLOW. The PCG5 package may be used
in place of PCG4. This solver handles matrices for both flow and transport. For a
transport simulation, either of PCG4, PCG5, or LMG solvers may be used.
Input for the PCG5 Package is read from a unit specified in IUNIT (35) of the
Basic Package input file, as requested by the flow simulation. The input is as follows:
1. Data: MXITER ITERI INEWT BFACT RESRED IDMPBOT
Format: I10 I10 I10 F10.0 F10.0 I10
Note that BFACT and RESRED are required only when INEWT = 1.
Note that IACCELS=1 (the Orthomin scheme) is the only option provided with
MODFLOW-SURFACT/MODHMS.
BY:
HYDROGEOLOGIC, INC.
HERNDON, VA 20170, USA
TEL: (703) 478-5186
FAX: (703) 471-4180
E-MAIL: [email protected]
WEB PAGE: www.hgl.com
BY:
HYDROGEOLOGIC, INC.
HERNDON, VA 20170, USA
TEL: (703) 478-5186
FAX: (703) 471-4180
E-MAIL: [email protected]
WEB PAGE: www.hgl.com
BY:
HYDROGEOLOGIC, INC.
HERNDON, VA 20170, USA
TEL: (703) 478-5186
FAX: (703) 471-4180
E-MAIL: [email protected]
WEB PAGE: www.hgl.com
Contents i
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
CONTENTS - VOLUME II: TRANSPORT MODULES (CONTINUED)
Page
CHAPTER 5: REFERENCES
ii Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
CONTENTS - VOLUME II: TRANSPORT MODULES (CONTINUED)
Page
Contents iii
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
CONTENTS - VOLUME II: TRANSPORT MODULES (CONTINUED)
Page
iv Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
FIGURES
Page
Contents v
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
FIGURES (CONTINUED)
Page
vi Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
FIGURES (CONTINUED)
Page
Figure 4.41 Mass Loss of Gasoline from the Various Phases in the Subsurface Over
the 10 year Simulation Period. . . . . . . . . . . . . . . . . . . . . . . . 4-62
Figure 4.42 Location of Borden Landfill Showing Monitoring Network.
Cross-section A-AN is along Longitudinal Plume Axis (from
Frind and Hokkanen, 1987). . . . . . . . . . . . . . . . . . . . . . . . . 4-63
Figure 4.43 Cross-section A-AN Showing Aquifer Depth and Location of
Monitoring Devices (from Frind et al., 1985). . . . . . . . . . . . . . 4-64
Figure 4.44 Finite-Difference Grid Used in Borden Flow and Transport
Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-65
Figure 4.45 Recharge Distribution Used for the Flow Simulation. . . . . . . . . 4-66
Figure 4.46 Comparison of Simulated Hydraulic Heads Produced by
(a) Finite-Element Model of Frind and Hokkanen (1987), and
(b) MODFLOW- Model. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
Figure 4.47 Comparison Between (a) Observed Chloride Plume in 1979, and
(b) Simulated Plume at 40 Years. . . . . . . . . . . . . . . . . . . . . . 4-70
Figure 4.48 Domain Discretization, Geometry and Horizontal Conductivity
Distribution for Simulation of Three-Dimensional Transport of
Radionuclide at a Waste Disposal Site. . . . . . . . . . . . . . . . . . . 4-71
Figure 4.49 Schematic Cross-Section of the Modeled Aquifer System for Simulation
of Three-dimensional Transport of Radionuclide at
a Waste Disposal Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-72
Figure 4.50 Steady-State Water-Table Profiles Obtained from Simulation
of 3-D Groundwater Flow in the Aquifer System Underlying
Waste Disposal Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-73
Figure 4.51 Particle Pathlines Obtained from Simulation of 3-D Groundwater
Flow in the Aquifer System Underlying Waste Disposal Site. . . . 4-74
Figure 4.52 Concentration Distribution at 27 Years of Simulation of Transport
of Radionuclide at a Waste Disposal Site. . . . . . . . . . . . . . . . . 4-76
Figure 4.53 Concentration Distribution after 78 Years of Simulation of
Transport of Radionuclide at a Waste Disposal Site. . . . . . . . . . 4-77
Figure 6.1 Examples and Schematic of Dual Domain System . . . . . . . . . . . 6-2
Figure 6.2 Typical Matrix Block Fracture Units: (a) Slab Matrix Block
Representation, and (b) Spherical Matrix Block Representation . . 6-6
Figure 6.3 Effluent Curves for a Sorbing Medium Showing a Co9mparison of
Numerical and Analytical Solutions for Mass Transfer Coefficient
(") Values to 0.0, 0.15, and 4 . . . . . . . . . . . . . . . . . . . . . . . 6-11
Figure 7.1 Problem Description of Seawater Intrusion in a Coastal Confined
Aquifer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8
Figure 7.2 Chloride Concentrations for Steady-State Simulation of Saltwater
Intrusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
Figure 7.3 Chloride Concentrations for Transient Analyses of Saltwater
Intrusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
Figure 8.1 Conceptual Model for Chlorinated Solvent Biodegradation (after
Clement, 1997) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
Figure 8.2 Comparison of Results for BTN and RCT Modules for Three
Member Chain Decay with Decay in Water and Soil Phases . . . . 8-23
Figure 8.3 Comparison of Results for BTN and RCT Modules for Three
Member Chain Decay with Decay in Water Phase Only . . . . . . . 8-23
Contents vii
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
FIGURES (CONTINUED)
Page
viii Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
TABLES
Page
Contents ix
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
x Contents
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
MODFLOW-SURFACT/MODHMS
VOLUME II: TRANSPORT MODULES
ABSTRACT
MODFLOW-SURFACT/MODHMS is a fully integrated groundwater flow and
solute transport code developed by HydroGeoLogic, Inc., based on the widely popular
U.S. Geological Survey modular three-dimensional (3-D) groundwater flow modeling
code, MODFLOW. This volume (Volume II of the code documentation) describes solute
transport modules incorporated into MODFLOW-SURFACT/MODHMS to allow the
simulation of single-species and multi-component contaminant transport. The physical and
mathematical concepts underlying the transport computational modules are detailed, and
implementation of these concepts into the modular structure of MODFLOW-
SURFACT/MODHMS is discussed. Also provided are instructions for the preparation
of input files for transport simulations.
In order to verify numerical techniques and demonstrate field applications of
MODFLOW-SURFACT/MODHMS, three levels of code testing are presented. For Level
I, five problems with available analytical solutions are considered. These problems range
from a simple problem of one-dimensional (1-D) transport in a semi-infinite column to a
relatively complex problem of transport in a non-uniform flow field created by a pair of
recharging and pumping wells. A variety of cases were used to assess the accuracy of
numerical solutions and demonstrate certain advantages of the Total Variation Diminishing
(TVD) schemes used in MODFLOW-SURFACT/MODHMS. For Level II testing, three
practical problems with complexities (e.g., material heterogeneity and transient water table
and pumping conditions) that preclude analytical solutions are considered. These example
problems were designed to test the code’s utility and flexibility and highlight pertinent
model features (including the code’s ability to produce mass-conservative and numerically
stable and accurate solutions) which are necessary for realistic field simulations. Four
additional test problems are subject to Level II testing, to verify the multiphase transport
formulations incorporated in Version 2 of MODFLOW-SURFACT/MODHMS. Finally,
Level III code testing focuses on actual field applications. Two field simulation examples
are provided. The first example concerns a cross-sectional simulation of chloride transport
in a shallow unconfined aquifer system underneath the Canadian Forces Base (CFB)
Borden Landfill site. The second example concerns a 3-D simulation of radionuclide
transport from a waste disposal site in the USA. Results obtained from the present study
compared well with field observations and previous modeling studies.
CHAPTER 1: INTRODUCTION
CHAPTER 1: INTRODUCTION
1.1 GENERAL
MODFLOW-SURFACT/MODHMS is a fully integrated groundwater flow and
solute transport code based on the U.S. Geological Survey modular groundwater flow
model, MODFLOW. Since its development, MODFLOW has been widely used and
enhanced by incorporation of additional modules to expand its capabilities. Recent
enhancements include a streamflow routing package, a horizontal-flow barrier package,
an interbed-storage package, and a time-variant specified-head package. The basic finite-
difference package was also modified to circumvent difficulties arising from cell
desaturation/resaturation. Included in the modification are additional options for
interblock transmissivity averaging. All these enhancements, which appear in previous
versions of MODFLOW, have been incorporated into MODFLOW-
SURFACT/MODHMS. HydroGeoLogic, Inc., has further extended MODFLOW’s
simulation capabilities by including a rigorous variably saturated treatment of unconfined
systems, robust and accurate solution schemes, allowances for prescribed ponding recharge
and seepage face conditions, and a rigorous treatment of multi-layered wells. Our new
flow packages are generally referred to as “SURF packages” and are presented in Volume
I of the code documentation.
Recognizing that few contaminant transport codes consistent with MODFLOW are
available, HydroGeoLogic, Inc., has developed compatible transport modules and
combined these with the original MODFLOW modules and SURF packages to produce the
fully integrated MODFLOW-SURFACT/MODHMS code. This report, which constitutes
Volume II of the code documentation, describes the formulation, capability, and use of the
new Analysis of Contaminant Transport (ACT) modules. Key simulation features
provided by the ACT modules include the following:
• Advective-dispersive transport of multiple chemical species in steady-state or
transient flow fields
• Linear or nonlinear retardation for each species
• First-order decay and biochemical degradation of contaminants in water and soil
• Generation of transformation products.
Version 2 has additional modeling capabilities including
• Mass partitioning of a single or multicomponent contaminant with diffusive mass
movement in the inactive phase
• Mass partitioning of a single or multicomponent contaminant from an immobile
NAPL phase with advective and dispersive transport in the active phase and
diffusive transport in the inactive phase.
MODFLOW-SURFACT/MODHMS uses state-of-the-art numerical schemes for
solving the transport equation. Included in the code are Total Variation Diminishing
(TVD) flux limiting schemes designed to provide accurate, physically correct, and strictly
mass-conserved numerical solutions. An adaptive implicit scheme is used to minimize
temporal discretization errors. The user may also control the degree of implicitness of the
solution, from fully implicit to explicit. Upstream, central, and combined upstream-
central difference schemes are also provided as options for quicker solutions (but usually
less accurate than the TVD solution). The matrix equations resulting from the finite-
difference approximations are solved using an efficient Orthomin matrix solver. The
∂ ⎛ k ∂c k ⎞ ∂ ∂ ∂
∂xi
⎜ Dij
⎜
⎟−
⎟
∂x j ⎠ ∂xi
vi c k =
∂t
(
φSα c k + )
∂t
ρ Β c sk ( ) ( )
⎝
NPAR NPAR
− ∑ξ
j =1
kj λα φSα c −
j j
∑ξ
j =1
kj λ sj ρ Β c sj , i or j = 1,2,3
∂
∂t
(
φSα c k =
∂
∂t
) [
S y Sα c k + (φ − S y )S active c k ] (1b)
where Sactive is the saturation of the active phase in the remaining pore space (N!Sy). This
expansion is needed because the change of saturation of fluid is calculated as per space Sy,
occurring due to net inflow minus outflow (which is used for the Darcy velocity in the
transport equation). The remaining space is not involved in the advective term, and it may
optionally be assumed to be filled by the active phase (Sactive=1) or by the inactive phase
(Sactive=0). A flag IPHSFLG is read with the basic transport input to indicate whether the
remaining space is filled by the active (IPHSFLG=1) phase or the inactive (IPHSFLG=0)
phase. The mass conservative nature of the primitive form of the transport equation which
uses volumetric fluid fluxes in the advective term to move contaminant (rather than
velocities as used by the reduced form of the transport equation), is acute to this physical
situation. A similar expansion is not performed for the decay or gain-from-parent terms
of equation (1) since they do not pose a mass conservation issue when N is different from
Sy.
∂ ⎡ k ∂c kp ⎤ ∂
( ) ( )
NPAR
⎢ Dij ⎥= φS p c p + λ pφS p c p − ∑ ξ kj λ pj φS p c pj − Γ k
k k k
(2)
∂xi ⎢⎣
p
∂x j ⎥⎦ ∂t j =1
where the subscript p denotes the inactive (or passive) phase in the flow system solved by
the flow modules.
For the case of transport in a transient unsaturated flow-field wherein the specific
yield (Sy) values used for flow are different (smaller) than the porosity (N) values of
equation (2), the storage term for contaminant in the inactive phase is expanded in a
similar fashion to equation (1b) as:
∂
∂t
(
ϕS p c kp =
∂
∂t
) [
S y S p c kp + (ϕ − S y )S active c kp ] (2b)
when the remaining pore space (N!Sy) is filled by the active (Sactive=1) or inactive (Sactive
=0) phase as determined by the user via input flag, IPHSFLG.
Equilibrium mass partitioning may be assumed between air and water phases (one
of which is the active phase, the other being inactive with respect to the flow equation) to
express the concentration of contaminant k in the air phase, cak, as a function of its
concentration in the water phase, cwk as
c ak = K aw
k
c wk (3)
and summing Equations (1) and (2) gives the governing equation for transport in both air
and water phases as:
∂ ⎡ k
{ ( ) }∂∂cx
⎤ ∂
( ∂
) [( ∂
) ] ( )
k
⎢ Dij + K pα Dij
k k
⎥− vi c k = ϕ Sα + K pkα S p c k + ρ Β c sk
∂xi ⎢⎣
p
j ⎥⎦ ∂xi ∂t ∂t
+ (λ ϕS )c ∑ ξ (λα ϕSα + λ ϕS )
NPAR
α
k
α + λ ϕS p K
k
p
k
pα
k
+ λ ρ c − qc −
k
s
k
Β s
*k
kj
j j
p p K pjα c j (4)
j =1
NPAR
− ∑ξ
j =1
kj λsj ρ Β csj , i or j = 1,2,3
(D ) k
ij eff = Dijk + K pkα Dijk ( ) p
(5)
(λ S )
k
eff = λαk Sα + λkp S p K pkα (7)
(λ S )
j
eff = λαj Sα + λ pj S p K pjα (8)
where the subscript eff denotes the effective parameter which replaces the respective
parameter value in Equation (1) during numerical solution to the transport equation.
MODFLOW-SURFACT/MODHMS invokes the multiphase transport equation via
an index, IEQPART. If this index is zero (or not input), only active phase transport
simulation is performed. If IEQPART=1, transport occurs with advection and dispersion
in the active phase, and diffusion in the inactive phase. For this case, the code requires
the air-water partition coefficient, and the diffusion coefficient in the passive phase for
each component, as input, in addition to the input required when IEQPART=0. Also
recall that the index IREALSL in the BCF4 package determines which phase will be
treated as the active phase. If IREALSL is 1 or 2, then water is the active phase, and if
IREALSL is 3 or 4, then air is the active phase. The user is cautioned into fully
understanding the conceptual system when IREALSL=0 is used with the multiphase
transport option.
It should be noted that the inactive phase saturation is computed such that
Sp+S"=1. If the flow-field is transient, the saturation of the inactive phase changes along
with active phase saturation changes, as a result of honoring the above constraint. While
saturation changes in the active phase are balanced by the advective term in equation (1),
the saturation changes in the passive phase are not. The instantaneous equilibration
assumption for passive phase flow does not provide the fluxes of this phase which cause
phase saturation to change and hence neglecting this advective term in equation (2) omits
a mass transport mechanism that would cause Sp to change in the storage term at any time
step. Therefore, for charging Sp resulting due to active phase flow, equation (2) is not a
mass-conserved equation. Options could be provided for keeping Sp fixed during transport
computations (to an initial value or a user-defined value), however, these would mis-
represent the physics to maintain mass conservation. Therefore, the mass balance errors
for any species should be noted for transport simulations with inactive phase partitioning
in a transient unsaturated flow-field and if large, its impact or the simulation should be
examined in detail. Analysis for that species would probably be superior if conducted with
the passive phase activated instead.
∂ ⎡ k ∂cnk ⎤ ∂
( ) ( )
NPAR
⎢ Dij ⎥= φS n cn + λnφS n cn − ∑ ξ kj λnj φS n cnj − Γnk
k k k
(9)
∂xi ⎢⎣
n
∂x j ⎥⎦ ∂t j =1
where the subscript n denotes the NAPL phase and the term 'nk is the mass transfer term
for component k from the NAPL phase to the other fluid phases present, which must also
be added to the right-hand-side of Equation (4) for completeness. Note that when
Equation (9) is added to Equation (4), this term (i.e., 'nk) cancels out, and equilibrium
partitioning may be used to express NAPL phase concentrations of component k, in terms
of the water phase concentration as:
c nk = K nw
k
c wk (10)
k
where K nw is the equilibrium partitioning coefficient for contaminant k from water to
NAPL. Note that due to equilibrium considerations, Equation (3) may be divided by
Equation (10) to express NAPL phase concentration of component k in terms of its
concentration in the air phase as:
k
K nw
c = K c = k c ak
k
n
k k
na a (11)
K aw
where K nak is the partitioning coefficient for component k from air to NAPL. Equation
(9) may be added to Equation (4) and the result may be put back in the form of Equation
(1) by defining effective parameters, as was done in section 2.2.2, as:
(D ) k
ij eff = Dijk + K pkα Dijk ( ) p
+ K nkα Dijk ( )
n
(12)
(λ S )
k
eff = λαk Sα + λkp S p K pkα + λkn S n K nkα (14)
and
where Knkα is the partitioning coefficient of component k from the active phase, ", to the
K nkα = K nak = K nw
k k
/ K aw [of Equation (11)] when air is the active phase.
The index IEQPART=2 invokes the multiphase transport equation with immobile
NAPL in MODFLOW-SURFACT/MODHMS. For this case, MODFLOW-
SURFACT/MODHMS also requires the NAPL-water partition coefficient and diffusion
coefficient in NAPL for each component, as input, in addition to all input required when
IEQAPART=1 (see section 2.2.2). Furthermore, the initial NAPL saturation and
composition of this immobile NAPL is also required. As contaminants dissolve and/or
volatize from the NAPL phase, the NAPL saturations reduce until no NAPL phase resides
in the simulation domain. Alternatively, if NAPL-soluble components are generated, a
NAPL phase may appear. The flash package described below handles
appearance/disappearance of the NAPL phase by consideration of contaminant component
mass conservation, and a compositional framework for the NAPL phase.
It is noted that NAPL saturation changes in equation (9) result from phase transfer
mechanisms only and therefore equation (9) is a mass conserved equation. In addition,
solution of multiphase transport within the unsaturated, single-phase flow-field of
MODFLOW-SURFACT/MODHMS assumes that NAPL occupies the pore space N,
without consideration of its presence in the flow equation.
The effective transport equation in a multiphase porous medium discussed above,
may be solved for each contaminant introduced to the subsurface via the NAPL phase.
Thus, each contaminant is redistributed spatially within the domain due to multiphase
advection, dispersion, decay and generation, processes. The phase-state of the system,
however, will be thrown into disequilibrium in regions where a NAPL phase exists, or
where it is likely to form. A flash calculation is then performed at each grid-block in the
region (where NAPL exists) to set-back phase equilibrium conditions. Thus, a
compositional consideration is required for the NAPL phase such that all NAPL
contaminant components must be included in the problem definition. Hence, the mass of
the NAPL phase is the sum of the mass of its components giving
∑Ck
k
n = ρn (16)
or alternatively, defining a mass fraction of component k in the NAPL phase, Xnk, as the
mass of k divided by the mass of the NAPL phase, we have from Equation (16)
∑Xk
k
n =1 (17)
C nk = ρ n X nk (18)
∑ (ρα Sα X α ) k
N
(
= ∑ ρα Sα X αk )
O (19)
α α
where subscript N refers to new (after flash) and O refers to old (before flash) values.
Equation (19) is a set of k equations for each NAPL component k. Equations (17) and (19)
therefore form a set of k+1 equations which may be solved for the k+1 unknowns, Sn and
Xnk for each component k, to reset equilibrium. Note that density for air and water
required by equation (19) are obtained as discussed for the respective flow equations, and
NAPL phase density may be obtained as
ρ n = ∑ X nk ρ nk (20)
k
where Dnk is the density of pure component k in its liquid state [note that X"k for " other
than NAPL in equation (19) may be obtained from the equilibrium partitioning relations
of (3), (10), and (11)]. This set of non-linear equations may be solved by Newton
iteration, at each grid block. Solution to this set of equations is called the flash package
which takes the dis-equilibrium concentrations obtained after transporting all contaminants,
and re-assigns contaminant masses to the various phases present such that their
concentrations are in equilibrium with an existing NAPL phase. Mass conservation is
maintained, therefore, the NAPL saturation changes due to contaminant mass transfer in
or out of it are also computed.
Two states of disequilibrium may occur in any grid block after the transport
equations are solved for all components. First, where a NAPL phase is already present,
dissolution and volatization of its components will reduce NAPL concentrations from their
equilibrium constraint value of (17). The flash package remedies this by decreasing NAPL
saturations. Second, where a NAPL phase is absent, generation terms in the transport
equations may create NAPL-soluble components whereby the constraints of (16) or (17)
are exceeded. This is an indication of NAPL phase appearance which will be quantified
by the flash package. Where no NAPL phase exists at any time, at any location in the
system, the sum of concentrations of all contaminants, as calculated for a NAPL phase will
be less than the constraint (17), and the flash routine may be skipped.
Due to the mass equilibration considerations of the flash package, simulations
using IEQPART=2 require further user input of the densities of each species k in its pure
liquid state. In addition, options are provided for interpreting the input species
concentrations via the flag IINIT. If IINIT is zero, the code takes the input concentration
to represent active phase concentrations in equilibrium with immobile NAPL. This option
is also useful for restarting a simulation to continue the transients further in time. When
IINIT is one, the code interprets input concentrations as resident NAPL phase
concentrations which are in equilibrium with the other phases present. When IINIT is
two, the input concentrations are interpreted as concentration of species in the initial
inventory of the insitu NAPL phase. This mass is first flashed into the other phases
present (assumed initially contaminant-free), before proceeding with the transport
simulation. For all cases of IINIT, the user should ensure that concentration input is
consistent when a NAPL phase exists. Thus, when Sn>0 (i.e., NAPL phase exists)
constraint of equation (17) cannot be violated and the user should ensure that the mass
fractions of all contaminants in the NAPL sum to unity. Equation (20) may then be used
to determine NAPL phase density, and equation (18) to then determine the consistent set
of input values for species concentrations. Alternatively, the user should ensure that sum
of the mass fraction is less than unity at a node where NAPL saturation is zero. If the set
( )
csk = κ k c k * *η k (21)
where 6 and 0 are the Freundlich coefficient and exponent respectively, for component
k k
k. Note that setting 0k to unity provides a linear isotherm for adsorption of component
k.
2.2.5 Hydrodynamic Dispersion
The hydrodynamic dispersion tensorial components are computed using the
following constitutive relations for isotropic porous media (Scheidegger, 1961):
vi v j
Dij = α T v δ ij + (α L − α T ) + βDoδ ij (22)
v
v x2 v y2 v z2
D xx = α L + αT +αv + βDo (23a)
v v v
v x2 v y2 v z2
D yy = α T +αL +αv + βD0 (23b)
v v v
v x2 v y2 v2
Dzz = α v + α v + α L z + βD0 (23c)
v v v
D xy = D yx = (α L − α T ) v x v y v (23d)
D zx = D xz = (α L − α v ) v z v x v (23e)
where subscripts L, T, and v are the indices for the horizontal longitudinal, horizontal
transverse, and vertical transverse directions, respectively. Note that equations (23a)
v x2 v y2 v z2
D xx = α Lh + α Th + α Tv + βDo (24a)
v v v
v x2 v y2 v z2
D yy = α Th + α Lh + α Tv + βDo (24b)
v v v
v x2 v y2 v z2
D zz = α Tv + α Tv + α Lv + βDo (24c)
v v v
vx v y
Dxy = D yx = (α L − α T ) (24d)
v
⎛ α + α Lv ⎞v v
D xz = D zx = ⎜ Lh − α Tv ⎟ x z (24e)
⎝ z ⎠ v
⎛ α + α Lv ⎞ v y vz
D yz = D zy = ⎜ Lh − α Tv ⎟ (24f)
⎝ z ⎠ v
where the subscripts Lh, Th, Lv, and Tv are indices for horizontal longitudinal, horizontal
transverse, vertical longitudinal and vertical transverse directions respectively. Note that
equations (24) collapse to equations (23) when Lv=Lh. Equations 22, 23, and 24 are thus
the 2, 3, and 4 component dispersivity equations respectively, which are successive
generalizations of Scheidegger’s isotropic equation. The set of equations (24) is typically
used to calculate dispersivities in a three dimensional system where vertical flow
components are significant. In such cases, the vertical and horizontal components of
dispersion can be an order of magnitude apart for their respective longitudinal and
transverse components. The set of equations (23) typically is used to calculate
dispersivities in 3-D non-isotropic systems with mainly horizontal flows. In such cases,
the vertical transverse dispersivity is typically an order of magnitude less than the
horizontal transverse dispersivity for areally extensive systems.
2.2.6 Radioactive Decay or Biodegradation
The third and fourth terms on the right-hand-side of equation (1) represent a first-
order degradation (i.e., radioactive or biodegradation) in the active phase and on soil,
respectively, while the fifth and sixth terms represent the gain in mass of contaminant
species because of first-order degradation of a parent species in the active phase and on
soil, respectively. For the case of multi-phase transport, decay can occur in both water
and air phases, and, if residual NAPL is included in the simulation, decay is modeled in
where component decays to component with decay rates 81",s (in fluids
" and on soil), and so on to component . If a flag for chain decay is on
(ICHAIN=1, see Chapter 3), the code can treat up to five components in a linear chain
decay sequence, whereby a loss of mass (or moles or curies) of component because
of decay causes an equal gain in mass (or moles or curies) of component which is
thereby generated. Any or all of the decay rate coefficients may be set to zero to model
sets of sub-chains. Note that component does not have any generation terms since it
is the ultimate parent component. Also note that the daughter product of component
is not modeled. If the flag for chain decay is off (ICHAIN=0, see Chapter 3), the code
can model up to five independent decaying, retarded species in one single simulation.
For the second case, a more generalized decay model is applied by setting ICHAIN = 2.
A branched chain decay may be simulated in the most general terms, as exemplified by:
ξ 21 ξ 42
1 λ1 2 λ2 4 λ4
ξ 31 ξ 43
ξ 53
3 λ3 5 λ5
The general chain decay formulation is also useful for straight chains where one
unit of parent j decays to produce >jk units of daughter k. Thus, the factor >jk also allows
dφ
S w S s dh = (25)
1−φ
where h is the hydraulic head.
Equation (25) enables a user to compare computed concentrations with field
values, without needing to convert from reservoir pressure conditions to atmospheric
conditions, since most of the saturated storage of the transient flow field occurs through
matrix compressibility.
2.2.8 Initial and Boundary Conditions
The initial condition of the transport problem is represented by
c k ( x1 , x 2 , x3 , t = 0) = c ok (26)
where ck are the concentrations in the active phase. For the case where NAPL is included
in the simulation, these concentrations may be provided within the residual NAPL phase
which are subsequently flashed to the other phases under equilibrium conditions. When
NAPL is included in the simulation, the NAPL saturations within the domain are required
as initial conditions as well.
The boundary conditions around the model domain are expressed as
∂c k
Second Type : Dij ni = qcD on B2′ (27b)
∂x j
∂c k
Third Type : Dij ni − vi ni c k = qcT on B3′ (27c)
∂x j
where B1′ is the boundary portion where concentration in the active phase is prescribed
~k
as c , B2′ , and B3′ are portions of the boundary where the dispersive and the total solute
mass fluxes are prescribed as q cD and q cT , respectively; and ni is the outward unit normal
vector. Note that an outflow boundary condition is a special case of equation (27c) with q cT = vi vi c k
thus leading to the condition of zero dispersive flux.
( ) ( ) ( ) (
∇ x τ xx ∇ x c k + ∇ y τ yy ∇ y c k + ∇ z τ zz ∇ z c k − ∇ x Q x c k − ∇ y Q y c k − ∇ z Q z c k ) ( ) ( )
{ ( ) ( ) (
= (∆x j ∆y i ∆z k ) ∇ t φS w c k + ∇ t ρ B c sk + λ kwφS w c k + λ ks ρ B c sk − λ ks −1 ρ B c sk −1 − λ kw−1φS w c k −1 )n +1
}− (Qc *) n +1
(28)
(
+ ∇x τ ∇ yc k
xy
k
) + ∇ (τ x
k
xz ∇zc k
) + ∇ (τ ∇
y
k
yx x c k
) + ∇ (τy
k
yz ∇zc k
) + ∇ (τ
z zx ∇ xc k
) + ∇ (τz
k
zy ∇ yc k
)
k
where c is the time-weighted concentration for component k in the active phase; Lx, Ly,
and Lz are finite-difference gradient operators in the x, y, and z directions, respectively;
Lt is the temporal difference operator; n+1 denotes the current time level; τ xx ,τ yy ,τ zz
are the discretized dispersive terms; and Qx, Qy, Qz are the volumetric fluxes in the
principal coordinate directions. The discretized cross dispersion terms,
τ xy ,τ xz ,τ yx ,τ yz ,τ zx and ττ zy , are optionally taken into account by the code if
requested. Calculation of all dispersion coefficients at interblock locations are performed
by accounting for variable cell thickness as discussed by Zheng, 1990. Note that
c k = θ ck ( ) n +1
+ (1 − θ ) c k ( ) n
(29)
where n is the previous time level, n+1 is the current time step, and 2 is the Crank-
Nicolson factor which is unity for fully implicit, 0.5 for Crank-Nicolson, and 0 for fully
explicit time discretization.
The interblock concentrations in the advection terms on the left-hand-side of
equation (28) are calculated using a mass conservative second-order TVD scheme (Roe,
1981; Harten, 1983; Sweby, 1984; Yee, 1987; Cox and Nishikawa, 1991; Blunt and
Rubin, 1992; Arminjon, and Dervieux, 1994; Forsyth, 1994; Liu et al., 1994; and Unger,
et al. 1996) with the van Leer flux limiter (van Leer, 1977, 1979). Expansion of the
interblock advective flux term may be written as
( )
∇ i Qi c k = Qi + 12 cik+ 12 − Qi − 12 cik− 12 (30a)
where I is any coordinate direction (i=1,2,3), i+½ is the forward face of the grid block,
and i-½ is the backward face of the gridblock in the ith coordinate direction. The
concentration at the face c~i k+ 12 may be expressed in a TVD form as
σ (γ ij )
cik+ 12 = cups
k
+
2
[c k
dwn − cups
k
] (30b)
where ups is the upstream point and dwn is the downstream point of the nodal pair i and
i+1, and F is the flux limiter term, which is a function of (ij, the smoothness sensor.
Concentration at the face cik− 12 is expressed in a similar fashion. The TVD scheme
minimizes numerical dispersion and preserves monotonicity properties of the exact solution
and appears in equation (30b) as a correction to the upstream solution. The smoothness
sensor is calculated from concentrations at the downstream, upstream, and second point
upstream nodes and detects rapid changes in concentration. The van Leer flux limiter
weights the solution from fully upstream to fully downstream. When the degree of
implicitness of the solution varies, the Crank-Nicolson factor is chosen as close to ½ as
possible, without violating the TVD property of the solution (Blunt and Rubin, 1992).
The TVD property, when applied to the advective term, ensures physically correct
solutions without spurious oscillations even for totally advective transport. As stated by
Harten (1983), the TVD property guarantees that for a nonlinear, scalar equation or a
linear system of equations, the total variation (TV) of the solution will not increase as the
solution advances in time, i.e.,
( )
TV c n +1 ≤ TV c n ( ) (31a)
in which i and i–1 denote adjacent grid points. The van Leer limiter used in MODFLOW-
SURFACT/MODHMS is capable of capturing a shock within three nodes, under optimal
time stepping conditions, thus providing accurate, physically correct mass conserved
solutions. For TVD schemes with automatic control over implicitness, the time weighting
factor is adaptively adjusted for optimal accuracy of temporal discretization, while still
maintaining the TVD property. Options for upstream, midstream, and mixed spatial
weighting of the advective terms are also provided for quick initial simulations toward
calibration.
For transport through a fracture well (see the FWL4 Package described in Volume
I of the MODFLOW-SURFACT/MODHMS code documentation), it is assumed that
dispersion and storage in the wellbore are negligible since advection is the dominant
transport mechanism.
2.3.2 Implementation of Boundary Conditions
All external and internal flow boundaries of the domain (including
injection/withdrawal wells) are treated as third-type boundaries for transport. The
concentrations of contaminant species, input by the user at all possible inflow boundaries,
are multiplied by the fluid flux and implemented into the right-hand side vector. Outflow
boundaries to the system do not require user supplied concentration values, which are
ignored if provided. For outflow boundaries, the fluid flux is added to the diagonal term
of the left-hand-side matrix and outflow concentrations are computed by the code. All
third-type (fluid/contaminant flux) boundaries act in an additive fashion, so a user may
implement, for example, recharge, evapotranspiration, and drain conditions, all on one
node. For instance, for an active water phase, recharge water with prescribed
concentrations enters the cell, fresh water (without contaminants) leaves due to
evapotranspiration thus further affecting the cell concentration, and water with calculated
resultant concentration for that cell leaves it through the drain boundary. Note that
evapotranspiration is treated by allowing only water but no contaminant efflux. Prescribed
concentration (first-type) conditions may be implemented anywhere in the domain,
including at flow boundaries. Note that this prescribed concentration is supplied for the
active fluid phase in the system. Numerical implementation is performed by multiplying
the diagonal by a large number and replacing the right-hand-side by the large number
times the prescribed concentration value for the respective node. Note that first-type
boundary conditions supersede all other third-type conditions prescribed at the same node.
2.3.3 Solution Procedures
Nonlinearities in adsorption or of implicit TVD schemes used to solve the
transport equation are treated using Picard iterations. The second term on the right hand
side of equation (1) is expanded using the modified Picard method due to the non-linearity
of the Freundlich isotherm of equation (21). This term is written in finite difference form
as
∂ ρ
∂t
( ) (
ρ Β csk = Β csk n+1,m+1 − csk n
∆t
) (32)
where
dcsk
dc k
( ) (
= η kκ k c k * * η k − 1 ) (34)
is obtained from differentiating equation (21). The coefficient matrix therefore gets the
diagonal term ρ β ∆t dc s dc
k k
( )
and the right hand side vector gets
[ρ ck n
Β s (
/ ∆t − ρ Β c sk n +1,m / ∆t + ρ Β / ∆t dc sk / dc k n +1,m )] as the discretized
adsorbed contaminant storage term per unit volume of the system. Iterations are
performed on each component k, till convergence before proceeding to the next component
of a chain decay situation, or to the next time step of a transient simulation.
The Cooley (1983) under-relaxation scheme is used to dampen flip-flop behavior
during iterations. The system of matrix equations is solved using the Orthomin scheme
(Anderson, 1983a, b; Behie and Vinsome, 1982; Panday et al., 1993). Cross-dispersion
terms are included for the mixed and upstream weighted schemes, if desired, and are
implemented through the right-hand-side vector. For Courant numbers not much greater
than unity, the user may choose to apply the cross-dispersion term or the TVD flux limiter
as a flux correction with two iterations, as is done in Flux Corrected Transport (FCT)
schemes (Boris and Book, 1973). Time-lagging these terms is common practice by
modelers, and this option may be invoked by requesting only one iteration. However,
iterations are relatively inexpensive, and time-lagging is not advised.
Non-linearities also occur in solution to the transport equation, when an immobile
NAPL phase is simulated. For this case, the transport equations for all contaminant
species are solved first. Then, the flash package is invoked on grid blocks which contain
NAPL. The presence of NAPL is indicted if its saturation is greater than zero.
Alternatively, the appearance of NAPL within a grid block is indicated when the constraint
(16) or (17) is exceeded. The flash package is bypassed for grid blocks that contain no
NAPL saturations, and where concentrations are less than the constraint (16) or (17).
After contaminants have been flashed to equilibrium phase conditions throughout the
domain, an iterative procedure repeats the computations until convergence is achieved.
The flash package itself solves the system of equilibrium equations (17) and (19)
simultaneously using a Newton-Raphson scheme.
When an implicit TVD solution or a nonlinear transport problem does not
converge within the prescribed number of iterations for a particular flow time step, the
time-step size is reduced by a factor of 2 and the solution is reattempted for the reduced
time-step size. This process is repeated until convergence is achieved or a user-defined
number of sub-steps is exceeded, whereby the computations are aborted. Successful
computations for all sub-steps are performed before proceeding to the next flow time step.
When an explicit TVD scheme encounters stability problems, the target time-step is
⎡∂ ∂
⎛ k ∂c k
⎜ Dij
⎞
− vi c k ⎟ni dΒ − ∫
( k
) k
(
⎢ ∂t ϕS w c + ∂t ρ Β c s + λwϕS w c
k k
) ⎤
⎥ d∀ + qc*k d∀ = 0 (35)
∫ ⎜ ∂x j ⎟ ⎢ k ⎥ ∫
⎝ ⎠
⎣⎢+ λs ρ Β c s − λw ϕS w c − λs ρ Β c s ⎦⎥
Β ∀ k k −1 k −1 k −1 k −1 ∀
where œ is the solution domain with boundary B, and the source/sink function is
represented by
nw
∫ qc
*k
d∀ = ∑ QI ′ c I*′k δ ( xi − xiI ′ ) (36)
∀ I ′ =1
with QIN being the net volumetric flow rate of the well, or any other internal flow boundary
node, and * being the Dirac delta function at xi=xiIN (i=1,2,3). All terms have been
defined in Section 2.2, and the superscript k denotes the component index for a species,
while k&1 is the component index of the parent of component k, in a chain decay situation.
Also note that coefficients in equation (35) represent effective values of equation (5)
through (8) or (12) through (15) when multiphase transport is activated with
IEQPART>0.
Upon combining (35) and (36) and discretizing the terms using the block-centered
finite-difference approach, the following expression for the rate of material balance error
for a particular time step is obtained:
ε&M = ∑ (τ xx ∇ x c k − Qx c k )I * − ∑
nΒ nr nc nL
I *=1 i =1
∑ ∑ (∆x ∆y ∆z )⋅
j =1 k =1
j i k
[∇ (ϕS c )+ ∇ (ρ c )+ (λ ϕS c )
t w
k
t
k
Β s
k
w w
k n +1
+ λks ρ Β csk − λkw−1ϕS w c k −1 (37)
] ( )
nw
− λks −1 ρ Β c sk −1 + ∑ QI ′ c I*′k
n +1
I ′=1
where n is the total number of nodes in the grid (n=nr×nc×nL); the first term is the net
advective-dispersive flux along all boundaries of the domain, the second term is the net
rate of mass storage in the fluid phases, the third term is the net rate of mass storage on
the soil, the fourth term is the net rate of decay in the fluid phases, the fifth term is the net
rate of decay on soil, the sixth term is the net rate of gain of component by decay of its
parent in fluid phases, the seventh term is the net rate of gain of component by decay of
its parent on soil, and the final term is the net rate of mass injection-withdrawal,
respectively.
E = I − O − ∆S
where + is the error, which should be zero if the solution satisfies mass conservation
perfectly. It may be noted that + is also equal to IN-OUT as expressed in Table 2.1. The
mass balance computation provides a global measure of the behavior of the numerical
1 IN IN
a Storage Loss in Water =0.45621E+09 Storage Loss in Water =0.15969
b Storage Loss on Soil =0.00000E+00 Storage Loss on Soil =0.00000E+00
c Well Boundaries =0.47304E+09 Well Boundaries =0.00000E+00
d Const Head Bound. =0.11712E-21 Const Head Bound. =0.00000E+00
e Total In =0.92925E+09 Total In =0.15969
2 OUT OUT
a Storage Gain in Water =0.46746E+09 Storage Gain in Water =0.35344E-02
b Storage Gain on Soil =0.00000E+00 Storage Gain on Water =0.00000E+00
c Decay in Water =0.00000E+00 Decay in Water =0.00000E+00
d Decay on Soil =0.00000E+00 Decay on Soil =0.00000E+00
e Well Boundaries =0.37618E+09 Well Boundaries =0.15616
f Const Head Bound. =0.85605E+08 Const Head Bound. =0.00000E+00
g Total Out =0.92925E+09 Total Out =0.15969
h In - Out =10.070 In - Out =0.38820E–07
i % error =0.10836E–05 % error =0.24309E–04
Individual components of all boundary fluxes, cell-by-cell storage terms in all fluid
phases and on the soil, as well as the cell-by-cell decay terms in all fluid phases and on the
soil are saved to a binary file if requested, for post-processing calculations to examine
accumulation and decay behavior in subregions of interest within the domain. The utility
module UBUDSV of MODFLOW is used for binary output. Components of the storage,
degradation (or decay), and generation terms in all fluid phases and on soil for each node
are written to unit IBCFCC defined in the basic transport data file. The text in the heading
of each component of printout includes, in sequential order,
NSTORAGE I FLUIDSN
NSTORAGE ON SOILN
NDECAY I FLUIDSN
NDECAY ON SOILN
NGENERAT. I FLUIDSN
NGENERAT. ON SOILN, for each species.
The user may post-process the results provided for all fluid phases, to provide
storage, decay, or generation of contaminant species in any or all of the individual fluid
phases (air, water, and NAPL), if required.
* Currently storage terms for the dual porosity immobile phase are added to the respective terms in the mobile
phase and reported together.
1. Data: HEADNG(32)
Format: 20A4
2. Data: HEADNG (continued)
Format: 12A4
4. Data: IUNIT(60)
Format: 60I3
(BCF WEL DRN RIV EVT TLK GHB RSF SIP DE4 SOR OC
CHF PRL OBS GFD FHB IPT RCT SLC LMG PCG5 RES FWL5 SFR1
**Item 6 consists of one array for each layer in the model grid. Arrays for 1 through
NLAY layers must be entered in order.
**Item 8 consists of one array for each layer in the model grid. Arrays for 1 through
NLAY layers must be entered in order.
DATUM -- is a shift value applied to the datum of all head and elevation
calculations. This amount is subtracted from all head and
elevation values internally, to minimize computational round-off
errors. Note that heads and elevations of a simulation are reported
with respect to the original datum and this entry is only used
internally for scaling purposes.
1. Data: LINR IDCYTP ILAMWS IACLVL NSPECI ICHAIN IDISP IEQPART NDENS IUNCAD
Format: I10 I10 I10 I10 I10 I10 I10 I10 I10 I10
**Enter item 2b only if IEQPART = 2 and if IREALSL = 1 or 2 (i.e., when water is the
active phase).
4. Data: CNOFLO CCLOSE MXITERC NNOTCV THETRD IBCFCC ICROSS NOMATRIX IPHSFLG
Format: F10.0 F10.0 I10 I10 F10.0 I10 I10 I10 I10
** Each of the following items (5 through 21) consists of NLAY two-dimensional arrays,
one for each layer in the model grid. Thus, NLAY number of arrays must be specified
Note that item 5 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 6 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 7 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 8 only if IDISP > 0.
Note that item 8 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 9 only if IDISP >1.
Note that item 9 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 10 only if IDISP >2.
Note that item 10 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 11 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 12 only if LINR >0.
Note that item 12 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 16 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 17 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 18 only if LINR = 2.
Note that item 18 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 19 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
** Enter item 20a only if ILAMWS = 0.
Note that item 20a consists of one array for each layer in the model grid. Arrays for
layers 1 through NLAY must be entered in order.
** Enter item 20b only if ILAMWS = 0.
Note that 20b consists of one array for each layer in the model grid. Arrays for layers 1
through NLAY must be entered in order.
** Enter item 20c only if ILAMWS = 0.
Note that 20c consists of one arrary for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 21 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
***Enter Items 22a, 22b and 22c only if ICHAIN=2
22a) Data: NPAREN(I)
Format: I10
22b) Data: KPAREN (J), J=1, NPAREN
Format: 5I10
22c) Data: SFACTR(J), J=1, NPAREN
Format 5F10.3
Explanation of Fields Used in Input Instructions
LINR -- is the retardation index.
If LINR = 0, retardation is not applied.
If LINR = 1, retardation is linear.
If LINR = 2, retardation is nonlinear.
IDCYTP -- is the degradation type index.
If IDCYTP = 1, the degradation is only species dependent (e.g.,
radioactive decay).
If IDCYTP = 0, the degradation is both species and location
dependent (e.g., biodegradation).
ILAMWS -- is an index for the type of degradation on soil.
If ILAMWS = 1, the rate of degradation is same in all phases
including soil.
If ILAMWS = 0, the rate of degradation is different in each
phase including soil.
IACLVL -- is the index for the choice of numerical scheme.
If IACLVL = –2, adaptive TVD scheme with the van Leer flux
limiter.
If IACLVL = –1, upstream weighting scheme with user-specified
upstream factors.
If IACLVL = 0, fully upstream weighting scheme.
If IACLVL = 1, upstream weighting with upstream factors
automatically determined by the code.
Note that the TVD scheme is highly accurate but more computationally
demanding than the other upstream weighting schemes. If steep
concentration fronts are expected, the TVD scheme should be selected.
On the other hand, the fully upstream weighting scheme is the most
1. Data: IHCNCC
Format: I10
2. Data: ITMP
Format: I10
(Input item 3 consists of one record for each specified-head boundary cell in the model
grid, at which inflow is anticipated. If ITMP is negative or zero, item 3 is not read.)
Explanation of Fields Used in Input Instructions
IHCNCC -- is a flag and a unit number.
If IHCNCC > 0, it is the unit number on which contaminant mass-
flux-terms of each species at all the specified-head
2. Data: ITMP
Format: I10
2. Data: ITMP
Format: I10
Conc(I) - is the concentration of species I. The input value is used only if the
cell represents an injection well (i.e., when Q is positive). Note that
NSPECI is the total number of species in the transport simulation.
2. Data: ITMP
Format: I10
(Input item 3 normally consists of one record for each drain. If ITMP is negative or zero,
item 3 will not be read.)
Explanation of Fields Used in Input Instructions
MXDRN -- is the maximum number of drain cells active at one time.
IDRNCB -- is a flag and a unit number for flow simulation.
If IDRNCB > 0, it is the unit number on which cell-by-cell flow
terms will be recorded whenever ICBCFL (see the
Output Control [OC] package input) is set.
If IDRNCB = 0, cell-by-cell flow terms will not be printed or
recorded.
If IDRNCB < 0, drain leakage for each cell will be printed
whenever ICBCFL is set.
2. Data: ITMP
Format: I10
(Input item 3 normally consists of one record for each river reach. If ITMP is negative
or zero, item 3 is not read.)
Explanation of Fields Used in Input Instructions
MXRIVR -- is the maximum number of river reaches active at one time.
IRIVCB -- is a flag and a unit number for flow simulation.
If IRIVCB > 0, it is the unit number on which cell-by-cell flow
terms will be recorded whenever ICBCFL (see
Output Control) is set.
If IRIVCB = 0, cell-by-cell flow terms will not be printed or
recorded.
If IRIVCB < 0, river leakage for each reach will be printed
whenever ICBCFL is set.
2. Data: ITMP
Format: I10
(Input item 3 normally consists of one record for each GHB. If ITMP is negative or zero,
item 3 is not read.)
Explanation of Fields Used in Input Instructions
MXBND -- is the maximum number of general-head-boundary cells at one time.
IGHBCB -- is a flag and a unit number for flow simulation.
If IGHBCB > 0, it is the unit number on which cell-by-cell flow
terms will be recorded whenever ICBCFL (see
Output Control) is set.
If IGHBCB = 0, cell-by-cell flow terms will not be printed or
recorded.
If IGHBCB < 0, boundary leakage for each cell will be printed
whenever ICBCFL is set.
(If IFWLCB=-1, flux-contribution of each FWL
cell will also be printed.)
**Enter item 3b only if INRECH > 0 and MXZRCH > 0. The tabulated zonal recharge
values are added to the default recharge values read above in item 3a.
3c. Data:
Utility Module: U2DREL
**Enter item 4 only if the recharge option (NRCHOP) is equal to 2 and INIRCH $ 0.
**Enter item 5 only if the unconfined option is used (IUNCNF> 0) and INPNDEL $ 0.
(Input item 6 normally consists of one record for each seepage face boundary cell. If
INSEEP is negative or zero, item 6 is not read.)
Note 2: A zonal index array identifies the grid blocks which lie within a
particular zone. An index value of zero allows for the default
application of MODFLOW’s recharge for that stress period (as read into
the RECH array).
Note 3: Zonal locations for the recharges in the time series may be varied
between stress periods. Thus, the zones themselves may be varied on
a stress period basis. This is controlled by the flag INRECH, which
also controls reading of recharge rates of each stress period.
Note 4: The recharge time-series file (RTS) associated with zonal recharge input
is read as per instructions provided in Section 4.5.2 of Volume I of this
document.
INPNDEL -- is the PNDEL read flag, when the unconfined option is used (IUNCNF
> 0).
If INPNDEL $ 0, an array of ponding elevations (PNDEL) is read.
If INPNDEL < 0, ponding elevations from the preceding stress
period are used.
INSEEP -- is a flag and a counter of seepage boundary cells.
If INSEEP < 0, seepage face boundary data from the preceding
stress period will be reused.
If INSEEP $ 0, INSEEP is the number of seepage face
boundaries during the current stress period.
2. Data: ITMP
Format: I10
3-32 Chapter 3: User’s Guide for the ACT Modules
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
**Enter item 3 only if ITMP > 0.
3. Data: LSTART LEND Row Column Elevation Radius Q Storage Conc(I), I=1, NSPECI
Format: I10 I10 I10 I10 F10.0 F10.0 F10.0 F10.0 5F10.0
(Input item 3 consists of one record for each well. If ITMP is negative or zero, item 3 is
not read.)
Explanation of Fields Used in Input Instructions
MXFWEL -- is the maximum number of wells in the simulation. These include wells
that may not be active (sink or source) but still act as a vertical
connection between layers.
IFWLCB -- is a flag and a unit number for flow simulation.
If IFWLCB > 0, it is the unit number on which cell-by-cell flow
terms for the well will be recorded whenever
ICBCFL (see Output Control) is set.
If IFWLCB = 0, cell-by-cell flow terms for the well will not be
printed or recorded.
If IFWLCB < 0, well injection rate will be printed whenever
ICBCFL is set.
(If IFWLCB=-1, flux-contribution of each FWL
cell will also be printed.)
ρg
where FCONST =
8µ
⎡ 1 ⎤
FCONT Value in dimensions
⎢ LT ⎥
⎣ ⎦
If the length and time units used in the simulation are other than those given in the above
table, equivalent value of FCONST must be computed using the relation given above.
ITMP -- is a flag and a counter.
If ITMP < 0, Fracture well data from the last stress period will be
reused.
If ITMP $ 0, ITMP is the number of fracture wells (including
abandoned but unplugged) in the current stress period.
Note: Unless either a new well is drilled or an old well is plugged, ITMP
remains constant and is equal to MXFWEL. In other words, an existing
well that is not discharging/recharging must also be physically included
in a stress period with its Q value set to zero.
LSTART -- is the layer number of the model cell that contains the top of the well
screen.
LEND -- is the layer number of the model cell that contains the well bottom.
Row -- is the row number of the model cell that contains the well.
Column -- is the column number of the model cell that contains the well.
Elevation -- is the elevation of the well bottom. Physically, this elevation should lie
within the bottom layer (LEND) of the well.
Radius -- is the radius of the well in the same units as any other length units used
in the simulation. Setting the radius of the well to zero, effectively
disconnects the well fracture elements, since the fracture well conductivity
(KR in equations (1) and (2)) becomes zero. (The storage of the well also
becomes zero because of the well volume being zero). The well action of
preventing unphysical overpumping, however, is still active.
Q -- is the volumetric flux (L3 T–1) into the well. A positive value indicates
injection of water in the well and a negative value indicates discharge
from the well.
** Enter the remaining items (3, 4, 5 and 6) for each stress period.
3. Data: ITMP
Format: I10
** Enter items 4, 5 and 6 only if ITMP >0, for each of the ITMP = NCHANGE number
of wells that are activated or de-activated.
Note that LSTART and LEND are starting and ending layers of well LWELL and are
defined for all wells via data item 2.
** Enter item 6 only if INHD = 1 (also ITMP and IBOUNDF5 for this well have to be
greater than zero).
** Enter item 7 only if INHD = 1 and also if ITRAN ≠ 0. (also ITMP and IBOUNDF5
for this well have to be greater than zero).
Note: Item 7 is to be repeated (for each species) for the LSPEC = 1, NSPECI contaminant
species of simulation.
Explanation of Fields Used in Input Instructions
MXFWEL5 -- is the maximum number of wells in the simulation. These include wells
that may not be active (sink or source) but still act as a vertical
connection between layers.
IFWL5CB -- is a flag and a unit number for flow simulation.
If IFWLCB > 0, it is the unit number on which cell-by-cell flow
terms for the well will be recorded whenever
ICBCFL (see Output Control) is set. Default
extension of file is CW5.
If IFWL5CB = 0, cell-by-cell flow terms for the well will not be
printed or recorded.
If IFWL5CB < 0, well injection rate will be printed whenever
ICBCFL is set.
(If IFWL5CB=-1, flux-contribution of each FWL
cell will also be printed.)
FCONST5 -- is the multiplying factor used to compute hydraulic conductivity of the
well given by:
KR = FCONST5 * (Radius)2
ρg
where FCONST =
8µ
Radius = radius of the well screen [L];
ρ = density of water [M/L3];
g = acceleration due to gravity [L/T 2]; and
The value of FCONST5 depends on the length and time units used in preparing
input data sets. The following table presents FCONST5 values in different length and time
units:
⎡ 1 ⎤
FCONT5 Value in dimensions
⎢ LT ⎥
⎣ ⎦
If the length and time units used in the simulation are other than those given in the above
table, equivalent value of FCONST5 must be computed using the relation given above.
IFWL5HD -- is a flag and unit number for saving FWL5 heads (and concentrations for
transport) to a separate file .
If IFWL5HD>0 it is the unit number on which a separate file with
default extension FH5 is opened for saving heads (and concentrations) at
all FWL5 nodes.
If IFWL5HD = 0 the FWL5 heads (and concentrations) are saved to the
HDS (and CON) files.
If IFWL5HD < 0 Heads (and concentrations) of FWL5 nodes are not
saved.
LSTART -- is the layer number of the model cell that contains the top of the well
screen.
LEND -- is the layer number of the model cell that contains the well bottom.
SKNF(K) -- is the value of the skin factor for all layers (from LSTART to
LEND) of the well.
Note: Setting a very high value for the skin factor (1020) effectively disconnects that layer’s
porous matrix block from the well thereby simulating casing effects within the layer.
HDFWL5(K) -- is the initial head value for all layers (from LSTART to LEND)
of the well
CONFWL5
(K,LSPEC) -- is the initial concentration value for all layers (from LSTART to
LEND) of species LSPEC, of the well.
3.4.13 Preconditioned Conjugate Gradient (PCG4) Package Input
Input required by the PCG4 package is similar to that of the PCG2 package
implemented in MODFLOW by Hill (1994). The PCG4 iterative solver is a simple
solution scheme requiring only closure tolerance limits and a maximum limit of solver
iterations as input. There are no iteration parameters to be estimated, nor other choices
to be made by the user. A solver-point-control-flag and maximum outer iterations (> 1
for unconfined systems) are also requested as input, to be consistent with the other solver
packages of MODFLOW. The PCG4 Package is required for a transport simulation, even
if it is not used for the flow simulation. Thus, two solver packages may be active for flow
and transport simulations. Note that some space conservation occurs when the PCG4
Package is used for both flow and transport.
Input for the PCG4 Package is read from a unit specified in IUNIT (13) of the
Basic Package input file, as requested by the flow simulation. The input is as follows:
Note that BFACT and RESRED are required only when INEWT = 1.
HCLOSE -- is the head change criterion for convergence. When the maximum
absolute value of the head change at all nodes during an iteration is less
than or equal to HCLOSE the nonlinear iterations are terminated.
Commonly, HCLOSE is set equal 0.01.
MUTPCG -- is a flag which controls printing from the solver. If MUTPCG = 0, no
printing from the solver is suppressed. If MUTPCG = 1, the solver
iteration summary is suppressed, if MUTPCG = 2, the solver iteration
summary, as well as convergence behavior at each iteration, is
suppressed. Usually this flag should be set to 1 or 2 to prevent lengthy
outputs. Solver convergence behavior at each iteration needs to be
examined only if the solver fails and the convergence is stalling.
3-40 Chapter 3: User’s Guide for the ACT Modules
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
MNORTH -- is the maximum number of orthogonalizations allowed for the
Orthomin solver to solve the transport matrix equation. A suggested
value of MNORTH ranges from 5 to 10, but lower values may be
used to conserve array space. Smaller MNORTH may, however,
weaken the solver’s performance. MNORTH larger than 10 may help
the solver to handle difficult problems but, in general, diminishing
returns are expected for MNORTH much larger than 10.
Note that if IREALSL … 0, the drawdown is a meaningless parameter and the switch
IDDNFM is used to indicate format for printout of saturations of the active phase.
IHEDUN -- is the unit number to which heads will be written if they are saved
on disk.
IDDNUN -- is the unit number to which drawdowns will be written if they are
saved on disk.
Note that if IREALSL … 0, the drawdown is a meaningless parameter and the switch
IDDNUN is used to indicate unit number for printout of saturations of the active
phase.
IHEDUN -- is the unit number to which heads will be written if they are saved
on disk.
IDDNUN -- is the unit number to which drawdowns will be written if they are
saved on disk.
4. Data: SURF
Module: U2DREL
Module: U2DREL
6. Data: EXDP
Module: U2DREL
7. Data: IEVT
Module: U2DINT
ETFRAC(I) -- is the root uptake factor for chemical species I. This is defined
as the fraction of chemical component I, that can leave the
system with ET flux. For example when ETFRAC(I) = 0.0,
ET removes water but leaves behind species I. If ETFRAC(I)
= 1.0, all of component I present, can leave with the calculated
ET flux.
INSURF -- is the ET surface (SURF) read flag.
Note that either item 4a or 4b is read depending on whether a time series for
maximum ET flux (ETSR) is requested or not.
Note that the shaded items, NOLFLW, NOLHED, NCHFLW and NCHHED are used
only with MODHMS and may be set to zero for a SURFACT simulation.
Omit data item 2 if NFHBX1=0. Input item 2 consists of one record for each of
NFHBX1 auxiliary variables.
2. Data: VarName Weight
Type: Character Real
Omit data item 3 if NFHBX2=0. Input item 3 consists of one record for each of
NFHBX2 auxiliary variables.
3. Data: VarName Weight
Type: Character Real
Data items 4a and 4b are required for all simulations. Include NBDTIM times in data
item 4b.
4a. Data: IFHBUN CNSTM IFHBPT
Type: Integer Real Integer
4b. Data: BDTIM(NBDTIM)
Type: Real
Omit data item 5a if all NGWFLW, NOLFLW and NCHFLW=0.
5a. Data: IFHBUN CNSTM IFHBPT
Type: Integer Real Integer
Omit data item 5b if NGWFLW=0. Input item 5b consists of one set of numbers for
each of NGWFLW cells. Each set of numbers includes layer, row and column indices,
an integer auxiliary variable, and NBDTIM values of specified flow.
5b. Data: Layer Row Column IAUX FLWRAT(NBDTIM)
Type: Integer Integer Integer Integer Real
Omit data item 5bii if ITRAN = 0 or IAUX = 0
5bii. Data: FBCONC (NSPECI, NBDTIM)
Type: Real
Note that data item 5bii consists of one entry for each of the NBDTIM interpolation
time values for a species. Data item 5bii is repeated for each species associated with
transport. Also note that if IAUX (of data item 5b) = 0, the concentration of all
species is taken as zero for this node.
Omit data item 5c if NOLFLW=0. Input item 5c consists of one set of numbers for each
of NOLFLW cells. Each set of numbers includes overland row and column indices, an
integer auxiliary variable, and NBDTIM values of specified flow.
Omit data item 5d if NCHFLW=0. Input item 5d consists of one set of numbers
for each of NCHFLW cells. Each set of numbers includes channel segment
number, an integer auxiliary variable, and NBDTIM values of specified flow.
Omit data item 7d if NCHHED=0. Input item 7d consists of one set of numbers
for each of NCHHED cells. Each set of numbers includes channel segment
number, an integer auxiliary variable, and NBDTIM values of specified head.
Note that items 5c and 5d are only required for a MODHMS simulation.
Radionuclide properties*
Initial
cR(x,t = 0) = 0R = 1,2,3
Inlet boundary
∂cl
Vcl − D = V cl l = 1, 2, 3
∂x
c1 = c1o e − λ1t
λ1c1o
c2 = c e o
2
− λ2 t
+
λ1 − λ 2
(e −λ t e −λ t )
2 1
λ2 c2o −λ t −λ t
c3 = c e o −λ3t
3 +
λ2 − λ3
(e − e ) 3 2
⎡ e − λ1t e − λ2 t e − λ3t ⎤
+ λ1λ 2 c1o ⎢ − + ⎥
⎣ (λ1 − λ 2 )(λ1 − λ3 ) (λ1 − λ 2 )(λ 2 − λ3 ) (λ1 − λ3 )(λ 2 − λ3 )⎦
*
Note coR = concentration of inflowing water at t = 0+ and
T = time period of release.
Parameter Value
Parameter Value
ρΒ Kd 1.0
Retardation Coefficient, R = 1+
ϕ
0.0
Decay constant, 8
Case 2:
Linear adsorption coefficient, Kd 0.14 m3/Kg
Bulk density of soil, DB 2.5 Kg/m3
ρΒ Kd
Retardation coefficient, R = 1+ 2.0
ϕ
Decay constant, 8 0.00019/d
Selected grid
)x = 30 m, )y = 30 m, 19 x 39 grid
Source location = Row 10, Column 7
Time steps
)t = 100 d (used 14 time steps)
Parameter Value
Parameter Value
Porosity, N 0.45
Initial Concentration, Co 0
Longitudinal Dispersivity, "L 1 cm
Transverse Dispersivity, "T 0
Molecular Diffusion, Do 0.01 cm2/d
Decay Coefficient, 8 0.001d-1
Bulk density, DB 1.46 g/cm3
Distribution Coefficient, Kd 0.308 cm3/g
Note that flow parameters for this problem are provided in Section 2.3B.2, Volume
I of the MODFLOW-SURFACT/MODHMS document.
Parameter Value
3
4 2.9
3 2.8
2 2.7
1 2.6
0 2.5
0 5 10 15 20
x-direction (m)
b) water
saturation
elevation (m)
5 1
4 0.8
3 0.6
2 0.4
1 0.2
0 0
0 5 10 15 20
x-direction (m)
Figure 4.34 Hydraulic Head and Water Saturation Profiles for NAPL
Dissolution Example 4.3.6.1.
Chapter 4: Verification and Application 4-49
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
102 102
1 1
10 10
0 0
10 10
Mass of PCE (kg)
102 102
1 1
10 10
0 0
10 10
Mass of DCE (kg)
Mass of VC (kg)
-1 -1
10 10
-2 -2
10 10
-3 total mass -3
10 mass in water 10 total mass
mass on soil mass in water
-4 mass in air -4 mass on soil
10 mass in napl
10 mass in air
mass left boundary mass in napl
-5 -5 mass left boundary
10 10
-6 -6
10 -2 -1 0 1 2 3 4 10 -2 -1 0 1 2 3 4
10 10 10 10 10 10 10 10 10 10 10 10 10 10
Time (days) Time (days)
Property Value
Hydraulic conductivity
Kx = K y = K z 1.0 m/d
Porosity
N 0.25
Dispersivity
"L 0.5 m
"TH 0.05 m
"TV 0.005 m
Property Value
(kg/m3)
4 1
3 0.1
2
0.01
1
0.001
0
0.0001
0 5 10 15 20
b)
5 TCE conc.
elevation (m)
(kg/m3)
4
3 1
2 0.1
1 0.01
0 0.001
0.0001
0 5 10 15 20
c)
5 DCE conc.
elevation (m)
(kg/m3)
4
1
3
0.1
2
0.01
1
0 0.001
0.0001
0 5 10 15 20
d)
5 VC conc.
elevation (m)
(kg/m3)
4
3 1
2 0.1
1 0.01
0 0.001
0.0001
0 5 10 15 20
x-direction (m)
Figure 4.36 Concentration contours of (a) PCE, (b) TCE, (c) DCE, and
(d) VC at 1,000 days.
4-54 Chapter 4: Verification and Application
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
a)
head (m)
5
elevation (m)
0
4 -0.2
3 -0.4
2 -0.6
1 -0.8
0 -1
0 5 10 15 20
x-direction (m)
b) water
saturation
elevation (m)
5 1
4 0.8
3 0.6
2 0.4
1 0.2
0 0
0 5 10 15 20
x-direction (m)
Figure 4.37 (a) Equivalent hydraulic head contours and (b) water saturations of
the active gas phase flow problem. The black box indicates the
perimeter of the NAPL source zone.
Chapter 4: Verification and Application 4-55
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
Table 4.9 Physical Properties Controlling Active Gas Phase Flow.
Property Value
102 102
1 1
10 10
0 0
10 10
Mass of DCE (kg)
Mass of VC (kg)
-1 -1
10 10
-2 -2
10 10
-3 -3
10 10
total mass total mass
-4 mass in water -4 mass in water
10 10
mass on soil mass on soil
mass in air mass in air
-5 -5
10 mass in napl 10 mass in napl
mass left boundary mass left boundary
-6 -6
10 -2 -1 0 1 10 -2 -1 0 1
10 10 10 10 10 10 10 10
Time (days) Time (days)
(kg/m3)
4 1
3 0.1
2
0.01
1
0.001
0
0.0001
0 5 10 15 20
b)
5 TCE conc.
elevation (m)
(kg/m3)
4
3 1
2 0.1
1 0.01
0 0.001
0.0001
0 5 10 15 20
c)
5 DCE conc.
elevation (m)
(kg/m3)
4
1
3
0.1
2
0.01
1
0 0.001
0.0001
0 5 10 15 20
d)
5 VC conc.
elevation (m)
(kg/m3)
4
3 1
2 0.1
1 0.01
0 0.001
0.0001
0 5 10 15 20
x-direction (m)
Figure 4.39 Concentration contours of (a) PCE, (b) TCE, (c) DCE, and (d) VC
at 0.1 days.
4-58 Chapter 4: Verification and Application
M:\Projects\MODFLOW Manuals\SURFACT and HMS Ver.3\Vol II\WordPerfect Files\R03-05.360_1-5.wpd
all phases present. A rectangular domain of 30 m x 20 m x 3 m around the
contaminated soils was set up for investigation of the effectiveness of NAPL removal
by air sparging. A steady-state air flow field is set up by injecting air in the
subsurface, which flows to the land surface which is under constant atmospheric
conditions. Flow parameters are discussed in Section 2.3C, Volume I of the
MODFLOW-SURFACT/MODHMS document, which also discusses the flow field
results. The radius of influence of the sparge is about 10 m at steady-state conditions,
at the well elevation. Table 4.10 shows the transport material parameter values for
the simulation. Phase properties of benzene are assumed to represent the gasoline
mixture which is simulated as a single component. The total transport simulation time
is 10 years. Figure 4.40 shows the gasoline saturations along a horizontal plane
through the well at 10 years of simulation. The gasoline has been completely removed
within a radius of about 5 m from the well. Figure 4.41 shows the mass loss of
gasoline in various phases in the subsurface, over the 10 year simulation period. Mass
in the NAPL phase decreases, as the domain is stripped of gasoline by the sparge
process. Diminishing returns are noted after 1.2 years of simulation, when NAPL is
stripped in the immediate vicinity of the sparge well. At this time, alternative
methods, or additional sparge wells would be more cost effective in cleaning up the
site.
4.4 LEVEL III: ACTUAL FIELD SIMULATION PROBLEMS
The third level of testing consists of two field simulation problems. These
problems are discussed in sections 4.4.1 and 4.4.2. The simulations include:
• Cross-sectional transport of chloride at the Borden site
• Three-dimensional transport of radionuclide from a waste disposal site.
Both simulation examples demonstrate the capability of MODFLOW-
SURFACT/MODHMS to handle site-specific conditions and produce simulation
results that are consistent with field observations.
4.4.1 Cross-Sectional Simulation of Chloride Transport at the Borden Site
The selected example concerns the unconfined aquifer system underneath the
Canadian Forces Base Borden Site in Ontario, Southern Canada. The site has been
extensively studied in a controlled subsurface environment. Frind and Hokkanen
(1987) provide details of the site characteristics, plume delineation, and
conceptualization of the system at the site. The case investigated here considers one
of the finite-element simulations reported by Frind and Hokkanen (1987) for
comparison of performance and accuracy with MODFLOW-SURFACT/MODHMS.
The study area is located near a landfill operated as a refuse dump from 1940 to 1976
(Figure 4.42). The landfill occupies an area of about 4 ha and is situated over an
unconfined sand aquifer that thins northward, in the direction of groundwater flow.
A chloride plume has been delineated to exist up to about 750 m north of the landfill
(Figure 4.42). Cross section (AAN) of the aquifer along the center line of the plume
is shown in Figure 4.43. Groundwater flow in the aquifer has been conceptualized by
Frind and Hokkanen (1987) using a homogeneous hydraulic conductivity, constant
lateral boundary water table levels, no-flow across the bottom boundary and a steady
but non-uniform recharge condition along the top of the domain. The finite-difference
grid and recharge distribution used in our MODFLOW-SURFACT/MODHMS
simulation are shown in Figures 4.44 and 4.45, respectively. Although this grid
seems complicated, it can be easily generated using any WINDOWS-based graphical
user interface customized for the MODFLOW-SURFACT/MODHMS modeling code.
Input data generated for the MODFLOW-SURFACT/MODHMS simulation are
presented in Appendix C.
A steady flow followed by transient transport simulation was performed with
MODFLOW-SURFACT/MODHMS. The flow and transport parameters of the model
Parameters Values
Longitudinal Dispersivity, "L 2m
Transverse Dispersivity, "T 0.2 m
Porosity, N 0.35
Molecular Diffusion Coefficient in water, Dw 1 x 10-9 m2
Molecular Diffusion Coefficient in air, Da 1 x 10-5 m2
Molecular Diffusion Coefficient in NAPL, Dn 1 x 10-9 m2
Equilibrium partitioning coefficient between gas 0.182
and water, Kgw
Equilibrium partitioning coefficient between 130
NAPL and water, Knw
Mass density of NAPL, Dn 800 kg/m3
Adsorption coefficient, kd 0 m3/kg
Decay coefficient, 8 0 d-1
Parameters Values
Parameters Values
Longitudinal dispersivity, "L 20 ft
Transverse dispersivity, "T 5 ft
Vertical dispersivity, "V 2 ft
Soil porosity, M 0.25
Diffusion coefficient, DE 1 × 10-6 ft2 d-1
Decay coefficient, 8 1.544 × 10-4 d-1
Adsorption coefficient, Rd 0
Numerical Options
Time discretization factor, THRTRD 0.5 (i.e., Crank-Nicolson time discretization)
Space discretization factor, IACLVL -2 (TVD scheme)
Non-linear iterations, MXITERC 2 (FCT scheme)
∂ ⎛ ∂h ⎞ ∂ ⎛ ∂h ⎞ ∂ ⎛ ∂h ⎞
⎜ Κ xx k rw ⎟ + ⎜⎜ Κ yy k rw ⎟⎟ + ⎜ Κ zz k rw ⎟ − Wf
∂x ⎝ ∂x ⎠ ∂y ⎝ ∂y ⎠ ∂z ⎝ ∂z ⎠
(1)
∂S ∂h
= fφ m w + fS w S s
∂t ∂t
where
is the hydraulic conductivity of the total system, as may be measured by pump tests in the
field, and Kii is the conductivity of the mobile domain (e.g., conductivity of a fracture if
theoretically calculated for fracture/matrix systems from fracture aperture and some flow
theory like Hagen-Poiseuille laminar flow, or conductivity of a soil sample from the
mobile region outside of the aggregates if measured in the laboratory). The other terms
are defined after equation (1) of Volume I. It should be noted that the saturation Sw above
them denotes the saturation within the mobile region (Vw/Vvm), and Ss is the specific storage
of the (soil within the) mobile region. No water flows into or through the immobile
region, thus a flow equation for the immobile region is not required. The Darcy flux
components, qi, per unit total volume may be computed from Darcy’s law as
∂h
qi = Κ ij k rw (3)
∂x j
MODFLOW-SURFACT/MODHMS has the option of allowing air to be the active
modeled phase instead of water. In that case, equation (1) may be expressed for air
instead of water, following the derivations in section 2.2c for solving the air flow
equations within the MODFLOW framework.
For the dual domain system, the transport equation for contaminants in the active
phase " within the mobile domain may be written per unit total volume as
∂ ⎛ k ∂cmk ⎞ ∂ ∂ ∂
∂xi
⎜ Dij
⎜
⎟−
∂x j ⎟⎠ ∂xi
qi cmk =( ∂t
)
fφ m Sαm cmk +(∂t
fρ Βm csm
k
) ( )
⎝
+ fλαk φ m Sαm cmk + fλκs ρ Βm csm k − qck* + fΓ k (4)
NPAR NPAR
− ∑ ξ kj fλαj φm Sαm cmj −
j =1
∑ξ
j =1
kj fλsj ρ Βm csmj + Rmk →im − Rimk →m
∂
{1 − f }φ im cimk + ∂ {1 − f }ρ Βim c sim
( ) k
( + {1 − f }λαk φ im cim
k
)
∂t ∂t
NPAR
+ {1 − f }λ ρ k
s
k
Βim sim c − ∑ ξ {1 − f }λα φ
kj
j
c j
im im (5)
j =1
NPAR
− ∑ ξ {1 − f }λ
j =1
kj
j
s ρ Βim c sim
j
− Rmk →im + Rimk →m = 0
where it is assumed that the active phase totally occupies the void spaces within the
immobile domain (S"im=1). Effective properties for Nim and DBim may be used if S"im…1.
Equilibrium adsorption in the immobile domain is still considered to be mediated through
the water phase, when the active phase is air. Further, in consistency with the assumption
of no flow into or out of the immobile domain of the active phase, the immobile domain
is incompressible, and Nim and f remain constant. The rate of mass transfer from the
mobile domain depends on the mobile domain concentration and is expressed by a first
order kinetic term
where α m→
k -1
im (t ) is the first order kinetic rate constant. Similarly, the rate of mass
transfer from the immobile domain depends on its concentration and is expressed by a first
order kinetic term as
where α im→
k
m (t-1) is the first order kinetic rate constant. In (6) and (7) it is assumed that
the mass transfer for each contaminant k between the two domains is not affected by the
presence of the other contaminants, thus α im→
k
m α m→
and
k
im are constants. At
equilibrium, we have
k
cim = c mk and Rmk →im = Rimk →m , thus α imk →m = α mk →im = α k
which is the first order kinetic constant for mass transfer of contaminant k between
domains. Equation (6) minus Equation (7) then gives
Equation (8) may be used to replace the last two terms in equations (4) and (5) to
give two equations in the two unknown concentrations cmk and ckim for any contaminant
component k. The mass transfer rates coefficient may be related to the effective diffusivity
of contaminant within the immobile domain as
f = b / (b + b′) (10)
and
σ = 2 / b′ (11)
where b and bN are the dimensions of the mobile and immobile domains respectively (see
Figure 6.2). Using (10) and (11) in (9) and rearranging gives " for a rectangular slab
block representation of the immobile domain as
α = 4 Dim* / b ′ 2 (12)
f = b / (2a + b ) (13)
and
3
σ = (14)
a
where Figure 6.2 defines the dimensions. Using (12) and (13) in (9) yields
α = 3Dim* / a 2 (15)
assuming that the dimension over which the diffusion is measured is from the block
surface to its center. These relations may be used to estimate " when field data is lacking.
where B1k , A2k , and B2k are diagonal matrices since there is no flow in the immobile
domain, and C ( = C m )
k k
represents the concentration in the mobile domain.
R2k A2k k
c k
im = k − kc (18)
B2 B2
which may be inserted into (16) to give
⎡ k A2k ⎤ k ⎡ k R2k k ⎤
⎢ A1 − k ⎥ c = ⎢ R1 − k B1 ⎥ (19)
⎣ B2 ⎦ ⎣ B2 ⎦
The matrix and right hand side vector may be manipulated according to equation
k
(19) before each solve for c k (at any time step or iteration). cim may then be obtained
from back substitution of the calculated ck into equation (18). Note that the second term
of equation (5) is expanded using the modified-Picard method due to the non-linear
retardation term, as is done for the second term on the right hand side of equation (4) for
the mobile domain.
θ m = Vwm / VT (20)
and
θ im = Vwim / VT (21)
Thus, 2, the fraction of soil filled with (mobile plus immobile) water is given as
θ = θ m + θ im (22)
They further define the fraction of the total water that is mobile,
Φ = θ m /θ , (23)
θ m = Φθ (24)
and using (22) and (24) we have
θm
θ im = − θ m = θ − Φθ (25)
Φ
fφ m S m = θ m (26)
and
(1 − f )φ im = θ im (27)
Parameter Value
Constant flux through soil column, q 10 cm3/cm2/d
Fraction of total water that is mobile, M 0.65
Fraction of domain filled with water, 2 0.4
Mobile fraction of domain, f 0.4
Porosity within mobile domain, Nm (=M2/f) 0.65
Porosity within immobile domain, Nim (={2-M2}/{1-f}) 0.23333
Index IDUAL indicating that equilibrium adsorption 2
characteristics of both mobile and immobile domain are
the same
Index LINR indicating linear equilibrium adsorption 1
Bulk density of soil, DB (=DBim) 1.3 g/cm3
Linear equilibrium adsorption coefficient, kd (=kdim) 0.5 cm3/g
Diffusion coefficient with tortuosity, D 30 cm2/d
Effective Diffusion coefficient for dual domain, Deff 30 cm2/d*0@65*0@4=7.8 cm2/d
(=2mD=M2D)
Bulk diffusion coefficient, Do (=D/{Sw10/3 Nm})
12 cm2/d
Dimensionless loading time
3 pore volumes
qt
T1
L[φ m f + φ im (1 − f )]
Time of source release, t 3.6 days
First order, kinetic mass transfer coefficient, ":
case 1, no mass transfer =0
case 2, slight mass transfer = 0.15
= 100
case 3, very large mass transfer
1.0
Analytical Solution
(van Genuchten and
Wierenga, 1976)
.8 Numerical Solution
α = 0.0
α = 0.15
Relative Concentration, cm
α =∞
.6
.4
α =∞
.2 α = 0.15
α = 0.0
0
0 1 2 3 4 5 6 7
Pore Volume -T
6-11
Figure 6.3 Effluent curves for a sorbing medium showing a comparison of numerical and analytical solutions for mass
transfer coefficient (") values to 0.0, 0.15, and 4.
files that are needed. These flags correspond to the unit numbers on IUNIT(17),
IUNIT(23), and IUNIT(24). The flag ITRAN indicates the transport simulation
requirements. If the flag is zero, no transport simulation is required and only a flow
simulation is performed. If the flag is unity, a dual flow-and-transport simulation is
required. The flag IDUAL indicates that dual domain transport simulations will be
performed (if IDUAL > 0). Note that the user may turn off the flag ITRAN at any stage
of the modeling study to perform the flow simulation only. No other data need be
disturbed. The capability for performing steady-state flow analysis for some stress periods
and transient analysis for others, has been included from a similar concept used in
MODFLOW 2000. The entire input data structure is presented here for the BAS package
for completeness. The additional variables required for transport analysis are shown in
shaded boxes.
1. Data: HEADNG(32)
Format: 20A4
2. Data: HEADNG (continued)
Format: 12A4
4. Data: IUNIT(60)
Format: 60I3
(BCF WEL DRN RIV EVT TLK GHB RSF SIP DE4 SOR OC PCG
STR PG2 HFB BTN LAK2 IBS CHD FWL4 ATO PCN HCN OLF CHF PRL
OBS GFD FHB IPT RCT SLC LMG PCG5 RES FWL5 SFR1 LAK3 GAGE
ETS1)
MPHFLAG -- When MPHFLAG > 0 and ISS = 0, the ATO4 package is used,
MODFLOW-SURFACT/MODHMS writes out a binary file x.mph,
which is used by MODPATH to determine time step information.
If IAPART … 0, the arrays BUFF and RHS occupy different space. This
option must be used if input LAYCON value of any model
layer is either 31, 33, 40, or 43. Note that LAYCON
values for layers are input in item 2 of the BCF4
Package.
ISTRT -- indicates whether starting heads are to be saved. If they are saved, they
will be stored in array STRT. They must be saved if drawdown is
calculated.
If ISTRT = 0, starting heads are not saved.
If ISTRT … 0, starting heads are saved.
IBOUND -- is the boundary array.
If IBOUND(J,I,K) < 0, cell J,I,K has a constant head where J,I,K are the
column, row, layer numbers of the cell,
respectively.
If IBOUND(J,I,K) = 0, cell J,I,K is inactive.
If IBOUND(J,I,K) > 0, cell J,I,K is active.
HNOFLO -- is the value of head to be assigned to all inactive cells (IBOUND = 0)
throughout the simulation. Since heads at inactive cells are unused, this
does not affect model results but serves to identify inactive cells when
head is printed. This value is also used as drawdown at inactive cells if
the drawdown option is used. Even if the user does not anticipate having
inactive cells, a value for HNOFLO must be submitted.
DATUM -- is a shift value applied to the datum of all head and elevation
calculations. This amount is subtracted from all head and elevation
values internally, to minimize computational round-off errors. Note
that heads and elevations of a simulation are reported with respect
to the original datum and this entry is only used internally for
scaling purposes.
SHEAD -- is head at start of the simulation. Regardless of whether starting head is
saved, these values must be input to initialize the solution.
PERLEN -- is the length of a stress period. It is specified for each stress period.
3. Data: RHOWP RHOAP VISW VISG COMPWAT COMPAIR ATMGP GRAV INITW
Format: E10.3 E10.3 E10.3 E10.3 E10.3 E10.3 E10.3 E10.3 I10
**Enter item 7 only if air phase flow simulation is required (IREALSL=3 or 4).
**Enter item 7a only if INITW=0
7a. Data: ZWT (NROW*NCOL)
Utility Module: U2DREL
**Enter item 13 only if this layer is not the bottom most layer of the and if IVHYC=0.
grid
**Enter item 21 only if IDUAL (read in from the Basic (BAS) Package) is greater than
0:
21. Data: PHIF (NCOL, NROW)
Utility Module: U2DREL
Note that item 21 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Explanation of Fields Used in Input Instructions
ISS -- is the steady-state flag
If ISS = 0, the simulation is transient.
If ISS is not 0, the simulation is steady-state.
IBCFCB -- is a flag and a unit number.
If IBCFCB > 0, it is the unit number in which cell-by-cell flow terms
will be recorded whenever ICBCFL is set. (See
Output Control in McDonald and Harbaugh [1988].)
If IBCFCB = 0, cell-by-cell flow terms will not be printed or
recorded.
If IBCFCB < 0, flow for each constant-head cell will be printed
whenever ICBCFL is set.
HDRY -- is the head assigned to cells that are converted to dry during a simulation.
Although this value plays no role in the model calculations, it is useful as
an indicator when examining the simulated heads that are output from the
model. HDRY is thus similar to HNOFLO in the Basic (BAS) Package,
IREALSL -- is a flag indicating that real soil moisture functions are used to define
flow in the unsaturated zone above the water-table.
Note that the new variably saturated flow option of the BCF4 Package are
implemented with input LAYCON = 40 or 43 for all the layers in the model grid. This
new option requires a non-zero value of IAPART. The flag IAPART, which is read from
item 5 of the BAS Package, indicates whether array BUFF is separate from array RHS.
The factor of ten represented by the first digit of the input LAYCON is stored in
the LAYAVG array. The second digit (ones) is stored in a LAYCON array. The stored
values of LAYCON and LAYAVG for an input LAYCON value are given in the following
table:
40 0 40
43 3 40
**Note that input LAYCON values 30, 32, 41, 42, are not allowed by MODFLOW-
SURFACT/MODHMS.
The meaning of the LAYAVG (tens digit with a factor of ten) is as follows:
Thus, the tens part of the input LAYCON value is stored in array LAYAVG, and
the ones part of the input LAYCON is stored in LAYCON array. The stored values of
LAYAVG determines the method of computing interblock transmissivity (when LAYAVG
= 10, 20, 30, or 40).
TRPYNU -- is a 2-D array containing the cell-by-cell anisotropy factors within each
layer. It is the ratio of transmissivity or hydraulic conductivity
(whichever is being used) along a column to transmissivity or hydraulic
conductivity along a row. Set to 1.0 for isotropic conditions. One
array is read for each layer.
Note: TRPYNU array is not needed for an axi-symmetric simulation
(IAXIS>0).
LOCAT -- is an index for the location of values to fill-in the array of concern.
<0, read an unformatted record containing the array values
= 0, set all the array values equal to constant (CNSTNT)
>0, read the formatted records containing the array values.
CNSTNT -- is a constant to which all array values are set if LOCAT is equal to zero
or by which all array values are multiplied if LOCAT is not equal to zero.
DELR -- is the cell width along rows. Read one value for each of the NCOL
columns. This is a single array with one value for each column. For an
axi-symmetric simulation (IAXIS>0), DELR represents radial width ()r)
of a cylindrical cell.
DELRCV -- is the cell width along rows for a curvilinear grid. This is a 2-D
array containing one value for each NCOL column, for each of the
NROW rows of a layer.
DELC -- is the cell width along columns. Read one value for each of the NROW
rows. This is a single array with one value for each row.
Note: DELC array is NOT read for an axi-symmetric simulation
(IAXIS>0).
DELCCV -- is the cell width along columns for a curvilinear grid. This is a 2-D
array containing one value for each of the NCOL column, for each
of the NROW rows of a layer.
SF1 -- is the primary storage coefficient, the storability. Read only for a
transient simulation (steady-state flag, ISS, is 0). For input LAYCON
equal to 1, 11, 21, or 31, SF1 will always be specific yield, while for
VHY -- is the vertical hydraulic conductivity of each cell. VHY is read only
for a layer represented by one of the following input LAYCON
values: 1, 3, 11, 13, 21, 23, 31, 33, 40, 43.
BOT -- is the elevation of the aquifer bottom. Read only for a layer represented
by one of the following input LAYCON values: 1, 3, 11, 13, 21, 23, 31,
33, 40, 43.
VCONT -- is the vertical hydraulic conductivity divided by the thickness, from one
layer to the layer below. The value for a cell is the hydraulic
conductivity divided by thickness for the material between the node in
that cell and the node in the cell below. Because there is not a layer
beneath the bottom layer, VCONT is not specified for the bottom layer.
SF2 -- is the secondary storage coefficient, the specific yield. SF2 is read only
if the simulation is transient (steady-state flag, ISS, is 0) and input
LAYCON value for the layer is one of the following: 2, 3, 12, 13, 22,
23 ,33, 43 .
TOP -- is the elevation of the aquifer top. TOP is read only for a layer
represented by one of the following input LAYCON values: 2, 3, 12, 13,
22, 23 ,33, 40, 43.
WETDRY -- is a combination of the wetting threshold and a flag to indicate which
neighboring cells can cause a cell to become wet. If WETDRY < 0,
only the cell below a dry cell can cause the cell to become wet. If
WETDRY > 0, the cell below a dry cell and the four horizontally
adjacent cells can cause a cell to become wet. If WETDRY is 0, the cell
cannot be wetted. The absolute value of WETDRY is the wetting
threshold. When the sum of BOT and the absolute value of WETDRY
at a dry cell is equaled or exceeded by the head at an adjacent cell, the
cell is wetted. WETDRY is read only if IWDFLG is not 0 and input
LAYCON value is one of the following: 1, 3, 11, 13, 21, 23, 31, 33.
VANSR -- is the residual saturation level for unsaturated soil. VANSR is read
only when the input LAYCON value for the layer is 43, and the
real soil moisture functions are requested with IREALSL…0.
1. Data: LINR IDCYTP ILAMWS IACLVL NSPECI ICHAIN IDISP IEQPART NDENS IUNCAD
Format: I10 I10 I10 I10 I10 I10 I10 I10 I10 I10
**Enter item 2b only if IEQPART = 2 and if IREALSL = 1 or 2 (i.e., when water is the
active phase).
4. Data: CNOFLO CCLOSE MXITERC NNOTCV THETRD IBCFCC ICROSS NOMATRIX IPHSFLG
Format: F10.0 F10.0 I10 I10 F10.0 I10 I10 I10 I10
** Each of the following items (5 through 21) consists of NLAY two-dimensional arrays,
one for each layer in the model grid. Thus, NLAY number of arrays must be specified
in item 5 (sequentially, 1 through NLAY for each of the layers) before entering the arrays
of item 6. NLAY is the number of layers in the model grid. If an item is not needed, it
must be omitted.
**Enter items 5 and 6 only if input LAYCON value of any model layer is neither 40 nor
43. Input LAYCON values for layers are read from item 2 of the BCF4 Package. Note
that for input LAYCON = 40 or 43 (i.e., for the variably saturated flow option) the bottom
and top elevations of all the layers are read by the BCF4 Package and, therefore, are not
requested below.
Note that item 5 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 6 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 7 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 8 only if IDISP > 0.
Note that item 8 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 9 only if IDISP >1.
Note that item 10 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 11 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 12 only if IDUAL > 0.
Note that item 12 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 13 only if LINR >0.
Note that item 13 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 14 only if IDUAL=3.
Note that item 14 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 18 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**The following items are used to input chemical properties of each species participating
in the simulation. Items 19 through 28 are sequentially input for each of the chemicals,
i.e., all of the arrays (items 19 through 28) for Species 1 are read first; then all of the
arrays for Species 2, etc. If an array is not needed, it must be omitted.
**Enter item 19 only if LINR > 0.
Note that item 19 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 20 only if IDUAL=3
Note that item 20 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 21 only if LINR = 2.
Note that item 22 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 23 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
** Enter item 24a only if ILAMWS = 0.
Note that item 24a consists of one array for each layer in the model grid. Arrays for
layers 1 through NLAY must be entered in order.
** Enter item 24b only if ILAMWS = 0.
Note that 24b consists of one array for each layer in the model grid. Arrays for layers 1
through NLAY must be entered in order.
* Enter item 24c only if ILAMWS = 0.
Note that 24c consists of one array for each layer in the model grid. Arrays for layers 1
through NLAY must be entered in order.
Note that item 25 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter items 26 and 27 only if IDUAL > 0.
Note that item 27 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter items 28a, 28b, and 28c only if ICHAIN=2
RHOB -- is bulk density of soil ( ) . Read only if LINR > 0. For dual
M
L3
domain simulations, RHOB is the bulk density of the mobile
domain, if the immobile domain has distinct adsorption
characteristics from the mobile domain (IDUAL=3). If IDUAL=2
then both domains have similar adsorption characteristics and this
parameter defines the adsorption for both domains. If IDUAL=1,
then adsorption is assumed to occur only in the mobile domain, and
this parameter defines the mobile domain adsorption characteristics.
RHOBIM -- is the bulk density of the immobile domain. Read only if
IDUAL=3. (i.e., if equilibrium adsorption in the two domains are
different).
DIFF(I) -- is the molecular diffusion coefficient (L2/T) of species I in the active
phase. Thus, for IREALSL=0, 1, 2, water is the active phase and
DIFF(I) is the free-water molecular diffusion coefficient for species
6.7 REFERENCES
HydroGeoLogic, Inc., 1992. STAFF3D - A Three-Dimensional Finite-Element Code for
Simulating Fluid Flow and Transport of Radionuclides in Fractured Porous Media,
version 2.0, 1992.
van Genuchten, M.Th., 1981. Non-equilibrium transport parameters from miscible
displacement experiments. Res. Rep. 119, U.S. Salinity Laboratory, Riverside,
Calif., 88 pp.
van Genuchten, M.Th. and Wierenga, P.J., 1976. Mass transfer studies in sorbing porous
media, I. Analytical solutions. Soil Sci. Soc. Am. J., 40: 473-480.
where h is now defined as an equivalent freshwater head, z is the length in the vertical
direction, 0TcT is the total density factor, the subscript w represents the active fluid phase
(which is water for most typical simulations of coastal aquifer systems but could also be
air in dense vapor simulation cases), and the other terms in the equation are defined in
Volume I where the governing fluid flow equation is presented. The terms 0TcT in
equation (1) are the additional buoyancy terms required by the flow equation for density-
dependent simulations. The total density factor is the sum of the density factors of each
of the component species whose density effect is significant. Hence
∂h ∂S w ∂η T c T ∂ ⎡ ⎧⎪ ∂h ∂z ⎫⎪⎤
SwSs +φ + S wφ = ⎢ K ij ⎨ + η T cT ⎬⎥ − W (2)
∂t ∂t ∂t ∂xi ⎢⎣ ⎩ j ⎪ ∂x ∂x j ⎪
⎭⎥⎦
η i
=
(ρ i
s − ρo ) (3)
c si ρ o
where Do is the reference (freshwater) density, and Dis is the density of a solution
containing concentration of solutes equal to cis. Note that equation (3) assumes a linear
variation of density with concentration for each species of concern, and equation (2)
assumes that the buoyancy effects for each species are additive. Boundary conditions for
the flow equation can include all of MODFLOWs available boundaries. Note however,
that prescribed head conditions should be provided in terms of the equivalent freshwater
head which is the variable of solution for the density-dependent flow formulation. Also,
the general head type boundaries of MODFLOW-SURFACT/MODHMS do not include
the density term (between the bed of the general head condition and the aquifer within the
domain) which should be accommodated in the input if required. After solution to the
flow equation, the fluxes may be computed as
⎧⎪ ∂h ∂z ⎫⎪
qi = K ij ⎨ + η T cT ⎬ (4)
⎪⎩ ∂x j ∂x j ⎪⎭
Transport of all solutes occurs under the flow field computed from equation (4)
above. The transport equations are unaltered from those discussed in Volume II of the
MODFLOW-SURFACT/MODHMS document, for the density-dependent flow/transport
case. However, the flow field (equations 1 and 4) is dependent on the concentration of
solutes within the domain and the concentrations are conversely dependent on the flow
field, causing a coupling of the two equation sets.
Additional coupling of the two equations is optionally provided via the hydraulic
conductivity of the medium, which could also depend on density and viscosity of the fluid
which in turn are related to the fluid concentrations. The hydraulic conductivity of a
medium (Ks) with fluid density Ds and viscosity µs, is related to the reference hydraulic
conductivity (K) for reference (freshwater) density Do and viscosity µo as:
ρs µo
Ks = K (5)
ρo µ s
where the relationship between concentration of each species and density is assumed linear
as discussed earlier. Assuming a similar linear relationship between fluid viscosity and
concentration with ideal mixing law for viscosities gives
⎡⎛ µ si − u o ⎞ i ⎤
µ s = ∑ ⎢⎜⎜ i
⎟c + µ o ⎥ / i
⎟ (6)
i ⎢
⎣⎝ c s ⎠ ⎥⎦
where µ s , is the viscosity of fluid with concentration of species i at c si
i
, for all species
i that include density and viscosity coupling.
∑ [(η c ) )]
∂η T c T φS w
(
NDENS
i t + ∆t
φS w − η ici
t
= i
(7)
∂t ∆t i =1
where t is the known time level and t + )t is the new time level at which solution is
sought. In the Picard iterative procedure, (ci)t+)t may be estimated from a previous iterate
value. Note that this term is therefore neglected if a time-lagged solution scheme is
employed. The buoyancy flux term may be expressed in finite difference form, for flow
between any two nodes 1 and 2 as
∂z K NDENS
K ijη c T
= 12
T
∂x j ∆l 12
∑ η c (z
i =1
i i
av 1 − z2 ) (8)
where K12 is the conveyance between nodes 1 and 2, )R12 is their separation distance,
is the volume weighted average concentration of species ‘i’ of the adjacent cells, and z1 and
z2 are the mean node elevations. The additional terms of equations (7) and (8) are placed
on the right-hand-side of the assembled flow equations for porous medium as well as
fracture well connections, and are subsequently also incorporated into the mass balance
calculations of the flow equation, once solution is obtained for h and c. After solution of
h at each iteration, the fluxes within the system are obtained using equation (4), for use
by the transport equation. Equation (4) consists of the traditional flow component of
MODFLOW-SURFACT/MODHMS and the buoyancy component which is expressed in
the form of equation (8). Hence, equation (8) needs to be added to MODFLOW-
SURFACT/MODHMS for calculating the flux that includes buoyancy components.
It should be noted that the buoyancy terms are implemented in the fracture well
package of MODFLOW-SURFACT/MODHMS as well, to provide full flexibility in
simulation capabilities. Further, fully dry cells do not include the buoyancy term for
unconfined flow conditions and height adjustments are made for cells that contain the
water table, to include only the saturated thickness portion of a cell in the
i
c av computation.
h = ,(b-y)
20m
K = 1 m/d Mc/Mn = 0
U = 0.066 m/d
, = 0.0245
Vn = U 80m
c=0 n = 0.35
h = ,(b-y)
Do = 0.066 m2/d c=1
Vn = Mc/Mn = 0
200m
100
DSTRAM
MODFLOW-SURFACT
80
ELEVATION, m
60
0.1
0.5
40
0.9
20
0
0 50 100 150 200
DISTANCE, m
ELEVATION, m
60
40
0.1
0.5
20
0.9
0
0 50 100 150 200
DISTANCE, m
100
60
0.1
40
0.5
0.9
20
0
0 50 100 150 200
DISTANCE, m
100
60
0.1
40 0.5
0.9
20
0
0 50 100 150 200
DISTANCE, m
1. Data: LINR IDCYTP ILAMWS IACLVL NSPECI ICHAIN IDISP IEQPART NDENS IUNCAD
Format: I10 I10 I10 I10 I10 I10 I10 I10 I10 I10
**Enter item 2b only if IEQPART = 2 and if IREALSL = 1 or 2 (i.e., when water is the
active phase).
3b. Data: RFRESH IMOVEON ISWAB DCLOSE ILAG NOBOY KEFFECT EMUO
Format: F10.3 I10 I10 F10.3 I10 I10 I10 I10
4. Data: CNOFLO CCLOSE MXITERC NNOTCV THETRD IBCFCC ICROSS NOMATRIX IPHSFLG
Format: F10.0 F10.0 I10 I10 F10.0 I10 I10 I10 I10
* Each of the following items (5 through 21) consists of NLAY two-dimensional arrays,
one for each layer in the model grid. Thus, NLAY number of arrays must be specified
in item 5 (sequentially, 1 through NLAY for each of the layers) before entering the arrays
of item 6. NLAY is the number of layers in the model grid. If an item is not needed, it
must be omitted.
**Enter items 5 and 6 only if input LAYCON value of any model layer is neither 40 nor
43. Input LAYCON values for layers are read from item 2 of the BCF4 Package. Note
that for input LAYCON = 40 or 43 (i.e., for the variably saturated flow option) the bottom
Note that item 5 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 6 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
7. Data: LDISP (NCOL, NROW)
Utility Module: U2DREL
Note that item 7 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 8 only if IDISP > 0.
Note that item 8 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 9 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 10 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
Note that item 12 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
**Enter item 19 only if NDENS > 0. Note that item 19 consists of one entry for each
of the NDENS species whose density effects are to be incorporated in flow, in sequential
order of the components.
**The following items are used to input chemical properties of each species participating
in the simulation. Items 20 through 26 are sequentially input for each of the chemicals,
i.e., all of the arrays (items 20 through 26) for Species 1 are read first; then all of the
arrays for Species 2, etc. If an array is not needed, it must be omitted.
Note that item 20 consists of one array for each layer in the model grid. Arrays for layers
1 through NLAY must be entered in order.
7.7 REFERENCES
Bear, J., 1979. Hydraulics of Groundwater, McGraw-Hill, New York, 567 p.
HydroGeoLogic, Inc., 1994. DSTRAM: Density-dependent Solute Transport Analysis
Model-Documentation and User’s Guide, Version 4.1.
Frind, E. O., 1982. Simulation of long-term transient density-dependent transport in
groundwater, Advances in Water Resources, vol. 5, pp. 73-88.
Henry, H. R., 1964. Effects of dispersion on salt incroachment in coastal aquifers,
Seawater in Coastal Aquifers (H.H. Cooper et al.) U.S. Geological Survey, Water
Supply Paper 1613-C.
Lee, C. and R. T. Cheng, 1974. On seawater encroachment in coastal aquifers, Water
Resources Research, vol. 10, no. 5, pp. 1039-1043.
Pinder, G. F. and H. H. Cooper, Jr., 1970. A numerical technique for calculating the
transient position of the saltwater front, Water Resources Research, vol. 6, no. 3,
pp. 875-880.
Segol, G., G. F. Pinder, and W. G. Gray, 1975. A Galerkin-finite element technique for
calculating the transient position of the saltwater front, Water Resources Research,
vol. 11, no. 2, pp. 343-347.
∂
( ⎛
)
(Rk )eff C wk = ∂ ⎜⎜ Dijk ( ) ∂C wk ⎞⎟ ∂ vi C wk
−
( )
+ q ss C ssk + rk (1)
∂t ∂xi ⎝ eff
∂x j ⎟⎠ ∂x j
Where t is the time, vi is the Darcy velocity, is the water phase concentration of
contaminant component k, rk is the reaction rate (negative for depletion or decay), qss is
the volumetric flow rate via sources or sinks and c ssk the solute concentration of the
sources or sinks per unit volume of the porous medium. Effective retardation factor (Rk)eff
and effective dispersion tensor (D ) k
ij eff , are defined as:
(D ) k
ij eff ( )
= Dijk w
+ K aw
k
Dijk( ) a
+ K nw
k
( )
Dijk n
(3)
Where N is the porosity, Sw, Sa, and Sn are saturations of water, air, and NAPL; (D ) k
ij w ,
(D ) , and (D )
k
ij a
k
ij n are the apparent hydrodynamic tensors in water, air, and NAPL;
k k
K aw , and K nw are partitioning coefficients between water and gas and between water
and NAPL, respectively; k dk is the partitioning coefficient between water and soil; Db is
the bulk density of the porous medium; and 0 is the Freundlich isotherm exponent. For
the simplicity of the equations, the effective term eff will be dropped hereinafter. Note that
actually c wk denotes concentration of k in the active phase and similar equations to (2) and
(3) can be written with partitioning expressed from the air phase for an air-active system.
The overall aerobic reaction stoichiometry for a fuel hydrocarbon compound (e.g.,
benzene) can be written as (Lu et al, 1999):
∂ (R H H w ) ∂ ⎛⎜ H ∂H w ⎞⎟ ∂ (vi H w )
= Dij − + q ss H ss + rH (5)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
Where H and O represent hydrocarbon and oxygen, respectively, and other terms are
defined following the definitions explained in the previous section.
M H = RH H w (7)
M O = RO Ow (8)
Where MH and MO are the masses of hydrocarbon and oxygen, respectively. The reaction
algorithm based on the total mass is written as:
and
Concentrations of hydrocarbon and oxygen after the reaction can be obtained as:
H w = M H (t + 1) / RH (11)
and
Ow = M O (t + 1) / RO (12)
For non-linear sorption, an iteration method is used to obtain accurate Hw and Ow.
By changing the value of F instantaneous reaction between any other chemicals can be
simulated using this module.
The reactions are assumed to occur in a sequential order, as listed above. Since ferric iron
is immobile, it is simulated as an initial condition available within the domain which is
consumed to produce ferrous iron (iron II) that is mobile (the rate of ferrous iron
production is the same as the rate of ferric iron reduction). Therefore only transport of
ferrous iron is simulated while the solid phase ferric iron available for reaction is updated
internally. Similarly, for methanogenesis, methane is produced and its transport in the
aquifer is tracked. Reduction by methanogenesis is assumed to occur only up to a
maximum methanogenesis potential, Epot, which is the total capacity for methanogenesis
of the domain. Beyond this level, the hydrocarbon is not reduced further. The coupled
transport equations are therefore written for the mobile components as:
∂ (R H H w ) ∂ ⎛⎜ H ∂H w ⎞⎟ ∂ (vi H w )
= Dij − + q ss H ss + rH (18)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
and
and
∂ (R F Fw ) ∂ ⎛⎜ F ∂Fw ⎞⎟ ∂ (vi Fw )
= Dij − + q ss Fss + rF (21)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
and
∂ (R P Pw ) ∂ ⎛⎜ P ∂Pw ⎞⎟ ∂ (vi Pw )
= Dij − + q ss Pss + rP (22)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
and
∂ (R E E w ) ∂ ⎛⎜ E ∂E w ⎞⎟ ∂ (vi E w )
= Dij − + Qss E ss + rE (23)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
where, t refers to a particular time step, MD and MA are the masses of the electron donor
and electron acceptor, and FA/D is the stoichiometric ratio between the electron acceptor
and the electron donor.
Note that the rate of ferrous iron production is equal to the rate of ferric iron reduction and
hence
rF = −rFe (26)
Ow Os
rH ,O = − k wO H w φS − k O
H ρb
K wO + Ow K sO + Os
w s s
(27)
O O
− k H a O a φS a − k nO H n O n φS n
O
K a + Oa K n + On
a
Nw K iO, w Ns K iO, s
rH , N = −k H w N
N
φS w − k s H s N
N
ρb
K w + N w K iO, w + Ow K s + N s K iO, s + Os
w
(28)
Na K iO,a Nn K iO,n
− ka H a N
N
φS a − k n H n N
N
φS n
K a + N a K iO,a + Oa K n + N n K iO,n + On
Fs K iO,s K iN,s
− k Hs F
F
ρb
K s + Fs K iO,s + Os K iN,s + N s
s
(29)
Fa K iO,a K iN,a
k aF H a φS a
K + Fs K iO,a + Oa K iN,a + N a
F
a
Fn K iO,n K iN,n
− k Hn F
F
φS n
K n + Fn K iO,n + On K iN,n + N n
n
(30)
O N F
Pa K K K
− k aP H a
i ,a
φS a
i ,a i ,a
(31)
Ca K iO,a K iN,a K iF,a K iP,a
− Ka Ha C
C
φS a
K a + C a K iO,a + Oa K iN,a + N a K iF,a + Fa K iP,a + Pa
Cn K iO,n K iN,n K iF,n K iP,n
− k Hn C
C
φS n
K n + C n K iO,n + On K iN,n + N n K iF,n + Fn K iP,n + Pn
n
where rH,O is the hydrocarbon destruction rate utilizing oxygen; rH,N is the destruction rate
utilizing nitrate, rH,F is the destruction rate utilizing Fe3+; rH,P is the destruction rate
utilizing sulfate; rH,C is the destruction rate via methanogenesis; kwo, kso, kao, kno are the
first-order degradation rate constants for hydrocarbon utilizing oxygen as the electron
C = E pot − E (32)
Thus, methanogenesis is maximum when methane concentrations are zero and drop to zero
when methane concentration reaches the methanogenesis potential. The total rate of
hydrocarbon destruction rH via all decay processes is written as:
rH = rH ,O + rH , N + rH , F + rH , P + rH ,C (33)
Rates of electron acceptor utilization (or product formation) are given by the rates of
hydrocarbon destruction multiplied by an appropriate yield coefficient (Y) as:
rO = YO / H rH ,O (34)
R N = YO / H rH ,O (35)
rF = YO / H rH ,O (36)
rP = YO / H rH ,O (37)
rC = YC / H rH ,C (38)
Assuming an equilibrium model for sorption and a Monod kinetic model for
biological reactions (Rafai and Bedient, 1990; Clement et al., 1996a), the fate and
transport of an electron donor (hydrocarbon, for example) in a multi-dimensional saturated
porous medium can be written as:
∂R D Dw ∂ ⎛⎜ ∂Dw ⎞⎟ ∂ (vi Dw )
= Dij − + q ss Dss + rD (39)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
∂R A Aw ∂ ⎛⎜ A ∂Aw ⎞⎟ ∂
= Dij − (vi Aw ) + q ss Ass + rA (40)
∂t ∂xi ⎜⎝ ∂w j ⎟⎠ ∂xi
∂R X X w ∂ ⎛⎜ ∂X w ⎞⎟ ∂ (vi X w )
= X ij − + q ss X ss + rX (41)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
where D, A, and X represent the electron donor, electron acceptor, and bacterial cells,
respectively; and subscripts w and s represent water and solid phases, respectively. The
reaction terms are defined as:
∂ρ b X s
= rX s (42)
∂t
Dw K wA Ds K sA
rD = − µ mw X w φS − µ s
X ρb
K wD + Dw K wA + Aw K sD + Ds K sA + As
w m s
(43)
D K aA Dn K nA
− µ ma X a D a φS − µ n
X φS n
K a + Da K aA + Aa K nD + Dn K nA + An
a m n
Dw K wA Da K aA
rX = −Y X / D µ X w Dw
φS w − Y X / D µ m X a D
a
φS a
K w + Dw K wA + Aw K a + Da K aA + Aa
m
Dn K nA (45)
− Y X / D µ mn X n φS n
K nD + Dn K nA + An
( )
− K att + K we X wφS w + K det X s ρ b − K ae X aφS a − K ne X nφS n
rX s = Y X / D µ sm X s
Ds As
( )
ρ b − K det + K se X s ρ b + K att X wφS w (46)
K + Ds K s + As
D
s
A
Where KwD, KsD, KaD, and KnD are the half saturation coefficients in water, on solid, in gas,
in NAPL for the electron donor; KwA, KsA, KaA, and KnA are the half saturation coefficients
in water, on solid, in gas, in NAPL for the electron acceptor; :mw, :ms, :ma, and :mn are
the contaminant utilization rates in water, on solid, in gas, and in NAPL, Katt is the
bacterial attachment coefficient; Kdet is the bacterial detachment coefficient; and Kwe, Kse,
Kae, and Kne are the endogenous cell death or decay coefficients in water, on solid, in gas,
and in NAPL.
∂R A Aw ∂ ⎛⎜ ∂A ⎞ ∂ (vi Aw )
= Dij w ⎟ − + qss Ass + rA (47)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
∂RC C w ∂ ⎛⎜ C ∂C w ⎞⎟ ∂ (vi C w )
= Dij − + q ss C ss + rC (49)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
where A, B, C, and D represent contaminant species. The reaction terms are defined as:
(
rB = YB / A K wA AwφS w + K sA As ρ b + K aA AaφS a + K nA AnφS n )
( )
(52)
− K wB BwφS w + K sB Bs ρ b + K aB BaφS a + K nB BnφS n
(
rC = YC / B K wB BwφS w + K sB Bs ρb + K aB BaφS a + K nB BnφS n )
( )
(53)
− K wC CwφS w + K sC Cs ρb + K aC CaφS a + K nC CnφS n
(
rD = YD / C K wC C wφS w + K sC C s ρ b + K aC C aφS a + K nC C nφS n )
( )
(54)
− K DwφS w + K Ds ρ b + K DaφS a + K DnφS n
D
w
D
s
D
a
D
n
The yield values are on a mg/L basis; to be consistent, the user must use mg/L units for
all concentrations.
This model simulates degradation of PCE/TCE and their degradation products via
both aerobic and anaerobic pathways. The conceptual model used to model all chlorinated
solvent degradation reactions, mediated by aerobic and anaerobic dechlorination processes,
is described in the figure below:
Ae
Ae
Ae
ro b
ro b
ro b
ro b
ro b
ic
ic
ic
ic
ic
Where P, T, D, V, E, and C represent PCE, TCE, DCE, VC, Ethene, and chloride,
respectively; subscripts 1 and 2 represent anaerobic and aerobic pathways; and the reaction
terms are defined as:
∂RE E w ∂ ⎛⎜ E ∂E w ⎞⎟ ∂ (vi E w )
= Dij − + q ss E ss − YE / V rV 1 + rE1 + rE 2 (59)
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi
∂RC C w ∂ ⎛⎜ C ∂C w ⎞⎟ ∂ (vi C w )
= Dij − + q ss C ss + YC / P (rP ,1 + 4rP , 2 )
∂t ∂xi ⎜⎝ ∂x j ⎟⎠ ∂xi (60)
Where Kw,1P, Ks,1P, Ka,1P, and Kn,1P are the PCE anaerobic first order decay rate coefficients
in water, on solid, in gas, in NAPL; Kw,2P, Ks,2P, Ka,2P, and Kn,2P are the PCE aerobic first
order decay rate coefficients in water, on solid, in gas, in NAPL; Y represents different
stoichiometric yield values. Similar nomenclature is used for other species.
The user may write a subroutine containing all reactions pertinent to the modeling
effort, which may be linked into the executable. Note that with the operator splitting
technique used here, the equation for concentration change due to reaction at a time-step
is written as:
∂C wk rk
= (71)
∂t ( Rk ) eff
Which is the equation required by the reaction module. The effective retardation term,
(Rk)eff is given by equation (2) and can be calculated by a subroutine MASSC. Other
subroutines / functions available to the user include subroutine GETCON that calculates
the concentration of a component given it’s total mass and effective retardation coefficient,
and a real*4 function CS which calculates the last term of equation (2) for adsorption
considerations. The subroutine statements are as follows:
C-----Reaction Model#5-----------------------------------------------------------------------------C
c Four species (chlorinated solvents PCE -> TCE -> DEC -> VC)
c sequential, anaerobic, first-order, rate-limited, reductive dechlorination reactions.
C*********************************************************************C
SUBROUTINE RXNEQN7(NCOMP,T,Y,DYDT)
C*********************************************************************C
c
c Note that this subroutine is the same as RXNEQN5, for sequential chain decay.
C------------------------------------------------------------------------------------------------------------
c****Definition of values in the rc array and definition of y arrays**
C*** DECAY RATES
C .....in WATER PHASE
c rc(1) = PCE decay rate
c rc(2) = TCE decay rate
c rc(3) = DCE decay rate
c rc(4) = VC decay rate
C .....on SOLID PHASE
c rc(5) = PCE decay rate
c rc(6) = TCE decay rate
c rc(7) = DCE decay rate
c rc(8) = VC decay rate
C .....in AIR PHASE
c rc(9) = PCE decay rate
c rc(10) = TCE decay rate
c rc(11) = DCE decay rate
c rc(12) = VC decay rate
C .....in NAPL PHASE
c rc(13) = PCE decay rate
c rc(14) = TCE decay rate
c rc(15) = DCE decay rate
c rc(16) = VC decay rate
c
C*** MASS RATIOS
c rc(17) = yield tce/pce (131.36/165.8) -- fixed value
c rc(18) = yield dce/tce (96.9/131.36) -- fixed value
c rc(19) = yield vc/dce (62.45/96.9) -- fixed value
C------------------------------------------------------------------------------------------------------------
C*** CONCENTRATIONS
c y(1) = PCE
c y(2) = TCE
c y(3) = DCE
c y(4) = VC
C------------------------------------------------------------------------------------------------------------
C*****FUNCTION CS evaluates retardation term for solid phase.
1. Data: IDOMN
Format: Free
Note that IDOMN should be set to zero if dual domain simulations are not performed
5. Data: PARAMETER
Format: Free
**Enter item 6 only if KINETICS > 2. Item 6 should be repeated for all NCOMP
components of the simulation where NCOMP = NSPECI + NIMSPCS (mobile and
immobile components).
Note that if MXOUTITR (or MXOUTIT) =1, the operator splitting technique is used,
whereby the reactions are solved after solving for transport for each time step. If
MXOUTITR (or MXOUTIT)=2, then a correction is done on the second iteration,
with solution proceeding as in FCT schemes. For MXOUTITR (or MXOUTIT)>2,
iterations are performed over transport and reaction, till convergence is achieved.
8. Data: BIOS
Format: Free
**Enter item 11 only if KINETICS_MAT > 2. Item 11 should be repeated for all
NCOMP components of the simulation where NCOMP = NSPECI + NIMSPCS (mobile
and immobile components).
Note that if MXOUTITR_MAT (or MXOUTIT) =1, the operator splitting technique
is used, whereby the reactions are solved after solving for transport for each time
step. If MXOUTITR_MAT (or MXOUTIT)=2, then a correction is done on the
second iteration, with solution proceeding as in FCT schemes. For MXOUTITR_MAT
(or MXOUTIT)>2, iterations are performed over transport and reaction, till
convergence is achieved.
**Enter item 13, NIMSPCS times, for each immobile species involved in the reaction.
Note that item 13 consists of one array for each of the immobile species of reaction. The
array is of size NGW, with each element of the array representing the initial conditions
at each subsurface node.
All parameters are repeated for the immobile (matrix) domain of a dual domain simulation.
Parameters with the extension _MAT have same descriptions as above, but for the
immobile domain.
This problem is selected to test implementation of the reaction module since it can
be solved by both the reaction (RCT) module, as well as the basic transport (BTN)
module. The problem considers transport of a chain of three radionuclides released from
a decaying source located at x = 0 in a steady-state flow field within a confined porous
medium reservoir. Simulation conditions are described in Section 4.4.2, where this
problem has been solved directly within the BTN package.
Figure 8.2 shows the concentration distributions of all three components after
273.9 years of simulation. Agreement between the two modules is excellent.
1.0E+00
C1-RCT
1.0E-01
C2-RCT
Concentration
1.0E-02 C3-RCT
C1-BTN
1.0E-03
C2-BTN
1.0E-04 C3-BTN
1.0E-05
1.0E-06
1.0E-07
0 100 200 300 400 500
X (ft)
Figure 8.2. Comparison of results for BTN and RCT modules for three member
chain decay with decay in water and soil phases.
Another simulation is performed for the same setup, with decay occurring only in the
water phase (for the case of the problem discussed in Section 4.4.2, decay occurred in
water and soil phases at the same prescribed rate). Simulation results for this case are
shown in Figure 8.3. Again, the results show very close agreement indicating that the RCT
package is working correctly.
Concentration
1.0E-02 C3-RCT
C1-BTN
1.0E-03
C2-BTN
1.0E-04 C3-BTN
1.0E-05
1.0E-06
1.0E-07
0 100 200 300 400 500
X (ft)
Figure 8.3. Comparison of results for BTN and RCT modules for three member
chain decay with decay in water phase only.
This problem considers chain decay of PCE dissolved from an immobile NAPL
initially consisting of PCE in a single cell. Initial PCE NAPL saturation was 0.2. First
order decay rates of PCE, TCE, DCE, and VE were 0.05, 0.03, 0.02, and 0.01 1/day,
respectively. Yield coefficients between species were assumed 1.0. The results are
compared with those obtained from the BTN Transport module for two cases of decay in
the water and solid phases, and of decay in water phase only. Figure 8.4 shows the
concentration distributions of components in the water phase vs. time. Agreement between
the two modules is excellent.
NAPL
NAPL Chain
Chain Decay
Decay (water
(water andonly)
solid)
3.0E-01
1.2E+00 PCE-MS
(mg/L)
PCE-MS
Concentration(mg/L)
1.0E+00 TCE-MS
TCE-MS
2.0E-01 DCE-MS
8.0E-01 DCE-MS
Concentration
VC-MS
VC-MS
6.0E-01 PCE-RM
1.0E-01 PCE-RM
4.0E-01 TCE-RM
TCE-RM
DCE-RM
2.0E-01 DCE-RM
VC-RM
0.0E+00 VC-RM
0.0E+00
0 2000 4000 6000 8000 1000
0 2000 4000 6000 8000 1000
0
0
Time (days)
Time (days)
This simulation considers instantaneous aerobic decay of BTEX and was conducted
using MSVMS reaction module 1. The BTEX was introduce by specifying a constant
concentration 8 mg/L at some source nodes. Initial and inflow Oxygen concentrations were
assumed 6 mg/L. Figure 8.5 shows the concentrations of BTEX and Oxygen at 1000 days.
Note that oxygen is immediately depleted where BTEX is present.
Concentration (mg/L)
0
1
2
3
4
5
6
7
8
(a) BTEX
Concentration (mg/L)
0
1
2
3
4
5
6
7
8
(b) Oxygen
Figure 8.5. BTEX and oxygen concentrations at 1000 days obtained using
module 1.
Concentration (mg/L)
0
1
2
3
4
5
6
7
8
(a) BTEX
Concentration (mg/L)
0
1
2
3
4
5
6
7
8
(b) Oxygen
Concentration (mg/L)
0.001
3
6
9
12
15
18
(c) Nitrate
0.001
3
6
9
12
15
18
Concentration (mg/L)
0
10
20
30
40
50
60
70
80
90
100
(e) Sulphate
Concentration (mg/L)
0.0001
0.1
0.2
0.3
0.4
0.5
0.6
(f) Methane
Figure 8.6. BTEX, oxygen, nitrate, ferrous iron, sulfate and methane
concentrations at 1000 days obtained using module 2.
Concentration (mg/L)
0
1
2
3
4
5
6
7
8
(a) BTEX
Concentration (mg/L)
0
1
2
3
4
5
6
7
8
(b) Oxygen
0
3
6
9
12
15
18
(c) Nitrate
Concentration (mg/L)
0
3
6
9
12
15
18
0
10
20
30
40
50
60
70
80
90
100
(e) Sulphate
Concentration (mg/L)
0.0001
0.1
0.2
0.3
0.4
0.5
0.6
(f) Methane
This simulation considers the reaction between an electron donor and an electron
acceptor mediated by actively growing bacteria cells living in aqueous, soil, air, and
NAPL phases. The reaction module number 4 was used for this simulation. The BTEX
was introduce by specifying a constant concentration 8 mg/L at some source nodes. Initial
and inflow concentrations for BTEX, Oxygen aqueous phase bacteria and adsorbed
bacteria were assumed 0.0, 6.0, 0.0001 and 0.001 mg/L, respectively. The reaction
variables are summarized in Table 8.2. Figure 8.8 shows the concentrations of BTEX,
Oxygen, aqueous phase bacteria and adsorbed bacteria at 1000 days.
0
1
2
3
4
5
6
7
8
(a) BTEX
Concentration (mg/L)
0.0001
0.0010
0.0020
0.0030
0.0038
0.0040
0.0050
(b) Oxygen
Concentration (mg/L)
0.0001
0.0010
0.0020
0.0030
0.0038
0.0040
0.0050
0
1
2
3
4
5
6
7
8
(c) Adsorbed
Bacteria
This problem considers chain decay of dissolved PCE which was introduce by
specifying a constant concentration 0.24 mg/L at some source nodes. The reaction
variables are summarized in Table 8.3. Figure 8.9 shows the concentrations of PCE,
TCE, DCE, and VC at 1000 days.
Note that this setup can also be simulated by the BTN package branched chain-decay
formulation with zero branching, and appropriate yield factors.
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(a) PCE
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(b) TCE
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(c) DCE
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(c) VC
Figure 8.9. PCE, TCE, DCE, and VC concentrations at 1000 days for module 5.
This problem considers degradation of PCE and their degradation products via
both aerobic and anaerobic pathways. PCE was introduce by specifying a constant
concentration 0.24 mg/L at some source nodes. The reaction variables are summarized in
Table 8.4. Figure 8.10 shows the concentrations of PCE, TCE, DCE, VC, ETH, and Cl
at 1000 days.
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(a) PCE
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(b) TCE
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.05
0.1
0.2
0.3
(c) DCE
0.00001
0.0001
0.001
0.01
0.03
0.05
(d) VC
Concentration (mg/L)
0.00001
0.0001
0.001
0.01
0.03
0.05
(e) ETH
Concentration (mg/L)
0.001
0.01
0.1
1
2
3
(f) Cl
Figure 8.10. PCE, TCE, DCE, VC, ETH, and Cl concentrations at 1000 days
obtained using module 6.
8.6 Acknowledgments
We would like to acknowledge the previous works of the RT3D (Clement 1997) team
which has lead to the development of this RCT package. We are also extremely grateful
to Dr. Prabhakar Clement for discussions and support on issues related to this package.
Lu, G., T. P., Clement, C. Zheng, and T. H. Wiedemeier, 1999. Natural Attenuation of
BTEX Coumpouonds: Model Development and Field-Scale Application,
Groundwater, 37(5): 707-717.
Taylor, S. W., and P. R. Jaffe, 1990. Substrate and Biomass Transport in a Porous
Medium, Water Resources Research, 26: 2181-2194.