skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: toughio v1.2.2

Abstract

TOUGH is a widely used general purpose numerical simulator designed for fluid and heat flows of multiphase, multicomponent fluid mixtures in porous and fractured media, which has been applied to many real-world problems such as underground geological storage, geothermal reservoir engineering or nuclear waste disposal, to name a few. `toughio` is a lightweight, object-oriented and vectorized Python library that aims to provide user-friendly routines to facilitate pre- and post-processing of a TOUGH simulation. Although its primary target is the latest version TOUGH3, `toughio` can also be used to read/write TOUGH2 input/output files. Currently, to the best of our knowledge, only PyTOUGH offers an exhaustive number of features to carry out a complete TOUGH simulation using a scripting language. `toughio` and PyTOUGH share the same objectives, yet with different approaches and philosophies. On the one hand, a PyTOUGH mesh is represented as a MULGRAPH geometry where elements can be unstructured horizontally but only layered vertically. It also checks that the model parameters are valid to ensure that a TOUGH simulation runs smoothly. On the other hand, although it provides basic meshing features, `toughio` mostly relies on common third-party softwares (e.g. Abaqus, FLAC3D, Gmsh, LaGriT) to generate the mesh by importing andmore » converting it to a TOUGH mesh, which also conveniently facilitates the coupling of TOUGH with any other simulator that also supports the same mesh formats. Besides, `toughio` is designed to be just a TOUGH input and output file reader/writer. It assumes that the user knows what he is doing and does not verify the validity of the model parameters (`toughio` does verify the functional arguments).« less

Developers:
 [1]
  1. Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
Release Date:
Project Type:
Open Source, Publicly Available Repository
Software Type:
Scientific
Licenses:
BSD 3-clause "New" or "Revised" License
Sponsoring Org.:
USDOE

Primary Award/Contract Number:
AC02-05CH11231
Code ID:
41667
Site Accession Number:
2020-056
Research Org.:
Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
Country of Origin:
United States

Citation Formats

Luu, Keurfon, and USDOE. toughio v1.2.2. Computer software. https://www.osti.gov//servlets/purl/1648328. USDOE. 26 May. 2020. Web. doi:10.11578/dc.20200820.1.
Luu, Keurfon, & USDOE. (2020, May 26). toughio v1.2.2 [Computer software]. https://www.osti.gov//servlets/purl/1648328. https://doi.org/10.11578/dc.20200820.1
Luu, Keurfon, and USDOE. toughio v1.2.2. Computer software. May 26, 2020. https://www.osti.gov//servlets/purl/1648328. doi:https://doi.org/10.11578/dc.20200820.1.
@misc{osti_1648328,
title = {toughio v1.2.2},
author = {Luu, Keurfon and USDOE},
abstractNote = {TOUGH is a widely used general purpose numerical simulator designed for fluid and heat flows of multiphase, multicomponent fluid mixtures in porous and fractured media, which has been applied to many real-world problems such as underground geological storage, geothermal reservoir engineering or nuclear waste disposal, to name a few. `toughio` is a lightweight, object-oriented and vectorized Python library that aims to provide user-friendly routines to facilitate pre- and post-processing of a TOUGH simulation. Although its primary target is the latest version TOUGH3, `toughio` can also be used to read/write TOUGH2 input/output files. Currently, to the best of our knowledge, only PyTOUGH offers an exhaustive number of features to carry out a complete TOUGH simulation using a scripting language. `toughio` and PyTOUGH share the same objectives, yet with different approaches and philosophies. On the one hand, a PyTOUGH mesh is represented as a MULGRAPH geometry where elements can be unstructured horizontally but only layered vertically. It also checks that the model parameters are valid to ensure that a TOUGH simulation runs smoothly. On the other hand, although it provides basic meshing features, `toughio` mostly relies on common third-party softwares (e.g. Abaqus, FLAC3D, Gmsh, LaGriT) to generate the mesh by importing and converting it to a TOUGH mesh, which also conveniently facilitates the coupling of TOUGH with any other simulator that also supports the same mesh formats. Besides, `toughio` is designed to be just a TOUGH input and output file reader/writer. It assumes that the user knows what he is doing and does not verify the validity of the model parameters (`toughio` does verify the functional arguments).},
url = {https://www.osti.gov//servlets/purl/1648328},
doi = {10.11578/dc.20200820.1},
url = {https://www.osti.gov/biblio/1648328}, year = {2020},
month = {5},
note =
}