Skip to main content

Python scripting library for TOUGH2 simulation

Project description

Unit tests Documentation Status PyPI version PyPI - Downloads

What is PyTOUGH?

PyTOUGH (Python TOUGH) is a Python library for simplifying, extending and automating the use of the TOUGH2 subsurface fluid and heat flow 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:

From version 1.6.0, PyTOUGH can be installed via the pip Python package installer:

pip install PyTOUGH

You can also install a particular version of PyTOUGH, e.g. to install version 1.6.0:

pip install PyTOUGH==1.6.0

To uninstall PyTOUGH:

pip uninstall PyTOUGH

To install the testing branch, to get the most recent changes being tested for the next stable release:

pip install git+https://github.com/acroucher/PyTOUGH.git@testing

More information:

For more detailed information on PyTOUGH, consult the user guide (html, or you can download PDF or Epub versions) and the PyTOUGH wiki, which has links to published articles on PyTOUGH.

What's new in PyTOUGH?

The latest stable version is 1.6.2, which has:

  • a new mulgrid naming convention 3, with 3 characters for columns and 2 characters for layers

  • the mulgrid column_track() method has been re-written with a different algorithm, enabling it (and the slice_plot() method) to handle non-contiguous slices, e.g. if the slice passes out of the mesh and back in

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyTOUGH-1.6.2.tar.gz (155.3 kB view hashes)

Uploaded Source

Built Distribution

PyTOUGH-1.6.2-py3-none-any.whl (134.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page