LBL logo Lawrence Berkeley National Laboratory » Earth Sciences Division
Questions & Comments | Privacy & Security Notice

TOUGH Pre- and Post-Processors

The TOUGH simulators solve the governing equations of nonisothermal multiphase flow and transport in fractured porous media. Input to and output from the simulator occurs through ASCII text files. No graphical interfaces are part of the TOUGH distribution, and only minimal support for model setup and mesh generation is built into the simulators.

The following describes external software tools for pre- and postprocessing TOUGH input and output files. Some are web-based tools, some have been made available for free download, others are licensed and available for purchase. Certain TOUGH-related pre- and postprocessors are available from commercial software developers; they are listed here for completeness, without explicit endorsement from LBNL.

Licensed Software

WinGridder3D WinGridder mesh of tunnel

WinGridder is a Windows-based graphical mesh generator for TOUGH, developed by Lehua Pan at LBNL. It allows the generation and visualization of complex, unstructured finite volume meshes, which may internal boundaries, include fault offsets, boreholes, etc. 

 

 

Web-Based Tools

GasEOSGasEOS Screen Shot

Calculates properties of real gases.

WebMeshMaker

Creates simple Cartesian or radial meshes and assign box-shaped or cylindrical material domains, respectively.


 

 

Free Software

The following pre- and postprocessing software can be downloaded for free.

AMESH Voronoi GridAMESH

AMESH Generates irregular TOUGH meshes using Voronoi tesselation in a 2D plane and projection into the third dimension.

EXT

EXT extracts data from a TOUGH2 output file for visualization with Tecplot.

T2ext

T2ext, written by Jerry Fairley,  is a PERL script to extract data from TOUGH2-MP file OUTPUT_DATA. Regardless of the dimensionality of the simulation, the output from T2ext is a space-delimited four or six column file, each line of which gives X,Y,Z,P (for a primary variable) or X,Y,Z,Fx,Fy,Fz (for a secondary variable). Users of GMT (Generic Mapping Tools) will find the output from T2ext is conveniently formatted for plotting with that program. Run T2ext -h for a description of all available options.

etype

T2ext, written by Jerry Fairley,  is a PERL script that calculates e-type (pointwise) estimates of mean and variance for point quantities at spatially referenced locations, for example, averages from Monte Carlo simulations.

T2CHK

T2CHK checks the relative permeability and capillary pressure curves set in the ROCKS or PRCAP blocks of TOUGH2 input file, and
calculates the equilibrium liquid saturation about capillary pressure in each material.

Tunnel

Mesh Manipulation Programs

A number of mesh manipulation programs are available to process existing TOUGH meshes, i.e., translating coordinates, adding boundary elements, deleting elements, adding material numbers, cutting out openings, etc. The Fortran source code is provided so user's have the possibility to adapt the programs for related uses.

iT2_jEdit

iT2_jEdit, written by Joseph Doetsch, highlights the iTOUGH2 syntax when using jEdit.

Model developed with help of TMT2TMT2

TMT2, written by Andrea Borgia, translates a MODFLOW grid created with GMS to a TOUGH2 grid, writing the blocks ELEME, CONNE, GENER, and INCON for various EOS modules (currently EOS1 - EOS5). It might work with MODFLOW GUIs, other than GMS, but it is not guaranteed nor have we tested it. Please send e-mail to Andrea Borgia with feedback. Also see the tutorial in the Tips & Tricks tab of the TOUGH User Forum.

Other

MULgeom is a graphical pre-processor for the AUTOUGH2 package. It can be used for preparing TOUGH2 model grids. MULgeom was developed at the Department of Engineering Science, University of Auckland, New Zealand.

MULgraph

MULgraph is a graphical interface for viewing the results of TOUGH2 models, developed at the Department of Engineering Science, University of Auckland, New Zealand.

PyTOUGH

PyTOUGH is a Python library for automating TOUGH2 simulations of subsurface fluid and heat flow, developed by Adrian Croucher at the Department of Engineering Science, University of Auckland, New Zealand.

TOUGH2GIS

TOUGH2GIS

TOUGH2GIS is a GIS-based pre-processor for TOUGH2 that allows the user to create locally refined unstructured (Voronoi) grids and to assign rock types to grid blocks. TOUGH2GIS is developed at the University of Bologna, Italy.

TOUGH2ViewerTOUGH2Viewer

TOUGH2Viewer is a 3D visualization software and post-processor for TOUGH2, developed by Stefano Bonduà, University of Bologna, Italy.

Commercial Software

The following commercial software packages are listed in alphabetical order for information only, i.e., without explicit endorsement from LBNL. Contact the vendor for detailed information about the capabilities and cost of the software.

Leapfrog

Leapfrog supports the development of both conceptual and quantitative geological and numerical models.

mView

mView supports pre- and postprocessing and visualization of TOUGH (and other numerical simulation software).

PetraSim

PetraSim is a graphical interface for pre- and postprocessing of TOUGH2, TOUGH2-MP, T2VOC, TMVOC, TOUGHREACT and TOUGH-Fx/HYDRATE models.