Skip to content

A python package for reactive transport modeling via the MODFLOW 6 and PhreeqcRM APIs

License

Notifications You must be signed in to change notification settings

p-ortega/mf6rtm

Repository files navigation

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

Tests Tests

PyPI License

PyPI Version PyPI Versions

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) 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 is still not published in PyPi but it can be installed through pip by cloning the repository.

Once the repository is already cloned in your local machine, please just type the following in your conda prompt:

conda env create -f env.yml

Otherwise, the package can be installed through pip as:

pip install git+https://github.com/p-ortega/mf6rtm.git#egg=mf6rtm

Funding

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

Authors

Pablo Ortega (Portega)

About

A python package for reactive transport modeling via the MODFLOW 6 and PhreeqcRM APIs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published