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.2.2

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.2.2
File Interpreter ABI Platform Actions
rtmf6-0.2.2-py3-none-any.whl Python 3 none any Details for rtmf6-0.2.2-py3-none-any.whl

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

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

Security for rtmf6 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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