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.2.0.tar.gz (57.5 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.2.0-py3-none-any.whl (62.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mf6rtm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3ee597b558f38c84fc87916fdfe44ba4f1d7cf468087c8c8c7248cc5dbaf825d
MD5 e164650131e40ead97abb222f4626dd6
BLAKE2b-256 995537187b4cd9930d9ed05698bfcc651b9c5a95455ae5a2292e357db931ca0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mf6rtm-0.2.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.0

File hashes

Hashes for mf6rtm-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9050d2b966ceae193a3774123938f42419018da840f430021a5d42e2ecfe2ec1
MD5 0141978d7765ec99b91026fe604f7f33
BLAKE2b-256 13c007a46d7fb951e78602dc89db3682117e845be67cb0115d465551aa69fd08

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