LIB4RT: Automated generation of reactive-transport formulations from PHREEQC databases for implementation in multiphysics platforms
Adrián Sánchez-Migallón, Rubén López-Vizcaíno, Xiaojuan Yang, Arianna Pucci, Vicente Navarro, Ángel Yustres
University of Castilla-La Mancha · Zhejiang University of Technology
Key points
From the paper's conclusion- The results show that LIB4RT reduces implementation overhead, improves traceability, and facilitates reproducible development of reactive transport formulations in multiphysics environments.
Abstract
Reactive transport simulations in multiphysics platforms require accurate geochemical reaction and transport flux terms derived from thermodynamic databases and equilibrium speciation calculations. In practice, building these definitions manually from databases is time-consuming, error-prone, and difficult to reproduce when the chemical system is modified. This paper presents LIB4RT, an engineering software tool that parses PHREEQC-format thermodynamic databases and generates traceable sets of variable definitions, equilibrium expressions, mass variables, and transport-related terms for implementation in multiphysics platforms. The current implementation is demonstrated in COMSOL Multiphysics, where the generated definitions can be transferred through text-based input. LIB4RT includes a robust equilibrium speciation solver based on a Levenberg–Marquardt scheme and supports large geochemical systems, redox conditions, and multiple activity-coefficient formulations across common database conventions. The tool is verified against PHREEQC for speciation at equilibrium and reactive transport benchmarks under the same databases and modelling assumptions. The results show that LIB4RT reduces implementation overhead, improves traceability, and facilitates reproducible development of reactive transport formulations in multiphysics environments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Conservative Darcy-Brinkman-Stokes Formulation for PHREEQC-Coupled Reactive Transport with Cell-Based Surface ComplexationarXiv · 2026
- marineGeochemFoam: A multipurpose framework for simulating reactive transport and biogeochemical cycling in marine sediments and at seawater-groundwater interfacesarXiv · 2026
- ThermoLIB─A Python Library for Constructing and Post-Processing Free-Energy Surfaces to Extract Thermodynamic and Kinetic Properties.Journal of chemical information and modeling · 2026
- Oxygen Fugacity Buffers and an Interactive CalculatorGeochemistry Geophysics Geosystems · 2026
- MDTransport: A Modular, Open-Source, Extensible Python Tool for Computing Transport Properties from GROMACS and LAMMPS Simulations.Journal of chemical information and modeling · 2026
- A methodological framework for building interoperable sorption databases: application to cesium sorption in crystalline rocks.Open research Europe · 2026