PetraSim is the graphical interface for the TOUGH2 family of simulators – used to solve problems related to geothermal systems, carbon sequestration, multi-phase contaminant transport and more.


Solve challenging subsurface flow problems with PetraSim

PetraSim is the graphical module for the TOUGH2 family of simulators. Developed at Lawrence Berkeley National Laboratory, TOUGH2 and its derivatives are recognized for their powerful simulation capabilities for fluid flow and heat transfer in porous and fractured media.

The TOUGH2 codes have been applied to problems ranging from Yucca mountain groundwater flow to multi-component environmental remediation. PetraSim makes the power of TOUGH2 accessible to modelers through an interactive 3D environment that includes mesh generation, parameter definition, and display of results.

PetraSim significantly lowers the barriers to TOUGH2 use by freeing the analyst to focus on the model, while automatically handling the complex details of TOUGH2 input and output files.

PetraSim includes TOUGH2 (version 2), T2VOC, TMVOC, and TOUGHREACT (version 1.2) executables. Newer versions of TOUGH and TOUGHREACT, including TOUGH3 and TOUGHREACT v3.32/4.13, are supported with licensing purchased through LBL.

The TOUGH2 (version 2) executables packaged with PetraSim include changes to the TOUGH2 source code available only with PetraSim. This includes the output of CSV files (used for results visualization within the interface) and a number of changes designed to improve geothermal models. There are detailed in this paper and include (but are not limited to) the following:

  • Specify the start-up time for a well on deliverability. This avoids the need for multiple restarts when modeling a number of make-up wells in field-scale geothermal production forecast.
  • Specify the productivity index (PI) and flowing pressures for each layer of a well on deliverability.
  • IAPWS-IF97 correlations for pure water added to the standard TOUGH2 EOSs. These extend the use of TOUGH2 to near-critical conditions (T>350°C) and to geothermal geopressured conditions (P>1000 bara).
  • IAPWS 2008 viscosity formulation for pure water and steam added to the standard TOUGH2 EOSs.
  • Grouping of source/sink cells using source/sink names. This makes it possible to correctly assign production when multiple wells intersect the same cell.
  • Writing of SAVE file at specified time steps.
  • Additional results output in GOFT file for EOS2 and EWASG.
  • New capillary pressure and enthalpy options in EOS2 and EWASG.
  • Improved convergence during EOS2 change of phase.

Applications for PetraSim and the simulators it supports include:

  • Coupled process modeling (thermal, hydrologic, chemical, mechanical, biological)
  • Carbon sequestration and other types of injection
  • Performance assessment of nuclear waste repositories
  • Geothermal reservoir studies
  • Vadose zone hydrology
  • Fate and transport of volatile organic compounds
  • Design and analysis of laboratory and field experiments

Fitur Petrasim

3D Model Creation

PetraSim supports completely interactive 3D model creation. The user can import existing 3D layer data and use it to define the model geometry.

Users can assign material properties to the layers and define wells through the model.

PetraSim, a TOUGH2 interface

Mesh Generation

PetraSim supports multiple meshing options. The most basic is a rectangular mesh in which cells are assigned properties based on the region in which they are located. This mesh provides the most reliable convergence properties. If it is desired to have the mesh conform to the layers, this can be accomplished using either a rectangular or Voronoi conforming mesh.

PetraSim, a TOUGH2 interface

Helpful Input Visualization

All input is organized in such a way that the user understands what the input value is and where it will be used. For example, when relative permeability input is specified, the equations are given and a dynamic preview of the permeability curves is displayed.

PetraSim Relative Permeability

Integrated Results Visualization

The user can immediately view results. PetraSim includes time history and 3D iso-surface, vector, and contour plots. Data can be exported to spreadsheets or in a simple format appropriate for graphic software such as TECPLOT.

PetraSim, a TOUGH2 Interface

Support for TOUGH EOS Options

The TOUGH codes have been developed for many different Equations of State (EOS). Each equation of state describes a different set of components.
For example, EOS3 describes water and air which can exist in single or two-phase conditions and can be used for groundwater or geothermal applications. EOS7C includes methane-carbon dioxide or methane-nitrogen gas mixtures. Applications include subsurface geologic carbon sequestration sites and natural gas reservoirs. The components modeled include water, brine, non-condensible gas (CO2 or N2), gas tracer, methane, and heat.

All EOS module executables are optimized and integrated into PetraSim, so no further compilation is required. The user just clicks and runs. If you have developed a modified variation of TOUGH, support is provided to pre-process and post-process those results also.

PetraSim, a TOUGH2 Interface

Other Powerful Features Include:

  • Complete interactive model creation and results display
  • 3D model manipulation and visual feedback
  • Organization of input in dialogs that help the user find the desired controls
  • Integrated grid and cell editing, including the ability to add extra “non-grid” cells for use in boundary conditions
  • Automatic generation of the simulator input file
  • Integrated 3D iso-surface and contour plots
  • Integrated time history plots and data comparison
  • Integrated code executables for all supported versions
  • Faster simulations with optimized TOUGH2 and T2VOC executables
PetraSim Cell-Base Results
Rhino 8 – Rhinoceros 3D

Rhino 8 – Rhinoceros 3D

Rhino 8 Charging Forward Available now with ShrinkWrap, SubD Creases, Mac Speed Boost, and more. New in Rhino 8 Rhino 8 brings new modeling tools like ShrinkWrap, a huge speed boost for Mac users, SubD Creases, PushPull workflows, better drafting tools, a more...

Rhino 7- Rhinoceros 3D

Rhino 7- Rhinoceros 3D

Rhino 7 Rhino 7 Rhino 7 is the most significant upgrade in our history. You can create organic shapes with our new SubD tools. Run Rhino and Grasshopper as a Revit® Add-On with Rhino.Inside.Revit. Use the robust QuadRemesh algorithm to create a beautiful quad mesh...

SketchUp LayOut

SketchUp LayOut

LayOut Take your 3D model into 2D space. Communicate clearly Annotate LayOut helps you show your client or partner that you’ve captured what you have discussed, and move the project forward confidently. Real–world scale Easily explain the intricate detail of one...

SketchUp PreDesign

SketchUp PreDesign

PreDesign Enhance your design research. Start your design project in the right direction. Get the valuable data you need to weave contextual insights into your project and get your creative juices flowing before you launch into 3D. Generate useful content fast Quickly...

SketchUp Sefaira

SketchUp Sefaira

Sefaira Early-stage analysis for better building performance. Amplify your building performance Sefaira’s analysis is nimble enough to keep up with the pace of conceptual and schematic design. Run full annual simulations powered by industry-accredited analysis...

SketchUp Extension Warehouse

SketchUp Extension Warehouse

Extension Warehouse Your library of custom third-party extensions created to optimize your SketchUp workflow. Your go-to optimization tool 600+ extensions We’ve got a team of developers creating new ways to hack your workflow — year round. Help you never even knew you...

Software Original


× Contact Us