Skip to content

equinor/warmth

Repository files navigation

Warmth

Forward modeling of thermal evolution through geological time

Build Status Build Status codecov Python PyPI version License

Documentation

warmth is a python package used for modeling thermal evolution based on McKenzie's type basin extension. It can be use for:

  • Finding beta factor
  • Calculating subsidence and thermal history
  • Basement heat flow through time

Features

  • Multi-1D simulation
  • Full 3D simulation with dolfinx
  • Build model from either:
    • Python objects
    • XTGeo supported surface formats
  • Multi-rift phase support
  • Ensemble models with ERT https://github.com/equinor/ert

Installation

Until it is available on pypi, you will need to clone the repo

git clone [email protected]:equinor/warmth.git
pip install .

For a specific release

git clone [email protected]:equinor/warmth.git --branch <VERSION>
pip install .

For full 3D simulation, dolfinx is required.

See https://docs.fenicsproject.org/dolfinx/main/python/installation.html for installation instructions.

Tests

Requires dolfinx v0.6.0

mpirun -n 2 python3 -m pytest --with-mpi --cov-report=term-missing --cov-report=xml --cov=warmth tests