A COMSOL-PHREEQC Coupled Python Framework for Reactive Transport Modeling in Soil and Groundwater
Related Experiment Video
Updated: Oct 15, 2025

Soil Lysimeter Excavation for Coupled Hydrological, Geochemical, and Microbiological Investigations
Published on: September 11, 2016
Yaqiang Wei1, Xinde Cao1,2
1School of Environmental Science and Engineering, Shanghai Jiao Tong University, Shanghai, 200240, China.
Abstract:
The CPqPy framework coupling COMSOL and PHREEQC based on Python was developed. This framework can achieve the simulation of diversified situations including multi-physics coupling and geochemical reactions of soil and groundwater. The multi-physics coupling models are calculated in COMSOL, whereas PHREEQC was applied to calculate the geochemical models through the Phreeqpy library in Python. Feasibility and accuracy of CPqPy were verified and applied to two cases, including a solute transport model considering equilibrium reaction and ion exchange as well as a reactive transport model of a variable saturation soil considering kinetic reaction. The results show a high degree of credibility of CPqPy. The framework has the advantages of strong portability, and it can be further used in conjunction with multiple Python calculation libraries, which greatly extends the application of the reactive transport model.
More Related Videos
Related Concept Videos
Coupled Reactions
Energy in adenosine triphosphate or ATP molecules is easily accessible to do work. ATP powers the majority of energy-requiring cellular reactions....
Physiological Pharmacokinetic Models: Blood Flow-Limited Versus Diffusion-Limited Models
Chemical Equilibria: Systematic Approach to Equilibrium Calculations
The first step is to identify all the chemical reactions involved, The...
Model-Independent Approaches for Pharmacokinetic Data: Noncompartmental Analysis
One important characteristic of noncompartmental analyses is that drug exposure increases proportionally with increasing doses. This...
Calculating Equilibrium Concentrations
A more...
Pharmacokinetic Models: Overview
There are three primary types of models: empirical, compartment, and physiological. Empirical models, with minimal...

