Tough 2
Tough 2
UC-C14
TOUGH2
TOUGH2
TOUGH2
TOUGH2
TOUGH2 ^ . - ^ . _ , m —
SOFTWARE | %% I 1^ Z §—§ 2
K . PRUESS
A. SIMMONS
Y.S. W u
G. M O R I O I S
FEBRUARY 1 9 9 6
ERNEST O R L A N D O LAWRENCE
BERKELEY N A T I O N A L LABORATORY
EARTH SCIENCES D I V I S I O N
O N E CYCLOTRON ROAD
BERKELEY, C A 9 4 7 2 0
1. Introduction 1
2. Requirements Specification 3
2.1 Requirements 3
2.2 Examples of Verification of Meeting Requirements 4
3. Design Description 7
Acknowledgements 72
References 73
Appendices 81
Appendix A. Mass and Energy Balances 81
Appendix B. Space and Time Discretization 83
Appendix C. Description of Flow in Fracrared Media 86
Appendix D. Nomenclature 89
Appendix E.TOUGH2 Selected Bibliography 9i
Appendix F. README File 120
Appendix G. Sample Problems for Code Demonstration 127
TOUGH2 is used for a multitude of applications, including oil and gas reservoir
engineering, environmental problems involving contaminants, geothermal reservoir
processes, and geologic disposal of nuclear waste. A list of requirements for representing
conditions applicable to all of these settings would be long. Because Version l . i l of
TOUGH2 is being qualified for applications to the latter two modeling situations, a list of
requirements was drawn up that is specific to representing the dominant fluid flow and heat
transfer processes in geothermal reservoirs and in geologic disposal systems for nuclear
waste. In order to simulate these processes, TOXJGH2 must represent correctly the
physical processes of multi-phase flow in saturated and unsaturated heterogeneous media,
it therefore must provide an accurate description of constitutive physical laws and
properties affecting each phase. It also must be capable of handling different geometries in
one, two, and three dimensions. To handle the problems efficiently and smoothly,
TOUGH2 must meet requirements for flexibility and timing. The multiple requirements for
TOUGH2 with respect to geothermal and nuclear waste applications are listed below for
ease of referral. The code underwent a long period of testing tbroughout development of
the MULKOM code family and with a variety of settings and specifications, for the express
purpose of determining whether the code accurately handles the processes of interest.
Examples of some of the situations to which the code was applied are found in Appendix
E, Selected Bibliography, and in application examples that follow. Furthermore,
verification and validation tests have been performed that collectively address all of the
listed requirements. These are described in Section 4, Software Validation Test Plan and
Report.
2.1 Requirements
Falta and Pruess (1991) and Falta et al. (1992a. b) developed an enhanced version
of TOUGH for three-phase component flow of water, air, and volatile organic compounds,
known as STMVOC. They modeled steam injection experiments in one-dimensional
laboratory cores performed by Hunt et al. (1988) and successfully predicted the migration
of the seam condensation front, as well as profiles of temperature and pressure, and the
removal of rrichloroethylene from the column over time. Doughty and Pruess (1992)
extended their earlier work on a similarity solution for fluid and heat flow near a linear heat
source to a pore fluid consisting of water and air. The only simplifications made in their
treatment involved flow geometry. The process complexities of highly non-linear, fully
transient, two-phase, two-component fluid and heat flow with phase change were
rigorously accounted for, making this the most difficult solvable two-phase fluid and heat
flow problem presently available. Numerical simulations with TOUGH2 showed excellent
agreement with the semi-analytical similarity solution.
«tr*r ;
SoluSono! Assvmblingand VSUOM ', Equation •
Linear Itcrathra Solution of of :
Suasions Flaw Eifliaft-ns fooondaiy" Stale :
PmmMr*
j Printed
] Output
!., ,.J
•BSSVUMC
m> H M I U
i
1_
EOS satellite
routines:
SAT.COWAT,
SUPST.VEW,
VKCO.COVIS,
VJSS.RELP.FCAP
f» 1
,-•—*-•>. /«TER«fl \ . set iteration and time step
S T O r
V^ -> < KCYC=KCYCri> counter and convergence flafi
. KCftfrL.
new iteration
1
j-selupsinkano
QU | source terms
-set up
accumulation ami tiow tenns;
-calculate Jacobian matrix
-check on convergence
YES
linear equation
solver (direct or
preconditioned
conjugate gradients)
increment primary variables
-detailed printout of
thermodynamic
conditions and flow
rates
-mass-mul volume
averages
Figured. Summary of program units andversion history (from Pruess, 1991; Fig. 14)
J*Mdv = V„M»
V.
The entire geometric information of the space discretization is provided in the form
of a list of grid block volumes, interface areas, nodal distances, and components of
gravitational acceleration along nodal lines. The discretized equations are valid for arbitrary
irregular discretizations in one, two, or three dimensions, and for porous as well as for
fractured media. This flexibility should be used with caution, however, because the
accuracy of solutions depends upon the accuracy with which the various interface
parameters can be expressed in terms of average conditions in grid blocks (sec Pruess,
1987). A necessary condition for this is approximate thermodynamic equilibrium in almost
all grid blocks at almost all times (Pruess and Narasimhan, 1985). For systems of regular
grid blocks referenced to global coordinates, the equations reduce to a conventional finite
difference formulation (Peaceman, 1977).
In the original TOUGH2, the Jacobian was solved using MA28 (Duff, 1977) a
direct solver using sparse matrix storage techniques. However, storage and execution time
requirements of MA28 limited the use of TOUGHS to a maximum of a few thousand
equations. To address this limitation, Moridis and Pruess (1995) added T2CG1, a package
of preconditioned conjugate gradient solvers to complement TOUGH2's direct solver and
significantly increase the size of tractable problems. The conjugate gradient solvers
decrease execution time and memory requirements substantially, and make possible the
simulation of three-dimensional flow problems with tens of thousands of grid blocks on
workstations and PCs.
The choice of primary variables that define the thermodynamic state of the system
when phase change is involved in fluid and beat flow processes is an important
consideration. When a phase appears or disappears, the set of appropriate thermodynamic
variables may change. This problem can be dealt with in two ways. One way is to use a
set of "persistent" variables such as pressure and enthalpy, or density and internal energy,
which remain independent even as phase conditions change, so that they can be used
throughout the single and two-phase regions. The other possibility is to use the variables
pressure and temperature only for single-phase conditions and to switch to variables such
as pressure and saturation when a transition to two-phase conditions occurs. Experience
has proven this variable-switching approach to be a robust method for treating multiphase
systems and it has been implemented in the MULKOM, TOUGH, and TOUGH2 codes.
There are two additional arrays DX and DELX with structure identical to X. While
X holds the primary variables corresponding to ±c last successful (converged) time step,
DX holds the latest increments calculated during the Newton-Raphson iteration process.
Thus the latest updated primary variables are the quantities X+DX. The array DELX holds
7
small increments of the X themselves (typically on the order 10" *X) which arc used to
calculate incremented parameters needed for the numerical calculation of the derivatives in
the Jacobian matrix J = -3R/<)X, (see Figure 6; x, denotes the collection of all primary
independent thermodynamic variables). At the conclusion of a converged rime step, the
primary variables X arc updated, X —>X+DX.
1 s nam
i. MM
xNcn i> IfflW
*1 p WW
« nn
p. PMW
j X" PJWOO+1)
Kt XJtOQCO)
X040ONK1}
MHOSEO
IKEi.
XOffilWXO
»KgiBq*irtgBO
/ Ax = R
•1
* !
NKJ M»
n MQ*>
«0 21«
1
!
j 0MTWO1
Mi *...•-*.
Rft
Note that the thermophysical properties are needed not only for calculating the
residuals of the mass- and energy-balance equations, (Appendix B, Equation B.6) but also
for calculating their derivatives in the Jacobian matrix (Eqs. B.7 and B.8) Thus, secondary
parameters are required not only at the "state point" (latest X+DX), but also for the NEQ
additional sets of primary variables in which one of the primary variables at a lime is
incremented by DEjLX. Therefore, the total number of secondary parameters per grid block
is (NEQ+1)*NSEC. Secondary parameters for grid block #N start after location
#NLOC2=(N-l)*(NEQ+l)*NSEC of the PAR array. More detail on thermophysical
property array structure is found on pages 12-14 in Pruess (19°1).
In TOUGH2 all Jacobian matrix elements as well as the entries in the vector R of
residuals are calculated in subroutine "MULT1". The calculation first assigns all matrix
elements arising from the accumulation terms, of which there are NEQ*NEQ. These arc
stored sequentially in a one-dimensional array CO ("coefficients"); matrix elements for grid
block N begin after location (N-1)*NEQ*NEQ in CO. The corresponding row and column
indices are stored separately in arrays IRN and ICN, respectively. Calculation of the
derivatives demands that each accumulation term is calculated NEQf-1 times; once for the
state point (X+DX), and NEQ limes for each of the NEQ primary variables incremented
(X+DX+DELX). Additional contributions to diagonal terms in the Jacobian J may arise
from sink and source terms, if present; these are assigned in subroutine QU called from
MULTI. Subsequently all flux terms are evaluated. These depend in general on the
2*NEQ primary variables of the two connected grid blocks, so that a total of 2*NEQ+1
flux terms need to be evaluated for calculation of the state point as well as of all derivative
terms.
After all matrix elements and members of the right-hand side vector of residuals
have been preconditioned, the subroutine package MA2S (Duff, 1977) or tbe package of
preconditioned conjugate gradient solvers (Moridis and Piuess, 1995) is called to solve the
linear equations (Eq. B.8). The resulting increments in the primary variables are added to
the array DX, and the process of linear equation setup and solution is repeated for the
primary variables X+DX. This process continues until the residuals are reduced below a
preset convergence tolerance. If convergence is not achieved within a specified maximum
number of iterations (default 8), the time step is repeated with reduced time, increment.
for two-phase points. For the convenience of the user, it is possible to initialize two-phase
points as (T, S ); a numerical value of the first primary variable less than 374.15 will
t
automatically be taken to mean temperature (in °C) instead of gas pressure, and will cause
variables to be internally converted from (T, S ) to (P„.(T), S.) prior to execution.
5
The two-waters capability can be invoked by specifying (NK, NEQ, NPH, NB) =
(2, 3, 2, 6) in data block "MULTT* (see below). With tiiis option, two water mass
balances will be set up, allowing separate tracking of the two components. The primary
variables in this case are (P, T, X) for single-phase points, and (P , S , X) for two-phase
e g
points, where X is the mass fraction of Water 2 present. All thcrmophysical properties
(density, specific enthalpy, viscosity) are assumed independent of the component mixture:
i.e., indepsndent of the mass fraction X. This approximation is applicable for problems in
which the identity of different waters is distinguished by the presence of different trace
constituents, which occur in concentrations low enough to have no effect on the
thermophysical properties.
All water properties (density, specific enthalpy, viscosity, saturated vapor pressure)
are calculated from (he steam table equations as given by die Internationa! Formulation
Committee (1967). See Figure 7 and Table 3 for ranges. The formulation includes
subragion 1 (subcooied water below T * 350"C, subregion 2 (superheated steam) and
subregion 6 (saturation lice up to T = 350°C). Within these regions, density and internal
energy are represented within experimental accuracy. Viscosity of liquid water and steam
are represented to widain 2.5% by correlations given in the same reference. (Refer to the
original publication for details).
The phase diagnostic procedures are as follows. When initializing a problem, each
grid block has two primary variables (XI, X2). Whether X2 means gas saturation (two-
phase) or temperature (single phase) is decided from the numerical value: for X2 > i.5, X2
is taken to be temperature in °C, otherwise it is gas saturation. (Although physically
saturation is restricted to the range 0 < S < 1, it is necessary to allow saturations to exceed
1 during the Newton-Raphson iteration). If X2 is temperature, single phase conditions
exist; specifically, for P (=X1) > P (T) there is single phase liquid; otherwise there is
SJt
single phase steam. After initialization, the phase condition is ideiiliried simply bised on
the value for S , as stored in the array PAR. S = 0: single phase liquid; S = 1: single
e e c
Phase change is recognized as follows. For single phase points the temperature
(second primary variable) is monitored, and the corresponding saturation pressure is
compared with P. For a vapor (liquid) point to remain vapor (liquid), it is required that P <
P ^ O ^ P J ; if this condition is violatei a transition to two-phase conditions takes place.
The primaiy variables are then switched to (P., S.) and these are initialized as P = P„,(T),
e
S = 0.999999 if the point was in the vapor region, and S, = 0.000001 if it was in the
t
liquid region. For two-phase points S is monitored; it is required that 0 < S. <l for a
£
point to remain two-phase. If S < 0 this indicates disappearance of the gas phase; the
s
primary variables are then switched to (P, T) and the point is initialized as single phase
liquid, with T taken from the last Newton/Raphson iteration, and P = 1.000001 * P„(T).
For S > 1 the liquid phase disappears; again the primary variables are switched to (P, T)
and the point is initialized as single phase vapor, with T taken from the iast
Newton/Raphson iteration, and P = 0.999999 * P^,(T). In these transitions temperature is
preserved, rather than pressure, from the last iteration. A summary of EOS1 specifications
and parameters is given in Tabic 4 below.
*two waters cannot be run in isothermal mode, because in this case temperature is not the last primajy
variable
'optional, for NK=2 only
3,8.2 EOS2 (Water. CO-): This fluid property module was developed by
O'Sullivan et al. < 1985) for describing fluids in gas-rich geothennal reservoirs, which often
contain CO, mass fiactions from a few percent to occasionally 80% or more (Atkinson et
al., 1980). "It accounts for non-ideal behavior of gaseous C 0 , and dissolution of CO, in
2
the aqueous phase according to Henry's law with heat-of-solution effects. The
thermophysicai property correlations are based on the model of Sutton and McNabb
(1977); a formulation from Pritchett et al. (1981) is used for the viscosity of vapor-C0 2
twe-phase conditions
(P..S.,PCOV( gas phase pressure, eas saturation. CO, partial pressure)
?
3.8.3 BOS3 (Water. Airt: This module is an adaptation of She EOS module of
TOUGH for the TOUGH2 program, and implements the same thcnuophysical properties
model (see Pruess, 1987). All water properties are represented by the steam tabic
equations (International Formulation Committee, 1967). Air is approximated as an idea!
gas, and additivity is assumed for air and vapor partial pressures in the gas phase, P = P,
+ P . The viscosity of air-vapor mixtures is computed from a formulation given by
v
Hixschfelder et al. (1954). The solubility of air in liquid water is represented by Henry's
T) for single phase and (P , S +10, T) for two-phase. The rationale for the choice of S,
e s
vary over the range (0, 1) so that this would not allow a distinction of single phase from
two-phase conditions solely from the range of primary variables. By taking the second
primary variable for two-phase conditions to be X2 = S +10, the range of that variable is
£
shifted to (10,11) and a distinction between single and two-phase conditions can bs made.
Primary variabies can optionally be initialized identical to TOUGH specifications by setting
MOP(19) = 1. A summary of EOS3 specifications is given in Table 6.
*By setting MOP (19>»1, initialization can be made with TOUGH-style variables (P. T, X) fcr
single phase. (P.,S„ T) for two-phase.
3.8.4 EOS4 (Water. Air, with Vaoor Pressure Lowering Capability): This EOS
differs from EOS3 in that provision is made for vapor pressure lowering effects. Vapor
pressure is expressed by Kelvin's equation (Eq. A.9); it is a function not only of
temperature, but depends also on capillary pressure, which is a function of saturation. The
primary variables are (P, T, P„) for single-phase conditions and (P , S , PJfortwo-phase
t c
conditions. Temperature is not among the primary variables for two-phase conditions but
is determined from the relationship P - P, = ? , with P„ = P, (T, S,) as given in (Eq. A.9).
£ v
ied to better convergence behavior than the choice (P., S., T). Willi the variables (!»,, S . s
T), the amount of air present in a grid block becomes cohuolled by the difference between
total gas pressure, P , and effective vapor pressure, P, = P„,(T) • f {T,S,), which can be
Ei WL
allows one to initialize two-phase points as (P , S , T); this capability can be selected by
r t
here is that temperature is not among the variables in two-phase conditions, so that P is 1B
only implicitly known; moreover, vapor pressure lowering effects are functionally
dependent on liquid phase density, which is also a function of temperature. This leads to a
potentiaUy unstable situation with regard to the choice of liquid phase pressure under
conditions where P. = P „ , which is common in boiling regions. To avoid this problem
liquid water density in the Kelvin equation is evaluated for vapor pressure lowering (Eq.
A.9) at P, = P^, which is a good approximation due to the small compressibility of water.
In all accumulation and Sow terms, the density of liquid water is evaluated at P, = max (P„
P„,>. Vapor pressure lowering can be optionally suppressed by setting MOP(20) = 1 . A
summary of EOS4 specifications is given in Table 7.
'By setting MOP (19)=?, initialization of two-phase conditions can be made with ( f „ S>„ T).
'By setting MOP (19)=7, initialization can be made with EOS3-stylc variables of (P, X, T) tor
«in»ie nha«e. •?., S. * 10, T) for two-phase.
3.8.5 EOSS (Water. Hydrogen): This property module was developed to study the
behavior of groundwater systems in which hydrogen release is taking place. It is related to
EOSS, the main difference being that the air component is replaced by hydrogen, with
different taermopbysical properties (see Table 8). The assignment and handling of primary
thermodynamic variables in EOS5 is identical to EOS3 (see Table 6). The main differences
in the assignment of secondary parameters are as follows. Density of hydrogen gas is
computed from the idea! gas law. Viscosity and water solubility of hydrogen are
5
T=300K .080776 kg/m .0S0S2 kg/m 3
Viscosity*
T=0=C T=100°C
P=lbar 8.40xlO'Pas 10.33xlO*Pas
Ps-ieOter Z.5K\0*bxS !0.44xlO«Pas
Solubility in water ot P=l bar'
T=f/C 1.92xl(T'giygH,0
T=25°C 1^4X10-'BHJEH,O
•from Vargaflifc (1975), p. 39.
'universal jas constant R=S3t-S.56J/moVC; molecular weight of hydrogen 2.0160.
•after Dean (i9S5).
Solubility at different pressures is computed from Henry's law.
TOUGH2 offers additional avenues for defining flow system geometry. By means
of the keyword 'MESHMAKER' in the INPUT file, a special program module can be
invoked to perform a number of mesh generation and processing operations. The
MESHMAICER module itself has a modular structure; present sub-modules include
"RZ2D" for generating two-dimensional radially symmetric (R-Z) meshes, and "JCYZ" for
one-, two-, and three-dimensional Cartesian grids. Multiple-porosity processing for
simulation of flow in naturally fractured reservoirs can be invoked by means of the
keyword 'JflNC, {Pruess and Narasimhan, J 982, 1985; Pruess. J 983a; see Appendix Q .
The MINC process operates on the data of the "primary" (porous medium) mesh as
provided on disk file "MESH", and generates a "secondary" mesh containing fracture and
matrix elements with identical data formats on file "MINC". (ThefileMESH used in this
process can be either directly supplied by the user, or it can have been internally generated
either from data in INPUT blocks ELEME and CONNE, or from RZ2D or XYZ mesh-
making; see Figure 8). The internal mesh generation process will also write nodal point
coordinates on file MESH for graphical display. These data are written in 3E10.4 format
into columns 51-80 of each grid block entry in data block ELEME. At present, no internal
use is Iliad's of nodal point coordinates in TOUGH2.
For rectilinear meshes generated by XYZ, characters 4 and 5 together number the
grid blocks in X-direction, while character #3 = 1, 2 9, A, B, ..., Z numbers Y-
direction grid blocks, and character #2, running through the same sequence as #3, numbers
grid blocks in Z direction. Overflows with more than 99 X-biocks, or more than 35 Y- or
Z-blocks advance character #1 through the sequence A, B. C,.... Z. Both RZ2D and XYZ
assign all grid blocks to domain #1 (first entry in block "ROCKS"); a user desiring changes
in domain assignments must do so by hand, either through editing of the MESH file, or by
appropriate source code changes in subroutines WRZ2D and GXYZ. TOUGH2 runs that
involve RZ2E> or XYZ mesh generation will produce a special printout, showing element
names arranged in their actual geometric pattern.
The naming conventions for the MINC process are somewhat different from those
originally adopted in the GMINC program (Pruess, 1983a) and are as follows. For a
primary grid block with name '12345', the corresponding fracture subelement in the
secondary mesh is named '2345' (character #1 replaced with a "Wank"). The successive
matrix continua are labeled by running character #i through 2, .... 9, A, B, .... Z. The
domain assignment is incremented by 1 for the fracture grid blocks, and by 2 for the matrix
grid blocks. Thus, domain assignments in data block "ROCKS" should be provided in the
following order: the first entry is the single (effective) porous medium (POMED), then
follows the effective fracture continuum (FRACT), and then the rock matrix (MATRX).
An example is given in Sample Problem 3 in Appendix G that follows.
Mesh generation and/or MTNC processing can be performed as pan of a simulation
run. Alternatively, by closing the INPUT file with the keyword 'ENDFT (instead of
'ENDCY'), it is possible to skip the flow simulation and only execute the MESHMAKER
module to generate a MESH or MTNC file. These files can then be used, with additional
user-modifications by hand if desired, in a subsequent flow simulation. MESHMAKJER
input formats are described in the Software User Documentation Report under "Preparation
of Input Data", and examples of practical applications are given in the sample problems in
Appendix G. Execution of MESHMAKER produces printed output which is self-
explanatory.
In selecting the conjugate gradient solvers over the direct solver, the user trades the
robustness and slow performance of a direct solver for the speed and reduced memory
requirements of an iterative solver. However, because they are case-, problem-, and
machine-specific, iterative solvers may be less reliable if they are not carefully applied.
Because of the case-specificity of the solvers, the user must watch carefully both the
convergence and the evolution of residuals over the time increments of the simulation. In
cases of unsatisfactory convergence, the user should examine the conjugate gradient
performance statistics in the file LINEQ generated by TOUGH2 runs, paying close
attention to the parameters ERR and ERR (see Moridis and Pruess, 1995 for more details).
In the terminology of software engineering, "validation" tests are those that ensure
that the software meets the requirements specified for it. The "verification" tests also fulfill
the definition of "validation", because in order to obtain good results when compared to
analytical solutions, the software must be able to model the processes of interest in the
problem. However, additional validation problems were run for this qualification effort to
cover specified requirements of TOUGH2 that are not part of the problem descriptions for
tests listed in Table 9. A summary of the validation test problems and results is provided
below. Full descriptions of these validation tests will be found in a future report.
5 heat transport 1-D, radial single phase non- code verification #3 in Moridis and
isothermal, convection, (Avdonin. 1964, Ross, Pruess (1992)
diffusion, sensible and 19S2)
latent heal effects #2 in Moridis and
Pnicss<1995)
6 Theis problem i-D, radial single-phase. validation against rrl in Moridis and
(flow toward a isotbeimal, viscous analytical solution Prucss (1995)
well) forces (Theis, 1935)
7 Coupled fluid 1-D, radial heat conduction, M7NC, verification Pruess and VVu
and heat flow frocluie-mntiix flow, (1993)
in fracture single-phase, non-
isothermal
10 iwo-phase flow 2-D. cylindrical simultaneous heat and validation against lab #S in Moridis and
massflow,phase experiment (Krugcr and Pruess, 1992
change, time-variant Rumey, 1974; Faust
pressure boundary, and Mercer, 1979)
interference between
liquid and gas phase
12 Lauwerier heat 2-D, cartesian conductive and code verification against this paper
transfer convective heat transfer analytical solution
solution in porous media (Lauwerier, 1955)
15a heterogeneous 1-D single-phase slightly code verification against this paper
compressible liquid analytical solution of
Moridis (1995)
15b flow to single 2-D single-phase, slightly code verification against this papci
well with compressible fluid, analytical solution
anisotropic infinite anisotropir (Papadapoulns, 1965)
formation aquifer
lTo binary vapor 1-D vapor and air diffusion code verification against this paper
diffusion in gas phase, semi- analytical solution of
infinite rock column; Carlsaw and Jaeger
ignores vapor (1959)
adsorption
17c gas Row with 1-D steady single-phase gas code verification of gas this paper
Klinkenberg flow across linear rock permeability
effects column, isothermal enhancement a: tow
pressures (Klinkenberg,
1941)
horizontal well 3-D anisotropic reservoir code verification against this paper
with analytical solution of
compressible Goodeand
liquid Thambynayagarn (1987)
19 single-phase 1-D, radial flow to single vertical code verification against this paper
gas flow well at center of analytical solution of
bounded cylindrical Kabir and Hasen (1986)
formation
Figure 9. Liquid saturation profilesfor verification problem 1 (from Moridis and Pruess, 1995),
results are seen to agree well with the semi-analytical solution given by Ross et ai. (1982)
and meet the acceptance criterion of 95% or better agreement.
2. Flow to a Gcpthermal Well (Pruess. 1987; Moridis and Pruess, 1992)
This problem deals with radial flow to a geothermal well. Garg (I97S) developed a semi-
analytical theory for radial flow to a geolhermal well, which accounts for phase transitions
and propagating boiling fronts. He presented simulated results for production at a constant
rate of 14 icg/s from a 100 m thick reservoir that is initially in single phase liquid conditions
of T = 300'C, P = 90 bars. In response to production, pressures drop to the saturated
vapor pressure, and a boiling front moves out into the reservoir. The computational mesh
consists of 10 grid blocks with AR = 1 m, and an additional 40 grid blocks with AR*«,, =
OAR,- out to an outer radius of 2000 m. Simulated pressures in the weiiblock (element
AAI) are plotted versus time in Figure 10. Comparison of TOUGH with Garg's results is
excellent and meets the acceptance criterion of 95% or better agreement.
160 0.8
3-
c S
f t -...TOUGH2 o S
0.6
! 120 f | similarity 11
a-
a 2- L f solution ra u>
™ X
T3 3
0.4 =i =
_ p_ _ _ sr—
a<
40 F \ 0.2
0--'
k
-10 - 8 - 7 - 6
Z=tog(r/4f)
Figure 11. Comparison of TOUGHS with simitariiy solwion forproblem 3 (from Pruess, 1991).
flow behavior and of fluid and heatflowcoupling are rigorously described by the similarity
solution.
4. Coupied Heat and Mass Transport - Avrfonin Problem fMoridis and Pruess, 1992)
The analytical solution to this problem of one-dimensional heat and mass transport was
developed by Avdonin (1964). Ross et al. (1982) described the problem and presented a
solution. Cold water is injected into a semi-infinite, high-temperature aquifer at a specified
constant mass flow rate. The overburden and underburden are impermeable to mass and
heatflow,acting as no-flow and adiabatic boundaries and reducing the equation governing
heat transport to that of convection-diffusion. Updegraff (1989) modeled tin's problem in
his comparison study of three simulation codes that model strongly coupled mass and heat
flow in unsaturated porous media (TOUGH, NOKIA, and PETROS). Moridis and Pruess
(1992) discuss their simulation of Updegraff" s set of fluid and heat flow problems and the
difference between their results using TOUGH and those of Updegraff.
It turned out that Updegraff used erroneous water property values. The differences
between his values and those in the steam tables had a significant impact on the solution.
Therefore, Moridis and Pruess (1992) computed the analytical solution using values from
the steam tables. They also corrected Updegraff s error in relative permeability. Moridis
and Pruess (1992) created three modified data sets. The first used an upstream weighting
The corrected analytical and the TOUGH solutions obtained with the modified input
files are shown in Figure 12. The runs required 1300 time steps to reach the maximum
simulation time of *„„, = 130,000 sec because of the time-step constraint of AT < 100 sec.
Moridis and Pruess (1992) concluded that with upstream weighting TOUGH properly
predicts the midpoint of the front, but there is a certain amount of numerical dispersion
which results in a broadening of the front. On the other hand, it is a more robust numerical
weighting scheme, being more stable in difficult situations with long time steps. The
midpoint weighting scheme is more accurate and in excellent agreement with the analytical
solution. This test meets the acceptance criteria of 95% or better agreement.
Distance (m)
Figure 12. Comparison of the analytical solution to the TOUGH solutions in validation problem 4 (from
Moridis and Pruess, 1992).
5. Radial Heat Transport (Moridis and Pruess, 1992; Moridis and Pruess, 1995)
The radial heat transport in this problem was originally solved analytically by Avdonin
(1964) and was later described by Ross et al. (1982). Cold water is injected into a semi-
T i 1 1 = r
0 tOD 200 300 400 S00
OIstairc» (m)
Figure 13. Comparison of the analytical and TOUGH2 solutions to tlie radial heat transport problem in
validation problera 5 (from Moridis and Prucu. WJ2).
n
—j——j i t i "i t'
-1 ! 4 s
10-* 10 10° 10' 10 *.0' W 10
Distance from well (m)
Figure 14. Comparison of ike analytical and the TOVGH2 solutions to the THEIS problem
aft = t „ , = 10 days (front Moridis and Pruess, 199$).
1 5
10* 10' TO TO Iff* «> K?
Figure 25. Comparison ofMULKOM to semi analytical solution for pressure buildups for non-
isothermal injection into a fractured .'eservoirfor validation problem 7 (from Pruess and Wu, 1993).
Test problems 8 through 10 are verification problems for the purposes of software
engineering, but are validation problems in the sense of scientific model validation. Instead
of comparisons to analytical solutions, the TOUGH2 simulated results are compared to
results obtained from field or laboratory experiments to ascertain the "validity" of the
conceptualization of the model presented in the TOUGH2 problem.
8, Infiltration - Vauclin Problem fMoridis and Pruess, 1992; 1995)
Test problem 8 describes a two-dimensional infiltration laboratory experiment conducted by
Vauclin el al. (1979), who provided measurement data and a numerical solution (therefore
this is both a verification and a "validation" problem). Water infiltrates al a rate of
4.111x10* m/scc over a length of 0.5 m of a vertical slab of soil. Due to symmetry only
half of the problem needs to be modeled. The bottom boundary and the left boundary (line
of symmetry) are considered impermeable to flow. Below z m 0.65 m the right boundary is
a constant pressure boundary with a water saturation of 1 at tbe bottom; above z = 0.65 m it
is a seepage surface, i.e. a mixed type of boundary condition which sets the water flux
il to zero when the medium is unsaturated and has a bead equal to the hydraulic head
X rt the medium is saturated.
For this simulation cite domain was subdivided into 378 grid blocks. The
MESHMAKER facility in TOUGH2 was used to generate the grid. A very large volume
3
(1(P m ) was assigned to the right-hand boundary grid blocks, thus ensuring constant
boundary pressures, saturations, and temperatures throughout the simulation. The
An upstream weighting scheme for mobilities (MOP (11) = 2) was used in this
simulation. A no-flow top boundary was used because previous simulations had indicated
that the mass transfer through this block was insignificant. Water was injected directly into
four specific grid blocks by specifying appropriate sources.
Initial pressures and saturations were hand-calculated and assigned using the
hydrostatic pressure distribution below the water table and the capillary pressure vs. water
content relationship in Vauclin et al. (1979). Coding the capillary pressure function into
OUGH2 is a small effort; the FORTRAN code for the Vauclin et al. (1979) capillary
pressure function is provided in Moridis and Pruess (1995).
Figure 16 shows the TOUGH2 predictions and the experimental observations at the
desired locations and times. The agreement between experimental data and numerical
simulation results is good, but measurable local deviations are observed. Therefore, not all
areas of the curve meet an acceptance of 90% or better agreement to experimental data. The
reason for the deviations is due to the heterogeneity of the soil slab; this is discussed
extensively in Moridis and Pruess (1992).
WBaimsruin -T .
Figure 16. TOUGH2 predictions and experimental infiltration measurements atx = J.jfimin lest 8 (from
Moridis and Pruess. 199S).
Two simulations were run. The first did not consider permeability enhancement.
The second simulation used nice different sub-domains of porous media. Initial pressure
and temperature conditions were set. No separate step of gravity equilibration was needed
because the process occurs very fast. The EOSi fluid property module was used for this
simulation with NK = I and NEQ = 2. The 416 grid Modes resulted in a iota! of N = 832
equations.
Simulation results were compared with the measurements made by Reda (1984) at
various distances from the heater over time. Figures 17 a and b compare the experimental
measurements and numerical predictions. Numerical results with and without permeability
enhancement are shown. A very good agreement between experiment and prediction is
observed for the period of transient convection, as well as for the eventual steady state.
Most parts of the curves show 90% or better agreement and therefore meet the acceptance
criterion for comparison to experimental data. Figure 17 a shows an extreme sensitivity of
temperature to radial distance from the beater in the immediate vicinity of the inner radius.
A less dramatic dependence of temperature on radial distance r above the heater is shown
in Figure 17 b.
Figzire 17.
c Comparison o(TOUCH2 predictions \ii\h experimental data at the top and bottom f__r ~ S and 2
respectively) of the heating element in lest problem 9.
b. Comparison qfTOVCHl predictions with experimental data a z/Ar = 3.5 and z/A r = 3.75 (from
Moridis andPruess, 1995).
Moridis and Pruess (1992) performed numerical simulations using TOUGH and
compared them to the results obtained by Updegraff (1989). The boundary conditions of
Updegraff s approach did not approximate the ones described in the Kruger and Ramey
(1974) experiment Updegraff asserted the; TOUGH could not handle the type of
boundary conditions called for by the experiment, but in fact it can handle them easily,
these being the constant temperature boundary at the outside edge of the core, zero
temperature gradient boundary, and the transient pressure boundary. Moridis and Pruess
(1992) modified Updegraff s approach and data inputs by creating two new data sets, but
kept his space discretization. To simulate the constant temperature boundary, they added a
second set of grid blocks, which formed a ring surrounding the cylindrical core and
Figure IS. Comparison of TOUGH data and experimental data jor problem 10
(tram Moridis and Proas, 1992).
A one-dimensional radial grid was generated for the TOUGH2 simulation. The
Infinite radial fractured/matrix domain is represented by 50 elements with an outer radius of
1,000 m and thickness of 10 m. The three-dimensional fracture network and cubic matrix
system are used in the TOUGH2 discretization. The matrix blocks are represented by 1 x 1
x 1 m cubes. The fracture permeability and aperture ate correlated by the cubic law.
The frxture/rnatrix properties and fluid parameters used are: fracture porosity <j», =
O.00Q6; matrix porosity $„ = 0.3; fracture permeability fc, = 1.0 x 10''W; matrix
S.
s
Ui
S SO
a.
a
o
£
15
10
1
10** 10"' 10' 10 10' 1ft* 10' 10* 10* 10* 10* 10* 10'*
DlmenslonlesaTime
Figure 19. Comparison at TOUOH2 lo Wurren-Rooidouble-porosity solution.
The formation properties and fluid parameters used are: water layer porosity <•», =
5
1.0; impermeable layer porosity § - 0.3; water layer permeability k, = .89 x 1 0 " m ;
t
3
grain dens/ty p, = 1,600 kg/m . The boundary and initial conditions are: pore velocity in
water layer i o m injection V = 5.0035 m/s; injection temperature T = 26 °C; and initial
w 0
temperature Ti = 25 ° C. The outlet end conditions for both water layer and impermeable
layer were treated as constant temperature boundaries.
A comparison of temperature profiles along the water layer &om the TOUGH2
simulation and the analytical solution is shown in Kgure 20 for three different times.
Figure 20 indicates that the TOUGH2 simulated results are in excellent agreement with the
analytical solution for diis problem and meet the acceptance criteria for having 5% or less
discrepancy, except at the thermal front where some slight numerical dispersion effects
exist.
Distance (m)
Figure 20. Temperature profiles for the analytical solution and the TOVGH2 simulation for the
Luuwerier heat transfer solution in Problem 12.
i.onxio 5
90 965.13 ifiO S
3.7696xlO ( H L ) 965.13 ipQ 3.7696x10 (H ) 5
L
i.onxio 5
150 0.52323 ( p ) c 2 7762x10 (Hj,) s
0.52323 (p,j 2.7162x10 (H >6
L
4.6709x10 S 149.3 2.5032 <P;J 2.7445x10* (h„) 2.5032 (p|_) 2.7445x10* (H| j
917.43 (PL) S
6.291 l x l O ( H [ ) 917.43 (p^) s
6.2912x10 (HL)
Agreement between the TOUGH2 calculations and the analytically calculated values
is excellent, as shown in Table 11. None of the numerically calculated values differed from
the analytical solution by greater than one-one hundred thousandths (0.00001) of a bar. In
no case did the relative error exceed three-hundredlhs (0.03) of one percent. Therefore, the
validation acceptance criterion was easily met for ihis test case.
Table 11. Comparison of vapor pressure lowering between TOUGH2 and Analytical
solution (Edlefsen and Anderson, 1943).
Saturation PvCTOUGIK) l'v (Analytical) Delta (bar) 9b error
0.S 0.03532 0.03531 o.oooot 0.03
0.1 0.03531 O.O3530 0.00001 0.03
0.05 0.03530 0.03529 o.ooooi 0.03
0.01 0.03514 0.03513 0.00001 0.03
0.005 0.03483 0.034S2 0.00001 0.03
0.003 0.0343! 0.03430 0.00001 0.03
0.002 0.03354 0.03354 0.00000 0.00
0.001 0.03075 0.03074 0.00001 0.03
Table 12. Reservoir Properties, Geometry, and Discretization in Test Problem 15a
Dimensions in (x,y,z): 5000 x 300 x 50 (ft)
Discretization: M s 17S Dx's of variable size, My = M = 1
x z
5 2 0.07 SCO 0 - -
450.
£ 400-
350-
'I "•'»
C 1000 2000 3000 4009 5000
x(ft)
Figure 21. Comparison of the analytical and the TOVGH2 solutions to the problem of I'D flow through a
heterogeneous formation with multiple wells for problem 15a.
15b. Flow to a Single Well at the Center of an Infinite Reservoir (this paper):
Single-phase, Slightly Compressible Liquid, 2-Dimensional, Anisotropic
In this problem we compare the TOUGH2 and the analytical solutions of flow of
water to a vertical well located in the center (x = 0, y = 0) of an aquifer which is infinite in
area! extent, homogeneous, anisotropic, and of uniform thickness. The two-dimensional
analytical solution to this problem was developed by Papadopulos (1965) using integral
transforms in an approach very similar to the Theis (1935) solution, which assumes a fully
penetrating well and constant water and formation properties.
The analytical and the TOUGH2 solutions at t = 20 days were computed using the
following reservoir and fluid properties: T = 1000 m /day, Ty = 100 m'/day (directional
x
m (formation thickness), q = 1000 m /day. For the TOUGH2 simulation, the domain was
discrelized into a total of 3,600 gridblocks (60x60 ia x,y). Due to symmetry, only one
quarter of the domain was considered (from 0 to infinity in both x and y).
Figure 22 shows the pressure drawdown along the x axis at y = 0 m, as well as along the
x=y axis. The agreement between the analytical and the TOUGH2 soiutions is excellent
and falls well within the acceptance criterion of having less than 5% discrepancy.
16. Single-phase transient flow simulation using an irregular grid (this paner'i:
This problem is designed to examine the capability and accuracy of the TOUGH2 code in
simulating transient flow using an irregular grid. The problem concerns transient
flow o f a slightly compressible liquid in a horizontal, uniform, infinite, and isothermal
aquifer, for which the analytical solution of Theis (1935) is available. The system is
initially at static conditions and is fully saturated with water. Water is injected through a
fully penetrating well with constant volumetric rate from t = 0.
The two-dimensional grid of the TOUGH2 simulation is shown in Figure 23.
Because of the symmetry of the problem, only a quarter of the flow geometry is discretized
and simulated. The infinite radial flow domain is represented by a rectangular domain of
2,000 x 2,000 m with thickness of 10 m. The irregular integral finite difference grid, as
shown in Figure 22, was generated based on randomly selected block centers, with a total
of 1,000 elements. Three locations of A (x=9.67ro, y=8.33m), B (x=26.90m,
y=73.02m), and C(x=305.12m, y=118.12m) are chosen at which pressures from the
analytical and numerical solutions were compared.
The rock and iiuid parameters used are: porosity <J> = 0.2; permeability k= 1.0 x
s
10""m ; temperature T = 25°C; rock compressibility C, = 0; fluid compressibility C, =
,0 -3
4.48 x 10" Pa"'; and fluid viscosity u, = .898 x 10 Pa«s. The injection rate at the well is
0.001 m Vs, and the outer boundaries in the TOUGK2 simulation are treated as a Crst-type.
constant pressure condition. Therefore, the early time numerical solution can be compared
with the analytical solution before the finite boundary effects take place.
Comparison of the TOUGH2 simulation and the Theis solution is shown in Figure
24, for the three observations points, indicating overall excellent agreement between the
two solutions for all the three locations and demonstrating that me comparison meets the
acceptance criteria of having 5% or less discrepancy. It should be mentioned mar a well is
represented as a line source in the Theis solution; however, the well is approximated in the
TOUGH2 simulation by a finite soil column with a top area of 17.8 m \ This explains why
a small difference exists between the rwo solutions at location A, which is close to the well.
1
17a. Qns-djrocnstpnai heat condueppn fthjs papa );
This problem is designed to examine the accuracy of the TOUGH2 code in simulating
conductive heat transfer in porous media. Toe problem concerns heat conduction into a
semi-infinite linear rock column. Initially, the system is at uniform temperature, and a step
change in temperature is imposed on the boundary from t=0. Then heat starts to conduct
into the column. When effects of water flow on the heat transfer can be ignored, the heat
transfer problem becomes one of heat conduction in solids, for which many analytical
solutions are available. For the test problem of interest, an analytical solution from
Carslaw and Jaeger (1959) is used.
In the TOUGH2 simulation, a one-dimensional linear grid of 1,000 elements was
generated using the TOUGH2 MESHMAKER for a ten meter domain of unit cross area. In
order to eliminate the effects of fluid flow, rock porosity and permeability were set to zero.
The formation properties and thermal parameters used are: permeability k = 0.0 nr; rock
compressibility C, = 0; rock specific heat c, = 1,000 J/kg °C; thermal conductivity K=2.0
5
W/m°C; and rock grain density p , = 1,600 kg/m . The boundary and initial conditions are:
boundary temperature T = 50 • C; and initial temperature T,"= 25 " C. The outlet end
0
condition for the rock column was treated as a constant temperature boundary, the same as
the initial condition.
A comparison of the temperature profiles along the rock column from the TOUGH?,
simulation and the analytical solution is shown in Figure 25 for three different times, 1, 10,
and 50 days. Figure 25 indicates that the TOUGH2 simulated temperanire results are in
excellent agreement with the analytical solution for this problem and meet the acceptance
criteria of having 5% or less discrepancy from the analytical solution. In fact, it is difficult
to delect any discrepancy between the two.
Figure 25. Comparison of analytical solution, and TOVGH2 results for heat conduction problem
in problem 17a.
A comparison of the air mass fraction profiles along the rock column from the
TOUGH2 simulation and the analytical solution is shown in Figure 26 for three different
times, 1, 5, and 10 days. Figure 26 indicates that the TOUGH2 simulated results arc in
excellent agreement with the analytical solution for this problem and meet the acceptance
criteria of having 5% or less discrepancy from the analytical solution.
Figure 26. Comparison air mass fraction profiles showing TOUCH! results and analytical solution for
problem 17b.
K«-ic(i+i) (1)
where J^. is the gas-phase permeability; and K^is the gas permeability at infinite pressure;
b is the fUinkcnbcrg coefficient (Pa); and P is the gas-phase pressure.
Under the steady state flow condition stated above, an analytical solution can be derived for
the gas pressure distribution along the rock column,
2
P(x)~->+{6 +/'|+24ft + 2? fi(i-.r)/PK-j "
m (2)
where P is the outlet boundary pressure; q is the gas mass injection rate per uuit area; n is
b m
the gas viscosity; L is the length of the rock column; and [3 = Mj/RT is the gas
compressibility factor.
pressure P = 1 bar.
b
A comparison of the pressure profile along the rock column from the TOUGH2
simulation and the analytical solution is shown in Figure 27. Figure 27 indicates that the
TOUGK2 simulated pressure distribution is in excellent agreement with the analytical
solution for this problem and meets the acceptance criterion of having less than 5%
discrepancy.
Distance (m)
Flgun 27. Comparison of the pressure profile along she rock column from the 'WUGH2 simulation and
the analytical solution for problem 17c
For the TOUGH2 simulation, the domain was discretized into a total of 9,996
gridblocks (17x2Sx21 in x,y,z) of non-uniform size. A very high permeability (5.0x10
md) was assigned to the k permeability of the wellbore to simulate the infinite permeability
x
assumption in the analytical solution. The well flow rate was distributed uniformly over
the iength of the well.
Figure 29 shows the pressure drawdown at the well (x = 1100 ft, y = 0 ft, z = 110
ft) over time. An excellent agreement between the analytical and the TOUG112 solutions is
observed, well within the acceptance criterion of less than 5% discrepancy, thus confirming
the validity of the TOUGII2 solution for this type of problem.
x=o
Figure 29. Comporitou of the analytical and the TOUGH2 solutions (pressure drawdown at the welt) to
the problem of 3-D flow to a horizontal well in an anisotropic aquifer for problem IS.
TOUGH2 and the analytical solution the gas properties were taken to be those of air, which
was considered an ideal gas. The initial reservoir pressure was /> = 6x10 Pa, and the
? to"
Figure 30. Analytical and TOVGH2 predictions of the pressure drawdown distribution in the gas
reservoir for problem 19.
Figure 32. normalized cumulative liquidflux for TOUGH end semi'Onalytical solution in slab
absorption problem of test problem 20.
4.3 Summary
. Constitutive Relations
accurate description of thermophy; 13' this paper
properties :
; C. Phase Change
/Interaction
phase (dis)appearance 2,10 < Morjdis and Pruess (1992)
I
phase interference - 3, 8, 10 j Moriois and Pruess
(liquid and gas) ; | (1992,1995)
~r-"=>*j
:
g. Geometry £ '§£&
•"-"r- •} -••«-• * - • -
1
^PaStlsteJi .fr; r -." 7•*'"t_C
i-K^if.*!
j - ^ ^ ^ j ^ ^ j •,_ „,
:.93fe85°fiSB '^^mL^^T
heterogeneous fornuiions : S, 15a, ISb, 18 ;' met this paper
flow in porous m.dia . 4, 6, 15a, i5b. i met Moridis and Pniess
18.20 • 0992, 1995)
This section describes input and output files, file formats, options, default
parameters data files, commands, and execution. TOTJGH2 docs not specify acceptable
ranges of inputs and outputs; these are determined exclusively by whether the results make
reasonable sense and require knowledge on the user's part of operative processes.
Likewise, any errors that result will come about primarily due to the user's choice of
options, parameter values, and problem setup. The MULKOM family of codes, including
T"OUGH2, has been tested and debugged for over a decade with scores of applications.
Only one coding error is known to exist. This occurs in the naming convention for very
large grids in the meshmaking RZ2D submodule. The error will be corrected in an updated
version of TOUGH2. For code nomenclature see Appendix D.
5.3.1 Preparation of Input Data: TOUGH2 input is provided through a file INPUT,
organized into data blocks which are labeled by five-character keywords. With a few
exceptions, the order of data blocks is arbitrary. TOUGH2 input formats are compatible
with those of TOUGH. Figure 32 gives a listing of TOUGH input formats and indicates a
number of optional additional parameters that in TOUGH2 are provided through the same
data blocks. TOUGH2 also has a number of new, optional data blocks. These are listed in
Table 14, and the corresponding input formats are shown in Figure 33.
UiTUu.l.lU I l.t L,UJ t U U I U . U 1-l.ltl 11.1 JJiJ f 111J U.I.LiJ-UJ.1 J-tLU.1 I I t) 11 U l U L t U 11 l.t.
r
i i I. <• . l . t . n i t i . I t I . > i ' H . . t l "'"~"''l n . m m l I ...
i i i i i t M l | | l . M i , . i . n . . . . .
| l n . . . , |
| r , • ,,.,,
, i i i | M M,
j^ jiija.'iu<. ia'l»ai'l " a''''|'''H- ''i iai r'Wtf''[ ""
• . t . l . t t . ! • . • . ! . • • • ! . . • • t... it.. ( I • ,.t t
n.fiMw»««iE.»i f t ' " " " M " " " " " ' t i.T.i t \ f i t n m f t t
Um-li-UJLiJ.
l.t.t l t , M I I 1 l ^ 1 t l , H
P f »' > » n i m m f f f i i f m t i t t r m m i
» " * f «»t n l m H M i i i m m . . m u m i m m m i
'""""""""
M l " 1 1
" " " '"•'• i i yti i H I I I H I 11 m i n m . 1.1 IJUU.1.X,*.U.TJJL
,u .7^:
• • • " • " ' " " " " . • • m i n i m u m M m i
Figure 33. Input formats for new TOVGUi Jala Mocks
MULTI allows to select number of fluid components and balance equations per grid block-
applicable only with certain EOS modules that offer different options
NOVER if present, optionally suppresses a printout of versions and dates of the program units
executed in a T0UGH2 run
ENDH alternative to "ENDCY" for closing a T01TGH2 input file: will cause flow simulation to
be skipped; useful if only mesh generation is desired
The following discussion first summarizes the new parameters and options of
TOUGH2 in the TOUGH data blocks. It then discusses the input formats and choices
available through the new data blocks. For a discussion of input variables that are identical
to the ones used in TOUGH, one should refer to the TOUGH User's Guide (Prucss,
1987).
Several of the MOP parameters (first record in block 'PARAM') that control
optional printout and some ealculational choices, have different options and settings than in
TOUGH. Each TOUGH2 run will produce a one-page informative printout of availahle
selections and options chosen. Additional parameters provided through TOUGH data
blocks are as follows (see Figure 32). The second (optional) record in block "ROCKS' hat
When working with different EOS modules, there is a need to be able to specify
injection of different fluid components (or heat). Trble 15 lists the TYPE specifications
that can be used in data block GENER in the input file.
Thus, a user working with ti\e "two waters" option of EOS module EOS1 would
specify TYPE=COMI (or MASS, or WATE) to inject "water 1", while specification of
TYPE=COM2 (or AIR, or WATR) would allow injection of "water 2".
5.3.3 Input Formats for MESHMAKKR: At present there arc three sub-modules
available in MESHMAKER (see Figure 34): keywords 'RZ2D' or •RZZDL' invoke
generation of one- or two-dimensional radially symmetric R-Z meshes; 'XYZ' initiates
generation of a one, two, or three-dimensional Cartesian X-Y-Z mesh; and 'MTNC calls a
f
modified versif" " the 'GMDJC program (Pruess, 1983a) to sub-partition a "primary"
porous iimliuw inesb into * secondary mesb for fractured media, using the method of
"multiple interacting conlixiua" (Pruess and Narasimhan, 1982, 1985). The meshes
generated under keyword 'RZ2D' or 'XYZ' options, or assignment of 'ELEME' and
'CONNE' blocks in (he INPUT file must precede the MESHMAKER/M1NC data. Sec
Pruess (1991) lor preparation of input data for the three MESHMAKER sub-modules.
Complicated geometric settings may require application of external mesh generators.
\**.W**,1* itm " " " . M . t , ! " " " " " i " ) 1
" " " " ) " " " 1
1 l * f l • ! • • .1 M i l l H I H .1 l i t .
MMi^iUMtilimiiMilHitiinitniiiiliiltiiiiin.imuimli.1 i
rcLMial! 111111111111II niitin.il.
i M i i . i i i | i i n m i i
l
M
•***^it lnM 1 •" "' I.'
,
' '* "
"1 "' V. '' 1
i M H 1
imiiiiimiiii
HIM I il " .mi 1i " "«' . " ) i " " "
•LLU m z L m i u j L i J.i 11 n i I.I.LI.
""""" MfM.t *" H"I M f J . U J J M f T T t "l H" Ii InI1UJJJU
i|,f,[J,'
" : "• H »
'""""""""
U l . ' " ' I " " , U ' • " ? '•H'i-un 11111 t.u.ixi 11 m 111 n ) t tj-Ljm.LUJLu.i,
"m
" " " I ' " "
T O U C H 2 SOITWAMQUAUHCATION • FttRUAKY 1 9 9 6 69
5.4 User Features
Much of the data handling in TOUGH2 is accomplished through disk files which
are written in a format of 80 characters per record, so that code users can edit and modify
them with any norma] text editor. Table 16 summarizes the disk files other than (default)
INPUT and OUTPUT used in TOUGH2. Most of these are also used in TOUGH, and
files with the same names in both codes have identical formats. The use and function of
these files is described in the following sections and in the Appendix G Sample Problems
(Pruess, 1991). Further information is available in the TOUGH User's Guide {Pruess,
1987).
5.5 Summary
Verification of this phase of the Software Life Cycle which relates to installation.
user documentation, and provision of code demonstration cases was completed by
providing with this package the report TOUGH2 - A General Purpose Numerical
Simulator for Multipliase Fluid and Heat Flow (Pnicss, 1991) and the sample problems
described in Appendix G which demonstrate how the user sets up certain types of problems
and manipulates various aspects of the code.
Ahiers, C.G., Bandurraga, T.M., Chen, G., Finsterle, S., Wu, Y.S., and Bodvarsson,
G.S., Summary of model calibration and sensitivity studies using the LBNL/USGS
three-dimensional unsaturated zone site-scale model (in press, b).
Antuncz, A. Moridis, G., and Pruess, K., Large-Scale Geothermai Reservoir Simulation
on PCs, Report LBL-35192, Lawrence Berkeley National Laboratory, Berkeley,
California, 1994.
Arnold, B.W., Altaian, S. J., Robey, T.H.. Barnard, R.W., and Brown, T.J.,
Unsaturated Zone Fast-Path Flow Calculations for Yucca Mountain Groundwater
Travel Time Analyses (GWTT-94). Report SAND95-0857, Saudia National
Laboratories, Albuquerque, New Mexico, September 1995.
' Atkinson, P.G., Celati, R., Corsi, R., and Kucuk, F., Behavior of the Bagnore
Stearn/COj Geothermai Reservoir, Italy, Soc. Pet. Eng. J., pp. 228-238. August 1980.
Avdonin, N.A., Some Formulas for Calculating the Temperature Field of a Stratum
Subject to Thermal Injection, Neft'i Gas, 3. pp. 37-41.1964.
Aziz, K., and Settari, A., Petroleum Reservoir Simulation, Applied Science Publishers,
Ltd., London, 1979.
Bodvarsson, G.S., Pruess, K., Hfliifcwa, C , and Ojiambo, S.B., Evaluation of Reservoir
Model Predictions for the Olkaria Geothermai Field, Kenya, Geothermics, 19(5), pp.
399-414,1990.
Bodvarsson, G.S., Chen, G., and Wittwer. C , Preliminary Analysis of Thrce-
Dimensional Moisture Flow within Yucca Mountain, Nevada, Proceedings of the Fifth
Annual High-Level Radioactive Waste Management Conference, American Nuclear
Society and American Society of Civil Engineers, Las Vegas, Nevada, pp. Xxxxx,
May 1994.
Bodvarsson, G.S., Chen, G., Zimmerman, R.W., and Kwicklis, E.M., Accuracy and
Efficiency of Semi-analytical Dual-Porosiry Simulator for Row in Unsaturated
Fractured Rock Masses, Radioactive Waste Management and Environmental
Restoration, 19. pp. 193-208, 1994, and Report LBL-34323, Lawrence Berkeley
Laboratory, Berkeley, California, 1994.
Kiinkenberg, L.J., The Permeabiliiry of Porous Media to Liquids and Gases, 'm.APl
Drilling and Production Practice, pp. 200-213, 1941.
Knudsen, M. Die Gesetze der Molckularstrocmung und der Inneren Reibungsslroeuiung
der Gase durch Roehren, Armelen der Physlk, 28, pp. 75-131,1909.
Kruger, P., and Ramey, H.J., Stimulation and Reservoir Engineering of Geothermal
Resources, Stanford Geothermal Program Report SGR-TR-1, Stanford University,
Stanford, California, June 1974.
Lam, S.T., Hunsbcdt, A., Kruger, P., and Pruess, K., Analysis of the Stanford
C-eotncrmal Reservoir Model Experiments Using Uje LBL Reservoir Simulator,
Geothermics, 17, pp. 595-605, 1988.
Sutton, F.M., and McNabb, Boiling Curves at Broadlands Field, New Zealand, N. Z. J.
Sci. 20, pp. 333-337.
Thcis, C. V., The relation between the lowering of the piezometric surface and the rate and
duration of discharge of a well using ground-water storage, Trans., AGU , pp. 519-
524, 1935.
Udell, K.S., and Fitch, J.S., Heat and Mass Transfer in Capillary Porous Media
Considering Evaporation, Condensation, and Non-Condensible Gas Effects, paper
presented at the 23rd ASME/AIChE National Heat Transfer Conference, Denver,
Colorado, pp. 103-110, American Society of Mechanical Engineers, New York,
August 1985.
Updegraff, CD., Comparison of Strongly Heat-Driven Flow Codes for Unsaturated
Media, , Report SAND 88-7145, Sandia National Laboratories, Albuquerque, New
Mexico, August 1989.
VanGenuchten, M. Th., A Closed-Form Equation for Predicting the Hydraulic
Conductivity of Unsaturated Soils, Soil Sci. Soc. Am. J., 44, pp. 892-898,1980.
Vauclin, M., Khanji, D., and Vacchaud, G., Experiemntal and Numerical Study of a
Transient, Two-dimensional Unsaturaled-Saturated Water Table Recharge Problem,
Water Resources Research, 15(5), pp. 1089-1101,1979.
Vcrma, A.K., Pruess, K., Tsang, C.F., and Witherspoon, P.A., A Study of Two-Phase
Concurrent Flow of Steam and Water in an Unconsolidated Porous Medium, paper
presented at 23rd ASME/AIChE National Heat Transfer Conference, Denver,
Colorado, August 1985.
Vlnsome, P.K.W., and Westcrveld, J., A Simple Method for Predicting Cap and Base
Rock Losses in Thermal Reservoir Simulators, J. Canadian Pet. Tech., pp. 87-90,
July-September 1980.
Warren, J.E., and Root, P.J., The Behavior of Naturally Fractured Reservoirs, Soc. Pet.
Eng. J„ pp. 245-255, Transactions, AIME, 228,1963.
Witherspoon, P.A.,« al., Thermohydrologic Modeling and Testing Program: Peer Review
Record Memorandum, January 1996.
Wittwcr, C.S., Bodvarsson, G.S.. Chomack, M.P., Flint, A.L., Flint, L.E., Lewis. B.
B., Spcngler, R.W., and Rautman, C.A., Design of a Three-Dimensiosal Site-Scale
Model for the Unsaturated Zone at Yucca Mountain, Nevada, Proceedings of the Third
Annual International Conference on High Level Radioactive Waste Management,
American Nuclear Society and American Society of Civil Engineers, eds.. Las Vegas,
Nevada, April, 1992.
Wittwer, C.S., Chen, G., and Bodvarsson, G.S., Studies of the Role of Fault Zones on
Fluid Flow Using the Site-Scale Numerical Mo.del of Yucca Mountain, Proceedings of
the Fourth Annual International Conference on High Level Radioactive Waste
Management, American Nuclear Society and American Society of Civil Engineers,
eds.. Las Vegas, Nevada, April, 1993.
Wittwer, C.S., Bodvarsson, G.S., Chornack, M.P., Flint, A.L., Flint, L.E., Lewis, B.
B., Spongier, R.W., and Rautman, C.A., Development of a Thrce-Dimensionai Site-
Scale Model for the Unsaturated Zone at Yucca Mountain, Nevada, Radioactive V/aste
Management and Environmental Restoration, Harwood Academic Publishers, G0ibH,
U.S., Vol. 19, pp. 147-167,1994.
Wittwer, C.S., Chen, G., Bodvarsson, G.S., Chornack, M., Hint, A., Hint, L.,
Kwickiis, E., and Spengler, R.. Preliminary Development of die LBL/USGS Three-
Dimensional Site-Scale Model of Yucca Mountain, Nevada, Report LBL-37356,
Lawrence Berkeley Laboratory, Berkeley, California, 199S.
Wu, Y.S., Pruess, K., and Chen, Z.X., Buckley-Leverett How in Composite Media,
Report LSL-28937, Lawrence Berkeley National Laboratory, Berkeley, California,
1990.
Wu, Y.S., Bandurraga, T.M., Ahlers, C.K, Finsterle, S., Chen, G., Haukwa, C ,
Bodvatsson, G.S., Kwicklis, E., Rousseau, J., and Flint, L., Calibration and
Extension of the LBL/USGS Three-Dimensional Site-Scale Model of Yucca Mountain,
Nevada, Report LBL-___, Lawrence Berkeley Laboratory, Berkeley, California, in
press.
Zimmerman, R.W., Bodvarsson, G.S., and Kwicklis, E.M., Absorption of Water into
Porous Blocks in Various Shapes and Sizes, Water Rcso. Res.,26, pp. 2797-2806,
1990.
The integration here is over an arbitrary subdomain Vn of the flow system undt. study,
which is bounded by the closed surface r„. The quantity M appearing in the accumulation
term denotes mass or energy per unit volume, with K = 1, . . ., NK labeling the mass
components, and K = N K + 1 for the heat "component."
M^oTspppXff' (A.2)
The totai mass of component K is obtained by summing over all fluid phases p = 1, . . . ,
NPH. Sp is the saturation (volume fraction) of phase P, p is density of phase p, andxff'
p
is the mass fraction of component K present in phase p. Similarly, the heat accumulation
term in a multi-phase system is
NPH
M(NK+D = 4. £Sj5Ppup + (1 - <W PR C T , R
1
P- (A.3)
where u,, denotes internal energy of fluid phase p.
= I
P (A.4)
for K = 1, . . . , NK. Individual phase fluxes are given by a multi-phase version of
Darcy's lav/:
F>—«Sjpp(Vi^pp ) B (A.5)
QUESTIONS:
1. Which of the house-hold materials had the greatest radiation
intensity? The least radiation intensity?
2. What radioactive element is present in a Coleman Mantle? in a smote
detector? In a panted watch?
3. What unit is used to describe the magnitude of radioactive decay
energies?
4. An isotope of the element calcium has a half-life of 12 years, how
long will it take for 1/4 of the calcium to decay?
a. 4 year b. 8 years c. 12 years d. 16 years e. 24 years
28
APPENDIX B. SPACE AND TIME DISCRETIZATION*
The continuum equations (B.l) are discretized in space using the "integral finite
difference" method (Edwards, 1972; Narasimhan and Withcrspoon, 1976). Introducing
appropriate volume averages, we have
/MdV . V M„
n (B.l)
Anm-
K A
jF .ndr = X rmFr», (B.2)
r„ »>
Here F is the average value of the (inward) normal component of F over the surface
n m
segment Anm between volume elements V„ and V . The discretization approach used in the
m
integral finite difference method and the definition of the geometric parameters are
illustrated in Fig. 35.
Figure 35. Space discretization and teomeiry data w the integral finite difference method.
Ujj.i)
P,nm p g n m
Dntn
•* -Inml- J
where the subscripts (nm) denote a suitable averaging at the interface between grid blocks n
and m (interpolation, harmonic weighting, upstream weighting). D is the distance
n m
between the nodal points n and m, and g is the component of gravitational acceleration in
n m
The discretized form of the binary diffusive flux in the gas phase is
-nmFL+q? CB.S)
Time is discretized as a first order finite difference, and the flux and sink and source
k+ K
terms on therighthand side of Eq. (B.5) are evaluated at the new time level, t ' = i + At,
to obtain the numerical stability needed for an efficient calculation of multiphase flow. This
treatment of flax tenns is known as "fully implicit," because the fluxes are expressed in
1:+1
terms of the unknown thermodynamic parameters at time level t , so that these unknowns
are only implicitly defined in the resulting equations; see e.g. Peaceman (1977). The lints
discretization results in the following set of coupled non-linear, algebraic equations
A + v
R„ _ M„ -M n - y ^ j i nraP m n n1„ i ( J J 6 )
,k
where we have introduced i-siduals R j j . For each volume element (grid block) V„
there arc NEQ equations < K = 1,2 NEQ; usually, NEQ = NK -i 1), so that tor a flow
systea- with NEL grid blocks (B.6) represents a total of NEL • NEQ coupled non-linear
equations. The unknowns are the NEL • NEQ independent primary variables I-M; i • 1
k
NEL * NEQ} which completely define the state of the flow system at time level t *'. Tnese
equations are solved by Newton/Raphson iteration, which is implemented as follows. We
k+1
introduce an iteration index p and expand the residuals RjJ' in Eq. (B.6) at iteration step
p + 1 in a Taylor series in terms of those at index p.
R ^( , ) - B ^ W t s a .
x p+1
x -x
( i.p+l i,pj
(B.7)
= 0
Retaining only terms up to first order, we obtain a set of NEL • NEQ linear equations
for the increments (xj.p+i - xj.p):
M
{«**-«*) = < h,)
K
V f n„ (B.8)
7 9xs
All terms dR /dxj in the Jacobian matrix are evaluated by numerical differentiation. Eq.
n
CB.8) is solved by sparse direct matrix methods (Duff, J977) or itcratively by means of
preconditioned conjugate gradients {Moridis and Pruess, 19951 Iteration is continued until
,k+l
the residuals R * are reduced below a preset convergence tolerance. The selection and
switching of primary variables in a TOUGH2 solution depend on the phase conditions.
The variable switching procedure affects the updating for secondary dependent variables
but does not affect the equation setup because the equations are still mass and energy
conservation equations for each block.
pK,k+l
K
n.p-t-l
(B.9)
MK.k+1
n,p+l
5
The default (relative) convergence criterion is Si *= 10" . When the accumulation terms ace
,k+1
smaller than £2 (default 62 = 1), an absolute convergence criterion is imposed, IR* l <,
£; > 62. Convergence is usually attained in 3 - 4 iterations. If convergence cannot be
achieved within a certain number of iterations (default 8}, the time step size At is reduced
and a new iteration process is started.
It is appropriate to add some comments about our space discretization technique.
The entire geometric information of the space discretization in Eq. (B.6) is provided in the
form of a list of grid block volumes V„, interface areas A„ , nodal distances X>nn> and
m
Fractures
total fraction of matrix material within a distance x from the fractures. If only two continua
are specified (one for fractures, one for matrix), the MINC approach reduces to the
conventional double-porosity method. Full details are given in a separate report (Pruess,
1983s).
-GF- & ©=
Figure 38* Flow connections in the "dual permeability" model Global Jlow occit*s between Imth
fracture (F) and matrix (M) grid blocks. In addition there is F'M interporosity flow.
X distance, m
x,X primary thermodynamic variable
(K)
V
mol fraction of component K «n phase (5
r area, m
porosity, dimensionless
-©•
Adenekaa, A.E., Patzek, T.W., and Pruess, K., "Removing Organic Contaminants from
the Subsurface by Steam Injection: Numerical Modeling," Paper presented at the
Symposium on Exploration, Characterization and Utilization of California Heavy
Fossil Fuel Resources American Chemical Society, San Francisco, CA, April 1992.
Adenekan, A.E., Patzek, T.W., and Pruess, K., Modeling of multiphase transport of
multicomrjonent contaminants and heat in the subsurface-numerical model
formulation. Water Resources Research, vol. 29, no. I I , pp. 3727-3740,1593.
Adenekaa, A.E., ftuess K., and Falls R.W., Removal of toetoLomeihyhsae <xjataninadoa
from the subsurface—a comparative evaluation of different remediation strategies
by means of numerical simulation, Report LBL-30272, Lawrence Berkeley
Laboratory, Berkeley, CA, December 1990.
Ahlers, C.F., Ba^durraga, T.M., Chen, G., Finsterle, S., Wu, Y.S., and Bodvarsson,
G.S., Summary of model calibration and sensitivity studies using the LBNL/USGS
three-dimensional unsaturated zone site-scale model, Submitted for publication in
September 1995.
Ahlers, C.F., Bandurraga, T.M., Chen, G., Finsteric, S., Wu, Y.S., Bodvarsson, G.S.,
Kwicklis, E., Rousseau, J., and Flint, L., Performance analysis of the
LBNL/USGS three-dimensional unsaturated zone site-scale model, Submitted for
publication in September 1995.
Amistoso, A.E., Aquino, E.G., Aunzo, Z., Jordan, O.T., Sta. Ana, F.X.M,, Doughty,
C , and Bodvarsson, G.S., Reservoir analysis of the Painpinon geothennal field,
Negros Oriental, Philippines, Geothermics, vol. 22, no. 5/6, Report tJSL-33922,
Lawrence Berkeley Laboratory, Berkeley, CA, 1933.
Andrews, B..^ Design/test calculations for two-phase flow in a dual-porosity, duai-
permeabflity medium using TOUGH, Memorandum to NAGRA, Baden,
Switzerland, September 1988.
Antunez, E., Lippoaann, M., Ali-Khan, M., and Boardman, T., "Simulalion of the Heber
Geothermal Field, A TOUGH/PC Application," Proceedings of the TOUGH
Workshop *95, Report LBL-37200, Lawrence Berkeley Laboratory, Berkeley, CA,
pp. 101 - 106, March 20-22, 1995.
Antunez, E., Moridis, G., and Pruess, K., "Large-Scale Thrcc-Dimcnsional Geothermal
Reservoir Simulation on Small Computer Systems," Proceedings of the World
Geothermal Congress '95, pp. 2977-2980, International Gcothcrmal Association,
May 1995.
Antunez, E., Pruass, K., and Moridis, G„ "Use of TOUGH2 on Small Computers,"
Proceedings of the TOUGH Workshop '95, Report LBL-37200, Lawienw
Berkeley Laboratory, Berkeley, CA, pp. 265-270. March 20-22, 1995.
Antunez, E., Walters, M. A., and Bodvarsson, G.S., Numerical study of tiiu northwest
geysers geothermal field-a case study of the Coldwater Creek SteamCeld,
Gectkermics, vol. 23, no. 2, 1994.
Bodvarsson, G.S., Model predictions of the Svartsengi geothermai field, Iceland, Water
Resources, Res., vol. 24, No. 10, pp. 1740-1746, Report LBL-21253, Lawrence
Berkeley Laboratory, Berkeley, CA, 1988.
Bodvarsson, G.S., Numerical modeling of geothermal systems with applications to Krafla,
Iceland and Olkaria, Kenya, Geolhermal Reservoir Engineering, E. Okandan, also
in J. Geothermal Ener., 1988.
Bodvarsson, G.S., Aunzo, Z., Chen, G., and Haukwa. C , "Recent Development of the
LBL/USGS Site-Scale Model of Yucca Mountain, Nevada," Proceedings of the
Sixth Annual International Conference on High Level Radioactive Waste
Management, American Nuclear Society and American Society of Civil Engineers,
Eds.. Las Vegas, NV, May 1-4,1995.
Bodvarsson, G.S., and Bjbrnsson, S.. Analysis of pressure, enthalpy and CO. transients
in well BR21, Ohaaki, New Zealand, Trans., Geothermal Resources Council, vol.
11, pp. 503-507, Report LBL-23718, Lawrence Berkeley Laboratory, Berkeley,
CA, 1987.
Bodvarsson, G.S., BjSrosson, S., Gunnarsson, A., Gunnlaughsson, E., Sigurdssou, O..
Steffanson, V., and Steingrimsson, B., "A Summary of Modeling Studies of the
Nesjavellir Geothermal Held, Icelaud," Proceedings of [he Thirteenth Geolhenual
Reservoir Engineering Workshop, Stanford University, Stanford, CA, in press.
Report LBL-24675, Lawrence Berkeley Laboratory, Berkeley, CA, 1988.
Bodvarsson, G.S., Pruess, K., and Lippmann, M.J., Modeling of geothermal systems, J.
Pet. Tech., vol. 38. no. 10, pp. 1007-1021, September 1986.
Bodvarsson, G.S., Pruess, iC, and Lippmann, MJ., Numerical models for the evaluation
of geothermal systems, Revista Brasileira de Gecfisica, vol. 5, no. 2, pp. 311-
318, Report LBL-22047, Lawrence Berkeley Laboratory, Berkeley, CA, 1989.
Bodvarsson, G.S., Pruess, K., and O'Sullivan, M.J., Injection and energy recovery in
fractured geothermal reservoirs. Society of Petroleum Eng. J., vol. 25, no. 2, pp.
303-312, Report LBL-15344, Lawrence Berkeley Laboratory, Berkeley, CA,
April 1985.
Bodvarsson, G.S., Pruess, K_, Stefansson, V., Bjirnsson, S., and Ojiambo, S.B., "A
Summary of Modeling Studies of the East Olkaria Geothermal Field, Kenya,"
Gcothermal Resources Council 1985 Symposium on Geothermal Energy, Kaiiua
Kona, HI, Report LBL-19367, Lawrence Berkeley Laboratory, Berkeley, CA, pp.
295-302, 1985.
Bodvarsson, G.S., Pruess, K., Stefansson, V., Bjimsson, S., and Ojiamho, S.B., The
East Olkaria geotherrnal field, Kenya, 1. History match with production and
pressure decline data, Geophys. Res., vol. 92, no. B2, pp. 521-539, Report L8L-
20098, Lawrence Berkeley Laboratory, Berkeley, CA, 1987.
Bodvarsson, G.S., Pruess, K., Steransson, V., Bjirnsson, S., and Ojiarribo, S.B., Tne
East Olkaria geothermal field, Kenya, 2. Predictions of well performance and
reservoir depletion, J. Geophys. Res., vol. 92, No. B2, pp. 541-554, Report LBL-
20099, Lawrence Berkeley Laboratory, Berkeley, CA, 1987.
Bodvarsson, G.S., Pruess, K., Stefansson, V., and Eliasson, E.T., A summary of
modeling studies of the Krafla geothermal field, Trans., Geothermal Resources
Council, Vol. 7, pp. 391-396, 1983.
Finsterle, S., ITOUGH2 user's guide version 2.2, Report LBL-34581, Lawrence Berkeley
Laboratory, Berkeley, CA., 1993.
Finsterle, S., Inverse modeling of test SB4-VM2/216.7 at Wellenberg, Report LBL-
354S4, Lawrence Berkeley Laboratory, Berkeley, CA, March 1994.
Finsterie, S., Bodvarsson, G.S., and Chen, G., "Inverse Modeling as a Step in the
Calibration of the LBL/USGS Site-Scale Model of Yucca Mountain," Proceedings of
the Sixth Annual International Conference on High Level Radioactive Waste
Management, American Nuclear Society and American Society of Civil Engineers,
Eds., Las Vegas, NV, May 1-4,1995.
Finsterie, S. and Mishra, S., "Interpretation of Hydraulic Tests in a Two-Phase Flow
System Using TOUGH," Proceedings of the TOUGH Workshop, Report LB-L-
29710, Lawrence Berkeley Laboratory, Berkeley, CA, pp. 133-138, September 13-
14, 1990.
Finsterle, S., Moridis, G.J. and Pruess, K., A TOUGH2 equation-of-state module for the
simulation of two-phase flow of air, water, and a miscible gelling liquid, Report
LBL-36086, Lawrence Berkeley Laboratory, Berkeley, CA, May 1994.
Finsterle, S., Moridis, G., Pruess, K., aad Persoff, P., Physical barriers formed irom
gelling liquids: Numerical design of laboratory and field experiments, EOS,
Transactions of the American Geophysical Union, 1994 Spring Meeting Supplement,
vol. 75, no. 16: 151, Report LBL-35315, Lawrence Berkeley Laboratory, Berkeley,
CA, 1994.
Finsterle, S., and Pruess, K., Design calculations for a combined ventilation and brine
injection experiment at the Grimsel Rock Laboratory, Switzerland, Report LBL-
34460, Lawrence Berkeley Laboratory, Berkeley, CA, October 1993.
Finsterlc, S., and Prucss, K., Solving the estimation-identification problem in mo-phase
flow modeling, Water Resources Research, vol, 31, no. 4, pp. 913-924, 1995,
Report VBL-34853, Lawrence Berkeley Laboratory, Berkeley, CA, 1993.
Finsterle, S., and Pruess, K., "Estimating Two-Phase Hydraulic Properties by Inverse
Modeling " Proceedings of the Fifth Annual International Conference on High Level
Radioactive Waste Management, American Nuclear Society and American Society of
Civil Engineers, Eds., Las Vegas, NV, May 22-26, 1994.
Finslerle, S., and Pruess, K., Optimizing multiphase aquifer remedialion using
ITOUGH2, Report U3L-36088, Lawrence Berkeley Laboratory, Berkeley, CA.,
1994.
Finsterie, S., and Pruess, K., "1TOUGH2: Solving TOUGH Inverse Problems,"
Proceedings of the TOUGH Workshop '95, Report LBL-37200, Lawrence
Berkeley Laboratory, Berkeley, CA, pp. 287-292, March 20-22,1995.
Javeri, V., "Analysis of Nuclide Transport Under Natural Convection and Time Dependent
Boundary Condition Using TOUGH2," Proceedings of the TOUGK Workshop
'95, Report LBL-37200, Lawrence Berkeley Laboratory, Berkeley, CA, pp. 1-6,
March 20-22,1995.
Kaiasaki, K., Segan, S„ Pruess, K., and Vomvoris, S., A study of two-phase flow in
fracture networks, Report LBL-34706, Lawrence Berkeley Laboratory, Berkeley,
CA, 1994.
Kidd, E., "Energy Science and Technology Software Center," Proceedings of the TOUGH
Workshop "95, Report LBL-37200, Lawrence Berkeley Laboratory, Berkeley, CA.
pp. 277-280, March 20-22, 1995.
Kissiing, W.M., White, S.P., O'SulUvan, M.J., Bullivant, D.P., and Bro\ , K.L.,
"Modeling Chloride and CO, Chemistry at the Wairatcci Geothermal Field, New
Zealand," Proceedings of "the Twenty-First Annual Geothcrmal Reservoir
Engineering Workshop, Stanford University, Stanford,, CA, January 1996.
Kovscek, A.R., Patzek, T.W., and Radke, C.J., "FOAM3D: A Numerical Simulator for
Mechanistic Prediction of Foam Displacement in Multidimcnsions," Proceedings of
the TOUGH Workshop '95, Report LBL-37200, Lawrence Beikelev Laboratory,
Berkeley, CA, pp. 131-136, March 20-22, 1995.
Kwicklis, E.M., and Healy, R.W., Numerical investigation of steady liquid water flow in
a variably saturated fracture network, Water Resources Research, vol.29, no. 12,
pp. 4091-4102,1993.
Kwicklis, E., Kealy, R. W., Lu, N., and Bodvarsson, G.S., "Application of TOUGH to
Hydroiogic Problems Related to the Unsaturated Zone Site Investigation at Yucca
Mountain, Nevada," Proceedings of the TOUGH Workshop "95, Report LBL-
37200, Lawrence Berkeley Laboratory, Berkeley, CA, pp. 335-343, March 20-22,
1995.
Lai, C.H., and Bodvarsson, G.S. "Numerical Studies of Cold Water Injection into Vayor-
Domiaated Geothermal Systems," Paper presented at Society of Petroleum Engineers
Western National Meeting, Report SPB-21788, Long Beach, CA, March 1991.
Lai, C.H., Bodvarsson, G.S., and Truesdeil, A. H., Modeling studies of heat transfer ana
phase distribution in two-ahase geothermal reservoirs, Geothermics, vol. 23, no.
1, pp. 3-20, 1994.
Lai, C.K., Pruess, K., and Bodvarsson, G.S., On the accuracy of the M1NC
approximation. Report LBL-21025, Lawrence Berkeley Laboratory, Berkeley, CA
February 1986.
Lam, S.T., Hunsbcdt, A., Kruger, P., and Pruess K., Analysis of the Stanford
geothermrJ reservoir model experiments using the LBL reservoir simulator,
Geothermics, vol. 17 no. 4, pp. 595-605, Report LBL-25957, Lawrence Berkeley
Laboratory, Berkeley, CA, 1988.
Lefebvre, R., Modeling acid mine drainage in waste rock dumps, Proceedings of the
TOUGH Workshop '95, Report LBL-37200, Lawrence Berkeley Laboratory,
Berkeley, CA, pp. 239-245, March 20-22,1995.
Lippmann, MJL, Aunzo, Z., Laky, C , Steingrimsson, B., Bodvarsson, G.S., Truesdeli,
A. H., Halfman-Dooley, S.E., and Cucllar, G., Prc-expioitation state of the
Ahuachapan geothermal field, El Salvador, Geothermics, vol. 20, no. 1, pp. 1-22,
1991.
Lippmann, M.J., and Bodvarsson, G.S., A modeling study of the natural state of the
Heber geothennal field, California, Geothermal Resources Council Trans, vol. 7,
pp. 441-447, 1983.
Lippmann, M.J., and Bodvarsson, G.S., Numerical studies of the heat and mass transport
in the Cerro Prieto geotherraal field, Mexico, Water Resources Research, vol. 19,
pp. 753-767, 1983.
Lippmann, M.J., and Bodvarsson, G.S., "The Generating Capacity of the Heber
Geolhermal Field, California," Proceedings of the Ninth Annual Geoiherroa!
Reservoir Engineering Workshop, Stanford University, Stanford,, CA, Report
SGP-TR-74,^. 157-166, December 13-15, 1983.
Lippmann, M J., and Bodvarsson, G.S., The Heber geothermal field, California: Natural
state and exportation modeling studies, J. Geophys. Res. vol. 90, no. B1, pp. 745-
758, 1985."
Lippmann, M.J., Halfman, S.E., and Bodvarsson, G.S., "Quantitative Mode! of the Cerro
Prieto Field," Proceedings of the Eleventh Geothermal Reservoir Engineering
Workshop Stanford University, Stanford,, CA, Report SGP-TR-93. pp. 127-134,
January 21-23, 1986.
Nitao, J.J., V-TOUGH - an enhanced version of the TOUGH code for the thermal and
hydroiogio simulation of large-scale problems in nuclear waste isolation, UCID-
2J954, Lawrence Livermore National Laboratory, Livcrmorc, CA, 1989.
Nitao, J.J., "Increasing the Efficiency of the TOUGH Code for Running Large-Scaie
Problems in Nuclear Waste Isolation," Proceedings of the TOUGH Workshop,
Report LBL-29710, Lawrence Berkeley Laboratory, Berkeley, CA, pp 143-148
September 13-14-, 1990.
Okabe, T., Osato, K., and Takasugi, S., "Case Study Using Faster TOUGH,"
Proceedings of the TOUGH Workshop, Report LBL-29710, Lawrence Berkeley
Laboratory, Berkeley, CA, pp. 61-66, September 13-14,1990.
Oldenburg, CM., Benson, S., Pruess, K., Daiscy, J., Brown, N., Gold, L., and
MacFarlane J., "The SELECT Environmental Remedy Selection Tool: A Platform for
T2VOC Multiphase Transport Modeling," Presented at the 1995 ASME/AIChE
National Hew Transfer Conference, Portland, OR, August i995.
Oldenburg, CM., and Pruess, K., On numerical modeling of capillary barriers, Water
Resources Research, vol. 29, no. 4, pp. 1045-1056, 3993.
Oldenburg, CM., and Pruess, K., Numerical simulation of coupled flow and transport
with TCUGH2: a verification study, Report LSL-35273, Lawrence Berkeley
Laboratory, Berkeley, CA, 1994.
Oldenburg, CM., and Pruess, K., T2DNM: radionuclide transport forTOTJGH2, Report
LBL-34868, Lawrence Berkeley Laboratory, Berkeley, CA, 1994.
Oldenburg, CM., and Pruess, K., Dispersive transport dynamics in a strongly coupled
groundwater-brine flow system, Water Resources Research, vol. 31, no. 2, pp.
289-302, 1995.
Oldenburg, CM., and Pruess K. Mixing witfi first-order decay in variable velocity porous
' media flow, in press in Transport in Porous Media, 1995.
Oldenberg, CM., and Pruess, K., "Strongly Coupled Single-Phase Flow Problems:
Effects of Density Variation, Hydrodynamic Dispersion, and First Order Decay,"
Proceedings of the TOUGH Workshop '95,* Report LBL-37200, Lawrence
Berkeley Laboratory, Berkeley, CA, pp. 205-210, March 20-22,1995.
Oldenburg, CM., K. Pruess, K-, and Lippmann, M.J., '"Double-Diffusive Convection in
Liquid-Dominated Geothermal Systems with High-Salinity Brines," Presented at
the 19th Geothermal Reservoir Engineering Workshop Stanford University,
Stanford,, CA, Report LBL-35039, Lawrence Berkeley Laboratory, Berkeley, CA,
January 1994.
Oldenburg, CM., Pruess, K., and Lippmann M., "Heat and Mass Transfer in Hypersaiine
Geothcrmal Systems," Proceedings of the World Geothcrmal Congress 1995, pp.
1647-1652, International Gcotacrmai Association, May 1995.
O'Sullivan, M.L, "A Simple Model of a Vapor-Dominated Geothermal Reservoir,"
Proceedings of the TOUGH Workshop, Report LBL-29710, Lawrence Berkeley
Laboratory, Berkeley, CA, pp. 37-44, September 13-14,1990.
O'Sullivan, M.J., Bodvarssoc, G.S., Pruess, K., and Blakeley M. R. Fluid and heat
(
Pruess, K., TOUGH2, a general-purpose numerical simulator for multiphase fluid and heat
flow, Report LBL-29400, Lawrence Berkeley Laboratory, Berkeley, CA, May 1991.
Prucss, K., Analysis of flow processes during TCE infiltration in heterogeneous soils at
the Savannah River Site, Aiken, South Carolina, Report LBL-32418. Lawrence
Berkeley Laboratory, Berkeley, CA, June 1992.
Pruess, K., Brief guide to the MINC-mcthod for modeling flow and transport in fractured
media, Report LBL-32195, Lawrence Berkeley Laboratory, Berkeley, CA, May
1992.
Pruess, K., Dispersion module for TOUGH2, Report LBL-32505, Lawrence Berkeley
Laboratory, Berkeley, CA, 2993.
Pruess, K., "Geysers Injection Modeling," Presented at the Geothermal Program Review
XH, U.S. Department of Energy, Report LBL-35500, Lawrence Berkeley
Laboratory, Berkeley, CA, April 1994.
Pruess, K., and Bodvarsson, G.S., Thermal effects of reinjection in geothermal reservoirs
with major vertical fractures, J. Pet. Tech., vol. 36, no. 10, pp. 1567-1578.1984.
Pruess, K., Bodvarsson, G.S., Schroeder, R.C., and Witherspoon, P.A., Modei studies
of the depletion of two-phase gcothermal reservoirs. Society of Petroleum
Engineers Journal, vol. 22 , no. 2, pp. 2S0-290, April 1982.
Pruess, K., Bodvarsson, G.S., Stefansson, V. and Eliasson, E X , The Krafla
geolheima! field, Iceland: 4. History match and prediction of individual wel!
performance. Water Resources, Res., vol. 20, no. 11, pp. 1561-1584, Report
LBL-J6203, Lawrence Berkeley Laboratory, Berkeley, CA, 1984.
Pruess, IC, Celati, R., Caiore, C , and Cappetti, G., "On Fluid and Heat Flow in Deep
Zones of Vapor-Dominated Gcothermal Reservoirs," Paper presented at the Twelfth
Annual Geothermal Reservoir Engineering Workshop, Stanford University,
Stanford, CA, Report LBL-22SI0, Lawrence Berkeley Laboratory, Berkeley, CA,
pp. 89-96. 3987.
Pruess, SC, and Enedy, S., "Numerical Modeling of Injection Experiments at The
Geysers," Presented at the Eighteenth Geothermal Reservoir Engineering
Workshop, Stanford University, Stanford, CA, Report LBL-33423, Lawrence
Berkeley Laboratory, Berkeley, CA January 26-28,1993.
Pruess, K., Finsterle, S., Persoff, P., and Oldenburg, C , "Phenomecological Studies of
Two-Phase Processes for Nuclear Waste Isolation," Proceedings of the Fifth
Annual International Conference on High Level Radioactive Waste Management,
American Nuclear Society and American Society of Civil Engineers, Eds., May 22-
26, 1994.
Prccss, K., and Karasaki, K., "Proximity Functions for Modeling Fluid and Heat Flow in
Reservoirs with Stochastic Fracture Distributions," Presented at the 8th Geotherma!
Reservoir Engineering Workshop, Stanford University, Stanford, CA, December
1982.
Pruess, K., and Narasimhan, T.N., On fluid reserves and the production of superheated
steam from fractured, vapor-dominated geothermal reservoirs, J. Ceophys. Res.,
vol. 87, no. B l l , pp. 9329-9339,1982.
Pruess, K., and Narasimhan, T.N., A practical method for modeling fluid and heat flow
in fractured porous media. Society of Petroleum Engineers Journal, vol. 25, pp.
14-26, 1985.
Pruess, K., and Narasimhan, T.N., "Numerical Modeling of Multiphase and
Nonisothermal Flow in Fractured Media," Proceedings of the International
Conference on Fluid Flow in Fractured Rocks, Atlanta, GA, May 1988.
Pruess, K., and O'Sullivan, M., "Effects of Capillarity and Vapor Adsorption in the
Depletion of Vapor-Dominated Geothermai Reservoirs," Presented at the
Seventeenth Geothermal Reservoir Engineering Workshop, Stanford Univeisity,
Stanford, CA, Report LBIJ-31692, Lawrence Berkeley Laboratory, Berkeley, CA,
1992.
Prucss, K., and Tsang, Y.W., On two-phase relative permeability and capillary pressure of
rough-walled rock fractures, Water Resources Research, vol. 26, no. 9, pp. 1915-
3926, 1990.
Wang, J.S.Y., and Narasimhan, T.N., Hydrological mechanisms governing fluid flow in
fractured welded units and porous non-welded units ai Yucca Mountain. Report
LBL-21022, Lawrence Berkeley Laboratory, Berkeley, CA, 1986.
Wang, J.S.Y., and Narasimhan, Hydrologic modeling of vertical and lateral movement of
partially saturated fluid flow near a fault zone at Yucca Mountain, Report LBL-
23510, Lawrence Berkeley Laboratory, Berkeley, CA, June 1987.
Webb, S.W., TOUGH2 simulations of the TEVES projeci inducing the behavior of a
single-component NAPL, SAND94-1639, Sandia National Laboratories,
Albuquerque, NM, (in review).
Webb, S.W., and Chen, J.C., "Phasic Pressure Difference Effects in Two-Phase Flow for
Dissolved Gas Exsolution," Proceedings of the TOUGH Workshop, Report LBL-
29710, Lawrence Berkeley Laboratory, Berkeley, CA, pp. 107-112, September
13-14, 1990.
Wu, Y.S., Pruess, K. and Chen, Z.X., Buckley-Leverett flow in composite media, SPE
Advanced Technology Series, vol. 1, No. 2, pp. 36-42. 1993.
Wu, Y.S., Pruess, K., Withcrspoon, P.A., Displacement of a Newtonian flaid by a bon-
Newlonian fluid in a porous medium, Transport in Porous Media, vol. 6, pp.
115-142, 1991.
Xiang, Y., Mlshra, S., and Dunlap, D., "Parametric Analysis of a Two-Dimensional
Groundwater Flow Model of the Unsaturated Zone at Yucca Mountain,"
Proceedings of the TOUGH Workshop '95, Report L3L-37200, Lawrence
Berkeley Laboratory, Berkeley, CA, March 20-22,1995.
Zimmerman, R.W., and Bodvarsson, G.S., An approximate solution for study of one-
dimensional absorption in unsaturated porous media. Water Resources Research,
vol. 25, no. 6, pp. 1422-1428, Report LBL-25629, Lawrence Berkeley
Laboratory, Berkeley, CA, 1989.
Zimmerman, R.W., and Bodvarsson, G.S., Semi-analytical solutions for flow problems in
unsaturated porous media, ASME Monograph on Multiphase Transport in Porous
Media, FED, vol. 82, HTD. vol. 27, pp. 23-28, 1989.
To install and run TOUGH2 using the LAHEY Fortran compiler Ver. 5.XX proceed as
follows. (This procedure assumes that the compiler is properly installed)
(1) Insert the distribution diskette in drive B:, type INSTALL and press <enter>. The
install file will create a TOUGH2 directory, and copy TOUGH2-PC into this
directory. It will also create a DEVELOP subdirectory into which it will copy the
input files for the sample problems.
(2) Customize the "makefile" file as desired.
(3) Within the TOUGH2 directory, type the following command:
make
The code will men be compiled and linked and, if the "makefile" file provided on
the distribution diskette was not modified, an executable Ut2eosl.exell incorporating the
EOS 1fluidproperty moduie will be written to the TOUGH2\DEVELOP directory.
To check on proper code installation, within the TOUGH2\DEVELOP directory
execute sample problem No.4, five-spot geoicermal production and injection, with the
following command.
t2eosl <rfp >rfp.out
The first part of the command uploads the Ut2eosl.exeU file and runs it using the
'irfpll file as the input deck. The output is redirected to the 'Irfp.oul" file. The il>rfp.out"
part of the command is optional; if it is nor present, all output will be displayed on the
screen.
Additional notes.
An effort was made to have the TOUGH2 source code comply with the ANSI
X3.9-1978 (FORTRAN 77) standard, and on most machine and compiler combinations,
the code should compile and run without modifications. TOUGH2 makes several calls to
an external routine "SECOND" for obtaining elapsed CPU times, such as
CALL SECONDfTZERO).
SUBROUTINE SECOND(T)
REAL*8T
CHARACTER ELTIME*U, FECHA*8
COMON /ELTJMZELTIME, EECRA
T=O.DO
EUmm=W:0Q:O0.00'
FECHA ='01/01/01'
RETURN
END
This dummy subroutine will avoid an "unsatisfied external,, error; ail execution
times and dates will be reported as 0.0 and 01, respectively, in the printout.
The file t2cgl.for includes the following routines:
(i) revised versions of the program units normally supplied in t2m.for,
(ii) a version of subroutine LINEQ that is appropriately modified for
interfacing with the conjugate gradient solvers, and
(iii) a set of preconditioned conjugate gradient routines.
The presence of a modified version of subroutine LINEQ in l2cgI.for will create a
situation of "duplicate names" during the linking process, as a subroutine LINEQ is also
present in standard TOUGH2 (file t2f.for). On most computers the linker wiil simply use
the first program unit with a given name, and will ignore subsequent program units with
the same name. On some computers the presence of duplicate names during linking will
create a fatal error. The simplest way to avoid this is to change the names of the unwanted
program units. Specifically, the name conflict can be avoided by renaming LINEQ in
t2f.for to LINEX, say, prior to compilation and linking. In the PC version of TOUGH2
LINEQ was removed from t2f.for.
The only user-definable input parameter associated with the conjugate gradient
module is MOP(21) in block PARAM, which selects different solvers as follows.
MOP(21) = 0: default; is set internally to MOP(21) = 3.
1:
2: direct solution with MA28 (as in TOUGH2, Version 1.0). routine
DSLUBC: biconjugate gradient solver with incomplete LU-
factorization.
3: routine DSLUCS: Lanczos-typc biconjugatc gradient solver with
incompiem LU-factorization.
4: routine DSLUGM: generalized minimum residual solver with
Of all the numbers processed by TOUGH2, the most sensitive are the residuals,
i.e., the differences between left hand sides (accumulation terms) and right hand sides
(flow terms) of the governing equations. During the Newton/Raphson iteration process
these residuals are reduced to smaller and smaller values, until they drop below specified
convergence tolerances. As convergence is approached, the residuals are subject to
increasingly severe numerical cancellation, arising Horn subtracting two numbers with
diminishing difference. Maximum residuals are (optionally printed during the iteration
process as "MAX. RES.", and are also printed in the header of a full time step printout (as
"MAX. RES." or "RERMH). These numbers can serve as a convenient check when
evaluating reproducibility of code applications. Small numerical differences due to
roundoff etc will first show up in different values for "MAX. RES.", 2sas before giving
any visible changes in primary variables or their increments.
Pruess (3991) provides sample problems that are useful for checking the proper
installation of TOUGH2 and cross-referencing it to TOUGH and for handling common
applications of the code. The problems are summarized briefly hero; however, the user is
urged to consult Pruess (1991) for printouts of the input files, schematics of problem set
up, and data plots.
(F5, F6) flow of air into single phase liquid phase transition from liquid to two-
phase; appearance of air component
F7 injection of air into cold liquid phase transition from liquid to two-
phase; appearance of air component
l-'S production of fluid from single phase phase transition from liquid to two-
phase; vaporization
liquid
phase transition from two-phase to gas;
F9 iniection of heat into two-phase fluid
vaporisation
F10 withdrawal of heat from single phase phase transition from gas to two-phase;
vapor condensation
iho 1-sho !2 fluid production and injection demonstration of generation opdons
i.ce
-B —-a
UM»MlMt4»lN7iI
_™l.„,.._.«—-
-1. •—•-?—
1 3
£3 --*.»-
F 1 9 iTn A H ; — - 1 - «•.—_4—
SW 1 lEHWE
SK011 *1 SSKCKS «.
t.e«
f IP a l G. c. t.
f W i fi. s. 1.
r tf 4 i K. s. t.
F 1
l . » ao. 1.
r 2
I.£6 170. 0.
F 3
l.CS r?.t
r * .*«
.•(9 31*.
t».W
F C e.
t.eo 1»«.
P C
1».G* IKS, i.
P T 0.
i.ci SB.
F 0
F »
I.P M),
«.
F 10
l.« .*» ».
4#.E6 2ia. c.
SttSll
E3.E5 ;i*.
SHOW
4s.es i»t.
COCK— . j „ —m-.—9'-"-
f 7 * 1W AM i.t1 &.*•:£«
rF inn. »U$5
F
«Nor
lera.
MEAT
HEAT
.!.«-*
-f:g
sua if HASS1 -I. s.e«
sw w 1 FINV -I.
-oo v 3 «.: * U,'
W5S
2.EZ
4.C3
e.j -f.3 •*.a -1.1
SX3 1 * 4 3 1 tuasi
z.u 4.LJ
t.i !»' -e.a •1.1
WO wr i «av l.t-13 i.a
SH9U* It * *ATE1 I.E3
i.i #.3
5M0I1 M L « « '
.(A J S 't 1.4E8
oav l.=-w
3.DE9
i.e:
EK31»EL«* BEL.V a.t-i* 1.6* i.ba
,„_«.. 1... . . . — e
VUttV
, „-.„,„- —..™e™,,
JSO —
4- 250 —
5 240 -
220 -
6 r
io io IO 8
Time (Seconds)
Figure 42. Temperature profiles for problem 3 along a line of injection to production well after 36.5
years. MINC results for a SO m fracture spacing are virtually identical to porous medium
results while MINC results for a 250 m fracture spacing show lower temperatures.