Metadata-Version: 2.4
Name: mf6pqc
Version: 1.0.0.post1
Summary: Reactive-transport coupling between MODFLOW 6 and PhreeqcRM
Author-email: Zitao Wang <zitao.wang@aust.edu.cn>
License-Expression: GPL-3.0-only
Project-URL: Repository, https://github.com/wangzitao21/mf6pqc
Project-URL: Issues, https://github.com/wangzitao21/mf6pqc/issues
Keywords: groundwater,hydrogeology,MODFLOW 6,PhreeqcRM,reactive transport
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Hydrology
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy<3,>=1.26
Requires-Dist: modflowapi<2,>=1.0.1
Requires-Dist: phreeqcrm<0.1,>=0.0.18
Provides-Extra: examples
Requires-Dist: flopy<4,>=3.9; extra == "examples"
Requires-Dist: scipy<2,>=1.11; extra == "examples"
Requires-Dist: pandas<3,>=2.0; extra == "examples"
Requires-Dist: matplotlib<4,>=3.7; extra == "examples"
Requires-Dist: seaborn<1,>=0.12; extra == "examples"
Requires-Dist: gstools<2,>=1.6; extra == "examples"
Requires-Dist: jupyterlab<5,>=4; extra == "examples"
Requires-Dist: nbformat<6,>=5.9; extra == "examples"
Provides-Extra: test
Requires-Dist: coverage<8,>=7.6; extra == "test"
Provides-Extra: dev
Requires-Dist: build<2,>=1.2; extra == "dev"
Requires-Dist: coverage<8,>=7.6; extra == "dev"
Requires-Dist: ruff<1,>=0.16; extra == "dev"
Requires-Dist: twine<8,>=6; extra == "dev"
Dynamic: license-file

# MF6PQC v1.0

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)
[![Python 3.11+](https://img.shields.io/badge/Python-3.11%2B-blue.svg)](pyproject.toml)

MF6PQC couples MODFLOW 6 flow and solute transport with PhreeqcRM chemistry.
It supports sequential non-iterative (SNIA), sequential iterative (SIA), and
Strang splitting, with optional reaction-driven porosity, hydraulic
conductivity, diffusion, and density feedback. An opt-in thermal pathway
couples MODFLOW GWE/VSC temperature and viscosity with chemistry.

## Installation

Python 3.11 or newer is required. Install from PyPI with `python -m pip install mf6pqc`.

The core dependencies are NumPy, modflowapi, and phreeqcrm. FloPy, plotting,
notebook, and example-specific dependencies are in the `examples` extra.

MODFLOW's shared library is installed separately.

## First example

```bash
python examples/PHT3D_E01/run.py
python examples/PHT3D_E01/validate.py
jupyter lab examples/PHT3D_E01/plot.ipynb
```

Each case contains `input_data/`, `simulation/`, `output/`, `modflow_model.py`,
`run.py`, and `plot.ipynb`.

## License and attribution

MF6PQC is distributed under GPL-3.0-only. MODFLOW 6, PhreeqcRM, their databases,
and the cited benchmark studies remain independently authored software/data.
Retain source attribution when reusing reference data; cite the original solver
and benchmark publications as appropriate for your study.
