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

Biodegradation Reaction

  1. Description

Simulation of biodegradation reaction in TOUGH4 is based on the TMVOCBio, (Aquater, 2002; Battistelli, 2003; 2004), which was included in the TMVOC module of TOUGH3. TOUGH4 extends this functionality to any EOS module. The modeling capabilities include simulating multiple biodegradation reactions mediated by different microbial populations or based on different redox reactions, thus involving different electron acceptors. It uses the modified Monod model to represent biodegradation reactions, and this general form effectively accounts for the substrate uptake as well as various limiting factors. The following is the key methodology for implementing biodegradation reaction simulation.

Assumptions

To implement biodegradation reactions within the TOUGH4, a number of simplifying assumptions have been considered. The assumptions underlying the implementation of biodegradation reactions and the mathematical formulation are fully described in Aquater (2002) and Battistelli (2003, 2004). The main assumptions are summarized as:

(1) Bacteria transport is negligible.

(2) All biomass is considered active in the biodegradation process.

(3) Diffusion processes into and out of the biophase are neglected, so biodegradation rates depend directly on aqueous phase solute concentrations.

(4) Predation of microbes by other microorganisms is neglected.

(5) Bioreactions are not affected by chemical equilibria.

(6) Each microbial population can be involved in several degradation processes, each one acting on a single organic substrate.

(7) The time needed for acclimation of microbial populations to new substrate and electron acceptors concentration levels is neglected as it is generally much smaller than the overall time scale for biodegradation in subsurface media.

(8) Changes of porous medium porosity due to biomass growth are neglected as well as the related effects on medium permeability (clogging).

(9) A minimum biomass concentration, specified by the user, is maintained in the absence of any organic contaminants degradation.

Implementation of Multiple Biodegradation Reactions

TOUGH4 follows the numerical formulation used by the T2LBM EOS module (Oldenburg, 2001) of the TOUGH2 reservoir simulator (Pruess et al., 2012), developed to model the aerobic/anaerobic biodegradation of solid waste in municipal landfills. The original T2LBM formulation has been modified to model a number of different degradation processes defined by the user, following the BIOMOC general formulation of biodegradation reactions (Essaid and Bekins, 1997), and to take into consideration the changes of aqueous phase density and saturation in the updating of microbial concentration in the aqueous phase, to account for the changes occurring in unsaturated or multiphase flow conditions.

The degradation rate of substrates and related consumption of electron acceptors and nutrients, as well as the generation rate of by-products and heat, are computed for assembling the balance equations for the mass components and thermal energy during each simulated time step. The mass and energy balance equations are solved by fully coupled with reactive transport of mass components. The total uptake of each substrate within a simulated time step is considered as a sink/source term in the mass balance equation. Since the transport of microorganisms is assumed to be negligible, no mass balance equations for the microbial populations are set up. Biomass growth and decay are tracked during the simulation by updating local biomass concentration in the aqueous phase after each converged time step, accounting also for the changes in aqueous phase saturation and density.

This numerical approach of treating biodegradation reactions as internal sink/sources computed for each Newton- Raphson iteration introduces an additional source of numerical errors, known as splitting error, generated by the decoupling of governing equations (Valocchi and Malmstead, 1992). This error depends on the time step length and is also related to the magnitude of reaction rates (Kanney et al., 2003; University of Texas, 2000). Thus, the numerical solution of biodegradation reactions is sensitive to time step length, depending on the rate of reactions of the modeled process, and may suffer from numerical instability if the time step is too long to accurately model fast biodegradation rates. To avoid this issue, users may need to properly assign a maximum time step value, reduce the convergence criterion of mass balance solution, or allow time step increase only when convergence is achieved with a small number of iterations.

Mathematical Formulations

The degradation rate is expressed using modified forms of the Monod kinetic rate equation, which can account for various limiting factors, such as the limitation by the substrate, the electron acceptor and nutrients, on the uptake rate of substrate. Two approaches are included: (1) a multiple Monod kinetic rate equation, which assumes all the limiting factors simultaneously affect the substrate uptake rate (Borden and Bedient, 1986; Waddill and Widdowson, 1998), and (2) a minimum Monod model, which assumes that the substrate uptake rate is controlled by the most limiting factor among those acting for the specific substrate (Kindred and Celia, 1989).

Below the degradation rate dS/dt of a primary substrate by a microbial population B is shown for the case in which only the limitation of the substrate and the electron acceptor availability is considered, even though limitations due to any other solute dissolved in the aqueous phase, including nutrients, can be modeled by invoking the appropriate Monod term. Note that biomass growth inhibition, toxicity effects, as well as competitive and non-competitive inhibition effects are also included as the limiting factors.

dSdt=μ0BB\dfrac{dS}{dt}=\mu_{0B}BdtdS​=μ0B​B (7-34)

where S is substrate concentration, in kg substrate/kg aqueous phase; B is biomass concentration, in kg biomass/kg aqueous phase. The specific substrate utilization rate μ0B\mu_{0B}μ0B​ is given by

μ0B=μmax,BINCfTfSWfMonod1IB\mu_{0B}=\dfrac{\mu_{max,B}}{I_{NC}}f_Tf_{SW}f_{Monod}\dfrac{1}{I_B}μ0B​=INC​μmax,B​​fT​fSW​fMonod​IB​1​ (7-35)

where μmax,B\mu_{max,B}μmax,B​is maximum substrate utilization rate by biomass, in kg substrate/(kg biomass's); fTf_TfT​is inhibitive function of temperature (Oldenburg, 2001); fSWf_{SW}fSW​is inhibitive function of water saturation (El-Kadi, 2001); IBI_BIB​ is biomass inhibition factor; INCI_{NC}INC​is non-competitive inhibition factor. The Monod kinetic rate term fMonodf_{Monod}fMonod​ is different for the multiple Monod kinetic model and minimum Monod model. Detailed definitions can be found from the literature.

The rate of biomass change with the effect of death rate δ\deltaδis

dBdt=Yμ0BB−δB=−YdSdt−δB\dfrac{dB}{dt}=Y\mu_{0B}B-\delta B=-Y\dfrac{dS}{dt}-\delta BdtdB​=Yμ0B​B−δB=−YdtdS​−δB (7-36)

where Y is biomass yield coefficient, in kg biomass/kg substrate.

Following the BIOMOC approach (Essaid and Bekins, 1997), the formulation of the degradation rate is extended for the case where a generic substrate is simultaneously degraded by different microbial populations involving the same or different electron acceptors. When a substrate S(j) is degraded in Nproc(j)N_{proc}(j)Nproc​(j)simultaneous degradation reactions mediated by different microbial populations B(ip), ip = 1, Nproc(j)N_{proc}(j)Nproc​(j), the total degradation rate for the substrate S(j) is

dS(j)dt=∑ip=1Nproc(j)−μ0B(ip)B(ip)\dfrac{dS(j)}{dt}=\displaystyle\sum_{ip=1}^{N_{proc}(j)} -\mu_{0B}(ip)B(ip)dtdS(j)​=ip=1∑Nproc​(j)​−μ0B​(ip)B(ip) (7-37)

The same approach can be extended to simultaneous degradation processes of multiple substrates, providing the capability to model a number of different degradation processes defined by the user, following the general formulation of biodegradation reactions described above.

  1. Input requirements

PreviousTracers/Decay ChainNextWellbore Flow

Last updated 1 month ago

For more detailed discussions of the mathematical models, users may refer to the mentioned literatures and the .

The simulation of biodegradation reactions can be evoked by the keyword "". If "BIODG" appears in the main file and parameters for biodegradation and definition for the bioprocesses are correctly inputted, the model will include the simulation of biodegradation reactions.

7️⃣
user manual of TMVOCBio
BIODG