Skip to main content

Reactive transport model through MODFLOW 6 and PHREEQCRM

Project description

MF6RTM: Reactive Transport Model via the MODFLOW 6 and PHREEQCRM APIs

Tests Tests Coverage Status PyPI License

PyPI Version PyPI Versions DOI

Benchmarks

Benchmark comparing model results against PHT3D are in benchmark/. Each folder contains a Jupyter notebook to write and execute an MF6RTM model via the MUP3D class. Additionally, PHT3D files are provided in the corresponding pht3d directory for each example.

Considerations

The current version is intended to work with structured grids (dis object in MF6), unstructured grids (disv) and one MF6 simulation that includes the flow and transport solutions. No support is currently provided for a 'flow then transport scheme,' meaning that advanced packages cannot be incorporated yet.

On the PHREEQC side, the following have been included:

  • Solution
  • Equilibrium phases
  • Cation Exchange
  • Surface Complexation
  • Kinetic Phases

Most options for each phreeqc block can be passed by adding list with options. However, not all options had been tested, so please create an issue if any option is not working or crashing the model.

Software requirements

All dependencies and executables are included in this repo. This package extensively uses modflowapi and phreeqcrm

Installation

The package can be installed through pip as:

pip install mf6rtm

Developing

We recommend forking and cloning a local version of this repo. A development Conda environment is provided in the env.yml file, which should install all required dependencies to run tests and modify the package on the fly. To install the environment, use the following command:

conda env create -f env.yml

Funding

The developing of mf6rtm was kindly funded and supported by Intera, Inc.

Authors

Pablo Ortega (Portega)

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

mf6rtm-0.3.0.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mf6rtm-0.3.0-py3-none-any.whl (62.1 kB view details)

Uploaded Python 3

File details

Details for the file mf6rtm-0.3.0.tar.gz.

File metadata

  • Download URL: mf6rtm-0.3.0.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mf6rtm-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0c675019a50260f487d02bf86f2521b92bc5f2eaab41fc7865f12f2eec572cdb
MD5 29413ed56d25ee531f9ce664f8fe6ffe
BLAKE2b-256 7064e7323ceba58dcbb0982c7c1c9d18b4f6f3194a42912fd3055e061e41aa3e

See more details on using hashes here.

File details

Details for the file mf6rtm-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mf6rtm-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 62.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mf6rtm-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a2343969fdb98093c2f6c7bdfd9f0611c16c1640f83d53ecebd9e4a03759303
MD5 8dab945bf39e77094e49bca5718f7930
BLAKE2b-256 eec912fff4828af2857bfa7d8d97051b46936dd8f7a4f42acdf7cfe91180031b

See more details on using hashes here.

Supported by

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