Skip to main content

rtmf6 - Reactive Transport Modeling with MODFLOW 6 and PHREEQC 3

rtmf6 provides a Python interface for coupling MODFLOW 6 groundwater flow simulations with PHREEQC reactive transport modeling.

Features

  • Seamless integration of MODFLOW 6 and PhreeqcRM
  • Strives to support all MODFLOW 6 and PHREEQC feature
  • Minimal coupling configuration
  • Parallel execution of transport and geochemical calculations
  • Support for complex geochemical reactions
  • Powerful commandline interface (CLI)

Principles

rtmf6 creates a separate MODFLOW 6 model for each reactive model species. Let's call these models component models. rtmf6 manages all component models internally. The user works with one model, even though internally 10, 20 or flow and transport models exist. All initial concentration and concentration at boundary conditions of MODFLOW 6 are defined as solutions numbers. These solution numbers are the solution numbers in the PHREEQC input file. Going with PhreeqRM conventions these files use the extension .pqi. They are valid PHREEQC input files that provide all concentration data. The user provides the spatial distribution of these solutions numbers with MODFLOW 6. rtmf6 uses this information and creates input files with concentrations for all models.

All flow and transport models run in parallel by default. This means the MODFLOW calculation uses as many processes as the number species. Note that Oxygen and Hydrogen are also modeled, increasing the model number. Provided the computer has at least as many (perfomance) cores as processes start by rtmf6, all MODFLOW calculation will happen in parallel. In addition, the PHREEQC calculation can also be run parallel by specify the number of threads used for PhreeqcRM.

rtmf6 strives to use MODFLOW 6 and PHREEQC input files as much as possible, adding only the minium of rtmf6-specific configuration. This allows to use established tools for large parts of the preprocessing.

General Workflow

  1. Create you MODFLOW 6 transport model
  2. Create a TOML config file
  3. Define PHREEQC solutions for initial boundary conditions
  4. Assign solutions to MODFLOW 6 cells with native input file syntax
  5. Run rtmf6

The documentation provides more details.

Metadata

Release files for rtmf6 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for rtmf6 0.1.0
File Interpreter ABI Platform
rtmf6-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / rtmf6-0.1.0-py3-none-any.whl

Download URL rtmf6-0.1.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3157b10280318034f88525f1c62167b70e0d2e951a11f96bb8f0e45187b88977
BLAKE2b-256 checksum
How to use checksums
3f30cf93b5604d336d897b926bb520bdc9b64239a495ffb0ab8f0e8a6e75303f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.2

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page