Professional Documents
Culture Documents
Section 2-4 - TOUGH - Overview - Yu-Shu Wu
Section 2-4 - TOUGH - Overview - Yu-Shu Wu
1
Chapter 4. TOUGH2 Overview
• Capabilities
• Code architecture
• Installation
• Basic input/output concepts
2 2
That’s TOUGH!
TOUGH2: Transport Of Unsaturated Groundwater and Heat 2
EOS: Equation-Of-State
Accurate description of thermophysical properties
3
TOUGH2 Summary
• multiphase flow
– pressure, viscous, gravitational forces
– capillary pressure, relative permeability
– vapor pressure lowering
– appearance/disappearance of phases
– accurate thermodynamic properties
4
TOUGH2 Summary (cont.)
• nonisothermal system
– heat convection/conduction/diffusion
– latent heat effects (evaporation/condensation)
– radiative heat transfer
– semi-analytical heat exchange with confining
layers and wells
• fractured-porous media
– discrete fracture network
– equivalent continuum model
– double-porosity
– dual-permeability
– multiple interacting continua (MINC)
5
TOUGH Summary (cont.)
• Integral (Integrated) Finite Differences
• Fully coupled (mass and energy)
• Fully implicit
• Permeability/mobility weighting options
• Newton-Raphson (?)
• Absolute and relative residual convergence
criteria
• Direct and iterative linear equation solvers
6
Architecture
• Balance equations for multiphase/multicomponent
and heat flow have identical mathematical form,
regardless of number and nature of components
and phases.
• Differences in fluid systems (types of components
and phases present) is only in fluid properties.
• “Modular” architecture:
– Core module for assembling flow and transport equation
– Equation-of-state (EOS) module: thermophysical and
transport properties
– Module for linear equation solver
– Modules for input/output
7
Modular Architecture for TOUGH2-EGS
8
Equation-of-State Modules
• EOS1 : water, tracer, heat
• EOS2 : water, CO2, heat
• EOS3 : water, air, heat
• EOS4 : water, air, heat, VPL
• EOS5 : water, hydrogen, heat
• EOS7 : water, brine, air, heat
• EOS7r : water, brine, RN1, RN2, air, heat
• EOS8 : water, oil, NCG, heat
• EOS9 : water (variably unsaturated: Richards’ equation)
• EWASG : water, brine, NCG, heat
• ECO2N : water, brine, CO2, heat
• ECO2M : water, brine, CO2, heat (multiphase)
• T2VOC : water, air, VOC, heat
• TMVOC : water, air, m VOCs, m NCGs, heat 9
Formatted Text Input
• No graphical user interface is part of TOUGH2 (check
Pre- Postprocessing tab at http://tough.lbl.gov)
• Text-based (ASCII) input file → use text editor (e.g.,
TextPad, WordPad, Notepad, EDIT, …, without
saving formatting characters), and without using tabs
• Input file has strict formatting requirements →
see FORTRAN formatting statements in manual, e.g.:
Format(A5,5X,2E10.4)
• Columns 1-5: 5-character string
• Columns 6-10: 5 spaces
• Columns 11-20, 21-30: Two real numbers
max. 10 digits
format irrelevant
include decimal point 11
Main Input Blocks
• 5-character keywords in columns 1-5 indicate main input
blocks:
– Mesh: MESHM, ELEME, CONNE
– Material properties: ROCKS, RPCAP, SELEC, DIFFU
– Initial/boundary conditions: INDOM, INCON, GENER
– Computational parameters: PARAM, SOLVR, MULTI,
ENDCY
– Output: TIMES, FOFT, COFT, GOFT
• Certain blocks can be provided in external files:
– MESH, INCON, GENER
• Blocks of variable length (ROCKS, ELEME, CONNE, GENER,
INCON, INDOM) need to be terminated by an empty line
12
TOUGH2 Input Format
13
TOUGH2 Input Format (cont’d)
14
TOUGH2 Input Format (cont’d)
15
General Remarks
• Blank space may invoke (non-zero!) default value!
• Many hidden flags; examples:
– SPHT
– non-zero/negative values
– special domain names (REFCO, SEED)
18
• Development of pre- and
postprocessing software is outside
scope of SC National Lab
• Private industry develops TOUGH-
specific pre- and postprocessors or
provides interfaces to TOUGH
– PetraSim (Thunderhead Engineering Inc.)
– mView (Geofirma Engineering Ltd.)
– Leapfrog (ARANZ Geo)
– GMS (AQUAVEO)
– GeoModeller (Intrepid Geophysics)
– Petrel (SLB; Audigane et al., C&G, 2011)
• Some LBNL Developments
– WinGridder
– EXT (TOUGH → Tecplot)
– MeshMaker