Toc SEAWAT Manual
User Manual:
Open the PDF directly: View PDF .
Download | |
Open PDF In Browser | View PDF |
User’s Guide to SEAWAT: A Computer Program For Simulation of Three-Dimensional Variable-Density Ground-Water Flow Techniques of Water-Resources Investigations of the U.S. Geological Survey BOOK 6 Chapter A7 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow By Weixing Guo1 and Christian D. Langevin2 U.S. Geological Survey Techniques of Water-Resources Investigations 6-A7 Tallahassee, Florida 2002 1 2 CDM Missimer, Fort Myers, Fla. U.S. Geological Survey, Miami, Fla. PREFACE This report describes the SEAWAT program, which can be used to simulate threedimensional, variable-density, ground-water flow. The performance of the program has been tested in a variety of applications. Future applications, however, might reveal errors that were not detected in the test simulations. Users are encouraged to notify the U.S. Geological Survey of any errors found in this User Guide for the computer program by using the address on the back of the report title page. Updates might occasionally be made to both the User Guide and SEAWAT program. Users can check for updates on the Internet at URL http://water.usgs.gov/software/ground_water.html/. Contents III IV Contents CONTENTS Abstract .................................................................................................................................................................................. 1 Chapter 1: Introduction .......................................................................................................................................................... 3 Purpose and Scope ....................................................................................................................................................... 4 Development of SEAWAT ........................................................................................................................................... 4 Acknowledgments........................................................................................................................................................ 5 Chapter 2: Mathematical Description of Variable-Density Ground-Water Flow .................................................................. 7 Basic Assumptions....................................................................................................................................................... 7 Concept of Equivalent Freshwater Head ..................................................................................................................... 7 Governing Equation for Ground-Water Flow .............................................................................................................. 9 Darcy’s Law for Variable-Density Ground-Water Flow ..............................................................................................11 General Form of Darcy’s Law ...........................................................................................................................11 Assumption of Axes Alignment with Principal Permeability Directions..........................................................12 Darcy’s Law in Terms of Equivalent Freshwater Head .....................................................................................12 Governing Equation for Flow in Terms of Freshwater Head ......................................................................................14 Governing Equation for Solute Transport....................................................................................................................15 Boundary and Initial Conditions..................................................................................................................................15 Dirichlet Boundary.............................................................................................................................................16 Neumann Boundary ...........................................................................................................................................16 Cauchy Boundary...............................................................................................................................................16 Initial Conditions ...............................................................................................................................................17 Sink and Source Terms ................................................................................................................................................17 Concentration and Density...........................................................................................................................................18 Chapter 3: Finite-Difference Approximation for the Variable-Density Ground-Water Flow Equation ................................19 Finite-Difference Approximation for the Flow Equation ............................................................................................19 Construction of System Equations...............................................................................................................................25 Chapter 4: Design and Structure of the SEAWAT Program...................................................................................................27 Temporal Discretization...............................................................................................................................................28 Explicit Coupling of Flow and Transport ....................................................................................................................29 Implicit Coupling of Flow and Transport ....................................................................................................................30 Structure of the SEAWAT Program .............................................................................................................................31 Packages.............................................................................................................................................................33 Array Structure and Memory Allocation ...........................................................................................................33 Chapter 5: Modifications of MODFLOW and MT3DMS.....................................................................................................35 Matrix and Vector Accumulators .................................................................................................................................35 Modifications of the Basic Flow Equation ..................................................................................................................36 Addition of Relative Density-Difference Term .................................................................................................36 Addition of Solute Mass Accumulation Term ...................................................................................................36 Conversion from Volume Conservation to Mass Conservation.........................................................................37 Conversion from Fluid Volume Storage to Fluid Mass Storage ........................................................................37 Conversion between Confined and Unconfined Conditions..............................................................................38 Vertical Flow Calculation for Dewatered Conditions........................................................................................38 Variable-Density Flow for Water-Table Case ....................................................................................................41 Modifications of MODFLOW Stress Packages...........................................................................................................43 Well (WEL) Package .........................................................................................................................................43 River (RIV) Package..........................................................................................................................................44 Drain (DRN) Package ........................................................................................................................................48 Recharge (RCH) Package ..................................................................................................................................50 Evapotranspiration (EVT) Package ...................................................................................................................51 General-Head Boundary (GHB) Package..........................................................................................................53 Time-Varying Constant Head (CHD) Package ..................................................................................................54 Modification of MODFLOW Solver Packages ...........................................................................................................54 MODFLOW-MT3DMS Link Package and Modifications to MT3DMS ....................................................................54 Contents V Chapter 6: Instructions for Using SEAWAT.......................................................................................................................... 55 Preparation of MODFLOW Input Packages for SEAWAT ......................................................................................... 55 Basic (BAS) Package ........................................................................................................................................ 55 Output Control (OC) Option ............................................................................................................................. 56 Block-Centered Flow (BCF) Package............................................................................................................... 56 Well (WEL) Package......................................................................................................................................... 57 Drain (DRN) Package ....................................................................................................................................... 57 River (RIV) Package ......................................................................................................................................... 58 Evapotranspiration (EVT) Package................................................................................................................... 58 General-Head Boundary (GHB) Package ......................................................................................................... 59 Recharge (RCH) Package.................................................................................................................................. 59 Time-Varying Constant Head (CHD) Package.................................................................................................. 59 Solver (SIP, SOR, PCG) Packages .................................................................................................................... 60 Preparation of MT3DMS Input Packages for SEAWAT ............................................................................................. 60 Basic Transport (BTN) Package........................................................................................................................ 60 Advection (ADV) Package................................................................................................................................ 62 Source/Sink Mixing (SSM) Package................................................................................................................. 62 Running SEAWAT....................................................................................................................................................... 63 Output Files and Post Processing ................................................................................................................................ 65 Calculation of Equivalent Freshwater Head................................................................................................................ 65 Tips for Designing SEAWAT Models ......................................................................................................................... 66 Chapter 7: Benchmark Problems........................................................................................................................................... 69 Box Problems .............................................................................................................................................................. 69 Case 1 ................................................................................................................................................................ 69 Case 2 ................................................................................................................................................................ 70 Henry Problem ............................................................................................................................................................ 70 Elder Problem.............................................................................................................................................................. 72 HYDROCOIN Problem .............................................................................................................................................. 73 References Cited.................................................................................................................................................................... 76 FIGURES 1. Schematic showing two piezometers, one filled with freshwater and the other with saline aquifer water, open to the same point in the aquifer.......................................................................................................................... 8 2. Diagram showing representative elementary volume in a porous medium................................................................ 9 3. Schematic showing relation between a coordinate system aligned with the principal axes of permeability and the upward z-axis ................................................................................................................................................. 12 4. Generalized flow chart of the SEAWAT program ...................................................................................................... 27 5. Schematic showing example of the explicit scheme used to couple the flow and transport equations...................... 29 6. Schematic showing example of the implicit scheme used to couple the flow and transport equations ..................... 31 7. Flow chart showing step-by-step procedures of the SEAWAT program .................................................................... 32 8. Schematic showing cell indices and variable definitions for the case of a partially dewatered cell underlying an active model cell .................................................................................................................................................... 39 9. Schematic showing conceptual representation of flow between two cells for the water-table case .......................... 41 10. Diagram showing conceptual model and variable description for river leakage in MODFLOW and SEAWAT ...... 45 11. Diagram showing conceptual model and variable description for drain leakage in MODFLOW and SEAWAT...... 49 12. Grid showing boundary conditions and model parameters for the Henry problem ................................................... 70 13. Graphs showing comparison between SEAWAT and SUTRA for the Henry problem.............................................. 71 14. Grid showing boundary conditions and model parameters for the Elder problem..................................................... 72 15. Finite-difference grid used to simulate the Elder problem ......................................................................................... 73 16. Schematics showing comparison between SEAWAT, SUTRA, and Elder’s solution for the Elder problem over time ..................................................................................................................................................................... 74 17. Grid showing boundary conditions and model parameters for the HYDROCOIN problem ..................................... 75 18. Graph showing comparison between SEAWAT and MOCDENSE for the HYDROCOIN problem......................... 75 TABLE 1. MODFLOW and MT3DMS packages used in SEAWAT........................................................................................... 33 VI Contents CONVERSION FACTORS AND VERTICAL DATUM Multiply By To obtain gram (g) 0.03527 ounce liter (L) 0.2642 gallon meter (m) 3.281 foot meter per day (m/d) 3.281 foot per day kilogram (kg) 2.205 pound kilogram per day (kg/d) 2.205 pound per day 0.06243 pound per cubic foot kilogram per cubic meter (kg/m3) 2 square meter per day (m /d) 10.76 square foot per day cubic meter per day (m3/d) 35.31 cubic foot per day Sea level: In this report, “sea level” refers to the National Geodetic Vertical Datum of 1929 (NGVD of 1929)−a geodetic datum derived from a general adjustment of the first-order levels nets of the United States and Canada, formerly called Sea Level Datum of 1929. Contents VII VIII Contents User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow By Weixing Guo1 and Christian D. Langevin2 Abstract The SEAWAT program was developed to simulate three-dimensional, variable-density, transient ground-water flow in porous media. The source code for SEAWAT was developed by combining MODFLOW and MT3DMS into a single program that solves the coupled flow and solute-transport equations. The SEAWAT code follows a modular structure, and thus, new capabilities can be added with only minor modifications to the main program. SEAWAT reads and writes standard MODFLOW and MT3DMS data sets, although some extra input may be required for some SEAWAT simulations. This means that many of the existing pre- and postprocessors can be used to create input data sets and analyze simulation results. Users familiar with MODFLOW and MT3DMS should have little difficulty applying SEAWAT to problems of variable-density ground-water flow. MODFLOW was modified to solve the variable-density flow equation by reformulating the matrix equations in terms of fluid mass rather than fluid volume and by including the appropriate density terms. Fluid density is assumed to be solely a function of the concentration of dissolved constituents; the effects of temperature on fluid density are not considered. Temporally and spatially varying salt concentrations are simulated in SEAWAT using routines from the MT3DMS program. SEAWAT uses either an explicit or implicit procedure to couple the ground-water flow equation with the solute-transport equation. With the explicit procedure, the flow equation is solved first for each timestep, and the resulting advective velocity field is then 1CDM 2U.S. Missimer, Fort Myers, Fla. Geological Survey, Miami, Fla. Abstract 1 used in the solution to the solute-transport equation. This procedure for alternately solving the flow and transport equations is repeated until the stress periods and simulation are complete. With the implicit procedure for coupling, the flow and transport equations are solved multiple times for the same timestep until the maximum difference in fluid density between consecutive iterations is less than a user-specified tolerance. The SEAWAT code was tested by simulating five benchmark problems involving variable-density ground-water flow. These problems include two box problems, the Henry problem, Elder problem, and HYDROCOIN problem. The purpose of the box problems is to verify that fluid velocities are properly calculated by SEAWAT. For each of the box problems, SEAWAT calculates the appropriate velocity distribution. SEAWAT also accurately simulates the Henry problem, and SEAWAT results compare well with those of SUTRA. The Elder problem is a complex flow system in which fluid flow is driven solely by density variations. Results from SEAWAT, for six different times, compare well with results from Elder’s original solution and results from SUTRA. The HYDROCOIN problem consists of fresh ground water flowing over a salt dome. Simulated contours of salinity compare well for SEAWAT and MOCDENSE. 2 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 1 INTRODUCTION Ground water contains dissolved constituents, such as the salts commonly found in seawater. At relatively low concentrations, dissolved constituents do not substantially affect fluid density. As solute concentrations increase, however, the mass of the dissolved constituents can substantially affect the fluid density. If the spatial variations in fluid density are minimal, regardless of the actual density value, field and mathematical methods for quantifying rates and patterns of ground-water flow are relatively straightforward. Where spatial variations in fluid density are present, such as in coastal aquifers, investigations of ground-water flow are more complicated because the density variations can substantially affect rates and patterns of fluid flow. In many of these hydrogeologic settings, an accurate representation of variabledensity ground-water flow is necessary to characterize and predict ground-water flow rates, travel paths, and residence times. Spatial variations in fluid density that affect ground-water flow have been observed in a wide range of hydrogeologic settings. For example, in coastal aquifers, an interface exists between fresh ground water flowing toward the ocean and saline ground water. Across the interface, the fluid density may increase from that of freshwater (about 1,000 kg/m3) to that of seawater (about 1,025 kg/m3), an increase of about 2.5 percent. Field observations and mathematical analyses have shown that this relatively minor variation in ground-water density has a substantial effect on ground-water flow rates and patterns. An understanding of variable-density ground-water flow, therefore, can be important in many types of studies of coastal aquifers, such as studies of saltwater intrusion, contaminated site remediation, and fresh ground-water discharge into oceanic water bodies. Characterization of variable-density ground-water flow also can be important for studies of aquifer storage and recovery (ASR). ASR projects typically involve the injection of surface water into an aquifer during times of surplus and retrieval of this same water during times of demand. If the native water quality of the aquifer selected for ASR is brackish or saline, the storage times and recovery efficiencies can be affected by the density differences between the injected water and the native aquifer water. In some situations, the freshwater “bubble” can migrate upward in response to the differences in fluid density. The theory of variable-density ground-water flow has been studied for many years, beginning with the early work of Ghyben (1888) and Herzberg (1901). Later, Hubbert (1940) presented a simple equation relating the elevation of a sharp interface to freshwater heads measured on the interface and to the densities of saltwater and freshwater. Henry (1964) used a semianalytical solution to define the location and shape of the interface under the condition of a constant seaward flux of freshwater toward an oceanic boundary. Several other analytical and numerical solutions since then have been developed for the original Henry problem, including Pinder and Cooper (1970), Lee and Cheng (1974), Huyakorn and others (1987), Voss and Souza (1987), and Croucher and O’Sullivan (1995). There is a wide range of private and public domain computer codes that can be used to simulate variable-density ground-water flow. For example, the U.S. Geological Survey (USGS) offers the finite-element SUTRA code (Voss, 1984) and the finite-difference HST3D (Kipp, 1997) and MOCDENSE (Sanford and Konikow, 1985) codes. These codes contain powerful options for simulating a wide range of complex problems. Although many hydrogeologists are familiar with the constant-density MODFLOW (McDonald and Harbaugh, 1988) code, there are fewer hydrogeologists familiar with the complex variable-density codes.This manual describes the SEAWAT code, which is based on the 1988 version of the MODFLOW code, and demonstrates how those familiar with MODFLOW and the solute-transport code, MT3DMS (Zheng and Wang, 1998), should have little difficulty developing variable-density models of ground-water flow. CHAPTER 1--Introduction 3 Purpose and Scope The purpose of this report is to document a computer program (SEAWAT) that simulates variable-density, transient, ground-water flow in three dimensions. Two popular computer programs, MODFLOW and MT3DMS, were used in the development of SEAWAT. This report is divided into seven chapters. Chapter 1 is an introduction to the development of SEAWAT. Chapter 2 contains a mathematical development of variable-density ground-water flow in terms of freshwater head and includes a discussion of Darcy’s law for variable-density flow. The finite-difference equation for flow of variable-density water, using a block-centered scheme, is presented in Chapter 3. The design and structure of the SEAWAT program are presented in Chapter 4. Additionally, this chapter discusses the solution procedures implemented in MODFLOW and MT3DMS and describes how the timestep calculated by MT3DMS (based on stability criteria) is used as the timestep in SEAWAT. The major modifications made to the block-centered flow (BCF) package and the stress packages (RIV, DRN, WEL, RCH, EVT, CHD, and GHB) of MODFLOW are discussed in Chapter 5. Instructions for preparing input files for individual MODFLOW and MT3DMS packages for use in SEAWAT are explained in Chapter 6. Several benchmark problems solved using SEAWAT are presented in Chapter 7. This report should be used to supplement the documentations of MODFLOW and MT3DMS, which are available in the public domain. The documentation for MODFLOW and MT3DMS can be obtained from the USGS and the Hydrogeology Group at the University of Alabama, respectively. Development of SEAWAT The original SEAWAT concept of combining MODFLOW and MT3D into a single program to simulate three-dimensional variable-density ground-water flow was first documented by Guo and Bennett (1998). Later, as part of a U.S. Geological Survey project to quantify submarine ground-water discharge to Biscayne Bay, Fla. (Langevin, 2001), the SEAWAT program was improved, updated, and verified against a number of benchmark test problems (Langevin and Guo, 1999; Guo and others, 2001). This user’s manual presents the concept behind the original SEAWAT code (Guo and Bennett, 1998) and documents the recent changes and improvements that extend the applicability of the SEAWAT code to a wide range of variabledensity ground-water flow problems. The source code for SEAWAT was developed by combining MODFLOW and MT3DMS into a single program that solves the coupled flow and solute-transport equations. The SEAWAT code follows a modular structure, so new capabilities can be added with only minor modifications to the source code. MODFLOW was modified to conserve fluid mass rather than fluid volume and uses equivalent freshwater head as the principal dependent variable. In the revised form of MODFLOW, the cell-by-cell flow is calculated from freshwater head gradients and relative density-difference terms. The resulting flow field is passed to MT3DMS for transport of solute; an updated density field is then calculated from the new solute concentrations and incorporated back into MODFLOW as relative density-difference terms. For the convenience of hydrologists and modelers familiar with MODFLOW and MT3DMS, the changes in input files for MODFLOW and MT3DMS were kept to a minimum. Thus, existing input files for the standard versions of MODFLOW and MT3DMS can be revised for SEAWAT with minor modifications. Because no additional data files are needed to run SEAWAT, individuals familiar with MODFLOW and MT3DMS should be able to use SEAWAT with few difficulties. SEAWAT reads and writes standard MODFLOW and MT3DMS data sets, which are easily manipulated with the commercially available preand post-processors. These processors substantially reduce the length of time it takes to create input data sets and evaluate model results. 4 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Acknowledgments The authors would like to express great appreciation to Gordon D. Bennett of S.S. Papadopulos & Associates, Inc., for his significant and generous contributions to the development of SEAWAT in the past years. Gordon provided numerous comments and suggestions that substantially improved the quality of this user’s documentation and the SEAWAT program. The authors also would like to extend appreciation to other individuals who helped with the development of the SEAWAT code, particularly Chunmiao Zheng from the University of Alabama; Charlie Andrews from S.S. Papadopulos and Associates, Inc; Tom Missimer from CDM Missimer; and Arlen Harbaugh, Leonard Konikow, Ward Sanford, Barclay Shoemaker, Eric Swain, and Clifford Voss from the USGS. The authors also would like to thank Barbara Howie, Rhonda Howard, Michael Deacon, Stephen Garabedian, and Arlen Harbaugh for providing insightful reviews of the SEAWAT documentation. Beta testing of the SEAWAT program was performed by Trayle Kulshan at Stanford University; Amy Johnson and Jeff Weaver from Water Management Consultants; James Schneider from the University of South Florida; Mike Riley from S.S. Papadopulos & Associates, Inc; and Barclay Shoemaker, Alyssa Dausman, Melinda Wolfert, Raul Patterson, David Garces, and David Kirby from the USGS. Appreciation also is extended to Jim Tomberlin, Haymeli Castillo, and Taina Camacho for help with report preparation. CHAPTER 1--Introduction 5 6 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 2 MATHEMATICAL DESCRIPTION OF VARIABLE-DENSITY GROUND-WATER FLOW This chapter develops the governing equations that describe variable-density ground-water flow and solute transport in porous media. The theory of variable-density ground-water flow is usually developed and presented in terms of fluid pressure and fluid density. In this chapter, however, the variable-density groundwater flow equation is developed in terms of equivalent freshwater head and fluid density. The purpose for developing the flow equation in terms of equivalent freshwater head, rather than pressure, is discussed in this chapter and later in Chapter 5 where modifications to the MODFLOW computer program are presented. Basic Assumptions The development presented here is based on the usual assumptions that Darcy’s law is valid (laminar flow); the standard expression for specific storage in a confined aquifer is applicable; the diffusive approach to dispersive transport based on Fick’s law can be applied; and isothermal conditions prevail. The porous medium is assumed to be fully saturated with water. A single, fully miscible liquid phase of very small compressibility also is assumed. Concept of Equivalent Freshwater Head SEAWAT is based on the concept of freshwater head, or equivalent freshwater head, in a saline ground-water environment. A thorough understanding of this concept is required in developing the equations of variable-density ground-water flow as used in the SEAWAT program and in interpreting calculated results. The subsequent discussion is intended to provide readers with an understanding of equivalent freshwater head and its relation to head. Two piezometers open to a given point, N, in an aquifer containing saline water are shown in figure 1. Piezometer A contains freshwater and is equipped with a mechanism that prevents saline water in the aquifer from mixing with freshwater in the piezometer, while still allowing the piezometer to respond accurately to the pressure at point N. Piezometer B contains water identical to that present in the saline aquifer at point N. The height of the water level in piezometer A above point N is P N ⁄ ρ f g . The freshwater head at point N is the elevation of the water level in piezometer A above datum, and thus is given by: PN h f = -------- + Z N , ρf g where: hf PN ρf g ZN (1) is equivalent freshwater head [L], is pressure at point N [ML-1T-2], is density of freshwater [ML-3] is acceleration due to gravity [LT-2], and is elevation of point N above datum [L]. Piezometers filled with freshwater would seldom if ever be used in field studies of a saline aquifer (although pressure transducers calibrated to read values of freshwater head could certainly be implemented without difficulty). However, the point here is not that field measurements would ever be made in terms of freshwater head, but rather that because pressure and elevation are defined at all points in any aquifer, CHAPTER 2--Mathematical Description of Variable-Density Ground-Water Flow 7 A Piezometer filled with freshwater B freshwater head also can be defined as a function at all points in any aquifer; in certain cases, this leads to convenience in calculation or software application. The elevation of the water level in piezometer B above point N is P N ⁄ ρg . The head expressed in Piezometer filled with saline aquifer water terms of the saline aquifer is the level in piezometer B above datum and is given by: P hf= N +ZN ρf g PN ρf g PN ρg PN h = ------ + Z N , ρg P h= N +ZN ρg (2) where: h is head [L], and ρ is density of saline ground water at point N [ML-3]. Head in terms of the aquifer water, h, varies not only as do pressure and elevation, but also as the water ZN density, ρ, varies. Thus, at two points having equal pressures and the same elevation but different water densities, different values of h will be recorded. The equation of ground-water flow can be formulated in EXPLANATION terms of h, but the result includes cumbersome hf Equivalent freshwater head [L] expressions involving density and its derivatives, and h Head [L] no computational advantage is gained. On the other PN Pressure [ML-1T-2] hand, formulation of the flow equation in terms of -3 ρf Density of freshwater [ML ] freshwater head causes no increase in complexity and -3 allows the use of software, such as MODFLOW, with ρ Density of saline aquifer water [ML ] -2 relatively little modification. g Acceleration due to gravity [LT ] The values calculated by the SEAWAT program ZN Elevation [L] in a variable-density simulation are freshwater head NOTE: L = length, M = mass, T = time values corresponding to the level in piezometer A (fig. 1). They can be used in a variable-density form Figure 1. Two piezometers, one filled with of Darcy’s law to calculate volumetric ground-water freshwater and the other with saline aquifer water, open to the same point in the aquifer. flows. However, the calculated value of freshwater head at a given point in the aquifer does not represent the level to which ambient saline ground water will rise in a piezometer open to that point. As discussed above and shown in figure 1, native ground water will rise to the level h in a tightly cased piezometer. Conversion between head as measured by the native aquifer water and equivalent freshwater head is, therefore, necessary in converting model results or field data, and in model calibration or in the interpretation of calculated results. These conversions can be made using the following relations: and: 8 ρ – ρf ρ h f = ---- h – -------------- Z ρf ρf (3) ρ – ρf ρf h = ---- h f + -------------- Z ρ ρ (4) User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow where Z is elevation [L]. Equations 3 and 4 are obtained by eliminating pressure between equations 1 and 2, and solving for the respective head value. Governing Equation for Ground-Water Flow A representative elementary volume (REV) in a porous medium is shown in figure 2. Based on the principle of mass conservation for fluid and solute, the rate of accumulation of mass stored in the REV is equal to the algebraic sum of the mass fluxes across the faces of the element and the mass exchange due to sinks or sources. The mathematical expression for the conservation of mass is: ∂ ( ρθ ) – ∇ ⋅ ( ρq ) + ρq s = -------------- , ∂t (5) where: ∂ ∂ ∂ ∇ is the gradient operator ----- + ----- + ----- , ∂x ∂y ∂x ρqx ρqx+∆x ρ is the fluid density [ML-3], ∆x q is the specific discharge vector [LT-1], ρ is the density of water entering from a source or leaving through a sink [ML-3], qs is the volumetric flow rate per unit volume of aquifer representing sources and sinks [T-1], θ is porosity [dimensionless], and EXPLANATION ρ Fluid density [ML ] qx Specific discharge at x [LT ] -3 -1 qx+∆x Specific discharge at x+∆x [LT ] ∆x Distance along the x axis [L] -1 NOTE: L = length, M = mass, T = time Figure 2. Representative elementary volume in a porous medium. t is time [T]. The left-hand side of equation 5 is the net flux of mass through the faces of the REV, ∇ ⋅ ( ρq ) plus the rate (ρqs) at which mass enters from sources or leaves through sinks located in the REV. The right-hand side of equation 5 is the time rate of change in the mass stored in the REV over a given period and can be expanded with the chain rule as: ∂ ( ρθ ) ∂θ ∂ρ -------------- = ρ ------ + θ ------ . ∂t ∂t ∂t (6) The changes of porosity considered here are restricted to those associated with the change of fluid pressure; therefore, the change of porosity with time is mathematically represented as: ∂θ ∂θ ∂P ------ = ------ ------ . ∂t ∂P ∂t (7) Under isothermal conditions, fluid density is a function of fluid pore pressure and solute concentration; therefore, the equation of the state for fluid density is: ρ = f ( P, C ) , CHAPTER 2--Mathematical Description of Variable-Density Ground-Water Flow (8) 9 where: P is fluid pore pressure [ML-1T-2], and C is solute concentration [ML-3]. Differentiating equation 8 with respect to time gives: ∂ρ ∂ρ ∂P ∂ρ ∂C ------ = ------ ------ + ------- ------- . ∂t ∂P ∂t ∂C ∂t (9) Substituting equations 7 and 9 into equation 6 gives: ∂ ( ρθ ) ∂θ ∂ρ ∂θ ∂P ∂ρ ∂P ∂ρ ∂C -------------- = ρ ------ + θ ------ = ρ ------ ------ + θ ------ ------ + θ ------- ------- . ∂t ∂t ∂t ∂P ∂t ∂P ∂t ∂C ∂t (10) The first two terms in the right-hand side of equation 10 represent the rate of fluid mass accumulation due to ground-water storage effects (for example, due to the compressibility of the bulk porous material and fluid compressibility). The third term on the right-hand side of equation 10 represents the rate of fluid mass accumulation due to the change of solute concentration. The relation between porosity, pressure, and the compressibility of a bulk porous material is given by Bear (1979) as: 1 ∂θ ξ = ----------------- ------ , ( 1 – θ ) ∂P (11) where ξ is the compressibility of the bulk porous material [M-1LT2]. The coefficient of water compressibility is defined as (Bear, 1979): 1 ∂ρ ζ = --- ------ , ρ ∂P (12) where ζ is the coefficient of water compressibility [M-1LT2]. Using equations 11 and 12, equation 10 can be rewritten as: ∂P ∂ρ ∂C ∂ ( ρθ ) -------------- = ρ ( ξ [ 1 – θ ] + ζθ ) ------ + θ ------- ------- . ∂t ∂t ∂C ∂t (13) The term, ρ ( ξ [ 1 – θ ] + ζθ ) , represents the volume of water released from storage in a unit volume of a confined elastic aquifer per unit change in pressure: S p = ( ξ [ 1 – θ ] + ζθ ) , (14) where Sp is the specific storage in terms of pressure [M-1LT2]. Substitution of equation 14 into 13 gives: ∂P ∂ρ ∂C ∂ ( ρθ ) -------------- = ρS p ------ + θ ------- ------- . ∂t ∂C ∂t ∂t (15) A more thorough discussion of storativity is presented by Bear (1979). 10 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow The first term in the right-hand side of equation 15 is the rate of fluid mass accumulation due to fluid pore pressure change, and the second term is the rate of fluid mass accumulation due to the change of solute concentration. Further discussion of the second term in the right-hand side of equation 15 is presented later. Substituting equation 15 into equation 5, the flow equation becomes: ∂P ∂ρ ∂C – ∇ ⋅ ( ρq ) + ρq s = ρS p ------ + θ ------- ------- . ∂t ∂C ∂t (16) Equation 16 is the general form of the partial differential equation for variable-density ground-water flow in porous media. If density is constant, the term ∂ρ ⁄ ∂C in equation 16 is zero, and the remaining density terms cancel. The resulting equation would conserve fluid mass and fluid volume for a constant density system, but would conserve only fluid volume for a variable-density system. The flow equation based on fluid volume conservation is often cited for the case of uniform density (for example, de Marsily, 1986). As Bear (1972) points out, however, the use of an equation based on volume balance is inappropriate when substantial density or temperature gradients are present. Evans and Raffensperger (1992) compared the mass- and volume-based stream functions for variable-density ground-water flow and found that the differences between the stream functions, calculated using the mass-based stream function and volume-based stream function, could reach 9.55 percent for their particular test problem after a calculation period of 600 years. They concluded that mass fluxes rather than volumetric fluxes must be used to describe the flow of ground water if the variation in fluid density is substantial. Darcy’s Law for Variable-Density Ground-Water Flow The governing equation for variable-density ground-water flow includes a term for specific discharge, which is calculated with Darcy’s law. In this section, the variable-density form of Darcy’s law is presented. General Form of Darcy’s Law Mass fluxes are defined as the product of fluid density and the specific discharge, or volumetric flow per unit cross-sectional area of bulk porous medium. Darcy’s law for a fluid of variable density can be expressed by the equations: and: where: qx,qy,qz µ kx,ky,kz g k x ∂P q x = – ---- ------ , µ ∂x (17) k y ∂P q y = – ---- ------ , µ ∂y (18) k z ∂P q z = – ---- ------ + ρg , µ ∂z (19) are the individual components of specific discharge, is the dynamic viscosity [ML-1T-1], represent intrinsic permeabilities [L2] in the three coordinate directions, and is the gravitational constant [LT-2] and treated here as a positive scalar quantity. CHAPTER 2--Mathematical Description of Variable-Density Ground-Water Flow 11 In this formulation, it is assumed that the three principal directions of permeability are aligned with the orthogonal x-, y-, and z-coordinate system. The z-coordinate axis, representing the vertical, is positive upward. Note that in equation 19, the density, ρ, is that of the fluid at the calculation point (and time) for which specific discharge is to be determined. The density term reflects the direct action of gravity on a fluid element at the calculation point and only affects the component of specific discharge in the vertical direction. It should be kept in mind, however, that the overall pressure distribution in a porous medium is controlled, in part, by the overall fluid density distribution, and thus, horizontal components of specific discharge also are affected by density variations in the system. Assumption of Axes Alignment with Principal Permeability Directions The assumption that the principal axes of permeability are horizontal and vertical is usually acceptable for an aquifer with horizontal bedding. A more general form of Darcy’s law is required when the principal directions of permeability do not coincide with the horizontal and vertical x-, y-, and z-coordinate system. The simplest approach is to abandon the x-, y-, and z-coordinate system, and instead use a coordinate system aligned with the principal directions of permeability as shown in figure 3. If γ represents the direction normal to the bedding and α and β represent the principal directions of permeability parallel to the bedding, the pressure gradients acting in the α, β, and γ directions can be formulated independently. Because none of the coordinate directions are horizontal, although they are orthogonal to one another, a component of the gravitational force applies in each coordinate direction. This leads to the following expression of Darcy's law: and: k α ∂P q α = – ----- ------- + ρg cos δ α , µ ∂α (20) k β ∂P q β = – ----- ------ + ρg cos δ β , µ ∂β (21) k γ ∂P q γ = – ---- ------ + ρg cos δ γ , µ ∂γ z γ (22) where: qα,qβ,qγ represent the specific discharge components in the coordinate axes aligned with permeability directions [LT-1], kα,kβ,kγ are the permeabilities in these directions [L2], and δα δγ β δβ α δα,δβ,δγ are the angles between the respective coordinate axes and the upward vertical direction. Darcy’s Law in Terms of Equivalent Freshwater Head Darcy's law can also be expressed in terms of the freshwater head or elevation above an arbitrary datum of the water surface in a piezometer filled with freshwater. Note that it is not assumed that the aquifer itself contains freshwater of uniform density, but rather that piezometers open to the aquifer have been filled with freshwater, and a mechanism prevents the dissolved salts in the aquifer water from mixing with the water in the piezometers. As shown in figure 1, the elevation of the 12 Figure 3. Relation between a coordinate system aligned with the principal axes of permeability and the upward z-axis. User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow water surface in a piezometer has two components: the elevation of the point of measurement above some datum, z, and the height of the fluid column in the piezometer itself. Because the piezometer is assumed to contain freshwater having a fixed density, ρf, the height of the water column within the piezometer is P/ρf g, where P is the pressure at the piezometer opening. Thus, the freshwater head, hf, at this point is equal to (P/ρf g,) + z and the pressure is given by: P = ρf g ( hf –z ) . (23) For the dipping-aquifer problem (fig. 3), equation 23 is first differentiated with respect to the coordinate direction α, which yields: ∂h ∂P ∂z ------- = ρ f g -------f – ρ f g ------- . ∂α ∂α ∂α (24) ∂z Substituting this expression into equation 20 and noting that cos δ α = ------- , the following relation is ∂α obtained: –kα ∂h f ∂z ∂z q α = -------- ρ f g ------- – ρ f g ------- + ρg ------- . ∂α µ ∂α ∂α (25) It is important to note that both ρf, the density of freshwater in the piezometers and ρ, the density of water in the formation at the point of velocity calculation, appear in equation 25. These two density terms should not be confused. The freshwater hydraulic conductivity, Kf, in the α direction is defined as: kα ρf g K fα = -------------- , µf (26) where µf [ML-1T-1] represents the viscosity of freshwater under standard conditions (for example, 20 degrees Celsius and 1 atmospheric pressure). Using this term for freshwater hydraulic conductivity, equation 20 can be written as: ρ – ρ f ∂z µ f ∂h f q α = – K fα ---- ------- + -------------- ------- . µ ∂α ρ f ∂α (27) Similarly, equation 21 can be written as: ρ – ρ f ∂z µ f ∂h f q β = – K fβ ---- ------- + -------------- ------ , ρ f ∂β µ ∂β (28) ρ – ρ f ∂z µ f ∂h f q γ = – K fγ ---- ------- + -------------- ----- . µ ∂γ ρ f ∂γ (29) and equation 22 as: Note that for a horizontally stratified aquifer, equations 27 to 29 would reduce to: µ f ∂h f q x = – K fx ---- ------- , µ ∂x CHAPTER 2--Mathematical Description of Variable-Density Ground-Water Flow (30) 13 and: µ f ∂h f q y = – K fy ---- ------- , µ ∂y (31) ρ – ρf µ f ∂h f q z = – K fz ---- ------- + -------------- . µ ∂z ρf (32) For many practical applications, the term µf/µ in equations 27 to 32 can be considered equal to one; it can be assumed that the viscosity of water in the formation is essentially the same as that of freshwater, even though differences in density are present. Variations in fluid viscosity arise primarily because of variations in water temperature. Where substantial temperature variations are absent and where hydraulic conductivity has been measured at the same water temperature for which velocity is to be calculated, the viscosity correction usually can be neglected. Governing Equation for Flow in Terms of Freshwater Head With the definition of freshwater head and Darcy’s law in terms of freshwater head, the governing equation for ground-water flow (eq. 16) can be written in terms of equivalent freshwater head. Expanding the left-hand side of equation 16 and rearranging yield: ∂ ∂P ∂ρ ∂C ∂ ∂ – ------- ( ρq α ) – ------ ( ρq β ) – ----- ( ρq γ ) = ρS P ------ + θ ------- ------- – ρq s . ∂α ∂t ∂C ∂t ∂β ∂γ (33) Differentiation of equation 23 with respect to time shows that ∂P ⁄ ∂t can be expanded as ρ f g ∂h f ⁄ ∂t . Using this form and substituting Darcy’s law as given in equations 27 to 29 for the components of specific discharge yield: ∂h ρ – ρ ∂Z ∂h ρ – ρ ∂Z ∂ ∂ ------- ρK fα -------f + --------------f ------- + ------ ρK fβ -------f + --------------f ------ ∂α ∂β ρ f ∂α ∂β ρ f ∂β ∂α ∂h f ρ – ρ f ∂Z ∂h f ∂ρ ∂C ∂ + ----- ρK fγ ------- + -------------- ------ = ρS p gρ f ------- + θ ------- ------- – ρq s . ∂γ ∂t ∂C ∂t ∂γ ρ f ∂γ (34) The specific storage in terms of pressure, Sp (eq. 14), includes the compressibility of the water, which in turn, depends on the water density, ρ, at the point of calculation (eq. 12). The assumption is made here that the difference between the compressibility coefficients of saltwater and freshwater can be neglected in that: 1 ∂ρ 1 ∂ρ ζ = --- ------ ≈ ζ f = ---- ------ , ρ f ∂P ρ ∂P (35) where ζf is the compressibility coefficient for freshwater. The specific storage, in terms of freshwater head, Sf [L-1], or the volume of water released from storage in a unit volume of aquifer per unit decline in freshwater head is given by Bear (1979) as: S f = gρ f [ ξ ( 1 – θ ) + ζ f θ ] . 14 (36) User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow By using equations 14 and 35, the term Spgρf in equation 34 can be replaced by the term Sf, which yields: ∂h ρ – ρ ∂Z ∂h ρ – ρ ∂Z ∂ ∂ ------- ρK fα -------f + --------------f ------- + ------ ρK fβ -------f + --------------f ------ ∂α ρ f ∂α ∂β ρ f ∂β ∂α ∂β ∂h f ρ – ρ f ∂Z ∂h f ∂ρ ∂C ∂ + ----- ρK fγ ------- + -------------- ------ = ρS f ------- + θ ------- ------- – ρq s . ∂γ ∂t ∂C ∂t ∂γ ρ f ∂γ (37) Equation 37 is the governing equation for variable-density flow in terms of freshwater head as used in SEAWAT. Governing Equation for Solute Transport In addition to the flow equation that was developed (eq. 37), a second partial differential equation is required to describe solute transport in the aquifer. Ground-water flow causes the redistribution of solute concentration, and the redistribution of solute concentration alters the density field, thus, affecting groundwater movement. Therefore, the movement of ground water and the transport of solutes in the aquifer are coupled processes, and the two equations must be solved jointly. Solute mass is transported in porous media by the flow of ground water (advection), molecular diffusion, and mechanical dispersion. The transport of solute mass in ground water can be described by the following partial differential equation (Zheng and Bennett, 1995): q ∂C ------- = ∇ ⋅ ( D ⋅ ∇C ) – ∇ ⋅ ( vC ) – ----s C s + θ ∂t N ∑ Rk , (38) k=1 where: D v Cs Rk is the hydrodynamic dispersion coefficient [L2T-1], is the fluid velocity [LT-1], is the solute concentration of water entering from sources or sinks [ML-3], and (k=1, …, N) is the rate of solute production or decay in reaction k of N different reactions [ML-3T-1]. When fluid density varies, the concentration gradient, ∇C , should actually be formulated as ρ∇(C/ρ) (de Marsily, 1986, p. 239). This is only necessary for brines of high density; however for fluid densities in the seawater range, the change introduced by this expression is negligible, and the transport equation as formulated in equation 38 may be used. Boundary and Initial Conditions Boundary and initial conditions must be specified to solve the differential equations for flow (eq. 37) and transport (eq. 38) in a particular problem. Mathematical boundaries are commonly defined in three categories: Dirichlet (constant head or concentration), Neumann (specific flux), and Cauchy (head-dependent flux or mixed boundary condition). The physical features and processes, which impose boundary conditions on ground-water regimes, normally include streams and other surface-water bodies, drains, low-permeability boundaries, seepage faces, evapotranspiration, discharging wells, injection wells and recharge. In simulation theory, many of the boundary conditions are commonly implemented through the sink/source term in equations 37 and 38; that approach is followed in this model. There is a separate section that further describes sink and source terms. CHAPTER 2--Mathematical Description of Variable-Density Ground-Water Flow 15 Dirichlet Boundary A Dirichlet boundary (also referred to as Type I) is one in which the value of head or concentration is specified at all points along the boundary. The head or concentration value may vary from point to point or as a function of time and is treated as a known quantity in the solution of the equation. In terms of flow simulation, a specified head implies that flow toward or away from the boundary occurs in proportion to the difference between the specified head at the boundary and the calculated head at points directly adjacent to the boundary. This is simulated by not solving a flow equation at the specified-head cell. In terms of solute transport, a specified concentration implies that the dispersive flux toward or away from the boundary occurs in response to the difference between the specified boundary concentration and the calculated concentration at points directly adjacent to the boundary. Advective solute flux into the modeled area from a specified concentration boundary depends on the flow from the boundary and the specified concentration value. Advective solute flux toward any type of boundary depends on the calculated concentration of the water at points adjacent to the boundary and on the flow toward the boundary. A physical example of an external Dirichlet boundary might be a fully penetrating stream or other surface-water body on the boundary of the model domain along which head or concentration is specified. An example of an internal Dirichlet boundary might be a drain operating at a specified water level in the interior of the model domain. Neumann Boundary The Neumann boundary (also referred to as Type II) represents the condition in which the gradient of the dependent variable is specified normal to the boundary. For ground-water flow, this boundary condition results in a specified flux of water into or out of the modeled area. For solute transport, the concentration gradient is specified normal to the boundary. This results in a specified dispersive flux of solute across the Neumann boundary. Although the Neumann boundary for solute transport ensures a specified dispersive flux, the advective solute flux depends on the ground-water flow velocity normal to the boundary and the calculated concentration on the boundary. Thus, the total solute flux across a Neumann boundary cannot be specified prior to simulation. An impermeable boundary represents a special case of the Neumann condition for flow and transport, where the gradients of head and concentration are zero such that neither flow nor dispersive solute flux may occur, and advective solute flux is precluded by the absence of flow. An impermeable boundary (commonly called a no-flow boundary) is simulated by specifying cells for which a flow equation is not solved. Additionally, the flow between a no-flow cell and an adjacent cell is zero. A nonzero Neumann boundary is simulated using sink/source terms. An example of a nonzero Neumann boundary in flow simulation might be a surface-water body from which seepage occurs at a prescribed rate. Cauchy Boundary A head-dependent flow condition represents a Cauchy boundary (also referred to as Type III) for the simulation of flow (Anderson and Woessner, 1992). The Cauchy boundary for solute transport, however, is not analogous because boundary conditions for solute transport may contain both advective and dispersive components, whereas boundary conditions for flow contain only the flow component. With the Cauchy boundary for flow, a control head is specified, but this control head prevails at some hydraulic separation from the boundary. The head on the boundary itself is calculated in the simulation, but is linked to the control head through a conductance term, which may represent, for example, the semipermeable material on the bed of a stream or the local head loss through convergent flow into a drain. The flow, Qb, into or from a headdependent flow boundary is calculated as: 16 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Q b = COND ( h c – h i, j, k ) , (39) where: COND is the conductance term, hc is the specified control head, and hi,j,k is the calculated head at the boundary cell, which is linked through the conductance term. Examples of the head-dependent condition are provided by the River (RIV), Drain (DRN), Evapotranspiration (EVT), and General-Head Boundary (GHB) packages of MODFLOW; the first three of these nonlinear variations involve limiting values of head beyond which the flow value, Qb, takes on a fixed value, making these nonlinear variations of the head-dependent flux boundary condition. The Cauchy boundary for solute transport represents a boundary on which both concentration and concentration gradient are specified (Zheng and Bennett, 1995). This implies that the dispersive flux across the boundary is specified and that the advective flux across the boundary will vary only to the extent that the flow across the boundary in the transport simulation varies. A Cauchy boundary condition in the transport model, which coincides with a Neumann boundary condition in the flow regime, will result in a specified total flux of solute mass across the boundary. Initial Conditions Initial conditions represent starting values for the dependent variable, such as freshwater head for ground-water flow and concentration for solute transport, at some starting time. Initial conditions for both flow and transport must be specified for transient simulations. Sink and Source Terms The third term on the right-hand side of equation 37 and the third term on the left-hand side of equation 38 are the sink/source terms for water and solute, respectively. These terms quantify the exchange of water and solute mass between the aquifer and such features as discharging wells, injection wells, and recharge. Sinks and sources may be areally distributed or localized. Areally distributed sinks or sources include recharge and evapotranspiration; localized sinks and sources may include wells, drains, and rivers. In the case of sources, which provide a mechanism for bringing solute mass into the flow systems, solute concentration of the source water must be specified. The concentration of water removed at a sink generally is the simulated value for the cell containing the sink and may represent information useful in model calibration. Evapotranspiration, which is typically thought to remove only freshwater from the flow system, is an exception. The strength (that is, the mass of solute per unit time) of a source or sink component in the transport equation depends on the volumetric flow rate and solute concentration of the water entering the sink or leaving through the source. For a transport source, the concentration is specified; for a sink, the calculated concentration of the water in the aquifer as it enters the sink is used. The flow terms are identical to those used for the corresponding source or sink in the flow equation. Solutes entering the flow field by dissolution of minerals from the aquifer generally would not be treated as part of the source term, but rather as part of the chemical reaction term, Rk, in equation 38. CHAPTER 2--Mathematical Description of Variable-Density Ground-Water Flow 17 Concentration and Density The second term on the right-hand side of equation 37 represents the change of fluid mass in the REV due to the change in solute concentration. To evaluate this term, the relation between solute concentration and fluid density is required. For isothermal conditions, fluid density is predominantly affected by the solute concentration and fluid pore pressure. The effects of pore pressure on fluid density are included in the storage term (eq. 9). An empirical relation between the density of saltwater and concentration was developed by Baxter and Wallace (1916): ρ = ρ f + EC , (40) where: E is a dimensionless constant having an approximate value of 0.7143 for salt concentrations ranging from zero to that of seawater, and C is the salt concentration [ML-3]. The derivative of equation 40 with respect to salt concentration is: ∂ρ ------- = E . ∂C (41) Substituting this relation into equation 37, the governing equation is rewritten as: ∂h ρ – ρ ∂Z ∂h ρ – ρ ∂Z ∂ ∂ ------- ρK fα -------f + --------------f ------- + ------ ρK fβ -------f + --------------f ------ ∂α ∂β ∂β ρ f ∂α ρ f ∂β ∂α ∂h f ρ – ρ f ∂Z ∂h f ∂C ∂ + ----- ρK fγ ------- + -------------- ------ = ρS f ------- + θE ------- – ρq s . ∂γ ∂t ∂t ∂γ ρ f ∂γ (42) Sometimes salt concentration is measured as salinity and expressed as mass/mass (for example, grams per kilogram or parts per thousand). Salinity is defined as the total amount of solid material in grams contained in 1 kg of seawater when all the carbonate is converted to oxide, the bromine and iodine are replaced by chloride, and all organic matter is completely oxidized (Chow, 1964). The value of salinity is often close to the dissolved-solids concentration; however, the salinity cannot be used directly in equation 40, but must rather be converted to concentration in units of mass/volume. The conversion for a dilute solution is relatively simple; for example, parts per million can approximately be treated as milligrams per liter (Freeze and Cherry, 1979). For a solution with higher concentrations of solute, such as seawater, the conversion is more complicated because of the change in volume of the solution, which accompanies a change in salt concentration. For example, the solution volume increases about 1 percent when 35 g of salt are added to 1 L of water. The volume change of a solution with high concentration depends on many factors, and the conversion from units of mass/mass to units of mass/volume must, therefore, generally be based on empirical relations. Equations 40 to 42 are applied only for typical seawaters for which the relation between fluid density and solute concentration can be expressed as a linear function as in equation 40. If the fluid has a different composition from typical seawater or the salt concentration in the fluid is much higher than normal seawater concentration, then these equations may not be valid. In that case, a different empirical relation between salt concentration and fluid density (similar to eq. 40) should be developed for that particular application. 18 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 3 FINITE-DIFFERENCE APPROXIMATION FOR THE VARIABLE-DENSITY GROUND-WATER FLOW EQUATION For variable-density ground-water conditions, flow and solute transport are linked processes. This means that a fully coupled solution to the flow and transport equations is required to properly represent dynamic ground-water flow. For most problems, it is difficult, if not impossible, to develop analytical solutions for these coupled governing equations; therefore, numerical methods generally are required. This chapter contains the development of the finite-difference approximation for the variable-density flow equation that is used in SEAWAT. The finite-difference equation for variable-density ground-water flow is developed using sign conventions and nomenclature similar to those used by McDonald and Harbaugh (1988) in the documentation of MODFLOW. As a result, the similarities and differences between the flow equation in MODFLOW and the flow equation in SEAWAT are readily apparent. The numerical methods used by the MT3DMS program to simulate solute transport in a constantdensity flow field are directly used in SEAWAT to simulate solute transport in a variable-density flow field. Because the solute-transport equation is applicable for both constant and variable-density flow conditions, it was not necessary to make substantial changes to the MT3DMS program prior to the incorporation into SEAWAT. For this reason, the finite-difference and other methods used to solve the solute-transport equation are not presented. Instead, interested users are referred to the MT3DMS documentation (Zheng and Wang, 1998) for a detailed description of the equations and methods used to solve the solute-transport equation. Finite-Difference Approximation for the Flow Equation The finite-difference method is commonly used to solve partial differential equations, wherein a grid is overlain on the area of interest, dividing the domain into individual model cells. The finite-difference approximation to the partial differential equation is then applied to the discretized model domain. The assumption is then made that the concept of an REV can be applied to each model cell. Both MODFLOW and MT3DMS use cell-centered grids. In this formulation, the dependent variables obtained in the finitedifference solution represent average values (assumed to exist at the cell center) for the respective cells. SEAWAT also uses a block-centered grid because it is used for both MODFLOW and MT3DMS. The subsequent discussion of the finite-difference approximation of the variable-density ground-water flow equation, therefore, is based on the concept of a cell-centered grid, although the general approach could easily be applied to other grid designs. The terms on the left-hand side of the governing equation for variable-density ground-water flow (eq. 42) account for the difference between inflow and outflow of mass per unit volume of aquifer across the faces of a differential element of aquifer (for example, a model cell). The first term on the right-hand side of equation 42 represents the time rate of change of liquid mass (which includes both water and solute) per unit volume of aquifer due to pressure changes in the system. The second term on the right-hand side of equation 42 represents the time rate of change of fluid mass per unit volume of aquifer due to the change in solute concentration. This second term is calculated from the concentrations obtained in the solution of the solute-transport equation. As the concentrations reach dynamic equilibrium, this term becomes negligible. Thus, the flow field does not reach steady state until the solute concentrations remain constant in time. The third term on the right-hand side represents the mass flux due to sources and sinks. CHAPTER 3--Finite-Difference Approximation for the Variable-Density Ground-Water Flow Equation 19 With a central finite-difference scheme in space and a backward finite-difference scheme in time, the finite-difference approximation for the partial differential equation of ground-water flow is: K α ,i + 1 ⁄ 2 , j , k ρ i + 1 ⁄ 2, j, k – ρ f ρ̂ i + 1 ⁄ 2, j, k ----------------------------- A j, k h f, i + 1, j, k – h f, i, j, k + -------------------------------- ( Z i + 1, j, k – Z i, j, k ) ∆α i + 1 ⁄ 2 ,j, k ρf K α ,i – 1 ⁄ 2, j, k ρ i – 1 ⁄ 2, j, k – ρ f – ρ̂ i – 1 ⁄ 2, j, k ---------------------------- A j, k h f, i, j, k – h f, i – 1, j, k + -------------------------------- ( Z i, j, k – Z i – 1, j, k ) ∆α i – 1 ⁄ 2 ,j, k ρf K β, i, j + 1 ⁄ 2 ,k ρ i ,j + 1 ⁄ 2 ,k – ρ f + ρ̂ i, j + 1 ⁄ 2, k ---------------------------- A i, k h f, i, j + 1, k – h f, i, j, k + --------------------------------- ( Z i ,j + 1 ,k – Z i, j, k ) ∆β i, j + 1 ⁄ 2 ,k ρf K β ,i, j – 1 ⁄ 2, k ρ i, j – 1 ⁄ 2, k – ρ f – ρ̂ i, j – 1 ⁄ 2, k ---------------------------- A i, k h f, i, j, k – h f, i, j – 1, k + -------------------------------- ( Z i, j, k – Z i, j – 1, k ) ∆β i, j –1 ⁄ 2 ,k ρf (43) K γ, i ,j ,k + 1 ⁄ 2 ρ i ,j, k + 1 ⁄ 2 – ρ f + ρ̂ i, j, k + 1 ⁄ 2 --------------------------- A i, j h f, i, j, k + 1 – h f, i, j, k + ---------------------------------- ( Z i ,j, k + 1 – Z i, j, k ) ∆γi ,j ,k + 1 ⁄ 2 ρf K γ ,i, j, k – 1 ⁄ 2 ρ i, j, k – 1 ⁄ 2 – ρ f – ρ̂ i, j, k – 1 ⁄ 2 --------------------------- A i, j h f, i, j, k – h f, i, j, k – 1 + -------------------------------- ( Z i, j, k – Z i, j, k – 1 ) ∆γi, j, k – 1 ⁄ 2 ρf n+1 n h f, i, j , k – h f, i, j , k ∂C = ρ i, j, k S f, i, j, k ---------------------------------- + θE ------- V i, j, k – ( ρQ s ) i, j, k , tn + 1 – tn ∂t where: i,j,k are row, column, and layer indices, respectively. Aj,k is the area of the finite-difference cell normal to the α axis [L2] such that Aj,k = ∆βj ⋅ ∆γk, and similarly for other coordinate directions, Zi,j,k is the cell center elevation [L], n is the timestep number, Vi,j,k is the volume of the cell [L3] such that V i,j,k =∆αi ∆βj ∆γk, and Qs is the volumetric flow rate of the sink/source term [L3T-1]. The subscripts i+1/2, i-1/2, j+1/2, j-1/2, k+1/2 and k-1/2 refer to the value of a property or variable between two neighboring cells (for example, the harmonic mean for hydraulic conductivity). In equation 43, the f subscript is dropped for convenience from the freshwater-equivalent hydraulic conductivity terms, and this simplified notation is used throughout the rest of this section. The equivalent freshwater head values on the left-hand side of equation 43 refer to the n+1 timestep. If the timestep superscript is not listed with the variable, as is the case with the freshwater head values on the left-hand side of equation 43, the variable is evaluated at the n+1 timestep. In equation 43, there are two types of density terms calculated at boundaries between model cells. The density term, ρ̂ , converts the volumetric flow rate to a mass flux. In SEAWAT, this density term is calculated before each iteration of the flow equation using an upstream weighting algorithm. For example, if flow is from cell i,j,k to cell i,j,k+1, then the term ρ̂ i, j, k + 1 ⁄ 2 would be assigned a density value equal to ρ i, j, k . If, however, the flow direction were reversed (from i,j,k+1 to i,j,k), then ρ̂ i, j, k + 1 ⁄ 2 would be assigned a value equal to ρ i, j, k + 1 . The other density term calculated at cell boundaries in equation 43 is denoted by ρ and is simply the arithmetic average of fluid density between neighboring cells. These density values are used in 20 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow the density-difference terms within the brackets on the left side of equation 43; as discussed previously, the density-difference terms are required in Darcy’s Law when gradients of freshwater head are used in a saline environment. Following the concepts of McDonald and Harbaugh (1988), several of the coefficients in equation 43 can be grouped together to form the conductance term, COND [L2T-1]: AK COND = -------- , L (44) where: A represents the area normal to flow [L2], and L represents the distance along the flow path [L]. Following this convention, equation 43 can be rewritten as: ρ i + 1 ⁄ 2 ,j ,k – ρ f ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k h f, i + 1, j, k – h f, i, j, k + --------------------------------- ( Z i + 1 ,j ,k – Z i, j, k ) ρf ρ i – 1 ⁄ 2 ,j ,k – ρ f – ρ̂ i – 1 ⁄ 2, j, k CC i – 1 ⁄ 2 ,j ,k h f, i, j, k – h f, i – 1, j, k + --------------------------------- ( Z i ,j ,k – Z i – 1, j, k ) ρf ρ i , j + 1 ⁄ 2 ,k – ρ f + ρ̂ i, j + 1 ⁄ 2, k CR i, j + 1 ⁄ 2 ,k h f, i, j + 1, k – h f, i, j, k + ---------------------------------- ( Z i ,j + 1 ,k – Z i, j, k ) ρf ρ i, j – 1 ⁄ 2 ,k – ρ f – ρ̂ i, j – 1 ⁄ 2, k CR i, j – 1 ⁄ 2 ,k h f, i, j, k – h f, i, j – 1, k + --------------------------------- ( Z i ,j ,k – Z i, j – 1, k ) ρf (45) ρ i ,j ,k + 1 ⁄ 2 – ρ f + ρ̂ i, j, k + 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 h f, i ,j ,k + 1 – h f, i, j, k + ----------------------------------- ( Z i ,j ,k + 1 – Z i, j, k ) ρf ρ i ,j ,k – 1 ⁄ 2 – ρ f – ρ̂ i, j, k – 1 ⁄ 2 CV i ,j ,k – 1 ⁄ 2 h f, i ,j ,k – h f, i, j, k – 1 + ----------------------------------- ( Z i ,j ,k – Z i, j, k – 1 ) ρf n+1 n h f, i , j , k – h f, i, j, k ∂C = ρ i, j, k S f, i, j, k ------------------------------------ + θE ------- V i, j, k – ( ρQ s )i, j, k , ∂t tn + 1 – tn CHAPTER 3--Finite-Difference Approximation for the Variable-Density Ground-Water Flow Equation 21 where CC, CR, and CV refer to the conductance factors along columns, rows, and normal to layers, respectively [L2T-1]. Equation 45 can be rewritten as: ρ̂ i + 1 ⁄ 2, j, k CC + ρ̂i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k ρ i + 1 ⁄ 2 ,j ,k – ρf ---------------------------------------- ( Z i + 1 ,j ,k – Z i, j, k ) i + 1 ⁄ 2, j, k ρf – ρ̂ i – 1 ⁄ 2, j, k CC –ρ̂ i – 1 ⁄ 2, j, k CC [ h f, i + 1, j, k – h f, i, j, k ] i – 1 ⁄ 2 ,j ,k [ h f, i, j, k – h f, i – 1, j, k ] ρ i – 1 ⁄ 2 ,j ,k – ρf ---------------------------------------- ( Z i ,j ,k – Z i – 1, j, k ) i – 1 ⁄ 2 ,j ,k ρf + ρ̂ i, j + 1 ⁄ 2, k CR i, j + 1 ⁄ 2 ,k [ h f, i, j + 1, k – h f, i, j, k ] + ρ̂ i, j + 1 ⁄ 2, k CR ρ i, j + 1 ⁄ 2 ,k – ρ f ----------------------------------------- ( Z i ,j + 1 ,k – Z i, j, k ) i, j + 1 ⁄ 2 ,k ρf – ρ̂ i, j – 1 ⁄ 2, k CR i , j – 1 ⁄ 2 ,k [ h f, i, j, k – h f, i, j – 1, k ] ρ i, j – 1 ⁄ 2 ,k – ρ f ----------------------------------------- ( Z – ρ̂ i, j – 1 ⁄ 2, k CR i ,j ,k – Z i, j – 1, k ) i, j – 1 ⁄ 2 ,k ρf + ρ̂ i, j, k + 1 ⁄ 2 CV + ρ̂i, j, k + 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 – ρ̂ i, j, k – 1 ⁄ 2 CV – ρ̂ i, j, k – 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 (46) [ h f, i ,j ,k + 1 – h f, i, j, k ] ρi ,j ,k + 1 ⁄ 2 – ρf -------------------------------------------- ( Z i ,j ,k + 1 – Z i, j, k ) ρf i ,j ,k – 1 ⁄ 2 [ h f, i ,j ,k – h f, i, j, k – 1 ] ρ i ,j ,k – 1 ⁄ 2 – ρf ------------------------------------------- ( Z i ,j ,k – Z i, j, k – 1 ) i ,j ,k – 1 ⁄ 2 ρf n+1 n h f, i, j, k – h f, i, j, k ∂C . = ρ i, j, k S f, i, j, k --------------------------------------------- + θE ------- V i, j, k – ( ρQ s ) i, j, k t n + 1 – tn ∂t 22 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow The signs in equation 46 can be rearranged to give: ρ̂ i + 1 ⁄ 2, j, k CC + ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j , k i + 1 ⁄ 2, j, k + ρ̂ i – 1 ⁄ 2, j, k CC + ρ̂ i – 1 ⁄ 2, j, k CC [ h f, i + 1, j, k – h f, i, j, k ] ρ i + 1 ⁄ 2 ,j ,k – ρ f ---------------------------------------- ( Z i + 1 ,j ,k – Z i, j, k ) ρf i – 1 ⁄ 2 ,j ,k [ h f, i – 1, j, k – h f, i, j, k ] ρ i – 1 ⁄ 2 ,j ,k – ρ f ---------------------------------------- ( Z i – 1, j, k – Z i, j, k ) i – 1 ⁄ 2 ,j ,k ρf + ρ̂ i, j + 1 ⁄ 2, k CR i, j + 1 ⁄ 2 ,k [ h f, i, j + 1, k – h f, i, j, k ] + ρ̂ i, j + 1 ⁄ 2, k CR ρ i, j + 1 ⁄ 2 ,k – ρ f ----------------------------------------- ( Z i ,j + 1 ,k – Z i, j, k ) i, j + 1 ⁄ 2 ,k ρf + ρ̂ i, j – 1 ⁄ 2, k CR i, j – 1 ⁄ 2 ,k [ h f, i, j – 1, k – h f, i, j, k ] ρ i, j – 1 ⁄ 2 ,k – ρ f ----------------------------------------- ( Z + ρ̂i, j – 1 ⁄ 2, j, k CR i, j – 1, k – Z i, j, k ) i , j – 1 ⁄ 2 ,k ρf + ρ̂ i, j, k + 1 ⁄ 2 CV + ρ̂ i, j, k + 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 (47) [ h f, i ,j ,k + 1 – h f, i, j, k ] ρ i ,j ,k + 1 ⁄ 2 – ρ f -------------------------------------------- ( Z i ,j ,k + 1 – Z i, j, k ) i ,j ,k + 1 ⁄ 2 ρf + ρ̂ i, j, k – 1 ⁄ 2 CV + ρ̂ i, j, k – 1 ⁄ 2 CV [h – h f, i, j, k ] i ,j ,k – 1 ⁄ 2 f, i ,j ,k – 1 ρ i ,j ,k – 1 ⁄ 2 – ρ f ------------------------------------------- ( Z i ,j ,k – 1 – Z i, j, k ) i ,j ,k – 1 ⁄ 2 ρf n+1 n h f, i, j, k – h f, i, j, k ∂C . = ρ i, j, k S f, i, j, k --------------------------------------------- + θE ------- V i, j, k – ( ρQ s ) i, j, k tn + 1 – tn ∂t Equation 47 is the finite-difference equation for three-dimensional flow of variable-density ground water as implemented in SEAWAT. Using the following expression for the relative density-difference terms: D i, j, k = D i + 1 ⁄ 2, j, k + D i – 1 ⁄ 2, j, k + D i, j + 1 ⁄ 2, k + D i, j – 1 ⁄ 2, k + D i, j, k + 1 ⁄ 2 + D i, j, k – 1 ⁄ 2 , (48) ρ i + 1 ⁄ 2 ,j ,k – ρ f D i + 1 ⁄ 2, j, k = ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k --------------------------------- ( Z i + 1 ,j ,k – Z i, j, k ) , ρf (49a) ρ i – 1 ⁄ 2 ,j ,k – ρ f D i – 1 ⁄ 2 ,j ,k = ρ̂ i – 1 ⁄ 2 ,j ,k CC i – 1 ⁄ 2 ,j ,k --------------------------------- ( Z i – 1 ,j ,k – Z i, j, k ) , ρf (49b) ρ i , j + 1 ⁄ 2 ,k – ρ f D i, j + 1 ⁄ 2 ,k = ρ̂ i, j + 1 ⁄ 2 ,k CR i, j + 1 ⁄ 2 ,k ---------------------------------- ( Z i ,j + 1 ,k – Z i, j, k ) , ρf (49c) where: CHAPTER 3--Finite-Difference Approximation for the Variable-Density Ground-Water Flow Equation 23 and: ρ i , j – 1 ⁄ 2 ,k – ρ f D i, j – 1 ⁄ 2 ,k = ρ̂ i, j – 1 ⁄ 2 ,k CR i, j – 1 ⁄ 2 ,k --------------------------------- ( Z i ,j – 1 ,k – Z i, j, k ) , ρf (49d) ρ i ,j ,k + 1 ⁄ 2 – ρ f D i ,j ,k + 1 ⁄ 2 = ρ̂ i ,j ,k + 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 ----------------------------------- ( Z i ,j ,k + 1 – Z i, j, k ) , ρf (49e) ρ i ,j ,k – 1 ⁄ 2 – ρ f D i ,j ,k – 1 ⁄ 2 = ρ̂ i ,j ,k – 1 ⁄ 2 CV i ,j ,k – 1 ⁄ 2 ----------------------------------- ( Z i ,j ,k – 1 – Z i, j, k ) . ρf (49f) Equation 47 becomes: ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k [ h f, i + 1, j, k – h f, i, j, k ] + ρ̂ i – 1 ⁄ 2, j, k CC i – 1 ⁄ 2 ,j ,k [ h f, i – 1, j, k – h f, i, j, k ] + ρ̂ i, j + 1 ⁄ 2 ,k CR i, j + 1 ⁄ 2 ,k [ h f, i, j + 1, k – h f, i, j, k ] + ρ̂ i, j – 1 ⁄ 2 ,k CR i, j – 1 ⁄ 2 ,k [ h f, i, j – 1, k – h f, i, j, k ] + ρ̂ i ,j ,k + 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 [ h f, i ,j ,k + 1 – h f, i, j, k ] + ρ̂ i ,j ,k – 1 ⁄ 2 CV i ,j ,k – 1 ⁄ 2 [ h f, i ,j ,k – 1 – h f, i, j, k ] + D i, j, k n+1 (50) n h f, i, j, k – h f, i, j, k ∂C = ρ f, i, j, k S f, i, j, k ------------------------------------ + θE ------- V i, j, k – ( ρQ s ) i, j, k . ∂t tn + 1 – tn Equation 50 implies that model layers can be either horizontal or tilted. When model layers are tilted, Di+1/2,j,k, Di-1/2,j,k, Di,j+1/2,k, Di,j-1/2,k contribute to the mass flux across the four faces normal to model layers. When the model layers are horizontal, Di+1/2,j,k, Di-1/2,j,k, Di,j+1/2,k, Di,j-1/2,k become zero. For this case, equation 50 reduces to: ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k [ h f, i + 1, j, k – h f, i, j, k ] + ρ̂ i – 1 ⁄ 2, j, k CC i – 1 ⁄ 2 ,j ,k [ h f, i – 1, j, k – h f, i, j, k ] + ρ̂ i, j + 1 ⁄ 2, k + CR i, j + 1 ⁄ 2 ,k [ h f, i, j + 1, k – h f, i, j, k ] + ρ̂ i, j – 1 ⁄ 2, k CR i, j – 1 ⁄ 2 ,k [ h f, i, j – 1, k – h f, i, j, k ] ρ i ,j ,k + 1 ⁄ 2 – ρ f + ρ̂ i, j, k + 1 ⁄ 2 CV i ,j ,k + 1 ⁄ 2 h f, i ,j ,k + 1 – h f, i, j, k + --------------------------------- ( Z i ,j ,k + 1 – Z i, j, k ) ρf + ρ̂ i, j, k – 1 ⁄ 2 CV i ,j ,k – 1 ⁄ 2 ρ i ,j ,k – 1 ⁄ 2 – ρ f h f, i ,j ,k – 1 – h f, i, j, k + --------------------------------- ( Z i ,j ,k – 1 – Z i, j, k ) ρf n+1 (51) n h f, i, j, k – h f, i, j, k ∂C = ρ f, i, j, k S f, i, j, k ------------------------------------ + θE ------- V i, j, k – ( ρQ s ) i, j, k . tn + 1 – tn ∂t 24 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow If variations in fluid density are not considered, equation 51 reduces to: CC i + 1 ⁄ 2, j, k [ h f, i + 1, j, k – h i, j, k ] + CC i – 1 ⁄ 2 ,j ,k [ h i – 1, j, k – h i, j, k ] + CR i, j + 1 ⁄ 2 ,k [ h i, j + 1, k – h i, j, k ] + CR i, j – 1 ⁄ 2 ,k [ h i, j – 1, k – h i, j, k ] + C V i ,j ,k + 1 ⁄ 2 [ h i ,j ,k + 1 – h i, j, k ] + CV i ,j ,k – 1 ⁄ 2 [ h i ,j ,k – 1 – h i, j, k ] n+1 n h i, j, k – h i, j, k = S f, i, j, k ------------------------------ V i, j, k – Q s, i, j, k . tn + 1 – tn (52) Equation 52 is the finite-difference equation solved in a conventional MODFLOW application (McDonald and Harbaugh, 1988). Construction of System Equations At timestep n+1, equation 50 can be rearranged so that all terms containing the dependent variable, hf at time n+1, are on the left-hand side and all terms that do not contain the unknown are on the right-handside. The equation becomes: ρ̂ i + 1 ⁄ 2, j, k CC n+1 n+1 h – ρ̂i + 1 ⁄ 2, j, k CC h i + 1 ⁄ 2, j, k f, i + 1, j, k i + 1 ⁄ 2, j, k f, i, j, k + ρ̂ i – 1 ⁄ 2, j, k CC + ρ̂ i, j + 1 ⁄ 2, k CR n+1 n+1 h – ρ̂ i – 1 ⁄ 2, j, k CC h i – 1 ⁄ 2, j, k f, i – 1, j, k i – 1 ⁄ 2, j, k f, i, j, k n+1 n+1 h – ρ̂ i, j + 1 ⁄ 2, k CR h i, j + 1 ⁄ 2, k f, i, j + 1, k i, j + 1 ⁄ 2, k f, i, j, k + ρ̂ i, j – 1 ⁄ 2, k CR n+1 n+1 h h – ρ̂ i, j – 1 ⁄ 2, k CR i, j – 1 ⁄ 2, k f, i, j – 1, k i, j – 1 ⁄ 2, k f, i, j, k (53) n+1 n+1 + ρ̂ i, j, k + 1 ⁄ 2 CV h – ρ̂ i, j, k + 1 ⁄ 2 CV h i, j, k + 1 ⁄ 2 f, i, j, k + 1 i, j, k + 1 ⁄ 2 f, i, j, k + ρ̂ i, j, k – 1 ⁄ 2 CV n+1 n+1 h – ρ̂ i, j, k – 1 ⁄ 2 CV h i, j, k – 1 ⁄ 2 f, i, j, k – 1 i, j, k – 1 ⁄ 2 f, i, j, k n V i, j, k n + 1 – h f, i, j, k ∂C + D i, j, k – ρ i, j, k S f, i, j, k --------------------- h f, i, j, k = ρ i, j, k S f, i, j, k --------------------- + θE ------- V i, j, k – ( ρQ s ) i, j, k . tn + 1 – tn tn + 1 – tn ∂t As noted in Chapter 2, the strength of the source/sink terms may be head dependent. Thus, the flux between a sink/source and an aquifer can be proportional to the head difference between the aquifer and sink/source feature, such as drains and rivers. For other cases, the flux between a sink/source and an aquifer may not depend on the head in the aquifer (for example, wells and recharge). Formulation of sink/source terms will be presented in Chapter 5, which discusses the modification of individual packages required in SEAWAT. All the terms, except for the relative density-difference term Di,j,k in the left-hand side of equation 53, explicitly contain the dependent variable, hf, at time level n+1. The terms in the right-hand side of equation 53 do not contain the dependent variable at time level n+1. All density values, except for the freshwater density, should correspond to the same time level as the freshwater heads. In SEAWAT, the density terms are treated as “constants” when the flow equation is formulated and solved for freshwater head. This simplification is acceptable for most cases as long as the timestep is sufficiently short or the change of fluid density is relatively slow compared to the change of freshwater head. Because the relative density-difference term, Di,j,k, is evaluated using the solute concentration from CHAPTER 3--Finite-Difference Approximation for the Variable-Density Ground-Water Flow Equation 25 the previous timestep (or previous iteration of the same timestep if the flow and transport equations are implicitly coupled), Di,j,k in equation 53 represents a “constant” value for each cell, in the sense that it is not affected by the heads at the new time level n+1. It follows that the relative density-difference term can be treated as a constant when the flow equation is solved iteratively. Thus, the relative density-difference term, Di,j,k, can be moved to the right-hand side of equation 53. Then equation 53 becomes: ρ̂ i + 1 ⁄ 2, j, k CC n+1 n+1 h – ρ̂ i + 1 ⁄ 2, j, k CC h i + 1 ⁄ 2, j, k f, i + 1, j, k i + 1 ⁄ 2, j, k f, i, j, k + ρ̂ i – 1 ⁄ 2, j, k CC + ρ̂ i, j + 1 ⁄ 2, k CR n+1 n+1 h – ρ̂ i, j + 1 ⁄ 2, k CR h i, j + 1 ⁄ 2, k f, i, j + 1, k i, j + 1 ⁄ 2, k f, i, j, k + ρ̂ i, j – 1 ⁄ 2, k CR + ρ̂ i, j, k + 1 ⁄ 2 CV n+1 n+1 h h – ρ̂ i – 1 ⁄ 2, j, k CC i – 1 ⁄ 2, j, k f, i – 1, j, k i – 1 ⁄ 2, j, k f, i, j, k n+1 n+1 h – ρ̂ i, j – 1 ⁄ 2, k CR h i, j – 1 ⁄ 2, k f, i, j – 1, k i, j – 1 ⁄ 2, k f, i, j, k n+1 n+1 – ρ̂ i, j, k + 1 ⁄ 2 CV h h i, j, k + 1 ⁄ 2 f, i, j, k i, j, k + 1 ⁄ 2 f, i, j, k + 1 + ρ̂ i, j, k – 1 ⁄ 2 CV (54) n+1 n+1 h – ρ̂ i, j, k – 1 ⁄ 2 CV h i, j, k – 1 ⁄ 2 f, i, j, k – 1 i, j, k – 1 ⁄ 2 f, i, j, k V i, j, k n + 1 – ρ i, j, k S f, i, j, k ------------------------- h f, i, j, k tn + 1 – tn n – h f, i, j, k ∂C = ρ i, j, k S f, i, j, k ------------------------- + θE ------- V i, j, k – ( ρQ s ) –D . i, j, k i, j, k tn + 1 – t n ∂t Because none of the terms in the right-hand side of equation 54 explicitly contain the dependent variable, hf at time level n+1, they can be lumped together and treated as one constant in the solution procedure. Equation 54 is the finite-difference approximation of flow for cell (i,j,k). As previously mentioned, a similar equation can be written for each cell inside the model domain. If N active cells are inside the model domain, there are N equations similar to equation 54 for the N active cells. Following the general matrix notation: [ A ] { hf } = { B } , (55) where: [A] is the coefficient matrix with size N by N (a sparse matrix where most entries are zero except for those falling on the seven diagonals for a three-dimensional model), {hf} is the unknown vector of size N (the freshwater head at each cell) at the new time level, and {B} is a vector of size N, which accumulates all known or constant terms appearing on the right-hand side of equation 55. For this reason, the vector B is sometimes referred to as the RHS (right-hand side) accumulator in MODFLOW. In SEAWAT, the RHS accumulator is different compared with MODFLOW because each term is multiplied by fluid density. Thus, the RHS accumulator in SEAWAT has dimensions of [MT-1] compared with the RHS accumulator in MODFLOW, which has dimensions of [L3T-1]. Equation 55 can be solved using standard methods applicable to a system of linear equations and is identical to the system of equations solved by MODFLOW. Readers should refer to the MODFLOW documentation (McDonald and Harbaugh, 1988) for further information. 26 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 4 DESIGN AND STRUCTURE OF THE SEAWAT PROGRAM YES NO END OF STRESS PERIOD NO YES END OF NO SIMULATION YES END Figure 4. Generalized flow chart of the SEAWAT program. STRESS PERIOD LOOP LARGE DENSITY CHANGE TIMESTEP LOOP UPDATE FLUID DENSITIES IMPLICIT COUPLING LOOP (OPTIONAL) The SEAWAT code is MODFLOW and MT3DMS combined into a single program that solves the coupled flow and solute-transport equations. Parts of the original MODFLOW code were modified to include the relative density-difference terms and the term that quantifies the rate of mass accumulation due to changes in solute concentration, and the entire flow equation was reformulated to conserve mass rather than fluid volume. The coupling between flow and transport is performed through a synchronous timestepping approach that cycles between MODFLOW solutions of the flow equation and MT3DMS solutions of the transport equation (fig. 4). SEAWAT includes both explicit and implicit methods for coupling the flow and solute-transport equations. With the explicit method, a lagged approach is used for assigning fluid densities in the flow equation. This means that fluid densities are calculated with solute concentrations from the previous timestep. Advective fluxes from the flow solution for the current timestep are then used in the current solution to the transport equation. This cycling mechanism results in an explicit coupling of the flow and transport equations. With the implicit coupling method, solutions to the flow and transport equations are repeated, and START concentrations and densities are updated within each timestep until the maximum difference in fluid INITIALIZE STRESS PERIOD density at a single cell for consecutive iterations is less than a user-specified value. The present version of SEAWAT is written CALCULATE LENGTH OF TIMESTEP with MODFLOW-88 and MT3DMS. In linking these two codes, the SEAWAT program was coded SOLVE FLOW and designed to meet the following three objectives in order of importance: SOLVE TRANSPORT 1. Simulations provide an accurate solution to the variable-density ground-water flow equation; 2. The program maintains a modular structure, which makes it easy to modify and improve; and 3. Modifications to the original MODFLOW and MT3DMS subroutines and input files are kept to a minimum to allow users of these programs to gain rapid familiarity with SEAWAT and to allow newer versions of MODFLOW and MT3DMS to be easily incorporated into SEAWAT. The third objective was only partially achieved because many of the MODFLOW procedures required modification to accommodate the variabledensity form of the ground-water flow equation. This chapter presents the overall design and structure of the SEAWAT program and provides the framework for Chapter 5, which provides details of the modifications of MODFLOW and MT3DMS. MODFLOW and MT3DMS are lengthy programs that do much more than simply solve equations. Both programs perform read and write operations, track volumetric and mass budgets, and so forth. For CHAPTER 4--Design and Structure of the SEAWAT Program 27 this reason, the phrases “solve the flow equation” or “solve the transport equation” are used herein to refer to only those parts of MODFLOW or MT3DMS, respectively, which are actually required to solve the particular equation. Temporal Discretization The temporal discretization scheme implemented in the SEAWAT code is a combination of the schemes used by MODFLOW and MT3DMS. This section reviews the temporal discretization schemes implemented in the conventional versions of MODFLOW and MT3DMS and presents the approach implemented in SEAWAT. For a conventional MODFLOW application, the total simulation period is divided into one or more stress periods. During a single stress period, flow rates and boundary heads−with the exception of the TimeVarying Constant Head (CHD) package−remain constant. Each stress period is further divided into one or more timesteps to produce results that are more accurate or to allow output from the model to be saved for selected times. During each timestep, MODFLOW solves the flow equation for the period from tn to tn+1. MT3DMS was originally designed to work with MODFLOW. In a conventional MODFLOWMT3DMS application, spatial and temporal variations in fluid density are assumed to be so small as to have no measurable effect on the flow field. Thus, a practical procedure was developed in which the flow simulation is first performed with MODFLOW, and during the simulation, flow information (saturated thickness, cell-by-cell discharge rates, and boundary flows) required by MT3DMS to solve the solute-transport equation is stored in a MODFLOW-MT3DMS link file. This link file is then used in a subsequent MT3DMS run in which only solute transport is simulated. MT3DMS further divides each MODFLOW timestep into transport steps. The term, transport step, was introduced to avoid confusion with a MODFLOW timestep. A transport step, however, is the timestep or time increment used by MT3DMS to solve the transport equation (eq. 38), and thus, is conceptually analogous to a MODFLOW timestep. MODFLOW timesteps are further divided into transport steps in MT3DMS because of stability requirements with the explicit solution schemes implemented in MT3DMS. For example, Zheng and Wang (1998) list the stability constraints and accuracy requirements for the transport of conservative species with the explicit finite-difference scheme as: 1 advection, ∆t ≤ --------------------------------- , v v v -----x- + -----y- + -----z∆x ∆y ∆z 0.5 dispersion, ∆t ≤ ---------------------------------------- , D xx D yy D zz --------- + --------- + -------∆x 2 ∆y 2 ∆z 2 and: θ sink/source, ∆t ≤ ------- , qs (56a) (56b) (56c) where: ∆t ∆x,∆y,∆z is the length of the timestep, and are the dimensions of the model cell. MT3DMS uses the stability constraints and accuracy requirements in equation 56a-c to calculate the maximum permissible length of transport steps; therefore, the lengths of transport steps are not specified by the user, but rather calculated by the program. The stability constraint for advection requires flow velocities 28 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow to calculate transport step lengths. For a given MODFLOW timestep, extending from tn to tn+1, MT3DMS uses the velocities calculated for the end of the timestep, tn+1, in equation 56a-c to calculate the length and number of transport steps required over the interval tn to tn+1. In addition to the explicit solvers for the transport equation, MT3DMS also has an implicit iterative procedure called the generalized conjugate gradient (GCG) solver (Zheng and Wang, 1998). With the implicit solver, the user is allowed to specify the lengths of transport steps. In many cases, the implicit solver may reduce the number of transport steps required for a simulation. The lengths of transport steps, however, may be limited by accuracy requirements, and convergence issues may arise if the specified transport lengths are too long. The above procedure involves the calculation of the full sequence of head and flow values prior to the start of transport calculation and cannot be used in a variable-density program because of the interdependence of the flow and transport equations. In SEAWAT, stress periods are divided into timesteps. If an explicit solver is used for transport, the timestep lengths are calculated during the simulation by SEAWAT to satisfy the stability constraints and accuracy requirements (eq. 56a-c), and thus, the number of timesteps is not known prior to execution. Both the flow and transport equations are solved during a SEAWAT timestep. For the coupling of the flow and the transport equations, the SEAWAT program contains two approaches, explicit and implicit. The explicit approach requires less computer time but may not be as accurate as the implicit approach. Additionally, smaller timesteps may be required for the explicit approach compared to those needed for the implicit approach. Descriptions of these coupling options are presented in the subsequent sections. Explicit Coupling of Flow and Transport The following sequence is used in SEAWAT to advance the simulation through time if the user specifies an explicit coupling between flow and transport (fig. 5). 1. TRANSPORT 3 C3 q3 ∂C C2-C1 ρ2= f(C2); = ∂t ∆t2 C2 TIMESTEP FLOW TRANSPORT 2 FLOW 1 ∂C C -C ρ1= f(C1); = 1 0 ∂t ∆t1 C1 TRANSPORT q2 q1 ∂C ρ0= f(C0); = 0 ∂t FLOW t0 ∆t1 t1 ∆t2 t2 ∆t3 t3 TIME ρn Distribution of fluid density at end of timestep n [ML-3] Cn Distribution of solute concentration at end of timestep n [ML ] qn Field of specific discharge at end of timestep n [LT ] -3 -1 Figure 5. Example of the explicit scheme used to couple the flow and transport equations. The flow equation is solved iteratively using the modified MODFLOW routines to calculate heads at a time t1, representing the end of the initial timestep. This iterative solution procedure is performed with fluid densities from the previous stress period, or with densities calculated from the initial solute concentrations if it is the first stress period. The length of the initial timestep, ∆t1, is specified by the user through the input variable INITIALDT or is assigned a default value if no input is specified. The default value currently used in SEAWAT is 0.01 time units; the default value would be 0.01 day, for example, if the units selected for time are days. CHAPTER 4--Design and Structure of the SEAWAT Program 29 2. Values of specific discharge for time t1 at model boundaries and within the model domain are calculated from the results of the flow simulation and passed to the transport routines to represent flow over the time interval ∆t1. 3. Solute concentrations for time t1 are determined by solving the transport equation over the time interval ∆t1. 4. Fluid densities for t1, which are used in solving the flow equation for the second timestep, are calculated from the t1 solute concentrations. 5. The length of ∆t2 is calculated according to the stability constraints and accuracy requirements, using velocities calculated for the beginning of that time period. This calculated timestep length for ∆t2 should always be greater than the length of the initial timestep length, ∆t1. A calculated value for ∆t2 less than ∆t1 indicates rapidly changing concentration and density fields at the beginning of the stress period. If ∆t1, which has a default value of 0.01 time units unless otherwise specified by the user, is greater than ∆t2, SEAWAT displays a warning message. At this point, the user needs to go back to step 1 and shorten the value of INITIALDT, and rerun SEAWAT. 6. The flow equation is solved to calculate heads and flows for the end of the second step, t2, using the fluid densities that were calculated in the first timestep. 7. Solute concentrations for time t2 are determined by solving the transport equation over the time interval ∆t2. These concentrations are then used to calculate fluid densities for t2. 8. The stability constraints and accuracy requirements are used to calculate the maximum timestep length for ∆t3, and the sequence is repeated. When the explicit coupling approach is used in SEAWAT, three criteria should be considered: (1) instability problems may occur during solution of the flow equation because densities are calculated using the previous timestep concentrations; (2) the lengths of timesteps, which are calculated to satisfy the stability constraints and accuracy requirements of the transport equation, are based on velocities calculated for the end of the preceding timestep; and thus (3) there is a lag of one timestep in the application of the stability constraints and accuracy requirements. The constraints that should be applied to timestep n are actually applied to timestep n+1. Because this coupling approach is explicit, additional simulations with reduced timestep lengths should be performed to verify that consistent results are obtained. Implicit Coupling of Flow and Transport The implicit approach involves the solution of the flow and transport equations in an iterative sequence for each timestep until the consecutive differences in the calculated fluid densities are less than a user-specified value (fig. 6). Referring to the explicit approach outlined previously, the implicit coupling approach will repeat steps 2, 3, and 4 within each timestep until the consecutive change in fluid density is less than a user-specified convergence value. The implicit coupling approach results in heads, concentrations, densities, and flows that pertain to the end of the timestep. The implicit coupling approach in the current version of SEAWAT only works when a MT3DMS finite-difference method (as opposed to a particle-tracking-based method) is used to solve the solute-transport equation. The implicit coupling approach was not programmed for the particle-based solution methods because of the computer memory that would be required to store particle information. As the implicit coupling approach may solve the transport equation more than one time for each timestep, the same starting particle distribution would have to be used for each solution. 30 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow TIMESTEP, IMPLICIT COUPLING ITERATION 3,2 TRANSPORT C3,2 FLOW q3,2 TRANSPORT C3,1 FLOW q3,1 ρ3,1= f(C3,1) 3,1 TRANSPORT 2,2 FLOW q2,2 TRANSPORT C2,1 FLOW q2,1 ρ2,1= f(C2,1) 2,1 ρ1,3= f(C1,3) 1,3 TRANSPORT FLOW ρ1,2= f(C1,2) TRANSPORT 1,2 FLOW ρ1,1= f(C1,1) TRANSPORT 1,1 FLOW ρ1,0= f(C1,0) t0 ∆t1 ρ2,2= f(C2,2) C2,2 C1,3 q1,3 C1,2 q1,2 C1,1 q1,1 t1 ∆t2 t2 ∆t3 t3 TIME ρn,ncpl Distribution of fluid density at end of timestep n and end of coupling iteration ncpl [ML-3] Cn,ncpl Distribution of solute concentration at end of timestep n and end of coupling iteration ncpl [ML-3] qn,ncpl Field of specific discharge at end of timestep n and end of coupling iteration ncpl [LT-1] Figure 6. Example of the implicit scheme used to couple the flow and transport equations. With the implicit coupling approach, the user may specify the lengths of the timesteps. In a conventional application of MT3DMS, the implicit GCG solver can increase the lengths of transport steps, reduce the number of transport steps, and substantially reduce the amount of time required for a computer to perform the simulation. While the GCG solver may be used in SEAWAT to increase the lengths of timesteps, the advantages may not be as large as with conventional applications of MT3DMS because of the interdependence between flow and transport. As with the explicit coupling approach, repeated simulations with shorter timesteps can help verify the numerical accuracy of results. Structure of the SEAWAT Program The structure of the original MODFLOW and MT3DMS programs is a main program that performs calls to subroutines. This is the general approach used by SEAWAT, whereby the main SEAWAT program makes calls to MODFLOW, MT3DMS, and SEAWAT subroutines. The main SEAWAT program was written by adding appropriate MT3DMS and SEAWAT subroutine calls to the main MODFLOW program and synchronizing the timesteps. The original MODFLOW and MT3DMS main programs are divided into “procedures,” which are categories of tasks that fall under the same general purpose. Because SEAWAT primarily consists of MODFLOW and MT3DMS, the main SEAWAT program also is divided into procedures. The flow chart for SEAWAT procedures is presented in figure 7. CHAPTER 4--Design and Structure of the SEAWAT Program 31 START DEFINE ALLOCATE READ AND PREPARE STRESS EXPLANATION READ AND PREPARE SEAWAT procedure READ AND PREPARE Flow procedure Transport procedure COEFFICIENT ADVANCE ADVANCE IMPLICIT SOLVER FORMULATE NO YES COEFFICIENT FORMULATE NO DONE ITERATING YES SAVE ADVECTIVE FLUXES APPROXIMATE NO DONE ITERATING STRESS PERIOD LOOP APPROXIMATE TIMESTEP LOOP IMPLICIT COUPLING LOOP (OPTIONAL) SOLVE FORMULATE YES CALCULATE DENSITY YES LARGE DENSITY CHANGE NO OUTPUT CONTROL MORE TIMESTEPS YES BUDGET NO OUTPUT BUDGET MORE STRESS PERIODS OUTPUT NO YES END Figure 7. Step-by-step procedures of the SEAWAT program. 32 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Packages The 1988 version of MODFLOW and the MT3DMS version of MT3D are used in SEAWAT. Both of these codes utilize the “package” approach in which features and options may be turned on or off by users depending on the requirements of the specific problem. Table 1 lists the packages that are available in the current version of SEAWAT. Several additional MODFLOW packages, introduced after the 1988 version of MODFLOW was released, also are included in SEAWAT to extend the applicability of the program to a wide range of problems. These additional or updated packages include the BCF2 package (McDonald and others, 1992), EVT package that allows evapotranspiration to be withdrawn from the highest active cell (Swain and others, 1996), CHD package (Leake and Prudic, 1988), PCG2 package (Hill, 1990), and LKMT3D package (Zheng and Wang, 1998). Array Structure and Memory Allocation Both MODFLOW and MT3DMS utilize the same general approach for allocating computer memory. In the original versions of MODFLOW and MT3DMS, a single array, called the X array, is used to store most of the information for a simulation. In the SEAWAT code, four main arrays are used: X array (for MODFLOW information), Y array (for real MT3DMS information), IY array (for integer MT3DMS information), and Z array (for SEAWAT-specific information). Computer memory for each of these arrays is allocated during run time using the FORTRAN 90 statements—ALLOCATABLE and ALLOCATE. Table 1. MODFLOW and MT3DMS packages used in SEAWAT Package Acronym Program Basic BAS MODFLOW McDonald and Harbaugh (1988) Block-Centered Flow BCF2 MODFLOW McDonald and others (1992) Well WEL MODFLOW McDonald and Harbaugh (1988) Drain DRN MODFLOW McDonald and Harbaugh (1988) River RIV MODFLOW McDonald and Harbaugh (1988) Evapotranspiration EVT MODFLOW Swain and others (1996) General-Head Boundary GHB MODFLOW McDonald and Harbaugh (1988) Recharge RCH MODFLOW McDonald and Harbaugh (1988) Strongly Implicit Procedure SIP MODFLOW McDonald and Harbaugh (1988) Successive Over-Relaxation SOR MODFLOW McDonald and Harbaugh (1988) Preconditioned Conjugate Gradient Solver PCG2 MODFLOW Hill (1990) OC MODFLOW McDonald and Harbaugh (1988) CHD MODFLOW Leake and Prudic (1988) LKMT3D MODFLOW Zheng and Wang (1998) Basic Transport BTN MT3DMS Zheng and Wang (1998) Advection ADV MT3DMS Zheng and Wang (1998) Dispersion DSP MT3DMS Zheng and Wang (1998) Source/Sink Mixing SSM MT3DMS Zheng and Wang (1998) Reaction RCT MT3DMS Zheng and Wang (1998) Generalized Conjugate Gradient Solver GCG MT3DMS Zheng and Wang (1998) Output Control Time-Variant Constant Head LinkMT3D Reference CHAPTER 4--Design and Structure of the SEAWAT Program 33 34 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 5 MODIFICATIONS OF MODFLOW AND MT3DMS Under the SEAWAT approach, two separate computer programs, MODFLOW and MT3DMS, were modified and combined into one program. Among these modifications are the conversion of volumetric fluxes to mass fluxes and the addition of relative density-difference terms and solute-mass accumulation terms to the basic finite-difference equation solved by MODFLOW. Additionally, modifications were made to each of the stress packages of MODFLOW because mass fluxes and freshwater heads are used in SEAWAT. Modifications of MT3DMS are relatively minor and mainly affect internal data transfer and manipulation. This chapter focuses on the modifications made to the block-centered flow (BCF) package and the following stress packages implemented in MODFLOW: • Well (WEL) package • River (RIV) package • Drain (DRN) package • Recharge (RCH) package • Evapotranspiration (EVT) package • General-Head Boundary (GHB) package • Time-Varying Constant Head (CHD) package This chapter shows how the equations, as originally formulated in MODFLOW, were modified to represent variable-density ground-water flow. To simplify this documentation, presentation of the FORTRAN source code is excluded because much of the SEAWAT program is unmodified MODFLOW and MT3DMS code. Modifications to the original MODFLOW and MT3DMS programs are marked in the source code where the changes were made. Matrix and Vector Accumulators SEAWAT uses the same approach as MODFLOW for constructing the matrix equations that describe ground-water flow. Equation 55 shows the general form of the matrix equation solved by SEAWAT and is identical in form to the one solved by MODFLOW. The [A] matrix represents coefficients of equivalent freshwater head, of which a portion is stored in a three-dimensional array called the HCOF accumulator. The {B} vector represents constant terms on the right-hand side of equation 55 and is stored in a threedimensional array called the RHS accumulator. MODFLOW and SEAWAT pass these accumulators and other terms into subroutines that solve for head or equivalent freshwater head, respectively. As part of the solution procedure, a series of subroutines assemble the RHS and HCOF accumulators. Prior to assembly, the RHS and HCOF accumulators are initialized with values of zero. During the assembly, consecutive calls to various subroutines add to or subtract from the accumulators in order to include storage effects, sources, sinks, and other components. In the following sections, the RHS accumulator is new old referred to in mathematical expressions as RHS iold , j, k and RHS i, j, k . RHS i, j, k represents the value of RHS for cell (i,j,k) up to that point in the series of assembly subroutines. The term RHS inew , j, k represents the new value of RHS at cell (i,j,k) after the mathematical expression from that subroutine has been applied. Note, however, that the final value of RHS inew , j, k passed into the solver cannot be determined until the entire sequence of assembly routines has been called. CHAPTER 5--Modifications of MODFLOW and MT3DMS 35 Modifications of the Basic Flow Equation In Chapter 3, the finite-difference equation for freshwater head in cell (i,j,k) was developed with the simplification that relative density-difference terms are kept constant within each timestep (or within each solution of the flow equation if the implicit coupling approach is utilized). Inspection of the flow equation solved by SEAWAT (eq. 50) suggests that it is similar in mathematical form to the equation solved by MODFLOW (eq. 52). Thus, the solution techniques implemented in the original version of MODFLOW also can be used to solve the variable-density flow equation if the code is appropriately modified to include the density terms. Addition of Relative Density-Difference Term The relative density-difference term for a model cell, as defined in equation 48 (and in more detail in eq. 49a-f), is treated as constant during solution of the flow equation. With the explicit approach for coupling flow and transport, the density values are calculated from solute concentrations from the previous timestep (or initial concentrations for the first timestep). With the implicit approach for coupling flow and transport, the density values are calculated from solute concentrations from the previous iteration of that timestep. SEAWAT adds the relative density-difference term to the RHS accumulator using the following expression: new old RHS i, j, k = RHS i, j, k – D i, j, k . (57) Note that one or more of the six components of the relative density-difference term (eq. 49a-f) may equal zero if the fluid density is the same as the density of freshwater, or if the elevations of two adjacent cell centers are the same. Weiss (1982) developed a similar approach for the steady-state situation when fluid density does not change with time. With that approach, “pseudo sources” are calculated for each model cell prior to simulation. The “pseudo sources,” which represent the relative density-difference terms, are then treated as constants during a simulation with a constant density ground-water flow model. Addition of Solute Mass Accumulation Term A similar approach to that used for the density-difference terms also can be used to include the term for solute mass accumulation. The term for solute mass accumulation can be added to the RHS accumulator because the term does not contain the principal variable, freshwater head. With the explicit coupling approach, the partial derivative for solute concentration, ∂C ⁄ ∂t , is evaluated using concentrations from the previous timestep. With the implicit coupling approach, ∂C ⁄ ∂t is evaluated using concentrations from the previous coupling iteration. With either approach, ∂C ⁄ ∂t is zero for the first timestep of a simulation. For the explicit coupling approach, SEAWAT uses the following expression to include the term for solute mass accumulation in the RHS accumulator: n–1 new RHS i, j, k = old RHS i, j, k n–2 C i, j, k – C i, j, k + θE ------------------------------- V i, j, k . ∆t n – 1 (58) For the implicit coupling approach, a similar equation is used to update the RHS accumulator except that the concentrations from a previous coupling iteration are used rather than concentrations from a previous timestep. 36 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Conversion from Volume Conservation to Mass Conservation Volumetric fluxes are converted to mass fluxes by multiplying by fluid density. This is accomplished by multiplying the conductance terms by fluid density. In MODFLOW, three-dimensional arrays called CC, CR and CV contain values of conductance in each direction. The conductance values stored in these three arrays are calculated as the harmonic mean of the transmissivity between two adjacent nodes. For example, the conductance along a column is calculated with the following equation: TC i, j, k TCi + 1, j, k CC i + 1 ⁄ 2, j, k = 2DELR ----------------------------------------------------------------------------------------- , TC i, j, k DELC i + 1 + TC i + 1, j, k DELC i (59) where: DELR is the grid width along the row [L], TC is the transmissivity for each cell in the column direction [L2T-1], and DELC is the grid width along the column [L]. These conductance arrays may or may not be updated during simulations depending on the aquifer type (LAYCON) specified by the user. In SEAWAT, three new arrays (RHOCR, RHOCC, and RHOCV) are used to hold the mass conductances, which are the conductance values multiplied by fluid density. The original conductance arrays (CR, CC, and CV) are still used to hold the values of conductance in each direction. The new arrays are calculated as the product of the conductance terms and the fluid density in the upstream direction. An example of the expression is: RHOCC i + 1 ⁄ 2, j, k = ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k . (60) Whether or not the conductance terms are updated, these three new arrays are recalculated within each iteration of the flow equation. The three mass conductance arrays are passed into the solver, rather than the original conductance arrays, because the system of equations is conserving fluid mass, not fluid volume. Conversion from Fluid Volume Storage to Fluid Mass Storage For a layer in which the storage coefficient remains constant during the simulation, the storage formulation is based on a direct application of the storage expression that applies to an individual cell, (i,j,k). In MODFLOW, the storage expression has the form: n n–1 h i, j, k – h i, j, k ∆V ------- = SS i, j, k ( ∆r j ∆c i ∆v k ) ----------------------------, tn – tn – 1 ∆t where: ∆V/∆t SSi,j,k ∆rj,∆ci,∆vk (61) is the volumetric rate of accumulation of water in the cell; is the specific storage of the material in cell i,j,k; and are the cell dimensions. In SEAWAT, the storage formulation has the form: n n–1 h f, i, j, k – h f, i, j, k ∆m -------- = ρ i, j, k SS i, j, k ( ∆r j ∆c i ∆v k ) -----------------------------------, ∆t tn – t n – 1 CHAPTER 5--Modifications of MODFLOW and MT3DMS (62) 37 where ∆m/∆t is the rate of mass accumulation of water in the cell. Using the storage concept defined in MODFLOW, mass storage capacity, SC1i,j,k, can be defined as: SC1 i, j, k = ρ i, j, k SS i, j, k ( ∆r j ∆c i ∆v k ) . (63) Equation 62 then can be rewritten as: n n–1 h f, i, j, k – h f, i, j, k ∆m -. -------- = SC1 i, j, k ----------------------------------∆t tn – tn – 1 (64) Conversion Between Confined and Unconfined Conditions The primary value for specific storage is only adequate if the water level in each individual cell remains above the top of the cell during an entire simulation or below the top of the cell during an entire simulation. If the water level in a cell crosses the top of the cell during a simulation, the aquifer “converts” from confined to water-table (unconfined) conditions, or vice versa. When these conditions are likely, the user may invoke a storage term conversion by specifying the appropriate layer-type flag (LAYCON). In SEAWAT, a check is made after each iteration of the flow equation to determine if the head in a cell is above the top of the cell. This check is only performed if the layer is specified as “convertible” (for example, LAYCON = 2 or 3). Because the check depends on the elevation of the water table, the head is used rather than the freshwater head. The expression for calculating head at cell (i,j,k) is: ρf ρ i, j, k – ρ f h i, j, k = ------------ h f, i, j, k + ----------------------- Z i, j, k , ρ i, j, k ρ i, j, k (65) where hi,j,k is the head value [L]. The head value (as opposed to the value of freshwater head) is used to determine if the water table is above the top of the cell. The storage conversion mechanism is invoked only when the head crosses the top of the cell during the simulation. When the storage conversion is necessary, the rate of fluid mass accumulation in storage in cell (i,j,k) is formulated as follows: n n–1 SCB ( h f, i, j, k – TOP i, j, k ) + SCA ( TOP i, j, k – h f, i, j, k ) ∆m -, -------- = --------------------------------------------------------------------------------------------------------------------------∆t tn – tn – 1 (66) where: SCB is the “current” storage capacity during the iteration in progress, TOP is the elevation of the top of the model cell, and SCA is the storage capacity in effect in cell (i,j,k) at the start of the timestep. Note that the freshwater head value is used in the storage calculation, but the actual head is used to check for the onset of storage conversion. This is because the change in freshwater head serves as an indicator of pressure change, which is ultimately responsible for storage accumulation, whereas the actual head is required to measure water-level movement. Vertical Flow Calculation for Dewatered Conditions MODFLOW accounts for the special case of downward vertical flow into a dewatering cell by adding correction terms to the RHS accumulator (fig. 8). Similar conditions might be encountered in a SEAWAT simulation; therefore, correction terms based on the variable-density form of Darcy’s law are used to account for downward flow into a dewatering cell. 38 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CORRECTION TO OVERLYING CELL CORRECTION TO UNDERLYING CELL QC Zi,j,k i,j,k ρi,j,k Qi,j,k+1/2 Zi,j,k-1 i,j,k-1 ρi,j,k-1 TOPi,j,k+1 Qi,j,k-1/2 hi,j,k+1 i,j,k+1 Zi,j,k+1 TOPi,j,k hi,j,k i,j,k ρi,j,k+1 Zi,j,k QC ρi,j,k EXPLANATION i,j,k Indices that refer to row, column, and layer, respectively, of a finite-difference model grid hf Equivalent freshwater head [L] h Head [L] Q Flow rate [L3T-1] Qc ρ Z Flow correction [L3T-1] Fluid density [ML-3] Elevation of cell center [L] TOP Top elevation of model cell [L] NOTE: L = length, M = mass, T = time Figure 8. Cell indices and variable definitions for the case of a partially dewatered cell underlying an active model cell. A correction term is added to the overlying cell and subtracted from the underlying cell to account for the inaccurate flow rate that would be calculated with the uncorrected finite-difference equation. Note that in each case, cell indices are rewritten so that the correction is applied to cell i,j,k. Noting that MODFLOW layers are numbered from top downward, the downward vertical flow from upper cell (i,j,k) to lower cell (i,j,k+1) is normally computed with the following equation: ρ i, j, k + 1 ⁄ 2 – ρ f m Q i, j, k + 1 ⁄ 2 = ρ̂ i, j, k + 1 ⁄ 2 CV i, j, k + 1 ⁄ 2 h f, i, j, k + 1 – h f, i, j, k + ---------------------------------- ( Z i, j, k + 1 – Z i, j, k ) , ρf (67) where Q im, j, k + 1 ⁄ 2 is the mass flux of fluid between the two cells [MT-1]. Equation 67 is based on the assumption that cell (i,j,k+1) is fully saturated, which means that the water level in cell (i,j,k+1) is higher than the top of the cell. There are, however, situations in which cell (i,j,k+1) could become partially unsaturated while the overlying cell remains saturated. In this case, flow between cell (i,j,k) and cell (i,j,k+1) does not depend on the head in cell (i,j,k+1). In this case, the “actual” mass flux, Q am , between cell (i,j,k) and cell (i,j,k+1), which is partially dewatered, is: CHAPTER 5--Modifications of MODFLOW and MT3DMS 39 ρ i, j, k + 1 ⁄ 2 m Q a = ρ̂ i, j, k + 1 ⁄ 2 CV i, j, k + 1 ⁄ 2 Z i, j, k – h f, i, j, k + ------------------------ ( TOP i, j, k + 1 – Z i, j, k ) . ρf (68) Although equation 68 may not seem intuitive, it was derived from the variable-density form of Darcy’s law. The correction term, Q cm , is calculated by subtracting equation 68 from equation 67 to give: ρ i, j, k + 1 ⁄ 2 m Q c = ρ̂ i, j, k + 1 ⁄ 2 CV i, j, k + 1 ⁄ 2 h f, i, j, k + 1 – Z i, j, k + 1 + ------------------------ ( Z i, j, k + 1 – TOP i, j, k + 1 ) . ρf (69) The RHS accumulator is updated with the following equation to include this correction: new old RHS i, j, k = RHS i, j, k ρ i, j, k + 1 ⁄ 2 + ρ̂ i, j, k + 1 ⁄ 2 CVi, j, k + 1 ⁄ 2 h f, i, j, k + 1 – Z i, j, k + 1 + ------------------------------- ( Z i, j, k + 1 – TOP i, j, k + 1 ) . ρf (70) To overcome the problem of having the principal variable within the correction term, the value for hf,i,j,k+1 is taken from the preceding iteration of the flow equation, rather than from the current iteration. In a similar manner, a correction term must also be applied to the cell that is being dewatered. In this case, the cell (i,j,k) is being dewatered and is receiving flow from the overlying cell (i,j,k-1). In the standard finite-difference equations shown in Chapter 3, the mass flux computed for this situation would erroneously be calculated according to the following equation: ρ i, j, k – 1 ⁄ 2 – ρ f m Q i, j, k – 1 ⁄ 2 = ρ̂ i, j, k – 1 ⁄ 2 CV i, j, k – 1 ⁄ 2 h f, i, j, k – 1 – h f, i, j, k + ---------------------------------- ( Z i, j, k – 1 – Z i, j, k ) , ρf (71) but the “actual” mass flux is: ρ i, j, k – 1 ⁄ 2 m Q a = ρ̂ i, j, k – 1 ⁄ 2 CV i, j, k – 1 ⁄ 2 h f, i, j, k – 1 – Z i, j, k – 1 + ----------------------- ( Z i, j, k – 1 – TOP i, j, k ) . ρf (72) The correction term, which is calculated by subtracting equation 72 from 71, is: ρ i, j, k – 1 ⁄ 2 m Q c = ρ̂ i, j, k – 1 ⁄ 2 CV i, j, k – 1 ⁄ 2 Z i, j, k – h f, i, j, k + ----------------------- ( TOP i, j, k – Z i, j, k ) . ρf (73) This correction for the dewatering cell is handled by modifying the RHS accumulator according to the following expression: ρ i, j, k – 1 ⁄ 2 new old RHS i, j, k = RHS i, j, k + ρ̂ i, j, k – 1 ⁄ 2 CV Z – h f, i, j, k + ------------------------------- ( TOPi, j, k – Z i, j, k ) i, j , k – 1 ⁄ 2 i, j , k ρf . (74) As before, to overcome the problem of having the principal variable within the correction term, the value for hf,i,j,k is taken from the preceding iteration of the flow equation, rather than from the current iteration. 40 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Variable-Density Flow for Water-Table Case As previously shown, the general form of Darcy’s law used by SEAWAT to calculate the mass flux between cell (i,j,k) and (i+1, j, k) is: ρ i + 1 ⁄ 2, j, k – ρ f Q im+ 1 ⁄ 2, j, k = ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k h f, i + 1, j, k – h f, i, j, k + ---------------------------------- ( Z i + 1, j, k – Z i, j, k ) . ρf (75) For the water-table case (fig. 9), however, equation 75 cannot accurately represent the mass flux between cell (i,j,k) and (i+1, j, k) for two reasons. First, the concept of equivalent freshwater head does not apply when the evaluation point is above the water table. For example, when the center elevation of a model cell is above the water table, the equivalent freshwater head will decrease as fluid density increases (if the water table were to remain at the same elevation). This would suggest that for a fixed water-table elevation, if ρi,j,k were to increase, then Qi+1/2,j,k would decrease, resulting in an inaccurate flow rate. The second reason that equation 75 is not appropriate for the water-table case relates to the elevation for which the equivalent freshwater head is evaluated. To accurately calculate flow between two cells, the equivalent freshwater head should be calculated halfway between the water-table elevation, h, and the bottom of the cell, BOT. This elevation is designated by ZWT/2 and corresponds to the vertical midpoint between the water table and the bottom of the cell (fig. 9). i,j,k i+1,j,k Zi,j,k h hf Zi+1,j,k Z ρi,j,k WT/2,i,j,k Qi+1/2,j,k BOTi,j,k ρi+1,j,k ZWT/2,i+1,j,k BOTi+1,j,k EXPLANATION i,j,k Indices that refer to row, column, and layer, respectively, of a finite-difference model grid hf Equivalent freshwater head [L] h Head [L] Q Flow rate [L3T-1] ρ Z ZWT/2 BOT -3 Fluid density [ML ] Elevation of cell water [L] Elevation of vertical midpoint between the water table and the bottom of the model cell [L] NOTE: L = length, M = mass, T = time Figure 9. Conceptual representation of flow between two cells for the water-table case. CHAPTER 5--Modifications of MODFLOW and MT3DMS 41 Based on this conceptual model for the water-table case, a better expression for the mass flux between cell (i,j,k) and (i+1,j,k) is: m = ρ̂ i + 1/2,j,kCCi + 1/2,j,k [hf,WT/2,i + 1,j,k Qi + 1/2,j,k ρ –ρ i + 1 ⁄ 2, j, k f -hf,WT / 2,i,j,k] + ------------------------------------------- (ZWT / 2,i + 1,j,k -ZWT / 2,i,j,k), ρ (76) f where hf,WT/2,i,j,k and hf,WT/2,i+1,j,k are the equivalent freshwater heads at ZWT/2,i,j,k and ZWT/2,i+1,j,k, respectively. These equivalent freshwater heads can be calculated from the equivalent freshwater heads at the cell centers by assuming hydrostatic conditions within the model cell: ρ i, j, k – ρ f h f, WT ⁄ 2, i, j, k = h f, i, j, k + ----------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) , ρf (77) ρ i + 1, j, k – ρ f h f, WT ⁄ 2, i + 1, j, k = h f, i + 1, j, k + ----------------------------- ( Z i + 1, j, k – Z WT ⁄ 2, i + 1, j, k ) . ρf (78) and: By substituting equations 77 and 78 into equation 76, the expression for flow between cell (i,j,k) and (i+1,j,k) in terms of the equivalent freshwater head at the cell centers is: ρ i + 1, j, k – ρ f Q im+ 1 ⁄ 2, j, k = ρ̂ i + 1 ⁄ 2, j, k CC i + 1 ⁄ 2, j, k h f, i + 1, j, k + ----------------------------- ( Z i + 1, j, k – Z WT ⁄ 2, i + 1, j, k ) ρf – ρ i, j, k – ρ f ρ i + 1 ⁄ 2 , j, k – ρ f – h f, i, j, k + -------------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) + ---------------------------------- ( Z WT ⁄ 2, i + 1, j, k – Z WT ⁄ 2, i, j, k ) . ρf ρf (79) In SEAWAT, the method for using equation 79 to solve for the water-table case is similar to the correction method used by MODFLOW and SEAWAT for the dewatered case. If equation 75 represents the flow calculated by SEAWAT without any adjustments for the water-table case, a correction term can be calculated by subtracting the actual flow (eq. 79) from equation 75. The correction term can then be incorporated into the RHS accumulator to adjust for error that would result from using equation 75. Through algebraic manipulation, the water-table correction term for flow between cell (i , j,k) and (i+1, j, k) is: ρ i + 1 ⁄ 2, j, k – ρ f Q cm = ρ̂ i + 1 ⁄ 2, j, k CC i, j, k ---------------------------------- ( Z i + 1, j, k – Z i, j, k + Z WT ⁄ 2, i, j, k – Z WT ⁄ 2, i + 1, j, k ) ρf ρ i + 1, j, k – ρ f ρ i, j, k – ρ f + ----------------------------- ( Z WT ⁄ 2, i + 1, j, k – Z i + 1, j, k ) + ----------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) . ρf ρf (80) The correction term is a function of ZWT/2, which is: h + BOT Z WT ⁄ 2 = --------------------- . 2 (81) The addition of the correction term for the water-table case adds nonlinearity to the flow equation because head is a function of equivalent freshwater head. This problem is partially treated by using the equivalent 42 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow freshwater head from the previous iteration of the flow equation to solve for the ZWT/2 terms prior to calculating the correction term. This development of the correction term for the water-table case was presented for flow between cell (i,j,k) and (i+1,j,k). For a two-dimensional water-table layer, there may be up to four correction terms, one for each horizontally adjacent cell. These correction terms are used to update the RHS accumulator according to the following expression: ρ i + 1 ⁄ 2, j, k – ρ f ------------------------------------------- ( Z RHS new = RHS old + ρ̂ i + 1 ⁄ 2, j, k CR –Z +Z –Z ) i, j, k i, j, k i + 1 ⁄ 2, j, k i + 1, j, k i, j, k WT ⁄ 2, i, j, k ρf WT ⁄ 2, i + 1, j, k ρ i + 1, j, k – ρ f ρ i, j, k – ρ f + ----------------------------- ( Z WT ⁄ 2, i + 1, j, k – Z i + 1, j, k ) + ----------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) ρf ρf + ρ̂ i – 1 ⁄ 2, j, k CRi – 1 ⁄ 2, j, k ρ –ρ i – 1 ⁄ 2, j, k -----------------------------------------f ( Z i – 1, j, k – Z i, j, k + Z WT ⁄ 2, i, j, k – Z WT ⁄ 2, i – 1, j, k ) ρ f ρ i, j, k – ρ f ρ i – 1, j, k – ρ f + ----------------------------- ( Z WT ⁄ 2, i – 1, j, k – Z i – 1, j, k ) + ----------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) ρf ρf + ρ i, j + 1 ⁄ 2, k – ρ f - (Z –Z +Z –Z ) ρ̂ i, j + 1 ⁄ 2, k CC i, j + 1 ⁄ 2, k -----------------------------------------i, j + 1, k i, j, k WT ⁄ 2, i, j, k ρf WT ⁄ 2, i, j + 1, k (82) ρ i, j, k – ρ f ρ i, j + 1, k – ρ f + ----------------------------- ( Z WT ⁄ 2, i, j + 1, k – Z i, j + 1, k ) + ----------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) ρf ρf + ρ̂ i, j – 1 ⁄ 2, k CC i, j – 1 ⁄ 2, k ρ i, j – 1 ⁄ 2, k – ρ f ------------------------------------------ ( Z i, j – 1, k – Z i, j, k + Z WT ⁄ 2, i, j, k – Z WT ⁄ 2, i, j – 1, k ) ρf ρ i, j, k – ρ f ρ i, j – 1, k – ρ f + --------------------------- ( Z WT ⁄ 2, i, j – 1, k – Z i, j – 1, k ) + ----------------------- ( Z i, j, k – Z WT ⁄ 2, i, j, k ) . ρf ρf Modifications of MODFLOW Stress Packages Modifications to the original package subroutines in MODFLOW were required because the flow equation in SEAWAT conserves mass, which means that all terms added to the RHS accumulator must be written as mass fluxes. Additionally, all terms added to the HCOF accumulator must be coefficients of freshwater head. Modifications to each of the stress packages in MODFLOW are described in the subsequent sections. Well (WEL) Package The WEL package is used to represent specified source or sink boundaries within the model domain. These specified flux boundaries may be injection wells or extraction wells. Original MODFLOW subroutines were modified to include the effects of injection and extraction wells. The RHS accumulator is updated by adding or subtracting the mass flux of the well. The mass flux is equal to the flow rate of the well, QWELL, multiplied by the appropriate fluid density, ρWELL. Conditional statements are used within the SEAWAT program to determine the density of the well fluid. If the well is an extraction well, the fluid density is equal to the density in the model cell. If the well is an injection well, the fluid density is calculated from the concentration of the well injection fluid. The concentration of injected fluid, CWELL, is specified in the Source/Sink Mixing (SSM) package of MT3DMS. These steps are summarized with the following mathematical expressions: CHAPTER 5--Modifications of MODFLOW and MT3DMS 43 For an extraction well (Qwell < 0): ρ well = ρ i, j, k . (83) ρ well = ρ f + C well ⋅ E . (84) For an injection well (Qwell > 0): Accordingly, the RHS accumulator is updated with the following expression: new old RHS i, j, k = RHS i, j, k – ρ well ⋅ Q well . (85) River (RIV) Package The RIV package in MODFLOW is commonly used to approximate leakage to or from a stream or river. The conceptual model is based on the vertical leakage of water across river bottom sediments (fig. 10). The cross section of the river is assumed to be rectangular with impermeable vertical sides. Leakage into or out of the model cell is dependent on the stage in the river (hRIV), the value of head in the model cell (hi,j,k), and a conductance value. The conductance of the river is mathematically defined as: L ⋅ w ⋅ K seds COND RIV = ----------------------------- , b seds where: CONDRIV L w Kseds bseds (86) is the conductance of the riverbed [L2T-1], is the length of the river segment in the model cell [L], is the width of the river [L], is the hydraulic conductivity of the river bottom sediments [LT-1], and is the thickness of the river bottom sediments [L]. The elevation of the base of the river bottom sediments is specified as RBOT, an input parameter for the RIV package. When the head in the model cell is above RBOT, river leakage (QRIV) is calculated using the following form of Darcy’s law: Q RIV = COND RIV ⋅ ( h RIV – h i, j, k ) . (87) The sign convention used by MODFLOW treats ground-water sources as positive and sinks as negative. QRIV, therefore, is positive if the aquifer is receiving river leakage and negative if the aquifer is providing baseflow to the river. If hi,j,k falls below RBOT, the RIV package uses a slightly different equation for leakage: Q RIV = COND RIV ⋅ ( h RIV – RBOT ) . (88) This approach restricts the maximum leakage rate and is a reasonable approximation for leakage when the water table falls below the base of a saturated river bottom deposit. To incorporate river leakage into the system of MODFLOW equations, the RHS and HCOF accumulators are updated using the following conditions and expressions: For hi,j,k > RBOT: 44 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow MODFLOW hRIV hi,j,k QRIV RBOT SEAWAT hf,RIV hRIV hf,i,j,k hi,j,k ρRIV QRIV bseds RBOT Zi,j,k ρi,j,k EXPLANATION hRIV Head in the river [L] hi,j,k Head in the model cell [L] RBOT hf,RIV Bottom elevation of the river bed sediments [L] hf,i,j,k Equivalent freshwater head in the model cell [L] bseds Thickness of river bed sediments [L] Zi,j,k Elevation of the center of the model cell [L] ρRIV Density of the river water [ML-3] ρi,j,k Density of the water in the model cell [ML ] QRIV Flux of water from the river to the aquifer [L T ] Equivalent freshwater head in the river relative to the top of the river bed [L] -3 3 -1 NOTE: L = length, M = mass, T = time Figure 10. Conceptual model and variable description for river leakage in MODFLOW and SEAWAT. CHAPTER 5--Modifications of MODFLOW and MT3DMS 45 new old HCOF i, j, k = HCOF i, j, k – COND RIV , (89) and: new old RHS i, j, k = RHS i, j, k – COND RIV ⋅ h RIV . (90) For hi,j,k <= RBOT: new old RHS i, j, k = RHS i, j, k – COND RIV ( h RIV – RBOT ) . (91) In SEAWAT, the mathematical treatment of river leakage is more complicated because a variabledensity form of Darcy’s law is required. Additionally, the river leakage must be converted from a volumetric flux to a mass flux using the appropriate fluid density. The conceptual model of variable-density river leakage is shown in figure 10. To provide the reader with an understanding of how to incorporate a head-dependent, variable-density package into SEAWAT, the development of the river leakage equations is presented in detail. The conceptual model for variable-density river leakage is based on vertical flow across river bottom sediments. The general form of Darcy’s law for variable-density vertical flow is: k dP Q z = – A --- ------- + ρg . µ dz (92) In this form, positive flow is in the positive z direction (upward). The objective of the following steps is to rewrite equation 92 into a form that can be added to the RHS and HCOF accumulators in SEAWAT. This means that pressure will be replaced with freshwater head, the conceptual model for river leakage will be used to reformulate the equation, and leakage will be converted from volumetric flux to mass flux. The equation for pressure (eq. 23) is substituted into equation 92, which is then rearranged to give: kρ f g dhf ρ – ρ f Q z = – A ----------- ------- + -------------- . µ dz ρf (93) The equivalent freshwater hydraulic conductivity, Kf, is defined as: kρ f g K f = ----------- . µf (94) Substituting equation 94 into equation 93 gives: µ f dh f ρ – ρ f Q z = – AK f ---- ------- + -------------- . µ dz ρf (95) As previously discussed, the dynamic viscosity of water is slightly dependent on the concentration of dissolved constituents, but for many applications it can be assumed that µ f ⁄ µ is one. With this simplification, equation 95 reduces to: AK f ρ – ρf Q z = – --------- dh f + -------------- dz . ρf dz 46 (96) User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Equation 96 is one form of the equation for vertical, variable-density ground-water flow. In applying this equation to the RIV package in SEAWAT, it was assumed that energy (pressure and elevation) losses associated with the vertical flow occur primarily across the river bottom materials, and that losses across the upper part of the model cell underlying the river are small by comparison. It was further assumed that fluid density is essentially uniform within the cell. Under these assumptions the head, expressed in terms of the cell fluid, does not vary with vertical distance through the cell; thus, the value for head is the same at RBOT and the cell center. However, the values of freshwater head at RBOT and at the cell center must differ under these conditions and are related by: ρ i, j, k – ρ f h f, RBOT = h f, i, j, k + ----------------------- ( Z i, j, k – RBOT ) , ρf (97) and the equation for river leakage is: AK f, seds ρ – ρf Q RIV = – -------------------- h f, RIV – h f, RBOT + -------------- b seds , b seds ρf (98) where ρ is the average fluid density of the river and the model cell. By substituting equation 97 into equation 98, and introducing a new term called the equivalent freshwater river conductance, CONDf,RIV, where: AK f, seds COND f, RIV = -------------------- , b seds (99) the equation for river leakage (changing the sign to the MODFLOW sign convention of positive into the model cell) becomes: ρ i, j, k – ρ f ρ – ρf Q RIV = – C OND f, RIV ⋅ h f, i, j, k + COND f, RIV h f, RIV – -------------------------- ( Z i, j, k – RBOT ) + -------------- b seds ρf ρf . (100) The volumetric river leakage, QRIV, is converted to a mass river leakage by multiplying QRIV by the upstream fluid density ρ̂ , where ρ̂ is equal to ρi,j,k if flow is out of the cell or ρRIV if flow is into the model cell. The following expressions are used to add the river leakage to the RHS and HCOF accumulators. Note that the actual head in the model cell hi,j,k is used in the conditional statements rather than the equivalent freshwater head hf,i,j,k. For hi,j,k > RBOT: new old HCOF i, j, k = HCOF i, j, k – ρ̂ ⋅ COND f, RIV , (101) ρ i, j, k – ρ f ρ – ρf new old RHS i, j, k = RHS i, j, k – ρ̂ ⋅ COND RIV h f, RIV – ----------------------- ( Z i, j, k – RBOT ) + -------------- b seds . ρf ρf (102) and: For hi,j,k ≤ RBOT: ρ RIV – ρ f new old RHS i, j, k = RHS i, j, k – ρ RIV ⋅ COND f, R IV h f, RIV – RBOT + --------------------- b seds . ρf CHAPTER 5--Modifications of MODFLOW and MT3DMS (103) 47 For the constant-density case simulated by MODFLOW, the thickness of the river bottom sediments is lumped into the conductance term. In the variable-density equations for river leakage, however, bseds is in the conductance term (CONDf,RIV) and the leakage equation. This means that bseds must be specified by the user for SEAWAT to appropriately include the effects of variable-density river leakage. Drain (DRN) Package The DRN package in MODFLOW uses a head-dependent flux condition to withdraw water from a model cell if the head in the model cell is higher than the drain elevation (fig. 11). The equations used by MODFLOW are as follows: For hi,j,k > hDRN: Q DRN = COND DRN ⋅ ( h DRN – h i, j, k ) . (104) Q DRN = 0 , (105) For hi,j,k < hDRN: where: QDRN CONDDRN hDRN is the volumetric flux to the drain [L3T-1], is the conductance of the drain [L2T-1], and is the control stage of the drain [L]. With the above formulation, the RHS and HCOF accumulators are updated according to the following condition and expressions: For hi,j,k > hDRN: new old HCOFi, j, k = HCOF i, j, k – COND DRN , (106) and: new old RHS i, j, k = RHS i, j, k – COND DRN ⋅ h DRN . (107) In adapting the DRN package to SEAWAT, it was assumed that the density of water in the drain would be equal at all times to that in the model cell (i,j,k) to which the drain is connected, and that the level of water in the drain would remain fixed by engineered or natural controls at a head level, hDRN (fig. 11). Under these assumptions, the volumetric flow from the cell into the drain is given by the equations used by MODFLOW (eqs. 104 and 105), where CONDDRN is the drain conductance for water of density, ρi,j,k, which is the density of the water present in the cell. The drain conductance term, CONDDRN, is related to the drain conductance for freshwater, CONDf,DRN, by: ρf COND f, DRN = COND DRN ------------ . ρ i, j, k 48 (108) User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow MODFLOW hi,j,k hDRN QDRN SEAWAT QDRN h f,i,j,k hf,DRN hi,j,k hDRN ρi,j,k ZDRN Zi,j,k ρi,j,k EXPLANATION hi,j,k Head in the model cell [L] hDRN Head in the drain [L] hf,i,j,k Equivalent freshwater head in the model cell [L] hf,DRN Equivalent freshwater head in the drain [L] ZDRN Elevation of the drain bottom [L] Zi,j,k Elevation of the center of the model cell [L] ρi,j,k Density of the water in the model cell [ML-3] QDRN Flux of water from the aquifer to the drain [L T ] 3 -1 NOTE: L = length, M = mass, T = time Figure 11. Conceptual model and variable description for drain leakage in MODFLOW and SEAWAT. CHAPTER 5--Modifications of MODFLOW and MT3DMS 49 Applying equation 4 to the drain, where again the density of water in the drain is the same as that in the model cell, ρi,j,k, gives: ρf ρ i, j, k – ρ f h DRN = ------------ h f, DRN + ----------------------- Z DRN , ρ i, j, k ρ i, j, k (109) where, as shown in figure 11, ZDRN is the elevation of the bottom of the drain. Substituting equations 65, 108, and 109 into 104 yields: ρ i, j, k – ρ f Q DRN = COND f, DRN ⋅ h f, DRN – h f, i, j, k – ----------------------- ( Z i, j, k – Z DRN ) . ρf (110) Equation 110 is multiplied by ρi,j,k to obtain an expression for mass flux into the drain. To incorporate the effects of the drain into SEAWAT, the HCOF and RHS accumulators are updated according to the following expressions: For hi,j,k > hDRN: new and: old HCOF i, j, k = HCOFi, j, k – COND f, DRN ⋅ ρ i, j, k , (111) ρ i, j, k – ρ f new old RHS i, j, k = RHS i, j, k – ρ i, j, k ⋅ COND f, DRN h f, DRN – ----------------------- ( Z i, j, k – Z DRN ) . ρf (112) In the constant-density case simulated by MODFLOW, the user need only specify the stage within the drain and the conductance. Because the drain formulation in SEAWAT is written for the variable-density case, the user also needs to specify the elevation of the drain bottom, ZDRN. Recharge (RCH) Package The RCH package in MODFLOW is used to add aerial recharge to a model. If the recharge rates are negative, the RCH package also can be used to withdraw ground water from a model. In the input data sets, the recharge rate (RECH) is entered in dimensions of [LT-1], but is converted to a volumetric flux (QRCH) by multiplying by the cell area. A positive value for RECH adds water to a model cell; a negative value for RECH withdraws ground water from a model cell. The recharge quantity is included in the MODFLOW system of equations by subtracting the volumetric flux from the RHS accumulator. The expression is: new old RHS i, j, k = RHS i, j, k – Q RCH . (113) SEAWAT uses this same approach, except the volumetric flux is converted to a mass flux. If QRCH is positive, the recharge density is calculated from the concentration of the recharge fluid specified in the MT3DMS data sets. If QRCH is negative, the recharge density is set equal to the fluid density of that model cell, which is the approach used by MT3DMS for negative recharge. Therefore, the expressions for determining the appropriate recharge density, ρRCH, are as follows: 50 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow For RECH > 0: ρ RCH = ρ f + C RCH ⋅ E . (114) ρ RCH = ρ i, j, k , (115) For RECH < 0: where CRCH is the concentration of the recharge fluid [ML-3]. Accordingly, the RHS accumulator is updated with the following expression: new old RHS i, j, k = RHS i, j, k – ρ RCH ⋅ Q RCH . (116) Evapotranspiration (EVT) Package The EVT package in MODFLOW is used to simulate ground-water withdrawals from an aquifer. The rate of ground-water withdrawal (QEVT) is dependent on the depth from a user-specified surface, SURF, to the position of the water table. When the water table is below the extinction depth, EXTD, the evapotranspiration rate is equal to zero. When the water table is above SURF, QEVT is equal to the maximum evapotranspiration rate (QMAX). Values of QMAX are positive in the input data sets, but the values of QEVT that result from the equations are negative. In the input data sets, QMAX is expressed as [LT-1] but is multiplied by the area of the model cell to convert to a volumetric flux. When the water table is between SURF and EXTD, QEVT is linearly interpolated between QMAX and zero, depending on the depth to the water table. Mathematically, the conceptual model for evapotranspiration is written with the following conditions and expressions: For hi,j,k > SURF: Q EVT = – Q MAX . (117) Q EVT = 0 . (118) – Q MAX Q MAX ⋅ SURF Q EVT = ----------------- h i, j, k – Q MAX + ---------------------------------- . EXTD EXTD (119) For hi,j,k < (SURF – EXTD): For (SURF – EXTD) < hi,j,k < SURF: MODFLOW incorporates these conditions into the RHS and HCOF accumulators with the following equations: For hi,j,k > SURF: new old RHS i, j, k = RHS i, j, k + Q MAX . (120) For hi,j,k < (SURF – EXTD): No change in RHS or HCOF. For (SURF – EXTD) < hi,j,k < SURF: Q MAX new old HCOFi, j, k = HCOF i, j, k – ---------------- , EXTD (121) and: CHAPTER 5--Modifications of MODFLOW and MT3DMS 51 Q MAX ⋅ SURF new old RHS i, j, k = RHS i, j, k + Q MAX – ---------------------------------- . EXTD (122) In SEAWAT, the ground-water flow equation is written in terms of freshwater head, hf,i,j,k. The conceptual model for evapotranspiration, however, poses QEVT as a function of the water-table position (hi,j,k). This means that the MODFLOW equations for QEVT are not appropriate for variable-density cases. Accordingly, the equations for QEVT in SEAWAT are adjusted by substituting an expression for the actual head hi,j,k into the original MODFLOW equations and rewriting in terms of freshwater head hf,i,j,k. When equation 65 is substituted into equation 119, the following equation results for QEVT: – Q MAX ρ f Q MAX Q MAX ⋅ SURF ρ i, j, k – ρ f Q EVT = ----------------- ------------ h i, j, k – ---------------- Z i, j, k ----------------------- – Q MAX + ---------------------------------- . EXTD ρ i, j, k EXTD ρ i, j , k EXTD (123) In SEAWAT, the RHS and HCOF accumulators are updated using the following conditions and equations. The conditional statements use the actual head hi,j,k rather than the freshwater head hf,i,j,k, and evapotranspiration is expressed as a mass flux rather than volumetric flux by multiplying by the density of the evapotranspiration fluid ρEVT. The expressions are: For hi,j,k > SURF: new old RHS i, j, k = RHS i, j, k + ρ EVT ⋅ Q MAX . (124) For hi,j,k < (SURF – EXTD): No change in RHS or HCOF. For (SURF – EXTD) < hi,j,k < SURF: and Q MAX ρ f new old HCOF i, j, k = HCOF i, j, k – ρ EVT ⋅ ---------------- ------------ , EXTD ρ i, j, k (125) Q MAX ρ i, j, k – ρ f Q MAX ⋅ SURF new old RHS i, j, k = RHS i, j, k + ρ EVT ---------------- Z i, j, k ----------------------- + Q MAX – ---------------------------------- . EXTD ρ i, j, k EXTD (126) With MT3DMS, users are allowed to specify the concentration of the evapotranspiration fluid withdrawn from a cell. The conversion from volumetric to mass flux uses ρEVT, which is calculated from the concentration of the evapotranspiration water, CEVT, using the following equation: ρ EVT = ρ f + C EVT ⋅ E . (127) If the concentration of the evapotranspiration fluid is not specified, the density of freshwater is used to convert the volumetric evapotranspiration rate to a mass flux. 52 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow General-Head Boundary (GHB) Package The GHB package in MODFLOW is one of the more robust packages available for simulating a wide range of boundary conditions. General-head boundaries are head-dependent boundaries where the volumetric flux, QGHB, is proportional to the head difference. The form of Darcy’s law used to characterize the flux is: Q GHB = COND GHB ⋅ ( h GHB – h i, j, k ) , where: CONDGHB hGHB (128) is the conductance of the GHB [L2T-1], and is the head value for the GHB. MODFLOW incorporates this type of boundary condition into the system of equations by updating the RHS and HCOF accumulators with the following expressions: new old HCOF i, j, k = HCOF i, j, k – COND GHB , (129) and: new old RHS i, j, k = RHS i, j, k – COND GHB ⋅ h GHB . (130) For constant-density simulations, equation 128 is valid for horizontal or vertical flow between the model domain and the general-head boundary. In SEAWAT simulations, however, the variable-density form of Darcy’s law is dependent on elevation as well as the head difference, which means that the elevation of the general-head boundary reservoir is important. The GHB package in SEAWAT was designed so that reservoirs for the general-head boundaries could be located anywhere around the cell. Accordingly, the following equation is used to quantify the volumetric flux between a general-head boundary and a model cell: ρ – ρf Q GHB = COND f, GHB ⋅ h f, GHB – h f, i, j, k + -------------- ( Z GHB – Z i, j, k ) , ρf (131) where: CONDf,GHB is the equivalent freshwater conductance of the general-head boundary [L2T-1], hf,GHB ρ is the equivalent freshwater head of the general-head boundary [L], is the average fluid density of the general-head boundary reservoir and the model cell [ML-3], and ZGHB is the elevation of the base of the general-head boundary reservoir [L]. SEAWAT incorporates the effects of the general-head boundary into the system of equations by updating the HCOF and RHS accumulators with the appropriate mass flux: new and: old HCOF i, j, k = HCOF i, j, k – ρ̂ ⋅ COND f, GHB , (132) ρ – ρf new old RHS i, j, k = RHS i, j, k – ρ̂ ⋅ COND f, GHB ⋅ h f, GHB + -------------- ( Z GHB – Z i, j, k ) , ρf (133) CHAPTER 5--Modifications of MODFLOW and MT3DMS 53 where: ρ̂ is the upstream-weighted fluid density with a value of ρGHB if flow is into the model cell, and ρi,j,k if flow is out of the model cell. The value for ρGHB is calculated from the concentration of the general-head boundary specified in the MT3DMS input data set. The elevation of the general-head boundary (ZGHB) is not standard input for the general-head boundary package. If this information is omitted from the GHB package, SEAWAT assumes the reservoir for the general-head boundary is at the same elevation as the center elevation for the model cell. Time-Varying Constant Head (CHD) Package The CHD package allows the values for constant head cells to change during a stress period. Users enter a starting and ending head value for each constant head cell, and the program linearly interpolates a head value at the appropriate times based on the elapsed time within the stress period. The CHD package was modified to allow SEAWAT users the option to enter either equivalent freshwater heads or heads. If the user enters equivalent freshwater heads, SEAWAT linearly interpolates an equivalent freshwater head value for the end of the timestep. If the user enters heads, however, SEAWAT converts the head value that was linearly interpolated to an equivalent freshwater head using equation 3 and the fluid density calculated for that cell. Therefore, if the solute concentration in the CHD cell changes during the simulation, the user has the option to specify the head (or stage if the CHD cell represents a surface-water feature) rather than equivalent freshwater head. Modification of MODFLOW Solver Packages There are no modifications to the source code of the solver packages, but there are changes in the main program where the statements call the solvers. SEAWAT passes the arrays RHOCC, RHOCR, and RHOCV into the solvers, which are the conductance arrays multiplied by the upstream-weighted fluid density. The RHOCC, RHOCR, and RHOCV arrays are updated during each iteration of the flow equation with the current upstream-weighted fluid density. These mass conductances are passed to the solvers because all terms in the HCOF and RHS accumulators are written as mass terms rather than as volumetric terms. MODFLOW-MT3DMS Link Package and Modifications to MT3DMS The link package passes advective fluxes for the model domain and boundaries, along with saturated cell thicknesses, from the flow model component to the transport model component. The link subroutines, which include one subroutine for each stress package, were updated with the appropriate variable-density flow equations for the different boundary conditions so that the link package is consistent with the variabledensity equations previously discussed. There are only minor modifications to MT3DMS. These modifications do not change the way the transport equation is solved, but only facilitate the mechanics of running MODFLOW and MT3DMS within a single code. For this reason, a description of the relatively minor changes to MT3DMS is not presented in this document. 54 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 6 INSTRUCTIONS FOR USING SEAWAT A principal advantage in using SEAWAT is that the program reads and writes standard MODFLOW and MT3DMS data sets. Users of MODFLOW and MT3DMS can easily apply SEAWAT to problems involving variable-density ground-water flow; however, users not familiar with MODFLOW and MT3DMS should accustom themselves with these programs before using SEAWAT. The MODFLOW and MT3DMS manuals provide detailed instructions for selecting simulation options, creating input files, and processing model results. This chapter assumes that SEAWAT users have access to these manuals and are familiar with the concepts and limitations of the programs. Users should also recognize that solute-transport modeling presents additional considerations and requirements in addition to those for flow modeling (Zheng and Bennett, 1995). For example, the quasi three-dimensional approach should not be used with SEAWAT. Instead, a true three-dimensional approach with an increased level of vertical discretization may be required to accurately simulate solute-transport and variable-density flow patterns. In the next sections, instructions for preparing input files for individual MODFLOW and MT3DMS packages for use in SEAWAT are explained. Input files for the packages are divided into records. In most cases, records used for SEAWAT are the same as records for MODFLOW and MT3DMS. Information for these identical records is not included in this chapter. If, however, a record contains additional information that is specific to SEAWAT, then this information is included in this chapter. An input variable within a record that is highlighted in bold indicates that the variable is specific to SEAWAT or that a change has been made to facilitate data entry for SEAWAT. Preparation of MODFLOW Input Packages for SEAWAT The MODFLOW input packages for SEAWAT are: • • • • • • • • • • • Basic (BAS) package Output Control (OC) option Block-Centered Flow (BCF) package Well (WEL) package Drain (DRN) package River (RIV) package Evapotranspiration (EVT) package General-Head Boundary (GHB) package Recharge (RCH) package Time-Varying Constant Head (CHD) package Solver packages, including Strongly Implicit Procedure (SIP), Successive Over-Relaxation (SOR), and Preconditioned Conjugate Gradient (PCG) Basic (BAS) Package For a SEAWAT simulation, the user is required to develop an input file for the BAS package. Record 4 Data: IUNIT(24) Format: 24I3 SEAWAT uses the IUNIT array (like MODFLOW) to determine which stress packages and solver are used for the flow portion of the variable-density simulation. Packages are activated by entering a positive integer into the appropriate position in the IUNIT array. CHAPTER 6--Instructions for Using SEAWAT 55 The value of the integer is the FORTRAN unit number that will be used to open the input file for that package. The list below shows the location of the particular packages within the IUNIT array. 1 2 3 4 5 6 7 8 9 10 11 12 BCF WEL DRN RIV EVT XXX GHB RCH SIP XXX SOR OC 13 14 15 16 17 18 19 20 21 22 23 24 PCG XXX XXX XXX XXX XXX XXX CHD XXX LKMT XXX XXX IMPORTANT: FORTRAN unit numbers 1, 6, and 35 to 49 are reserved for SEAWAT files. These numbers should not be used by the user for MODFLOW input or output files. Record 8 Data: SHEAD(NCOL,NROW) Module: U2DREL (one array for each layer in grid) The starting heads entered in this record should represent equivalent freshwater heads. Record 9 Data: PERLEN, NSTP, TSMULT Format: F10.0, I10, F10.0 Information in record 9 is required for the BAS package, but SEAWAT does not use this information. These same parameters are also required for the MT3DMS Basic Transport (BTN) package. SEAWAT uses the time parameters from the BTN package to determine stress period information. Output Control (OC) Option The output control (OC) option is used to control the results that are saved from the flow portion of the variable-density simulation. Results pertaining to flow include heads, drawdowns, cell-by-cell flow terms, and budget information. Concentrations and other solute-transport results are saved according to the standard MT3DMS instructions. Block-Centered Flow (BCF) Package The user is required to develop an input file for the BCF package. This file contains information about spatially distributed input parameters such as hydraulic conductivity, aquifer tops and bottoms, and storage coefficients. Record 1 Data: ISS, IBCFCB, HDRY, IWDFLG, WETFCT, IWETIT, IHDWET, IWTABLE Format: 2I10, F10.0, I10, F10.0, 2I10, I10 ISS is the steady-state flag. When ISS is set to one, SEAWAT will solve the steadystate form of the flow equation. This does not mean that the solute-transport part of the model will automatically run to steady state. For most applications, the user should specify transient flow conditions (ISS equal to zero) because the redistribution of salt in the aquifer may affect flow patterns. The input variable, IWTABLE, determines if the corrections for the variable-density water-table case will be included in the solution to the flow equation. If IWTABLE is zero (or not specified), SEAWAT will not use equation 82 to correct for variable-density flow under 56 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow water-table conditions. If IWTABLE is greater than zero, SEAWAT will use equation 82 to correct for variable-density flow. Because equation 82 adds nonlinearity to the flow equation, the solvers may not converge for complicated water-table conditions. The user, therefore, has the option to run SEAWAT with or without the corrections. Record 6 Data: SF1(NCOL,NROW) Format: U2DREL SF1 is the primary storage coefficient. Values for SF1 should be entered as equivalent freshwater storage coefficients. Record 7 Data: TRAN(NCOL,NROW) Format: U2DREL TRAN is the transmissivity along rows. Values for TRAN should be entered as equivalent freshwater transmissivity values. Record 8 Data: HY(NCOL,NROW) Format: U2DREL HY is the hydraulic conductivity along rows and should be entered as equivalent freshwater hydraulic conductivity. Record 10 Data: Format: VCONT(NCOL,NROW) U2DREL VCONT is the vertical hydraulic conductance and should be entered in equivalent freshwater terms. Record 11 Data: Format: SF2(NCOL,NROW) U2DREL SF2 is the secondary storage coefficient. Values for SF2 should be entered as equivalent freshwater storage coefficients. Well (WEL) Package As in a standard MODFLOW simulation, an input file for the WEL package is required for a SEAWAT simulation if a nonzero integer is entered in position 2 of the IUNIT array in the BAS package. Record 3 Data: K, I, J, Qwell Format: 3I10, F10.0 For extraction wells, the pumping rate (Qwell) is less than zero, and the concentration of the fluid withdrawn from the aquifer is equal to the concentration of the model cell that contains the extraction well. For injection wells, Qwell is greater than zero. If the concentration of the injection fluid is greater than zero, the user specifies this information in the MT3DMS source/sink mixing (SSM) package. The user cannot specify different concentrations for two injection wells in the same model cell. This limitation is described in more detail later. Drain (DRN) Package An input file for the DRN package is required for a SEAWAT simulation if a nonzero integer is entered in location 3 of the IUNIT array in the BAS package. Record 1 Data: MXDRN, IDRNCB, IDRNELEV Format: 3I10 CHAPTER 6--Instructions for Using SEAWAT 57 To accurately simulate the flow of variable-density ground water to a drain, the elevation of the drain bottom also is required. A positive value for the flag, IDRNELEV, indicates that drain bottom elevations are included in record 3 for each drain. If IDRNELEV is equal to zero, SEAWAT sets the elevation of the drain bottom to the elevation of the center of the model cell. Record 3 Data: K, I, J, hf,DRN, CONDf,DRN, ZDRN Format: 3I10, 3F10.0 The variable hf,DRN represents the equivalent freshwater stage within the drain. The variable CONDf,DRN is the equivalent freshwater conductance of the drain sediments. The variable ZDRN is the bottom elevation of the drain. River (RIV) Package An input file for the RIV package is required for a SEAWAT simulation if a nonzero integer is entered in location 4 of the IUNIT array in the BAS package. Record 1 Data: MXRIVR, IRIVCB, IRBDTHK Format: 3I10 To accurately simulate the flow of variable-density ground water to a river, the thickness of the river bottom sediments is required. A positive value for the flag, IRBDTHK, indicates that river bottom thicknesses are included in record 3 for each river. If IRBDTHK is equal to zero, SEAWAT sets the thickness of the river bottom sediments (bseds) equal to the distance between the river bottom (RBOT) and the vertical center of the cell (Zi,j,k). Record 3 Data: K, I, J, hf,RIV, CONDf,RIV, RBOT, bseds Format: 3I10, 3F10.0 The variable hf,RIV is the equivalent freshwater head of the river. The variable CONDf,RIV is the equivalent freshwater conductance of the river bottom sediments. The variable RBOT is the elevation of the river bottom. The variable bseds is the thickness of the river bottom sediments (distance over which the resistance to flow occurs). The concentration of river water is specified in the MT3DMS SSM package. The user cannot specify different concentrations for two river boundaries in the same model cell. This limitation is described in more detail later. Evapotranspiration (EVT) Package An input file for the EVT package is required for a SEAWAT simulation if a nonzero integer is entered in location 5 of the IUNIT array in the BAS package. Record 1 Data: NEVTOP, IEVTCB Format: 2I10 Another evapotranspiration option, originally developed by Swain and others (1996), was added to the SEAWAT code. If NEVTOP is equal to 3, evapotranspiration is withdrawn from the highest active cell in the model. This option is not included in the standard version of MODFLOW. SEAWAT allows a nonzero concentration for the evapotranspiration fluid withdrawn from the model. The concentration value is specified in the MT3DMS SSM package. 58 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow General-Head Boundary (GHB) Package An input file for the GHB package is required for a SEAWAT simulation if a nonzero integer is entered in location 17 of the IUNIT array in the BAS package. Record 1 Data: MXGHB, IGHBCB, IGHBELEV Format: 3I10 To accurately simulate the flow of variable-density ground water to general-head boundaries, the elevation of the general-head boundary is required. A nonzero value for the flag, IGHBELEV, indicates that elevations for the general-head boundaries are included in record 3 for each boundary. If IGHBELEV is equal to zero, SEAWAT sets the elevation of the general-head boundary (ZGHB) to the center elevation of the model cell (Zi,j,k). In this case, flow between the general-head boundary and the model cell is calculated with the equation for horizontal ground-water flow. Record 3 Data: K, I, J, hf,GHB, CONDf,GHB, ZGHB Format: 3I10, 3F10.0 The variable hf,GHB is the equivalent freshwater head within the general-head boundary. The variable CONDf,GHB is the equivalent freshwater conductance of the generalhead boundary. The variable ZGHB is the elevation of the general-head boundary from which the equivalent freshwater head (hf,GHB) is calculated. The concentration of source water is specified in the MT3DMS SSM package. The user cannot specify different concentrations for two general-head boundaries in the same model cell. This limitation is described in more detail in the description of the MT3DMS SSM input instructions. Recharge (RCH) Package There are no special considerations, in terms of data input, for using the RCH package in SEAWAT. Recharge rates can be positive or negative. If a positive recharge value is specified, the concentration of the recharge fluid can be specified in the MT3DMS SSM package. If a negative value is specified for recharge, fluid is withdrawn from the model at the concentration and density of the model cell. Time-Varying Constant Head (CHD) Package An input file for the CHD package is required for a SEAWAT simulation if a nonzero integer is entered in location 20 of the IUNIT array in the BAS package. Record 1 Data: MXCHD, ICHDSALT Format: 2I10 If the CHD input package contains head values in terms of equivalent freshwater heads (default), ICHDSALT must be zero. If the CHD input package contains head values, ICHDSALT must be greater than zero. Record 3 Data: K, I, J, SHEAD, EHEAD Format: 2I10 The head values in record 3 represent the starting and ending head values for the stress period, where SHEAD represents the head and the start of the stress period and EHEAD represents the head at the end of the stress period. Users may enter SHEAD and EHEAD as either equivalent freshwater heads or heads, depending on the value of ICHDSALT. If head values are entered, SEAWAT calculates an equivalent freshwater value during the simulation using the calculated fluid density in the CHD model cell. CHAPTER 6--Instructions for Using SEAWAT 59 Solver (SIP, SOR, PCG) Packages Users may select one of the three solver packages implemented in MODFLOW to solve the variabledensity ground-water flow equation. These solver packages are Strongly Implicit Procedure (SIP), Successive Over-Relaxation (SOR), and Preconditioned Conjugate Gradient (PCG). When setting input parameters for the solver packages, convergence criteria for head should be more tightly specified for variable-density simulations. For example, the criteria for head convergence (HCLOSE) may have to be set about four to six orders of magnitude lower than for constant density simulations. The RCLOSE parameter, specified for the PCG solver, has dimensions of mass flux instead of volumetric flux. This means that the RCLOSE parameter may be set higher than for a constant density simulation, by a factor of the average fluid density. Preparation of MT3DMS Input Packages for SEAWAT In the subsequent sections, instructions for preparing individual MT3DMS packages for SEAWAT are explained. An input variable highlighted in bold indicates that it is specific to SEAWAT, or a change has been made to facilitate data entry for SEAWAT. The MT3DMS packages for SEAWAT are: • • • • • • Basic transport (BTN) package Advection (ADV) package Dispersion (DSP) package Source/Sink Mixing (SSM) package Reaction (RCT) package Generalized Conjugate Gradient (GCG) solver package There are no special considerations for designing DSP, RCT, and GCG packages to run with SEAWAT. Thus, no information for these packages is presented. Basic Transport (BTN) Package The basic transport (BTN) package is required for a SEAWAT simulation. Users should ensure that input parameters in the BTN are consistent with input parameters in the MODFLOW input files. A2 Record: NLAY, NROW, NCOL, NPER, NCOMP, MCOMP Format: 6I10 The version of MT3DMS used in SEAWAT can be used to simulate the transport of more than one chemical species. In SEAWAT, the first species (NCOMP = 1) is used to relate concentration to fluid density. The transport of other species also may be simulated with SEAWAT, but the concentrations of those species will not affect density. A4 Record: TUNIT, LUNIT, MUNIT Format: 3A4 The equation of state, which relates fluid density to the solute concentration, is embedded in the SEAWAT program. The equation of state used in SEAWAT requires that the dimensions of concentration be the same as the dimensions of density [ML-3]. Additionally, the units of solute concentration used in the simulation must be the same as the units of density. To use the correct value for freshwater density, the SEAWAT program requires that the units for length and mass be specified in an input file. To minimize the difference in input from a standard MODFLOW/MT3DMS application, SEAWAT uses the units of mass and length specified in the input file for the BTN package. 60 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow These units are used to select the equation of state that relates solute concentration to fluid density. In standard MT3DMS applications, the entries for simulation time (TUNIT), length (LUNIT), and mass (MUNIT) are used only as labels in the output file and do not affect the calculation results. SEAWAT can use either metric or English units for concentration and density, but only one of the two units may be used to describe the problem. If the international metric system is preferred, the specified unit of length must be meters and the unit of mass must be kilograms. Thus, the entries for the units of length and mass must be “M” or “m” and “KG” or “kg.” For example, the input line may look like: DAY M KG SEAWAT will read this record, and automatically assign the density of freshwater as 1,000 kg/m3 and the density of seawater as 1,025 kg/m3. If the English system is preferred, the unit of length must be feet and the unit of mass must be pounds. Thus, the entries for units of length and mass must be “FT” or “ft” and “LB” or “lb.” For example, the input line may look like: DAY FT LB SEAWAT will read these entries and automatically assign the freshwater density as 62.44 lb/ft3 (pounds per cubic feet) and the density of seawater as 64.00 lb/ft3. SEAWAT uses the units of length and mass specified in the BTN package to select the appropriate equation of state for fluid density. SEAWAT also assumes that all values of concentration listed in the input files (such as initial concentration) have the same units of mass per cubic length as specified in the BTN units list. Additionally, the unit of the length specified here must be consistent with the unit of length used in MODFLOW. A9 Array: HTOP(NCOL,NROW) Reader: RARRAY For models with an unconfined layer, it is important to specify HTOP slightly higher than the highest expected elevation of the water table. HTOP is used to calculate the center elevation for each cell in the upper layer. A21 Record: PERLEN, NSTP, TSMULT, INITIALDT Format: F10.0, I10, 3F10.0 PERLEN is the length of the stress period. In a standard MODFLOW simulation, the user specifies the number and lengths of timesteps for the flow solution, but in SEAWAT the program determines the lengths of timesteps unless the GCG solver is used. The input variables, NSTP and TSMULT, can be used in SEAWAT to select times for output of flow information according to the values set in the OC option. NSTP and TSMULT also can be used to force shorter timesteps at the beginning of a stress period. SEAWAT calculates the lengths of timesteps according to stability criteria, but also decreases the length of a timestep according to output times requested by the user. Therefore, if the flow field is changing rapidly due to a pumping well, for example, the user can decrease the lengths of timesteps at the beginning of the stress period by setting appropriate values for NSTP and TSMULT. As discussed in Chapter 4, a short initial timestep is required to start each stress period. The user specifies the length of the initial timestep (INITIALDT). If INITIALDT is not included in the input file, SEAWAT uses a default value of 0.01 time units as the initial timestep for that stress period. SEAWAT will print a warning message on the screen if the length of the second timestep, which is calculated by SEAWAT, is smaller than the length of the first timestep. Users receiving this warning should decrease the value of INITIALDT so that errors do not result from the initial velocity field used to start the stress period. CHAPTER 6--Instructions for Using SEAWAT 61 Note that INITIALDT is entered for each stress period. This means that INITIALDT can change during the simulation from stress period to stress period. A23 Record: DT0, MXSTRN, TTSMULT, TTSMAX Format: 8F10.0 Due to restrictions in the length of a transport step, SEAWAT may require a substantial number of transport steps to complete a stress period. For this reason, MXSTRN should be set large enough to avoid the possibility of the program stopping because too many transport steps were required to finish the stress period. The user also may want to try different values for DT0. The maximum length of a transport step will be calculated by SEAWAT based on restrictions in solving the transport equation. These restrictions, however, do not include a restriction based on the timestep lag between the solution to the transport equation and the solution to the flow equation. Therefore, the user may want to verify that the one step lag used in SEAWAT does not affect the model results by rerunning SEAWAT with a small value for DT0. For most cases, the results from a run with a small value of DT0 will compare well with the results from a simulation in which SEAWAT calculates the length of the transport step. Advection (ADV) Package The ADV package contains simulation options for representing the advection part of the solutetransport equation. B1 Record: MIXELM, PERCEL, MXPART, NADVFD, NSWTCPL, DNSCRIT Format: I10, F10.0, 2I10, I10, F10.0 To activate the implicit coupling between the flow and transport equations in SEAWAT, two additional parameters are required within the ADV package. NSWTCPL is the maximum number of coupling iterations that SEAWAT will perform. DNSCRIT is the convergence parameter for the coupling between flow and transport and has units of fluid density. If the maximum density difference between two consecutive coupling iterations is not less than DNSCRIT, the program will continue to iterate on the flow and transport equations or will terminate if NSWTCPL is exceeded. Much effort is required in determining the appropriate method and parameters for solving the solute-transport equation. Most of these options and parameters are found in the ADV package. Users are strongly encouraged to obtain a firm understanding of these different parameters and methods implemented in MT3DMS for solving the solute-transport equation. Without an accurate solution to the solute-transport equation, SEAWAT cannot produce accurate results. Source/Sink Mixing (SSM) Package Source concentrations in the SSM package are entered using the same units as specified in the BTN package. There cannot be more than one source of the same boundary type in the same cell unless the source concentrations are equal for both boundaries. For example, there cannot be two RIV boundaries with different concentrations in the same model cell. SEAWAT does not give an error if this situation occurs and will proceed by assigning the first source concentration in the SSM package to all of the boundaries of that type in that cell. 62 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Running SEAWAT SEAWAT runs in a similar manner as MODFLOW-88. Perhaps the best method with a personal computer is to open a DOS window and change directories to the subdirectory that contains the input files. The SEAWAT executable is then initiated by typing the path name (if necessary) and the name of the SEAWAT executable. After the executable is initiated from the DOS window, SEAWAT prompts the user for filenames of the different packages and the names of the output files to create. An example is presented below with the user responses in bold. SEAWAT: A COMPUTER PROGRAM FOR SIMULATION OF THREE-DIMENSIONAL VARIABLE-DENSITY GROUND-WATER FLOW VERSION 2.10 February 2002 written by: WEIXING GUO CDM Missimer CHRISTIAN LANGEVIN U.S. Geological Survey This program is public domain and is released on the condition that neither the U.S. Geological Survey nor the United States Government may be held liable for any damages resulting from their authorized or unauthorized use. Enter Name for SEAWAT Output Listing File: seawat.out Enter Name for MODFLOW BAS Input File: seawat.bas Enter Name for MODFLOW BCF Input File: seawat.bcf Enter Name for MODFLOW WEL Input File: seawat.wel Enter Name for MODFLOW RIV Input File: seawat.riv Enter Name for MODFLOW EVT Input File: seawat.evt Enter Name for MODFLOW GHB Input File: seawat.ghb Enter Name for MODFLOW RCH Input File: seawat.rch Enter Name for MODFLOW PCG Input File: seawat.pcg Enter Name for MODFLOW OpC Input File: seawat.oc Enter Name for MT3DMS BTN Input File: seawat.btn ***** Density of Fresh Water is 1000 kg/m3 CHAPTER 6--Instructions for Using SEAWAT 63 Enter Name for MT3DMS ADV Input File: seawat.adv Enter Name for MT3DMS DSP Input File: seawat.dsp Enter Name for MT3DMS SSM Input File: seawat.ssm Enter Name for MODFLOW Unformatted Head File: seawat.hds Enter Name for MODFLOW Unformatted Flow File: seawat.cbb To expedite the initiation of a SEAWAT simulation, a batch file that calls the SEAWAT executable can be used to “pipe in” a response file. This eliminates the need for the user to type a filename after each prompt. A typical batch file, which can be created with an ASCII text editor, might contain a single line as follows: ..\exe\seawat2_1.exe < seawat.dat The seawat.dat file contains a list of filenames in the same order requested by the SEAWAT code. For the above example, the seawat.dat file would contain the following lines: seawat.out seawat.bas seawat.bcf seawat.wel seawat.riv seawat.evt seawat.ghb seawat.rch seawat.chd seawat.pcg seawat.oc seawat.btn seawat.adv seawat.dsp seawat.ssm seawat.hds seawat.cbb Changes to the BAS, OC, or BTN packages that include or eliminate input packages or output files require modifications to the response file (for example, seawat.dat). Additionally, note that the order of the filenames in seawat.dat must follow the same prompting order of the SEAWAT executable, and there must be a line return after the last filename entry. 64 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Output Files and Post Processing Output files from a SEAWAT simulation generally consist of standard MODFLOW output files and standard MT3DMS output files. There are, however, several differences in the output files that are unique to SEAWAT. These differences include the following. • The listing file, which contains general information about a simulation, consists of MODFLOW and MT3DMS output. • The listing file may become very large if the user chooses to print information such as heads, drawdowns, dispersion coefficients, and so forth. • Heads and drawdowns are written in terms of equivalent freshwater values. • SEAWAT uses a temporary file, called $file.umt, to store advective fluxes for the current timestep. The user may delete this file at the end of a simulation. • The flow terms in the cell-by-cell flow file are expressed as volumetric fluxes rather than mass fluxes. This file, therefore, can be subsequently used for particle tracking or generating fluid-budget information for zones within the model domain. • The cell-by-cell flow file also can contain an additional array identified by the text string “DCDT.” The DCDT array stores the rate change in fluid volume due to the change in concentration. The DCDT array is written at the same times as data from the BCF package. Users should refer to descriptions of the input parameters ICBCFL and IBCFCB within the BCF input file for more information. Calculation of Equivalent Freshwater Head In a conventional MODFLOW application, boundary heads typically are assigned by interpolating between measured values of head in the available observation wells. In a SEAWAT application, the measured heads presumably represent values of h, which must be converted to freshwater heads through equation 3 to serve as MODFLOW boundary heads under SEAWAT. This implies that the monitoring wells must be tightly cased piezometers open to only a short vertical interval. Additionally, the density of the water in the casing of each well must be uniform and equal to the density of the ground water outside the well screen, and this density must be known with reasonable certainty for each monitoring well. To the extent that data are available, therefore, the assignment of boundary heads generally is made by converting observed water levels in the field to equivalent freshwater heads using equation 3, and interpolating among the calculated values. In any three-dimensional MODFLOW simulation, uncertainty arises where a monitoring well actually has a lengthy screen. (The measured water level is then a composite value for the interval penetrated by the screen, rather than a point measurement that can be associated with a particular depth.) With SEAWAT, the uncertainty associated with a long screen is increased by the possibility that density (in addition to the variation in pressure and elevation) may vary with depth through the screened interval. Even in wells that have a short screen, density variation with depth may occur within the well casing, particularly where the salinity of the ground water opposite the well screen has greatly varied with time in the period prior to measurement or where the well was not fully purged after drilling. In these instances and if data are available on the vertical distribution of salinity within the casing, an average density for the water, ρav, in the casing may be calculated as: ZW ρ av 1 = -----------------ZW – ZS ∫ ρ ( Z ) dZ , (134) ZS CHAPTER 6--Instructions for Using SEAWAT 65 where: Zw is the elevation of the water level in the well, Zs is the elevation of the top of the well screen, and ρ(Z) represents the density of the water in the casing expressed as a function of elevation. The variable, ρav, then can be used in place of ρ in equation 3 to calculate the equivalent freshwater head at the screened depth of the well. Comparison of calculated and observed water levels in model calibration under SEAWAT must generally be carried out after first converting the calculated freshwater heads to water levels corresponding to field densities through equation 4 or converting the observed water levels to equivalent freshwater heads through equation 3. Interpretation of calculated results to predict field water levels similarly requires conversion of calculated freshwater heads to heads expressed in terms of the aquifer water using equation 4. Tips for Designing SEAWAT Models Getting started with any new modeling software requires an investment of time and effort to become familiar with the intricacies of that particular program. Although SEAWAT was designed to be relatively easy to use, new users may encounter some problems in getting the code to work properly. The purpose of this section is to discuss some of the potential problems that users may face when designing a SEAWAT model and provide tips for avoiding the most common errors. Perhaps the best approach for designing a new SEAWAT model is to start with a simple crosssectional model that runs relatively quickly. Initially, the simple model should only contain a few flow packages and have only a single transport mechanism, such as advection. By designing a model in this manner, the user creates a simple tool that can be used to quickly evaluate appropriate grid resolution, aquifer parameters, hydrologic stresses, numerical dispersion, computer run times, solver limitations, and transport options. The simple cross-sectional model can then be used throughout the development of larger, moredetailed models of increasing complexity. Development of a simple cross-sectional model is particularly recommended for first-time users of SEAWAT. As previously stated, one of the benefits of SEAWAT is that it uses standard MODFLOW and MT3DMS input files with minor optional modifications. This benefit, however, can lead to runtime errors or erroneous model results if the MODFLOW input files are not consistent with the MT3DMS input files. For example, the number of rows, columns, and layers must be included in both the MODFLOW BAS and MT3DMS BTN input files. In the current version, SEAWAT does not check for consistency between input files, and thus, unexpected model results may occur if the input files are not properly constructed. One of the best ways to avoid this type of error is to use a thoroughly tested preprocessor to create the input files. One very important consideration in the design of a variable-density ground-water flow model is the selection of appropriate grid resolution. Appropriate grid resolution in a horizontal direction can often be determined by following the guidelines for constant-density simulation of flow and solute transport (Anderson and Woessner, 1992; Zheng and Bennett, 1995). The grid resolution in the vertical direction, however, often requires a much greater level of detail to represent the complex flow patterns near areas of high concentration gradients. At present, there is no way to determine the required level of resolution prior to performing a simulation. Experience suggests that 10 model layers per aquifer unit seem to be adequate, but users are encouraged to perform numerical experiments with different levels of grid resolution in order to determine the most appropriate number of layers. Experience also has shown that models designed with spatially uniform cell volumes are less prone to numerical instabilities than models designed with variable cell volumes. These requirements for grid design can have important implications for converting an existing, constant-density flow model into a variable-density SEAWAT model. Many constant-density flow models are designed with variable cell volumes so that the tops and bottoms of a model layer follow the tops and bottoms of an aquifer unit. The grid resolution for these models, particularly in the vertical direction, must commonly be increased before a simulation with SEAWAT will give accurate results. 66 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow In general, there are two options for treating the lengths of timesteps; they can be calculated by SEAWAT according to the criteria discussed in Chapter 4, or they can be specified by the user if the implicit finite-difference method is used to solve the solute-transport equation. If the timestep lengths are calculated by SEAWAT during runtime, there can be circumstances when the timestep lengths are too short to allow reasonable simulation times. The user usually has a number of options for lengthening the timesteps when this situation occurs. First, the user should open the listing file, and search for the sections that list the maximum step sizes. MT3DMS, and thus SEAWAT, list the maximum step size for the different criteria; the shortest timestep is the one used for the calculation. Included in this section of the listing file is the model cell (layer, row, and column) where the limitation in timestep length occurs. In many instances, experience has shown that there is an error (possibly conceptual) in aquifer parameters, boundary conditions, or initial conditions near the limiting model cell. Often times, when the error is corrected, the calculated timestep lengths will be substantially longer. Another option for lengthening the timesteps is to increase the value of PERCEL (the courant number)−the fraction of a model cell in which advection can occur in any one direction. Whereas increases in PERCEL may increase the timestep lengths, the resulting solution may be less accurate compared to a run with a smaller value for PERCEL. The concept of steady-state or transient conditions can be confusing when referring to variabledensity models because of the coupled flow and solute-transport components. Flow is considered at steady state when the heads do not change with time; transport is at steady state when the concentrations do not change with time. In designing a SEAWAT model, the flow portion should be specified as transient for most problems (ISS set to zero in the MODFLOW BCF input file). SEAWAT will work when the steady-state option is activated, but in some instances, the flow portion of the model will not converge. There is no option to run the transport model as steady state, so most SEAWAT simulations will be transient with respect to flow and solute transport. One of the most common simulations that users may perform with SEAWAT is one in which the model is run with constant hydrologic stresses until heads and concentrations do not change with time. At this point, the model has come to steady state with respect to flow and transport. Although there are a number of ways to determine when the model has reached steady state, perhaps the easiest way is to plot the total solute mass in the model as a function of time. This information is available in a file called, mt3d001.mas. In most long-term simulations, the SEAWAT model reaches steady state when the total solute mass in the model does not change with time. An exception to this is the case where a plume of solute moves through the model domain, and no solute is lost to internal or external boundaries. In many variable-density simulations, the goal is to evaluate temporal changes in concentration and head. For most of these types of simulations, it is important that the initial heads and concentrations are at equilibrium with one another and that they have come to equilibrium with the imposed hydrologic stresses. It is also important that the initial heads are represented as equivalent freshwater values and that concentrations are represented as total dissolved solids. If initial heads and concentrations are not at equilibrium, they may not be solutions to the variable-density ground-water flow equation, and thus, they may change at the start of the simulation for reasons other than expected. Two types of simulations can be used to produce appropriate initial conditions for this type of transient model. The first is a SEAWAT model that has been run to steady state using representative hydrologic conditions from that time period or one hydrologically similar. The other is a transient SEAWAT model with temporally varying stresses that has been run repeatedly, each time with the initial conditions set from the results of the previous run, until the model produces the same results each time. The user should determine the best approach for the particular problem. MT3DMS contains powerful options for solving the solute-transport equation. Selection of the best method depends primarily on the particular problem and usually involves a compromise between accuracy and length of computer runtime. For example, the implicit finite-difference solver can, in many circumstances, allow SEAWAT to take long timesteps, but the numerical dispersion resulting from this method can pose severe limitations for problems involving sharp fronts with large concentration gradients. The totalvariation-diminishing (TVD) solver will often provide accurate solutions for problems with sharp fronts and uniform cell volumes, but may require relatively short timesteps. The method of characteristic (MOC) CHAPTER 6--Instructions for Using SEAWAT 67 schemes, which can be computationally intensive, will often provide acceptable answers when many of the other methods will not work. Users should experiment with all of the methods and options to find the one that provides the most accurate results with the shortest runtimes. One of the most time-consuming problems that some users may encounter is trying to achieve convergence with the flow portion of the SEAWAT model. In many instances, convergence problems are due to errors in the input files, but once found the errors can be easily corrected. Some of the most common errors in the input files are often the result of failing to convert boundary heads to equivalent freshwater heads or using inconsistent units, inappropriate storage coefficients, a value of zero specified for porosity in the MT3DMS BTN input file, or a flow residual in the PCG input file that was not converted to a mass flux. Complex models and conceptual errors in model design can also cause problems with convergence. For example, problems with wetting and drying, which are difficult for many constant-density models to solve, will often cause convergence problems for SEAWAT, as will some water-table problems and conditions with layer conversions from confined to unconfined. Some common conceptual errors that may cause convergence problems include using inappropriate initial conditions, applying rapidly changing boundary conditions with insufficient temporal discretization, or assigning drastically different values to adjacent zones of aquifer properties. The SEAWAT results that are typically evaluated at the end of a run include the ASCII output listing file and binary files that contain equivalent freshwater heads, solute concentrations, and cell-by-cell flows. When the appropriate input options are specified, the ASCII output listing file provides useful information about the fluid mass balance and the solute mass balance (also included in mt3d001.mas). Users should verify that mass-balance errors are within an acceptable range. Users also should plot contours or color floods (color gradations) of equivalent freshwater heads and solute concentrations for selected simulation times. When a model has been designed properly and SEAWAT produces an accurate solution, users should expect to see values of equivalent freshwater head that rapidly increase with depth compared to contours from a similar simulation of a constant-density system. This rapid increase will only be observed in areas of the model that have solute concentrations greater than freshwater. Users should remember that for most variable-density models, flow lines will not be perpendicular to contours of equivalent freshwater head, even with a system that is isotropic with respect to permeability. Perhaps the best way to evaluate flow directions from a SEAWAT run is to plot the vectors of discharge, which can be calculated from data in the cell-by-cell flow file. Users also should closely evaluate plots of solute concentration. In addition to providing useful information about the flow system, plots of solute concentration can indicate areas of numerical dispersion or numerical instabilities. 68 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow CHAPTER 7 BENCHMARK PROBLEMS SEAWAT was verified by running four different problems and comparing the results to those from other variable-density codes. Voss and Souza (1987) suggest that new variable-density codes should be tested and verified by running four or five benchmark problems that vary in complexity. These benchmark problems are listed below with the reference that describes the problem. • • • • Box problems (Voss and Souza, 1987) Henry problem (Voss and Souza, 1987) Elder problem (Voss and Souza, 1987) HYDROCOIN problem (Konikow and others, 1997) This chapter presents the development and results for the above referenced benchmark problems. For each of the four problems evaluated, the results from SEAWAT compare well with the results from other numerical codes. Box Problems The purpose of the box problems is to verify that fluid velocities are properly calculated by SEAWAT. While inconsistent approximations for velocity are more likely to occur with finite-element models, the box problems also provide a good test for the finite-difference approximation used by SEAWAT. There are two different cases of the box problem (Voss and Souza, 1987). In the first case, SEAWAT is tested by simulating flow within a two-dimensional, vertical cross-sectional model with no-flow boundaries on all sides. The size of the model domain and values for hydraulic conductivity and porosity are inconsequential. Longitudinal dispersivity values should be set to a length similar in size to the length of a model cell, and the diffusion coefficient and transverse dispersivity value should be set to zero. The initial conditions within the box consist of a layer of freshwater overlying a layer of saltwater−a stable configuration for fluid density. When this model is run with steady-state conditions, the interface between freshwater and saltwater should remain in the same layer of the model. For the second case, horizontal flow is induced by specifying different, but hydrostatic constant heads on the left and right sides of the box. Descriptions of these two cases are provided in the subsequent sections. Case 1 For the first case, SEAWAT was used to simulate flow for 50,000 days. The model simulates variabledensity ground-water flow in a two-dimensional cross section with 1 row, 20 columns, and 20 layers. The size for each model cell is 100-m horizontal by 100-m vertical. No-flow boundaries surround the model on all sides. The initial concentrations were based on freshwater overlying seawater. Initial concentrations are 0 kg/m3 for layers 1 to 17 and 35 kg/m3 for layers 18 to 20. Initial freshwater heads were calculated to achieve hydrostatic conditions (no vertical flow). A uniform and isotropic value for hydraulic conductivity was set to 100 m/d; the porosity was set to 0.01, and the value for longitudinal dispersivity was set to 100 m (the length of the cell dimensions). The transverse dispersivity value was set to zero. The SIP and PCG packages of MODFLOW and the GCG package with the finite-difference option of MT3DMS were used for case 1, and there was no vertical mixing, provided that the tolerances were set properly. The SIP solver was used with a head convergence criterion of 1 x 10-8 m to solve the flow equation. Larger values for the head convergence criterion produced erroneous vertical flow patterns that caused mixing of the fluid layers. The PCG solver would not converge for this first case probably because the model is surrounded by no-flow boundaries and does not have a specified head value within the model domain. The GCG solver was used with a courant number (number of cells or fraction of a cell that a parcel of water can advect during one timestep) of 1.0 to solve the solute-transport equation. CHAPTER 7--Benchmark Problems 69 Case 2 The same dimensions, initial conditions, and aquifer properties used for case 1 were used in case 2; however, the boundary conditions and solution parameters were different between the two cases. For columns 1 and 20, constant heads were specified to induce flow in the positive x-direction. These heads (1.0 m for column 1 and 0.0 m for column 20) were adjusted to equivalent freshwater heads using vertical hydrostatic conditions and the initial concentrations as specified for the first case. The PCG solver was successfully used with a head convergence criterion of 1 x 10-7 m and a flow residual of 10 kg/d. Case 2 was run for 50,000 days, and no dispersion or vertical mixing was simulated between the freshwater and saltwater. With these aquifer parameters and boundary conditions, the flow velocity is 5 m/d, which means that a fluid particle travels across the model 125 times during the simulation. This suggests that the simulation time is sufficiently long to ensure that SEAWAT adequately simulates this test problem. Henry Problem Henry (1964) presented an analytical solution for a problem of ground water flowing toward a seawater boundary. Because an analytical solution was available for the Henry problem, many numerical codes have been evaluated and tested with the Henry solution. Segol (1993) showed, however, that the Henry solution was not exact because Henry (1964) eliminated, for computational reasons, mathematical terms from the solution that he thought to be insignificant. When Segol (1993) recalculated Henry’s solution with the additional terms, the improved answer was slightly different from the original solution. With the new solution, Segol (1993) showed that numerical codes, such as SUTRA (Voss, 1984), could reproduce the correct answer for the Henry problem. The basic design of the Henry problem is shown in figure 12. The cross-sectional box is 2-m long, by 1-m high, and by 1-m wide. A constant flux of fresh ground water is applied to the left boundary at a rate (Qin) of 5.702 m3/d per meter with a concentration (Cin) equal to zero. A constant head boundary is applied to the right side of the box to represent seawater hydrostatic conditions. The right boundary represents seawater hydrostatic conditions. The upper and lower model boundaries are no flow. No-flow boundary 1.0 METER 0 0 1.0 SEAWATER HYDROSTATIC Qin, Cin porosity, θ = 0.35 seawater concentration, Cs = 35 kilograms per cubic meter fluid density of seawater, ρs = 1,025 kilograms per cubic meter fluid density of freshwater, ρf = 1,000 kilograms per cubic meter inflow rate, Qin = 5.702 cubic meters per day per meter inflow concentration, Cin = 0.0 kilograms per cubic meter equivalent freshwater hydaulic conductivity, Kf = 864 meters per day longitudinal and transverse dispersivity, αL = αT = 0.0 meter molecular diffusion, Dm = 1.62925 square meters per day (case 1) molecular diffusion, Dm = 0.57024 square meter per day (case 2) 2.0 DISTANCE, IN METERS Figure 12. Boundary conditions and model parameters for the Henry problem. 70 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow The Henry problem caused further confusion among the modeling community because some researchers attempting to verify numerical codes calculated an erroneous value for molecular diffusion that did not correlate with the original value used by Henry (Voss and Souza, 1987). For this reason, some researchers consider there to be two cases of the Henry problem: one in which the value for molecular diffusion (Dm) is 1.62925 m2/d and another with a value of 0.57024 m2/d. The finite-difference model grid used to discretize the problem domain consists of 1 row with 21 columns and 10 layers. Each cell, with the exception of the cells in column 21, is 0.1 by 0.1 m in size. Cells in column 21 are 0.01-m horizontal by 0.1-m vertical. The narrow column of cells in column 21 was used to more precisely locate the seawater hydrostatic boundary at a distance of 2 m. The WEL package was used to assign injection wells, with constant inflow rates of 0.5702 m3/d to each cell of column 1. Constant freshwater heads were assigned to the cells in column 21 using a head value of 1.0 m and a concentration of 35 kg/m3. The concentration for inflow from these constant head cells was specified at 35 kg/m3. For both cases of the Henry problem, the implicit finite-difference solver (GCG) with the upstreamweighting scheme was used to solve the transport equation. The initial timestep was specified as 0.001 day, and a timestep multiplier of 1.9 was used to increase subsequent timesteps. For both cases, 23 timesteps were required to run the 1-day simulation period. The comparison between SEAWAT results and results from SUTRA (Segol, 1993) are shown for the Henry problem in figure 13. Contours of relative salinity concentration are in good agreement for both cases. 1% ELEVATION, IN METERS 1 5% Case 1: 25% 0.8 molecular diffusion = 1.6295 m2/d (meters squared per day) 50% 0.6 75% 0.4 90% 0.2 0 0 95% 0.2 0.4 0.6 0.8 1 1.2 1.4 X-DISTANCE, IN METERS 1.6 1.8 2 1% 1 ELEVATION, IN METERS 10% 5% 10% 25% Case 2: 2 0.8 molecular diffusion = 0.57024 m /d (meters squared per day) 50% 0.6 75% 0.4 90% 95% 0.2 99% 0 0 0.2 0.4 0.6 0.8 1 1.2 1.4 X-DISTANCE, IN METERS 1.6 1.8 2 EXPLANATION SUTRA contours of relative concentration, in percent (Segol, 1993) SEAWAT contours of relative concentration, in percent Figure 13. Comparison between SEAWAT and SUTRA for the Henry problem. CHAPTER 7--Benchmark Problems 71 Elder Problem The Elder problem was originally designed for heat flow (Elder, 1967), but Voss and Souza (1987) recast the problem as a variable-density ground-water problem in which fluid density is a function of salt concentration. The Elder problem is commonly used to verify variable-density ground-water codes. The geometry and boundary conditions for the problem are shown in figure 14. A constant-concentration boundary is specified for a portion of the upper boundary. Molecular diffusion is the sole mechanism for hydrodynamic dispersion during the simulation, which runs for 20 years. Salt from the constant-concentration boundary diffuses into the model domain and initiates complex vortices that redistribute the salt mass throughout the model. A constant-concentration boundary with a value of zero is specified for the lowest layer in the model. Two outlet cells with constant head values of zero are specified for the upper left and right boundaries. These constant head cells allow salt to diffuse into the model by providing an outlet for fluid and salt mass. Constant pressure boundary P=0 No-flow boundary 300 METERS Constant pressure boundary P=0 porosity, θ = 0.10 salt concentration, Cs = 285.7 kilograms per cubic meter fluid density at Cs, ρs = 1,200 kilograms per cubic meter fluid density of freshwater, ρf = 1,000 kilograms per cubic meter equivalent freshwater hydaulic conductivity, Kf = 0.411 meter per day longitudinal and transverse dispersivity, αL = αT = 0.0 meter 150 METERS Constant-concentration boundary Cs = 285.7 molecular diffusion coefficient, Dm = 0.308 square meter per day Constant-concentration boundary C = 0.0 600 METERS Figure 14. Boundary conditions and model parameters for the Elder problem. The finite-difference grid used with SEAWAT to simulate the revised Elder problem (fig. 15) is similar in resolution to the finite-element grid used by Voss and Souza (1987). The SEAWAT grid consists of 1 row with 44 columns and 27 layers. Each cell is 13.63-m horizontal by 6-m vertical. For layer 1, cells in columns 1 to 11 and 34 to 44 are inactive. Cells in layer 1 from columns 12 to 33 are designated as constant concentration with a value of 285.7 kg/m3. Using the equation of state in SEAWAT, this concentration value corresponds to the appropriate fluid density of 1,200 kg/m3. In layer 2, constant heads are specified with a value of 150.0 m for the first and last columns, which provide a fluid outlet. For layers 2 to 27, the first and last columns are bounded by no-flow conditions. All of the cells in layer 27 also have a specified concentration of 0.0 kg/m3, and there are no-flow conditions along the bottom face. Initial concentrations within the model domain are set to zero, except for those in layer 1, which are set to 285.7 kg/m3. Initial heads are set everywhere to zero. Hydraulic conductivity generally is uniform and isotropic with a value of 0.411 m/d. For layers 1 and 27, however, the horizontal and vertical hydraulic conductivities are set to 1 x 10-5 m/d to restrict flow within the top and bottom layers. The storage coefficient is uniformly set to zero, and the porosity value is uniformly set to 0.1. A value of 0.308 m2/d is used as the coefficient of molecular diffusion. 72 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow COLUMN 1 11 12 33 34 44 LAYER 1 150 meters 27 600 meters EXPLANATION INACTIVE ACTIVE CONSTANT CONCENTRATION–Layer 1 has a concentration value of 285.7 kilograms per cubic meter. Layer 27 has a concentration value of 0.0 kilograms per cubic meter. ∆z = 6 meters ∆x = 13.63 meters CONSTANT HEAD–A value of 150 meters is specified for the constant heads Figure 15. Finite-difference grid used to simulate the Elder problem. The PCG solver was used with a head convergence criterion of 1 x 10-7 m and a flow convergence of 1 kg/d. For the transport equation, the GCG solver was used with a courant number of 0.1 to limit the size of the timesteps. The average size of the timesteps was about 3 days, taking 2,321 timesteps to run the 20-year simulation. Relative salinity concentrations from SEAWAT are compared with results from SUTRA (Voss and Souza, 1987) and the original documentation results from Elder (1967) for six different times (fig. 16). Although some differences are evident, there appears to be a reasonably good match between the patterns from SEAWAT and those of SUTRA (Voss and Souza, 1987) and Elder (1967). HYDROCOIN Problem The purpose of the Hydrologic Code Intercomparison (HYDROCOIN) project was to evaluate the accuracy of selected ground-water modeling codes. One of the problems used for testing is the HYDROCOIN problem. The problem presented here is based on case 5 that was reevaluated with the MOCDENSE code by Konikow and others (1997). The general geometry and boundary conditions for the HYDROCOIN problem are shown in figure 17. A sloping pressure boundary is imposed across the top of the box that is surrounded on the sides and bottom by no-flow conditions. Along the base of the middle part of the model, a constant-concentration condition is applied to represent the top of a salt dome. As ground water flows along the bottom boundary and over the salt dome, salt disperses into the system and collects in the lower right corner of the model domain. The finite-difference grid used by SEAWAT (and MOCDENSE) consists of 1 row with 45 columns and 76 layers. Each cell is 20-m horizontal by 4-m vertical. The head values for the sloping constant-head boundary vary linearly between 10.080 m at the center of the first column and 0.113 m at the center of the last column (column 45). Fluid that enters the model domain from this upper boundary has a concentration CHAPTER 7--Benchmark Problems 73 60 60 20 10 years 20 1 year 60 20 2 years 15 years 60 60 20 3 years 20 years 60 20 20 EXPLANATION 20 20 20 SEAWAT line of relative salinity concentration, in percent SUTRA line of relative salinity concentration, in percent (Voss and Souza, 1987) Elder line of relative salinity concentration, in percent (Voss and Souza, 1987) Figure 16. Comparison between SEAWAT, SUTRA, and Elder’s solution for the Elder problem over time. of zero and a fluid density of 1,000 kg/m3. The left and right boundaries are no flow. For the bottom layer, cells in columns 1 to 15 and 31 to 45 are inactive. Between these inactive cells, a constant-concentration boundary is specified with a concentration value of 280 kg/m3. A uniform and isotropic value of 0.8476 m/d was assigned for equivalent freshwater hydraulic conductivity in all layers, except for the bottom layer where the hydraulic conductivity was set at 8.475 x 10-4 m/d (three orders of magnitude lower than the rest of the model domain). This low value for hydraulic conductivity in the bottom layer limits salt from entering the model domain through advection−an important stipulation of the HYDROCOIN problem (Konikow and others, 1997). A value of 0.2 was uniformly assigned for porosity; the values of longitudinal and transverse dispersivity were set at 20 and 2 m, respectively; and molecular diffusion was set at zero. For the HYDROCOIN problem, the standard version of MOCDENSE was modified to use a nonlinear equation of state to relate fluid density to solute concentration (Konikow and others, 1997). The SEAWAT code also was modified to use this slightly different equation of state. The equation of state used by the modified SEAWAT and MOCDENSE programs is represented by the following equation: C1–C --1- = ---+ ------------ρ ρs ρf 74 (135) User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Sloping pres sure bounda 0 ry DEPTH, IN METERS (Cf , ρf) porosity, θ = 0.2 equivalent freshwater hydraulic conductivity, Kf = 0.8476 meter per day longitudinal dispersivity, αL = 20 meters transverse dispersivity, αT = 2 meters molecular diffusion coefficient, Dm = 0 square meters per day relative inflow concentration, Cf = 0 kilograms per cubic meter inflow fluid density, ρf = 1,000 kilograms per cubic meter salt dome relative concentration, Cs = 1.0 No-flow boundary fluid density at Cs, ρs = 1,200 kilograms per cubic meter Salt dome (Cs , ρs) 300 300 METERS 0 900 DISTANCE, IN METERS Figure 17. Boundary conditions and model parameters for the HYDROCOIN problem. where ρs is the density of the brine (1,200 kg/m3) at a relative salinity concentration of 1.0 (Konikow and others, 1997). In the SEAWAT data sets, the salinity value for the salt dome is set at 280 kg/m3 concentration that would result in a fluid density of 1,200 kg/m3 with the equation of state normally used by SEAWAT. Because equation 135 requires relative concentrations, the modified version of SEAWAT converts the concentrations to relative concentrations before applying equation 135. The comparison of simulated results between SEAWAT and MOCDENSE is shown in figure 18. The relative salinity concentrations simulated by the two codes generally are consistent with one another; however, there is a discrepancy toward the upper right part of the model domain. While SEAWAT tends to produce slightly higher salinity concentrations in this region, the comparison between the two codes is considered acceptable. 0 ELEVATION, IN METERS SEAWAT salinity contours, in relative concentration MOCDENSE salinity contours, in relative concentration (Konikow and others, 1997) 0.05 -100 0.1 -200 0.2 -300 0 0.3 300 600 900 X-DISTANCE, IN METERS Figure 18. Comparison between SEAWAT and MOCDENSE for the HYDROCOIN problem. CHAPTER 7--Benchmark Problems 75 REFERENCES CITED Anderson, M.P., and Woessner, W.W., 1992, Applied groundwater modeling: Simulation of flow and advective transport: San Diego, Calif., Academic Press, 381 p. Baxter, G.P., and Wallace, C.C., 1916, Changes in volume upon solution in water of halogen salts of alkali metals: IX, American Chemical Society Journal, no. 38, p. 70-104. Bear, J. 1972, Dynamics of fluids in porous media: New York, Dover Publications, Inc., 764 p. ——— 1979, Hydraulics of groundwater: New York, McGraw-Hill Book Company, 569 p. Chow, V.T., 1964, Handbook of Applied Hydrology: New York, McGraw-Hill Book Company. Croucher, A.E., and O’Sullivan, M.J., 1995, The Henry problem for saltwater intrusion: Water Resources Research, v. 31, no. 7, p. 1809-1814. de Marsily, G., 1986, Quantitative hydrogeology: Groundwater hydrology for engineers: San Diego, Calif., Academic Press, 440 p. Elder, J.W.,1967, Transient convection in a porous medium: Journal of Fluid Mechanics, v. 27, no. 3, p. 609-623. Evans, D.G. and Raffensperger, J.P., 1992, On the stream function for variable-density groundwater flow: Water Resources Research, v. 28, no. 8, p. 2141-2145. Freeze, R.A. and Cherry, J.A., 1979, Groundwater: Englewood Cliffs, N.J., Prentice-Hall, 604 p. Ghyben, W.B., 1888, Nota in verband met de voorgenomen putboring nabij Amsterdam, Tijdschrift van Let Koninklijk Inst. Van Ing. Guo, Weixing, and Bennett, G.D., 1998, Simulation of saline/fresh water flows using MODFLOW, in Poeter, E., and others, MODFLOW ‘98 Conference, Golden, Colorado, 1998, Proceedings: Golden, Colorado, v. 1, p. 267-274. Guo, Weixing, Langevin, C.D., and Bennett, G.D., 2001, Improvements to SEAWAT and application of the variable-density modeling program in southern Florida, in Poeter, E., and others, MODFLOW 2001 and Other Modeling Odysseys Conference, Colorado School of Mines, Golden, Colorado, v. 2, p. 621627. Henry, H.R., 1964, Effects of dispersion on salt encroachment in coastal aquifers: U.S. Geological Survey Water-Supply Paper, 1613-C, p. C71-C84. Herzberg, A. 1901, Die Wasserversorgung einiger nordseebader: J. Gasbeleucht. Wasserversorg., 44, p. 815-819. Hill, M., 1990, Preconditioned conjugate-gradient 2 (PCG2), a computer program for solving groundwater equations: U.S. Geological Survey Water-Resources Investigations Report 90-4048, 43 p. Hubbert, M.K., 1940, The theory of groundwater motion: Journal of Geology, v. 48, no. 8, p. 785-944. Huyakorn, P.S., Anderson, P.F., Mercer, J.W., and White, Jr., H.O., 1987, Saltwater intrusion in aquifer: Development and testing of a three-dimensional finite-element model: Water Resources Research, v. 23, no. 2, p. 293-312. Kipp, K.L., 1997, Guide to the revised heat and solute transport simulator: HST3D—Version 2: U.S.Geological Survey Water-Resources Investigations Report 97-4157, 149 p. 76 User’s Guide to SEAWAT: A Computer Program for Simulation of Three-Dimensional Variable-Density Ground-Water Flow Konikow, L.F., Sanford, W.E. and Campbell, P.J., 1997, Constant-concentration boundary condition: Lessons from the HYDROCOIN variable-density groundwater benchmark problem: Water Resources Research, v. 33, no. 10, p. 2253-2261. Langevin, C.D., 2001, Simulation of ground-water discharge to Biscayne Bay, southeastern Florida: U.S. Geological Survey Water-Resources Investigations Report 00-4251, 127 p. Langevin, C.D., and Guo, Weixing, 1999, Improvements to SEAWAT, a variable-density modeling code [abs.], in EOS, Transactions, v. 80, no. 46., p. F-373. Leake, S.A. and Prudic, D.E., 1988, Documentation of a computer program to simulate aquifer-system compaction using the modular finite-difference ground-water flow model: U. S. Geological Survey Open-File Report 88-482, 80 p. Lee, C., and Cheng, R., 1974, On seawater encroachment in coastal aquifers: Water Resources Research, v. 10, no. 5, p. 1039-1043. 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, 586 p. McDonald, M.G., Harbaugh, A.W., Orr, B.R., and Ackerman, D.J., 1992, A method of converting no-flow cells to variable-head cells for the U.S. Geological Survey modular finite-difference groundwater flow model: U. S. Geological Survey Open-File Report 91-536, 99 p. Pinder, G.F., and Cooper, H.H., 1970, A numerical technique for calculating the transient position of the saltwater front: Water Resources Research, v. 6, no. 3, p. 875-882. Sanford, W.E., and Konikow, L.F., 1985, A two-constituent solute-transport model for ground-water having variable density. U.S. Geological Survey Water-Resources Investigations Report 85-4279, 88 p. Segol, G., 1993, Classic groundwater simulations: Proving and improving numerical models: Englewood Cliffs, N.J., PTR Prentice Hall, 531 p. Swain, E.D., Howie, B.B., and Dixon, Joann, 1996, Description and field analysis of a coupled groundwater/surface-water flow model (MODFLOW/BRANCH) with modifications for structures and wetlands in southern Dade County, Florida: U.S. Geological Survey Water-Resources Investigations Report 96-4118, 67 p. Voss, C.I., 1984, A finite-element simulation model for saturated-unsaturated, fluid-density-dependent ground-water flow with energy transport or chemically-reactive single-species solute transport: U.S. Geological Survey Water-Resources Investigation Report 84-4369, 409 p. Voss, C. I. and Souza, W. R, 1987, Variable density flow and solute transport simulation of regional aquifers containing a narrow freshwater-saltwater transition zone: Water Resources Research, v. 23, no. 10, p. 1851-1866. Weiss, Emanual, 1982, A model for the simulation of flow of variable-density ground water in three dimensions under steady-state conditions: U.S. Geological Survey Open-File Report 82-352, 59 p. Zheng, C., and Bennett, G.D., 1995, Applied contaminant transport modeling, theory and practice: Van Nostrand Reinhold, 440 p. Zheng, C., and Wang, P.P., 1998, MT3DMS, A modular three-dimensional multispecies transport model for simulation of advection, dispersion and chemical reactions of contaminants in groundwater systems: Vicksburg, Miss., Waterways Experiment Station, U.S. Army Corps of Engineers. References Cited 77
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.7 Linearized : No Create Date : 2002:02:08 16:26:18Z Modify Date : 2017:03:29 17:25:19+01:00 Creator : Pscript.dll Version 5.0 Page Count : 87 Creation Date : 2002:02:08 16:26:18Z Mod Date : 2002:08:23 13:24:23-03:00 Producer : Acrobat Distiller 5.0 (Windows) Metadata Date : 2002:08:23 13:24:23-03:00 Title : toc.fm Has XFA : No Page Mode : UseOutlinesEXIF Metadata provided by EXIF.tools