Elsevier

Computers & Geosciences

Volume 133, December 2019, 104316
Computers & Geosciences

A library of BASIC scripts of reaction rates for geochemical modeling using phreeqc

https://doi.org/10.1016/j.cageo.2019.104316Get rights and content

Highlights

  • Compiled reaction kinetics data in the literature for 102 mineral phases.

  • A library of BASIC scripts that can be used with PHREEQC.

  • Tested different rate laws for feldspar dissolution in reaction path modeling.

Abstract

Rate equations and kinetic parameters for about 100 minerals were programmed into a library of callable Basic language scripts for the geochemical modeling program Phreeqc (version 3.5.0) to facilitate the application of kinetics in geochemical modeling. For most minerals, the following general equation is used: rnet=SAjAjeEa,j/RTiai,jni(1Ωpj)qj

where rnet stands for the net dissolution rate of a mineral phase (mol kgw−1 s−1); j the jth reaction mechanism; SA the surface area per unit water mass (m2 kgw−1); Aj the Arrhenius pre-exponential factor (mol m−2 s−1); Ea,j the apparent reaction activation energy (J mol−1); R the universal gas constant (8.31446 J mol−1 K−1); T the temperature (K); ai the activity of aqueous species i; Ω the mineral saturation quotient. pj and qj are empirical fitting parameters. j stands for the specific mechanisms of reaction. Other forms of rate equations and associated parameters programmed in the library include parallel mechanisms, Langmuir adsorption isotherm, and empirical rate equations that apply to a specific reaction mechanism or geochemical system. A separate file of PHASEs, which define the chemical stoichiometry of the phases, dissolution reactions, and equilibrium constants of the dissolution reactions, is also provided. PHREEQC requires that the names in PHASES and RATES blocks match with each other.

The Basic language scripts can also be used as templates for writing other rate equations which users might wish to use. To illustrate the application of the script library, we simulated the reaction path of albite dissolution at 25 °C and 1 bar, using three rate equations and compared the results. The script and phase library and supporting materials can be downloaded from https://github.com/HydrogeoIU/PHREEQC-Kinetic-Library and doi.org/10.5967/41gq-yr13.

Introduction

In the last three decades, a large number of laboratory experiments have produced mineral dissolution rates in a wide range of temperatures, pH, and solution chemistry (see reviews by Brantley et al., 2008, pp. 151–210; Marini, 2007, pp. 211–266; Palandri and Kharaka, 2004; Schott et al., 2009). As a result, applications of reaction kinetics to water-rock interaction have also grown significantly in such fields as carbon dioxide sequestration (e.g., Knauss et al., 2005; Liu et al., 2011, 2012; Lu et al., 2011, 2013; 2015; Tutolo et al., 2015; White et al., 2005; Wilkin and DiGiulio, 2010; Xu et al., 2007; Xu et al., 2010; Zhang et al., 2013; Zhang et al., 2015; Zhang et al., 2016), diagenetic processes (Jones and Xiao, 2005, 2006; Lu and Cantrell, 2016; Roy et al., 2011; Whitaker and Xiao, 2010), geothermal systems (Dobson et al., 2004; Giambalvo et al., 2002; Spycher et al., 2003; Wanner et al., 2014; Xu and Pruess, 2001; Xu et al., 2004), and weathering (Maher et al., 2009; Perez-Fodich and Derry, 2019). Furthermore, advances in geochemical modeling software development have made application of kinetics to geochemical models much easier (Parkhurst and Appelo, 2013). Using thermodynamic data (e.g., equilibrium constants and activity coefficient models) and kinetic parameters (e.g., rate constants and activation energy), mineral dissolution and precipitation processes can be quantified with geochemical modeling software (e.g., EQ3/6: Wolery, 1992; Phreeqc: Parkhurst and Appelo, 1999, 2013; ToughReact: Xu et al., 2006, 2011; Crunchflow, Steefel et al., 2015).

Among the many geochemical simulation programs, the software package Phreeqc — a computer program for simulating aqueous speciation, reaction path, and 1-D reactive transport (Charlton and Parkhurst, 2011; Parkhurst and Appelo, 2013) — has gained popularity. This is partly because the program allows the user to describe the rate equations via BASIC scripts. These scripts are then run with the program along with other parts of input files and databases for kinetic model simulations. For example, Zhu et al. (2010) constructed a reaction path model for feldspar dissolution and secondary mineral precipitation in batch systems with their own Phreeqc database and kinetics scripts. Geochemical models of fluid-rock interaction have evolved from equilibrium only to kinetic approaches, thus addressing geochemical reactions on a real time scale (Zhu, 2009).

However, the databases that accompany the Phreeqc package only contain limited rate equations. Much of the kinetics data needed for geochemical modeling is scattered in the literature. Proper assembly of the kinetic data needed for modeling, such as preparing the codes for kinetic scripts and assembling other necessary parts for kinetic calculation, is an intimidating task for many users. To facilitate the use of kinetics in geochemical modeling, we collected the rate equations and kinetic parameters from the literature and compiled them into a library of scripts for Phreeqc. These BASIC language data blocks can be readily copied into input files or databases.

It is beyond the scope of this study to evaluate kinetic experiments and compile them into an internally consistent kinetic database. In fact, we took the kinetic parameters from the literature directly as they are and programmed them in easy-to-use formats. In this sense, users must be very careful about the conditions of these kinetic parameters are applicable. These conditions include the temperature, pH, solution chemistry, and saturation states. As they are in the original sources, the kinetic parameters for most minerals in this library were derived from dissolution experiments at far-from-equilibrium conditions. Extrapolation of them to near-equilibrium and precipitation conditions need careful verification. Users must be aware of this and other assumptions when applying this kinetic library to systems beyond the experimental conditions in the original studies.

The resulting library contains kinetic data for approximately 100 minerals. We understand that to derive a comprehensive and self-consistent kinetic rate database is a daunting task, and this library represents only the first effort in a long, multiphase project. The script and phase library and supporting materials can be downloaded from https://github.com/HydrogeoIU/PHREEQC-Kinetic-Library and doi.org/10.5967/41gq-yr13. The library of scripts are also included in an online version of Phreeqc, which can be accessed at the corresponding author's Indiana University web site www.hydrogeochem.earth.indiana.edu.

Section snippets

General expression of rates and rate equations

The readers are referred to the textbooks by Lasaga (1998), Marini (2007), Brantley et al. (2008), and Rimstidt (2014) for the background of geochemical kinetics. Here we only briefly introduce necessary background for presenting the kinetic library.

Geochemical reaction rates can be defined as the change of concentration of reactants and products with time over the course of a chemical reaction (Rimstidt, 2014, pp. 36–39; Zhu and Anderson, 2002):rnet=1υidCidtwhere rnet denotes net or overall

BASIC scripts library

The rate equations and parameters in this library can be classified into four categories: (1) Palandri and Kharaka (2004) rate equations; (2) parallel-mechanisms rate equations (e.g. Burch et al., 1993); (3) Langmuir-adsorption rate equations (e.g. Amram and Ganor, 2005); and (4) other specific rate equations.

Example application

To illustrate the utility of the script library, we simulated the reaction path of albite hydrolysis, using BASIC scripts for rate equations of Burch et al. (1993), Hellmann and Tisserand (2006), and Palandri and Kharaka (2004) for albite. The initial conditions for the simulations are the same for the three models and are shown in Table 2. To ensure that only the effect of the f(ΔrG) function on near-equilibrium rates and reaction path are compared, the rate constants in the three models were

Conclusions and remarks

We compiled a library of mineral dissolution rate parameters and equations from the literature and programmed BASIC scripts for the Phreeqc software. About 100 phases are included. Separately, a PHASE file was also developed to be used together with the RATES scripts. Phreeqc requires both data blocks to conduct kinetic modeling. These RATES script blocks and PHASE blocks can be easily copied and pasted into the input files ort append to the Phreeqc databases.

The majority of the rate equations

Computer code availability

Digital versions of the BASIC scripts, as well as future updates, can be downloaded for free from https://github.com/HydrogeoIU/PHREEQC-Kinetic-Library and doi.org/10.5967/41gq-yr13. The library of scripts are also included in an online version of Phreeqc, which can be accessed at the corresponding author's Indiana University web site www.hydrogeochem.earth.indiana.edu.

Authorship Statement

YZ developed the PHREEQC scripts for kinetics and phases and wrote part of the manuscript.

HB helped in developing the PHREEQC scripts for kinetics and testing the scripts and also wrote part of the manuscript.

YT helped in organizing the script library.

KT developed the online version of Phreeqc and linked to the kinetics library

CZ designed and supervised this project and wrote part of the manuscript.

Acknowledgment

First, we would like to thank David Parkhurst and Tony Appelo for their Phreeqc program and Jim Palandri and Yosef Kharaka for the kinetic database. This work has benefited greatly from discussions with and review by them. We thank all reviewers for their time and their comments have improved the quality and clarity of this paper. CZ acknowledges US NSF grant EAR-19267343. Although the work was partly sponsored by an agency of the United States Government, the views and opinions of authors

References (75)

  • E.R. Giambalvo et al.

    Effect of fluid-sediment reaction on hydrothermal fluxes of major elements, eastern flank of the Juan de Fuca Ridge

    Geochem. Cosmochim. Acta

    (2002)
  • N. Harouiya et al.

    The dissolution kinetics and apparent solubility of natural apatite in closed reactors at temperatures from 5 to 50 oC and pH from 1 to 6

    Chem. Geol.

    (2007)
  • H.C. Helgeson et al.

    Thermodynamic and kinetic constraints on reaction rates among minerals and aqueous solutions II. Rate constants, effective surface area, and the hydrolysis of feldspar

    Geochem. Cosmochim. Acta

    (1984)
  • R. Hellmann et al.

    Dissolution kinetics as a function of the Gibbs free energy of reaction: an experimental study based on albite feldspar

    Geochem. Cosmochim. Acta

    (2006)
  • B.E. Kimball et al.

    Chalcopyrite dissolution rate laws

    Appl. Geochem.

    (2010)
  • K.G. Knauss et al.

    Evaluation of the impact of CO2, co-contaminant gas, aqueous fluid and reservoir rock interactions on the geologic sequestration of CO2

    Chem. Geol.

    (2005)
  • K. Lammers et al.

    Muscovite dissolution kinetics as a function of pH at elevated temperature

    Chem. Geol.

    (2017)
  • A.C. Lasaga et al.

    Chemical weathering rate laws and global geochemical cycles

    Geochem. Cosmochim. Acta

    (1994)
  • F. Liu et al.

    Coupled reactive flow and transport modeling of CO2 sequestration in the Mt. Simon sandstone formation, Midwest USA

    Int. J. Greenh. Gas Con.

    (2011)
  • F.Y. Liu et al.

    CO2-caprock-brine interaction: reactivity experiments on Eau Claire Shale and a review of literature

    Int. J. Greenh. Gas Con.

    (2012)
  • P. Lu et al.

    Coupled alkali feldspar dissolution and secondary mineral precipitation in batch systems: 2. New Experiments with Supercritical CO2 and Implications for Carbon Sequestration

    Appl. Geochem.

    (2013)
  • K. Maher et al.

    The role of reaction affinity and secondary minerals in regulating chemical weathering rates at the Santa Cruz Soil Chronosequence, California

    Geochem. Cosmochim. Acta

    (2009)
  • N.C. Marty et al.

    A database of dissolution and precipitation rates for clay-rocks minerals

    Appl. Geochem.

    (2015)
  • A. Mitra et al.

    Solubility and dissolution rate of silica in acid fluoride solutions

    Geochem. Cosmochim. Acta

    (2009)
  • E.H. Oelkers et al.

    The effect of aluminum, pH, and chemical affinity on the rates of aluminosilicate dissolution reactions

    Geochem. Cosmochim. Acta

    (1994)
  • E.H. Oelkers

    General kinetic description of multioxide silicate mineral and glass dissolution

    Geochem. Cosmochim. Acta

    (2001)
  • A.A. Olsen et al.

    Oxalate-promoted forsterite dissolution at low pH

    Geochem. Cosmochim. Acta

    (2008)
  • V.T.H. Pham et al.

    On the potential of CO2–water–rock interactions for CO2 storage using a modified kinetic model

    Int. J. Greenh. Gas Con.

    (2011)
  • A. Perez-Fodich et al.

    Organic acids and high soil CO2 drive intense chemical weathering of Hawaiian basalts: insights from reactive transport models

    Geochem. Cosmochim. Acta

    (2019)
  • J.D. Rimstidt

    Rate equations for sodium catalyzed quartz dissolution

    Geochem. Cosmochim. Acta

    (2015)
  • J.D. Rimstidt et al.

    Rate equations for sodium catalyzed amorphous silica dissolution

    Geochem. Cosmochim. Acta

    (2016)
  • M. Roy et al.

    Reactive-transport modeling of iron diagenesis and associated organic carbon remineralization in a Florida (USA) subterranean estuary

    Earth Planet. Sci. Lett.

    (2011)
  • M.M. Smith et al.

    Chlorite dissolution kinetics at pH 3 – 10 and temperature to 275° C

    Chem. Geol.

    (2016)
  • M.M. Smith et al.

    Illite dissolution kinetics from 100 to 280 °C and pH 3 to 9

    Geochem. Cosmochim. Acta

    (2017)
  • N.F. Spycher et al.

    Fluid flow and reactive transport around potential nuclear waste emplacement tunnels at Yucca Mountain, Nevada

    J. Contam. Hydrol.

    (2003)
  • B.M. Tutolo et al.

    High performance reactive transport simulations examining the effects of thermal, hydraulic, and chemical (THC) gradients on fluid injectivity at carbonate CCUS reservoir scales

    Int. J. Greenh. Gas Con.

    (2015)
  • C. Wanner et al.

    Reactive transport modeling of the Dixie Valley geothermal area: insights on flow and geothermometry

    Geothermics

    (2014)
  • Cited by (26)

    • Fluoride enrichment mechanisms and related health risks of groundwater in the transition zone of geomorphic units, northern China

      2022, Environmental Research
      Citation Excerpt :

      dat database was chosen for the SI calculation of fluorite, gypsum, calcite, dolomite, and halite. Meanwhile, the newest BASIC scripts library of reaction rates for geochemical modeling, including the updated PHASES document and RATES blocks, was also used in this study (Zhang et al., 2019a). The negative value of SI represented that groundwater was under-saturated with respect to the mineral and vice versa.

    View all citing articles on Scopus
    1

    These authors contributed equally to this work.

    View full text