Skip to main content

Reactive transport modeling with MODFLOW 6 and PHREEQC 3

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rtmf6-0.1.0-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file rtmf6-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rtmf6-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.14.3

File hashes

Hashes for rtmf6-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3157b10280318034f88525f1c62167b70e0d2e951a11f96bb8f0e45187b88977
MD5 997b1b22eed339a30f75f51c2d0657f8
BLAKE2b-256 3f30cf93b5604d336d897b926bb520bdc9b64239a495ffb0ab8f0e8a6e75303f

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