TOUGH4 User Manual
  • Quick Entry to Keywords for Data Input
  • 1️⃣INTRODUCTION
    • About TOUGH
    • TOUGH Development History
    • TOUGH4 Implementation
    • Scope and Methodology
  • 2️⃣WHAT IS NEW IN TOUGH4
  • 3️⃣CODE COMPILATION AND INSTALLATION
    • Setup for Compilation
    • Code Compilation
      • 1. Compilation of TOUGH4 using Visual Studio
      • 2. Compilation of TOUGH4 on Linux-like platform
    • Installation
    • Running the Executable for Simulations
  • 4️⃣GOVERNING EQUATIONS
    • Mass-Balance Equation
    • Accumulation Terms
    • Flux Terms
    • Sink and Source Terms
    • Virtual Node Well Treatment
    • Semi-Analytical Conductive Heat Exchange
    • Drift Model
    • Non-Darcy Flow
  • 5️⃣NUMERICAL METHOD
    • Space and Time Discretization
    • Interface Weighting Schemes
    • Initial and Boundary Conditions
      • Initial Conditions and Restarting
      • Neumann Boundary Conditions
      • Dirichlet Boundary Conditions
      • Atmospheric Boundary Conditions
      • Constant Temperature Boundary Conditions
    • Parallel computing schemes
    • Linear Solvers
    • Python Functions
      • Relative Permeability
      • Capillary Pressure
      • Initial Condition Calculation
      • Fetching Output Data
      • Fetching Thermophysical Property Data From NIST Webbook
      • Coupling With Third-Party Software
  • 6️⃣SOFTWARE ARCHITECTURE
    • Program Design
    • Data Structure
    • Linear Equation Setup
  • 7️⃣PROCESS MODELING
    • EOS1
    • EOS2
    • EOS3
    • EOS4
    • EOS6
    • EOS7
    • EOS9
    • ECO2
    • EWASG
    • TMVOC
    • Tracers/Decay Chain
    • Biodegradation Reaction
    • Wellbore Flow
    • Non-Darcy Flow
    • Enhanced Coal Bed Methane
  • 8️⃣PREPARATION OF MODEL INPUT
    • Input Formatting
    • Keywords and Input Data
      • TITLE
      • BIODG
      • CBMDA
      • CHEMP
      • COFT
      • CONNE
      • COUPL
      • DIFFU
      • ELEME
      • ENDCY
      • ENDFI
      • FLAC
      • FNIST
      • FOFT
      • FORCH
      • GASES
      • GENER
      • GOFT
      • HYSTE
      • INCON
      • INDOM
      • MESHM
      • MODDE
      • MOMOP
      • MULTI
      • OUTPU
      • PARAM
      • ROCKS
      • ROFT
      • RPCAP
      • SELEC
      • SOLVR
      • SPAVA
      • TIMBC
      • TIMES
      • TRACR
      • WELLB
    • Inputs for Initial Conditions
      • EOS1
      • EOS2
      • EOS3
      • EOS4
      • EOS6
      • EOS7
      • EOS9
      • ECO2
      • EWASG
      • TMVOC
    • Geometry Data
      • General Concepts
      • MESHMaker
      • Multiple-continuum processing
    • Inputs for MESHMaker
      • Generation of radially symmetric grids
        • RADII
        • EQUID
        • LOGAR
        • LAYER
      • Generation of rectilinear grids
      • MINC processing for fractured media
    • Adjustment of Computing Parameters at Run-time
  • 9️⃣OUTPUTS
  • 🔟VALIDATION AND APPLICATION EXAMPLES
    • EOS1
      • Problem 1 - Code Demonstration
      • Problem 2 - Heat Sweep in a Vertical Fracture (rvf)
      • Problem 3 - Five-spot Geothermal Production/Injection (rfp)
      • Problem 4 - Coupled Wellbore Flow (r1q)
      • Problem 5 - Five-Spot Geothermal Production/Injection under extremely high temperature
    • EOS2
      • Problem 1 -Five-spot Geothermal Production/Injection (rfp)
    • EOS3
      • Problem 1 - Code Demonstration (eos3p1)
      • Problem 2 - 1D TH Problem with Heating and Gas Source (by Guanlong Guo)
      • Problem 3 - Heat Pipe in Cylindrical Geometry (rhp)
      • Problem 4 - 3D Thermal Consolidation Test, Coupling with FLAC3D Simulator (by Guanlong Guo)
    • EOS4
      • Problem 1 - Code Demonstration (eos4p1)
      • Problem 2 - Heat Pipe in Cylindrical Geometry (rhp)
    • EOS6
      • Problem 1-Validation with EOS2
      • Problem 2-Noble Gas Transport
    • EOS7
      • Problem 1-Multiphase and Nonisothermal Processes in a System with Variable Salinity (rf1)
      • Problem 2-Thermal and Tracer Diffusion (EOS7R/rdif7)
      • Problem 3-Contamination of an Aquifer from VOC Vapors in the Vadose Zone (EOS7R/rdica)
      • Problem 4-Density, Viscosity, Solubility, and Enthalpy of Real Gas Mixtures (EOS7C/SAM7C1)
      • Problem 5-CO2 Injection into a Depleted Gas Reservoir (EOS7C2/SAM7C2)
      • Problem 6- CO2 Injection into a Saturated System (EOS7C/SAM7C3)
      • Problem 7-Density, Viscosity, and Enthalpy of Real Gas Mixtures (EOS7CA/SAM7CA1)
      • Problem 8-CO2 Injection into a Shallow Vadose Zone (EOS7CA/SAM7CA2)
      • Problem 9-Non-Isothermal Compressed Air Energy Storage in Reservoir (by Julien Mouli-Castillo)
    • EOS9
      • Page 1
    • ECO2
      • Problem 1-Demonstration of Initialization Options (ECO2N/rtab)
      • Problem 2-Radial Flow from a CO2 Injection Well (ECO2N/rcc3)
      • Problem 3-CO2 Discharge Along a Fault Zone (ECO2N/r1dv)
      • Problem 4-CO2 Injection into a 2-D Layered Brine Formation (ECO2N/rtp7)
      • Problem 5-Upflow of CO2 along a Deep Fault Zone (ECO2M/r1d)
      • Problem 6-Migration of a CO2 Plume in a Sloping Aquifer, Intersected by a Fault (ECO2M/rwaf)
      • Problem 7-GCS/GHE with a double-porosity reservoir (Case6_50kg_DP/ECO2NV2)
    • EWASG
      • Problem 1 - Brine Density Calculation (dnh)
      • Problem 2 - Production from a Geothermal Reservoir with Hypersaline Brine and CO2 (rhbc)
    • TMVOC
      • Problem 1-Initialization of Different Phase Conditions (r7c)
      • Problem 2-1-D Buckley-Leverett Flow (rblm)
      • Problem 3-Diffusion of components (rdif2)
      • Problem 4-Steam Displacement of a NAPL in a Laboratory Column (rtcem)
      • Problem 5-Steam Displacement of a Benzene-Toluene Mixture in a Laboratory Column (rbt)
      • Problem 6 -Air Displacement of a NAPL from a Laboratory Column (rad)
      • Problem 7-NAPL Spill in the Unsaturated Zone (r2dl)
    • T4.Well
      • Problem 1-Steady-state two-phase flow upward
      • Problem 2-Non-isothermal CO2 flow through a wellbore initially full of water
  • CONCLUSION REMARKS
  • REFERENCES
  • ACKNOWLEDGEMENT
  • Appendix
    • ☑️A: RELATIVE PERMEABILITY FUNCTIONS
      • IRP=1 Linear function
      • IRP=2 Power function
      • IRP=3 Corey's curves
      • IRP=4 Grant's curve
      • IRP=5 Perfectly mobile
      • IRP=6 Fatt and Klikoff function
      • IRP=7 van Genuchten-Mualem Model
      • IRP=8 Verma function
      • IRP=10 Modified Brooks-Corey Model
      • IRP=11 Modified van Genuchten Model
      • IRP=12 Regular hysteresis
      • IRP=13 Simple hysteresis
      • IRP=31 Three phase perfectly mobile
      • IRP=32 Modified Stone's first 3-phase method
      • IRP=33 Three-phase Parker's function
      • IRP=34 Alternative Stone 3-phase
      • IRP=35 Power-law function
      • IRP=36 Faust for two-phase Buckley-Leverett problem
      • IRP=37 Another alternative to Stone function
      • IRP=40 Table lookup
      • IRP=41 User-Defined relative permeability function
    • ☑️B: CAPILLARY PRESSURE FUNCTIONS
      • ICP=1 Linear function
      • ICP=2 Function of Pickens
      • ICP=3 TRUST capillary pressure
      • ICP=4 Milly’s function
      • ICP=6 Leverett’s function
      • ICP=7 van Genuchten function
      • ICP=8 No capillary pressure
      • ICP=10 Modified Brooks-Corey Model
      • ICP=11 Modified van Genuchten Model
      • ICP=12 Regular hysteresis
      • ICP=13 Simple hysteresis
      • ICP=31 Parker et al 3-phase function
      • ICP=32 Parker 3-phase function, alternative 1
      • ICP=33 Parker 3-phase function, alternative 2
      • ICP=34 Parker 3-phase function, alternative 3
      • ICP=40 Table lookup
      • ICP=41 User-Defined capillary pressure function
    • ☑️C: ADDITIONAL PROGRAM OPTIONS
    • ☑️D: DESCRIPTION OF FRACTURED FLOW
      • Multiple Continuum Approaches
      • Active Fracture Modle
Powered by GitBook
On this page
  1. PROCESS MODELING

EOS7

  1. Description

Geologic carbon sequestration, compressed air energy storage, underground hydrogen storage, and many other subsurface energy-related engineering applications involve transport of multiple gases and their mixtures in subsurface geologic media. TOUGH4/EOS7 was designed for these types of applications. It covers the original EOS7, EOS7R, EOS7C, and EOS7CA modules in TOUGH3. It is for multicomponent gas mixtures with or without an aqueous phase and H2O vapor. Components for the new EOS7 modules can include water, brine, a choice of non-condensable gases, selected tracers, and optional heat. The gas components can be any combination of 1-4 gases of the seven available gases (CH4, H2S, CO2, N2, O2, H2, and AIR). The EOS7 module uses a cubic equation of state and an accurate solubility formulation along with a multiphase Darcy’s Law to model flow and transport of gas and aqueous phase mixtures over a wide range of pressures and temperatures appropriate to typical subsurface gas/energy storage sites and natural gas reservoirs. The real gas properties module has options for Peng-Robinson, Redlich- Kwong, or Soave-Redlich-Kwong equations of state to calculate gas mixture density, enthalpy departure, and viscosity. Solubility of gases is calculated using a very accurate chemical equilibrium approach. Transport of the gaseous and dissolved components is by advection and Fickian molecular diffusion.

EOS7 represents the aqueous phase as a mixture of (pure) water and brine. This approach is very useful for flow problems in which salinity does not reach saturated levels (Reeves et al., 1986; Herbert et al., 1988). The salinity of the aqueous phase is described by means of the brine mass fraction, XbX_bXb​, and density and viscosity are interpolated from the values for the water and brine endmembers. Salinity-dependent gas solubility is also taken into account, but no allowance is made for reduction of vapor pressure with salinity. The brine is modeled as NaCl solution, and the non-condensible gas is the selected gas or gas mixture. The representation of the temperature and pressure dependence of thermophysical properties is somewhat more general than that of Reeves et al. (1986), retaining the flexibility of the TOUGH formulation for nonisothermal processes.

EOS7 can describe phase conditions ranging from single-phase liquid to two-phase to single-phase gas. However, the approach of describing variably saline fluids not as mixtures of water and salt but as mixtures of water and brine has specific limitations which need to be considered in applications. It does not allow existence of solid salt. From a physical viewpoint brine mass fraction in the gas phase should always be equal to zero, but the only way the brine mass balance can be maintained during phase transitions from two-phase to single-phase vapor conditions is by allowing XbX_bXb​, gas to vary freely. Users need to carefully examine problem setups and results to guard against unphysical results in applications that involve boiling. We now briefly summarize the treatment of thermophysical properties in EOS7.

(1) Brine properties

In TOUGH4, a general-purpose module for brine properties was developed which can be used in any EOS modules involving brine.

In the brine property module, the density of the aqueous phase is calculated from the assumption, shown to be very accurate by Herbert et al. (1988), that fluid volume is conserved when water and brine are mixed. Mixture density ρm\rho_mρm​can then be expressed in terms of water and brine densities as follows.

1ρm=1−Xbρw+Xbρb\dfrac{1}{\rho_m}=\dfrac{1-X_b}{\rho_w}+\dfrac{X_b}{\rho_b}ρm​1​=ρw​1−Xb​​+ρb​Xb​​ (7-7)

where ρw\rho_wρw​and ρb\rho_bρb​ are water and brine density, respectively. Eq. 7-7 applies to densities at fixed pressure and temperature conditions. In order to achieve a simple approximation for fluid density at variable temperatures and pressures, EOS7 takes compressibility and expansivity of brine to be equal to those of water. This will provide a reasonable approximation at least for a limited range of temperatures and pressures around the reference conditions(P0,T0)(P_0, T_0)(P0​,T0​). The default reference brine has a density of 1185.1 kg/m3 at reference conditions of P0=1P_0=1P0​=1bar, T0T_0T0​ = 25 ˚C, corresponding to an NaCl solution of 24.98 wt-%, or 5.06 molar (Potter and Brown, 1977; cited after Finley and Reeves, 1982). The user may specify different reference conditions and brine densities. Effects of salinity on the enthalpy of the aqueous phase are ignored.

Following Herbert et al. (1988), salinity effects on aqueous phase viscosity are modeled with a polynomial correction to the viscosity of pure water. Mixture viscosity μm\mu_mμm​is represented as follows.

μm(P,T,Xb)=μw(P,T)⋅f(Xb)\mu_m\left(P,T,X_b\right)=\mu_w\left(P,T\right)\cdot f\left(X_b\right)μm​(P,T,Xb​)=μw​(P,T)⋅f(Xb​) (7-8)

where

f(Xb)=1+v1Xb+v2Xb2+v3Xb3f\left(X_b\right)=1+v_1X_b+v_2{X_b}^2+v_3{X_b}^3f(Xb​)=1+v1​Xb​+v2​Xb​2+v3​Xb​3 (7-9)

with default values of v1v_1v1​= 0.4819, v2v_2v2​ = -0.2774, and v3v_3v3​ = 0.7814. Different values for the coefficients may be specified by the user.

(2) Gas properties

TOUGH4 rewrote the real gas property module based on a set of subroutines contained within a submodule called ZEVSREAL (a.k.a. GasEOS in its stand-alone form), where ZEVS stand for Z factor, Enthalpy, Viscosity, and Solubility, and REAL refers to the fact that the module calculates properties of real gas mixtures. The new real gas property module is generalized for combinations of any included gases and calibrated for better accuracy. It is parallelized with OPENMP and ready for use in any EOS module.

The real gas property module uses a cubic equation of state to calculate properties of real gas mixtures. Air is specially treated as a pseudo-component (AIR) with properties reflecting a mixture of two gas components, i.e., 79% N2 and 21% O2 (by volume), in solving the selected real gas cubic equation of state.

Density

The real-gas property module calculates mixture properties using cubic equations of state, so-named because the volume terms are raised to either the first, second, or third power (Reid et al., 1987). The most common two-parameter equations of state can be written as

P=RTV−b−aV2+ubV+wb2P=\dfrac{RT}{V-b}-\dfrac{a}{V^2+ubV+wb^2}P=V−bRT​−V2+ubV+wb2a​ (7-10)

where the parameters and functions u, w, b, and a take on different values depending on the particular cubic equation of state being used, T is temperature in degrees K, V is gas volume, P is pressure, and R is gas constant. EOS7 provides the option for Peng-Robinson (PR), Redlich-Kwong (RK), or Soave-Redlich-Kwong (SRK) depending on user choice. However, our experience is that the Peng-Robinson equation of state is very accurate for CO2-CH4 systems and N2-CH4 systems, but is very inaccurate for gas mixtures including H2. Readers interested in more detail in the range of applicability of Eq. 7-10 and recommendations on the use of various equations of state should consult Reid et al. (1987) and Poling et al. (2000) for more information. We use the Peng-Robinson equation of state as an example for the following discussions.

The approach taken in EOS7 is to use the Peng-Robinson equation of state to calculate the Z factor of the mixture, where

PV=ZnRTPV=ZnRTPV=ZnRT (7-11)

From this value, the density of the gas mixture can be calculated using

ρ=MWnV=PMWZRT\rho=\dfrac{M_Wn}{V}=\dfrac{PM_W}{ZRT}ρ=VMW​n​=ZRTPMW​​ (7-12)

whereMwM_wMw​is the molecular weight of the real gas mixture and n is the gas molar number.

Enthalpy

The enthalpy of the real-gas mixtures is calculated using an ideal gas value with an added enthalpy departure to account for real gas effects. Real gas mixtures depart from ideality in ways that can be modeled with cubic equations of state. Following equation is use for the calculation:

H=(H−Hig)+Hig=(H−Hig)+∑iXiHi,igH=(H-H^{ig})+H^{ig}=(H-H^{ig})+\displaystyle\sum_iX^iH^{i,ig}H=(H−Hig)+Hig=(H−Hig)+i∑​XiHi,ig (7-13)

where (H−Hig)(H-H^{ig})(H−Hig) is the enthalpy departure. TOUGH4 uses cubic equations of state (e.g., Peng- Robinson) to calculate the enthalpy departures and ideal gas enthalpy change to come up with the total enthalpy change of the real gas mixture.

Water property module in TOUGH4 uses real-gas properties (steam tables) for steam enthalpy, and thus produces more accurate steam enthalpies than the cubic equations of state can provide. As an alternative, the user may choose (see following sub-section 2 for specific input requirement) to use the steam tables to calculate the enthalpy of the steam (water vapor) fraction in the gas, and use real gas property module to calculate the enthalpy of the other gases mixture. The total gas mixture enthalpy is then calculated as a weighted combination of their contributions.

Specifically, in order to match enthalpies from the NIST Chemistry Web Book (NIST, 2013), the calculated enthalpies need to be adjusted. Table 3 shows the adjustment amount for different gas components. After adjustment, the model provides accurate enthalpy estimates relative to NIST values for the single gas components, with the maximum error less than 1% (using SRK).

Table 10. Adjustment amount for the enthalpy calculation

Gas Name

Adjustment amount (J/kg)

CH4

862300

H2S

608600

CO2

481900

N2

283300

O2

248200

H2

3587800

AIR

277900

Viscosity

The method of Chung et al. (1988) as described in Reid et al. (1987) and Poling et al. (2000), originally implemented in TOUGH3/EOS7C, is accurate to within 5-10% for most gases at common reservoir conditions. However, it is inaccurate for estimating viscosity of mixtures that include hydrogen (H2). To remedy this, we implemented the method of Quinones et al. (2001; 2000) in TOUGH4. In this method, viscosities of the pure gas or gas mixtures were calculated with the correlation developed from friction theory in conjunction with the cubic equation of state. Detailed discussion of the implementation and calibration of this method can be found at Cai et al. (2022). The key parameters for this method (friction coefficients) were calculated using friction constants through regression as in Zéberg-Mikkelsen et al. (2001a, 2001b). For CO2, the friction coefficients were estimated from the general one-parameter model (Quinones et al. 2001). Compared to NIST values, this method underestimates the dynamic viscosity for some gases in high-pressure cases if directly using the friction coefficient values of the pure gas component provided by Zéberg -Mikkelsen et al. (2001a). To address this, the model was calibrated to improve accuracy of the viscosity calculation through adjusting the friction coefficient values and other terms. Verification of the calibrated model against lab measurements and NIST database results shows accurate viscosity estimates are obtained using this calibration.

Solubility

The model for mutual solubility of gas mixture components in the aqueous phase was based on local thermodynamic equilibrium as described by Oldenburg et al. (2004) in TOUGH3/EOS7C. In the original approach, partitioning of the gas components between the gaseous and aqueous phases is calculated using an accurate effective Henry’s coefficient (Kh) and the primary variables of gas mass fraction in the liquid. In order to solve the cubic equation of state to obtain an accurate compressibility factor (Z) needed to calculate gas density, it is assumed gas phase mole fractions are known and mole fractions are a function of the effective Henry’s coefficient. Therefore, an iterative approach is required wherein the first guess of Kh to estimate gas-phase concentrations from known liquid-phase concentrations is taken from the models of Cramer (1982), and D’Amore and Truesdell (1988). In TOUGH4, the same approach is used. However, to avoid the iterative procedure required in TOUGH3/EOS7C, a different set of primary variables with gas mass fractions excluding water vapor in the gaseous phase for two-phase system are used.

The method of computing the partitioning of the NCG between aqueous and gas phases is presented here using CO2 as an example, but the same treatment can be used for other gases. Note that the effects of brine on aqueous phase solubility are not included in the present following formulations. We begin by writing the equation for the dissolution and exsolution of CO2 in the aqueous phase as

CO2(g)  ⟺  CO2(aq)CO_2(g)\iff CO_2(aq)CO2​(g)⟺CO2​(aq) (7-14)

the equilibrium constant for which is given by

KCO2(g)=aCO22fCO2K_{CO_2(g)}=\dfrac{aCO2_2}{f_{CO_2}}KCO2​(g)​=fCO2​​aCO22​​ (7-15)

where a is the activity which refers to the aqueous phase and f is the fugacity which refers to the gas phase. The Poynting Correction accounts for the change in equilibrium constant due to pressure change (Prausnitz et al., 1986) and can be written as

KT,P=KT,P00exp((P−P0)Vi‾RT)K_{T,P}=K_{T,P^0}^0exp(\dfrac{(P-P^0)\overline{V_i}}{RT})KT,P​=KT,P00​exp(RT(P−P0)Vi​​​) (7-16)

where the equilibrium constant ( KT,P00K_{T,P^0}^0KT,P00​) at reference pressure ( P0P_0P0​) of 1 bar can be taken from the literature or fitted to experimental data (Spycher et al., 2003). We define the activity of CO2 in the aqueous phase as a function of activity coefficient and molality as

aCO2=γmCO2a_{CO2}=\gamma m_{CO2}aCO2​=γmCO2​ (7-17)

Assuming the activity coefficient to be equal to one, the mole fraction of CO2 in the aqueous phase is given by

xaqCO2=aCO255.508x_{aq}^{CO2}=\dfrac{a_{CO2}}{55.508}xaqCO2​=55.508aCO2​​ (7-18)

assuming there are 55.508 moles H2O per kg of aqueous phase. The fugacity of CO2 can be written

fCO2=ϕCO2ygCO2Pt=aCO2KCO2(g)f_{CO2}=\phi_{CO2}y_g^{CO2}P^t=\dfrac{a_{CO2}}{K_{CO2(g)}}fCO2​=ϕCO2​ygCO2​Pt=KCO2(g)​aCO2​​ (7-19)

where ϕ\phiϕ is the fugacity coefficient, ygy_gyg​ is the mole fraction in the gas phase, and PtP^tPtis the total gas pressure. Combining Eqs. 7-15, 7-18, and 7-19, we have an expression for the equilibrium constant

KCO2(g)=55.508xaqCO2ϕCO2ygCO2PtK_{CO2(g)}=\dfrac{55.508x_{aq}^{CO2}}{\phi_{CO2}y_g^{CO2}P^t}KCO2(g)​=ϕCO2​ygCO2​Pt55.508xaqCO2​​ (7-20)

For CO2, if T < 100 °C, we use partial molar volumes of Spycher et al. (2003) for calculating the equilibrium constant of Eq. 7-20 in the real gas property module. For other components and temperatures, we use SUPCRT92 (Johnson et al., 1992) and the slop98 database of Shock and Plyasunov (2004) to calculate equilibrium constants.

From the definition of partial pressure, the equilibrium constant of Eq. 7-20, and a Henry’s Law type relation, we can define an effective Henry’s coefficient from

PCO2=ygCO2Pt=55.508xaqCO2KCO2(g)ϕCO2=KhCO2xaqCO2P^{CO2}=y_g^{CO2}P^t=\dfrac{55.508x_{aq}^{CO2}}{K_{CO2(g)}\phi_{CO2}}=Kh_{CO2}x_{aq}^{CO2}PCO2=ygCO2​Pt=KCO2(g)​ϕCO2​55.508xaqCO2​​=KhCO2​xaqCO2​ (7-21)

where the effective Henry’s coefficient (Kh) is given by

KhCO2=55.508KCO2(g)ϕCO2Kh_{CO2}=\dfrac{55.508}{K_{CO2(g)}\phi_{CO2}}KhCO2​=KCO2(g)​ϕCO2​55.508​ (7-22)

The accurate Henry’s coefficients given by Eq. 7-22 are used to calculate partitioning of the gas components in the gas and aqueous phases.

The impact of salinity on the Kh is considered in EOS7. Salinity-dependence of KhgasKh^{gas}Khgaswas included by increasing KhgasKh^{gas}Khgasin aqueous solutions with higher brine mass fractions. It is assumed the same effects of brine on air solubility occur also for NCG and tracer components. For example, if the Henry’s Law coefficient for air in pure water and in brine at the local brine concentration are KhH2OairKh_{H2O}^{air}KhH2Oair​ and KhbrineairKh_{brine}^{air}Khbrineair​, respectively, then the Henry’s Law coefficient for NCG in pure water at a given temperature would be multiplied by the ratio Khbrineair/KhH2OairKh_{brine}^{air}/Kh_{H2O}^{air}Khbrineair​/KhH2Oair​ to obtain the value for the NCG Henry’s Law coefficient at the given brine mass fraction.

(3) Tracers

  1. Specifications

A summary of EOS7 specifications and parameters is given in Table 11. The default number of mass components is 2 (water and one user selected gas). The maximum number of components is 11. The default choice of primary thermodynamic variables is (P, Xg, T) for single-phase, (Pg, Sg + 10, T) for two-phase conditions. The last primary variable is always temperature no matter if the simulation is in isothermal or non-isothermal, but in isothermal simulation the energy equation does not need to be solved and temperature is always constant. The component numbering is based on the number of gases and tracers included in the simulation. For example, gas1 is always component 2, gas2 is component 3, gas3 is component4, and component 4 is component 5. If the model has 1 gas, 2 gases, 3 gases or 4 gases, the brine will be component 3, 4, 5, 6 respectively. The component number of a tracer is the component number of brine plus the numbering of the tracer.

Table 11 Summary for EOS7

Specification
Parameters

Components

(1) Water

(2) Gases (at least 1 gas, at most 4 gases, gas 2-4 is optional)

(3) Brine

(4-8) Tracer1-Tracer5 (optional)

Phase condition and its state name and index

(1) Gas, GAS

(2) Aqueous, AQU

(3) two-phase, AQG

Primary variables

Optional process modeling

Molecular diffusion, Wellbore simulation, Biodegradation reactions, and non-isothermal simulation.

  1. Specific input requirements

Record SELEC.2

Format (3E10.4) or free format (data separated by comma)

P0,T0,ρbP_0, T_0, \rho_bP0​,T0​,ρb​ (FE(1)-FE(3))

P0P_0P0​ reference pressure for brine property calculation, Pa

T0T_0T0​ reference temperature for brine property calculation, oC^oCoC

ρb\rho_bρb​ brine density at (P0.T0),kg/m3(P_0. T_0) , kg/m^3(P0​.T0​),kg/m3

If any of these parameters is entered as zero, default values of P0P_0P0​ = 1 bar, T0T_0T0​= 25 ˚C, ρb\rho_bρb​ = 1185.1 kg/m3m^3m3 will be used. For P0P_0P0​ < 0, brine properties will be assumed identical to water.

Record SELEC.3

Format (3E10.4) or free format (data separated by comma)

v1,v2,v3v_1, v_2, v_3v1​,v2​,v3​ (FE(9)-FE(11))

coefficients for salinity correction of aqueous phase viscosity, see Eq. 7-9.

IE(23) Set equal to 0 to use ZEVSREAL for enthalpy of gas mixture, Set equal to 1 to use SUPST for water vapor, and ZEVSREAL for other gases, with a weighted sum used for the mixture enthalpy.

PreviousEOS6NextEOS9

Last updated 8 months ago

Discussions for the simulation of tracers are presented in the section .

See

EOS7 allows inputs of several optional parameters through keyword "", including:

EOS7 requires definition for gases and tracers which are included in the simulation. The inputs for gas definition are by keyword "", and tracer definition is by keyword "".

Users are also allowed to use the specific input requirement for EOS7R/EOS7C/EOS7CA of TOUGH3 for diffusion coefficients, gas and tracer parameters through keyword "SELEC". Please refer to the user manual of TOUGH3-// for details. These specific inputs will be effect in TOUGH4 only when the input type specified through parameter "InitCType" is "EOS7R, EOS7C, or EOS7CA. "InitCType" is in the first record of keyword ""

7️⃣
Decay Chain/Tracers
SELEC
GASES
TRACR
EOS7R
EOS7C
EOS7CA
MODDE
Table 24