This repository provides a finite difference solver and resources for simulating the reactive fluid flow occuring during the alteration of serpentine in the deep Earth's crust.
python pip install requirements.txt
The equilibrium thermodynamic data was obtained with the helo of Thermolab
- The lookup tables are found in const.py
- The simulation is obtained by running solver.py. The simulation data is saved a .npz file in output. Note that the simulation parameters are found at the beggining of the file
Both the equilibrium thermodynamic plots and the animations of the reactive fluid flow are obtained by running plotting.py. The animations are saved as .png and .gif in figs
Fluid-rock interactions provide a link between chemical reactions and mass-energy transport. Understanting these proceses is critical for modeling hydrotermal ore deposit formations, carbon sequestration (carbon capture) and general rheological gravitational and magnetic changes in the litosphere. That being said, the timescales of these processes remain essentially unconstrained. However, analysing the alteration from serpentine to soapstone can expand our understanding, as it provides a good case study due to its clear reaction fronts and abundance of data. This alteration is governed by the
The main serpentine minerals are antigorite, chrysotile and lizardite, which are associated with ultramafic igneous rock formations. The petrological compositional space thus consists of

a) Serpentine to soapstone alteration front and b) schematic representation of the alteration process (taken from Beinlich et. al. 2020)
The 1D alteration of serpentine can be described with the following advection-diffusion-reaction equation
where
where
where
where
The thermodynamic equlibrium solid solution model was first assumed for 2 seperate Pressure and Temperature (PT) conditions, namely for low PT condiitons (0.3 GPa and 300°C, Beinlich et. al. 2020) and for high PT conditions (2.5 GPa and 800°C, Ota et. al. 2004). The two equilibrium thermodynamic models were then simulated in Thermolab assuming the following oxide weight fractions (Beinlich et. al. 2020):
The solid phases used in the model were Dolomite, Antigorite, Talc, Magnesite, Chlorite, Brucite, Orthopyroxene, Olivine, Quartz, Periclase, Corundum, Andalusite, Magnetite, Hematite, Lime and Calcite. The fluid phase used in the model was
The simulation domain of
- From the lookup table fetch
$C_s^{\text{CO}_2}$ - From the lookup table fetch
$\rho_s$ ,$\rho_f$ ,$\mu_f$ and$C_s^{\text{MgO}_2}$ . The latter represents the mass fraction of immobile solid species - Get the values of
$\rho_s$ ,$\rho_f$ ,$\mu_f$ and$C_s^{\text{MgO}_2}$ by preforming linear interpolation in respect to$C_s^{\text{CO}_2}$ - Preform calculations with the obtained values of
$\rho_s$ ,$\rho_f$ ,$\mu_f$ and$C_s^{\text{MgO}_2}$ - Update
$C_s^{\text{CO}_2}$ and$\mu_f$
As an example, the values obtained by the solver of the weight fractions
Thermobaric conditions appear to influence the type of alteration more strongly than the overall rate of alteration. The model predicts a reaction front propagation of approximately 100 cm per year, which is higher than the ~13 cm per year estimated by Beinlich et al. (2020), but still comparable to the rate of tectonic plate motion. This suggests that such alteration processes may occur on timescales relevant to geological processes in newly formed oceanic lithosphere. Consequently, carbon storage in serpentine could represent a feasible option from the perspective of time efficiency.
The comparison between the two thermobaric conditions is based solely on thermodynamic equilibrium rather than the kinetic model. At high pressure–temperature conditions, antigorite is not predicted to form, meaning that serpentine alteration is not represented. Additionally, the model assumes zero solid velocity, unrealistic porosity values, and a prescribed pressure gradient to satisfy numeric stability. Finally, the predicted
Beinlich, A., John, T., Vrijmoed, J. C., Tominaga, M., Magna, T., & Podladchikov, Y. Y. (2020). Instantaneous rock transformations in the deep crust driven by reactive fluid flow. Nature Geoscience, 13, 307–312. https://doi.org/10.1038/s41561-020-0554-9
Vrijmoed, J. C., & Podladchikov, Y. Y. (2022). Thermolab: A thermodynamics laboratory for nonlinear transport processes in open systems. Geochemistry, Geophysics, Geosystems, 23, e2021GC010303. https://doi.org/10.1029/2021GC010303
Ota, Tsutomu, Masaru Terabayashi, and Ikuo Katayama. 2004. "Thermobaric Structure and Metamorphic Evolution of the Iratsu Eclogite Body in the Sanbagawa Belt, Central Shikoku, Japan." Journal of Metamorphic Geology 22, no. 3 (2004): 95–126. https://www.sciencedirect.com/science/article/pii/S0024493704000027



