Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Python library for automating TOUGH2 simulations of subsurface fluid and heat flow

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

What is PyTOUGH?

PyTOUGH (Python TOUGH) is a Python library for simplifying, extending and automating the use of the TOUGH2 geothermal reservoir simulator. Using PyTOUGH, it is possible to automate the creation and editing of TOUGH2 model grids and data files, and the analysis and display of model simulation results, using Python scripts.

Installing PyTOUGH:

First, make sure you have Python and the Numerical Python library installed on your machine. (For some features you will need other libraries such as Scientific Python or Matplotlib- consult the user guide for details.)

Copy the PyTOUGH directory onto your machine, by clicking the Downloads link on the PyTOUGH web page, downloading it as a .zip or .tar.gz file and unzipping it (or by cloning your own local PyTOUGH Git repository).

Finally, add your PyTOUGH directory to the PYTHONPATH environment variable on your machine.

More information:

For more detailed information on PyTOUGH, consult the user guide (available in the Downloads section) and the PyTOUGH wiki, which has links to published articles on PyTOUGH.

Something went wrong with that request. Please try again.