Simulating carbon mineralization at pore scale in capillary networks of digital rock

David A. Lazo Vasquez IBM Research, Rua Tutóia, 1157, São Paulo, SP, 04007-005, Brazil Jaione Tirapu Azpiroz BM Research, Av. República do Chile, 330, RJ, 20031-170, Rio de Janeiro, RJ, Brazil. jaionet@br.ibm.com Rodrigo Neumann Barros Ferreira BM Research, Av. República do Chile, 330, RJ, 20031-170, Rio de Janeiro, RJ, Brazil. Ronaldo Giro IBM Research, Rd J Fco Aguirre Proenca Km 9 Sp101, Hortolandia, Sao Paulo, 13186-900, SP, Brazil. Manuela Fernandes Blanco Rodriguez BM Research, Av. República do Chile, 330, RJ, 20031-170, Rio de Janeiro, RJ, Brazil. Matheus Esteves Ferreira BM Research, Av. República do Chile, 330, RJ, 20031-170, Rio de Janeiro, RJ, Brazil. Mathias B. Steiner BM Research, Av. República do Chile, 330, RJ, 20031-170, Rio de Janeiro, RJ, Brazil.
Abstract

Predicting the geometrical evolution of the pore space in geological formations due to fluid-solid interactions has applications in reservoir engineering, oil recovery, and geological storage of carbon dioxide. However, modeling frameworks that combine fluid flow with physical and chemical processes at a rock’s pore scale are scarce. Here, we report a method for modeling a rock’s pore space as a network of connected capillaries and to simulate the capillary diameter modifications caused by reactive flow processes. Specifically, we model mineral erosion, deposition, dissolution, and precipitation processes by solving the transport equations iteratively, computing diameter changes within each capillary of the network simultaneously. Our automated modeling framework enables simulations on digital rock samples as large as (1.125mm)3 with 125×106absentsuperscript106\times 10^{6}× 10 start_POSTSUPERSCRIPT 6 end_POSTSUPERSCRIPT voxels within seconds of CPU time per iteration. As an application of the computational method, we have simulated brine injection and calcium carbonate precipitation in sandstone. For quantitatively comparing simulation results obtained with models predicting either a constant or a flow-rate dependent precipitation, we track the time-dependent capillary diameter distribution as well as the permeability of the connected pore space. For validation and reuse, we have made the automated simulation workflow, the reactive flow model library, and the digital rock samples available in public repositories.

keywords:
Capillary Network Model, Reactive Flow, Mineral precipitation, Porous media, Transport-reaction phenomena

Introduction

Carbon dioxide (CO2) storage in porous sedimentary rocks is a promising technique to reduce the concentration of anthropogenic greenhouse gas emissions in the atmosphere [1]. Once injected into the pore space of the rock, CO2 can become permanently trapped following various trapping mechanisms [2]; among them, mineral trapping is a predominant process in basaltic and sedimentary formation [3, 4]. It occurs when dissolved CO2 reacts with brine or saltwater to form carbonic acid and, over time, this carbonic acid reacts with minerals present in the geological formation (e.g., magnesium and calcium silicate) leading to the precipitation of carbonates [5]. Tracking the impact that these pore-scale processes have in the rock properties requires computing the spatial-temporal evolution of the pore space geometry under the combined effect of the fluid flow and the underlying physical and chemical mechanisms (e.g., erosion, deposition, dissolution, precipitation, and swelling)[6, 7, 8, 9, 10, 11, 12].

Displacements of the fluid-solid interface depend on parameters like flow conditions, fluid phase properties, geometric characteristics of the spatial domains, and the effect of physical and chemical processes taking place within the pores. The product of these pore-scale processes is frequently predicted by transport-reaction numerical models that predict the changes in the porous space geometry under the simultaneous effect of flow speed, flow pressure, volume averaged saturation, and concentration[10, 8].

Direct numerical methods (e.g., volume-of-fluid [13] or Lattice-Boltzmann [12]) applied on high-resolution mesh-like representations of the pore space geometry are common in solving the combined set of equations describing the mass conservation of the primary species, Navier-Stokes description of the flow at pore-scale, and the model for the fluid-solid interface evolution.[13, 6, 7, 14, 12] The result are long simulation times and high computational cost due to the complex simulation domains and large number of variables involved, becoming impractical for large mesh sizes and when simulating multiple processes with different time scales. For example, according to Matias el al.[6], among the physical processes, the rate of erosion can be 7.5X faster than the rate of swelling. Similarly, according to Molins et al.[11], among the chemical processes, the geometrical changes due to mineral dissolution can be orders of magnitude slower than the geometrical evolution due to precipitation. Finally, the time scale associated with transport, measured as the distance traveled by a particle flowing in the fluid, is normally faster than that of the evolution of the fluid-solid interface, measured as the material added to or removed from the pore surface within the time of one iteration.[11, 15]

In this paper, we report a methodology for adapting existing phenomenological surface models of the geometry evolution in porous media to the capillary network (CN) representation of rock samples,[16] together with a collection of pore-scale process models and formulations relevant to spatial domains and flow conditions inherent in carbon storage processes. As illustrated in Fig. 1, we track the geometry evolution of the pore space modeled as a network of capillaries due to pore-scale processes (i.e., erosion, deposition, mineral dissolution, and mineral precipitation) by solving the transport-reaction equations iteratively. Depending on the fluid phasic properties, spatial domain characteristics, initial and boundary conditions, the Flow Simulator solves for the pressure and flow rate fields at each point in the network. The Fluid-Solid Process Simulator then computes the volume gained or lost within each capillary due to each pore-scale process under study, and the resulting change in diameter. Finally, the Network Geometry Modifier adjusts the CN representation of the sample accordingly in preparation for the next iteration. Our combined transport-reaction iterative methodology follows from the procedures in Matias et al.[6] and Molins et al.[11]. During each iteration, time-independent transport equations are solved for single-phase flow within the framework of the CN. After extracting flow properties within each capillary of the network, the influence over the spatial domain of pore-scale processes is estimated using phenomenological correlations frequently employed for particle dynamics expressions [17, 7, 6] and affinity models of surface-controlled crystallization[10, 11]. A collection of fluid-solid process models and parameters gathered from the literature, to calculate the changes in capillary diameter, is available in section Model Reaction Library of the Supplementary Information.

We have applied the methodology to simulate mineral precipitation of calcium carbonate in brine, evaluate its effect on the rock geometrical properties, track the clogging of inlet pores and estimate the volume precipitated and stored within the sample. We have analyzed the influence of using two different correlations and varying reaction parameters on a Sandstone rock sample as an approach to predicting optimum field conditions for carbon storage in reservoirs.

Methods

Flow simulations workflow

In our work, we use a capillary network, a sparse graph model, as a representation of the pore space of a rock sample[16]. Starting from a high-resolution three-dimensional digital image of a rock sample obtained through computerized x-ray micro-tomography, we model the rock pore space as a network of connected capillaries or short (one-voxel long) cylinders, and with spatially varying diameter to match the local geometry. Applied to the entire sample, this Capillary Network Model provides an accurate representation of the rock porous geometry as seen in Fig. 1 displaying the CNM representation of a small Berea Sandstone sample with 1,000,000 (1003) voxels, each representing a physical region of (2.25 µm)3, converted to a network of roughly 2,000 capillaries displayed employing a color-coded diameter scale.

Refer to caption
Figure 1: Methodology for predicting, within a capillary network representation framework, the spatio-temporal geometry evolution of the porous structure due to fluid-solid interactions by estimating changes in the capillary diameter through an iterative computation.

Capillary network representations allow performing both single and two-phase fluid flow simulations with lower computational demands than their mesh- or lattice-based counterparts. Flow simulations assume laminar flow within each capillary to relate flow and pressure, followed by conservation of mass at each network node, to build a large system of coupled equations in sparse matrix form [16, 18]. The solution of this system of equations allows determining flow properties like pressure at each node in the capillary network, or flow rate within each capillary, with a high level of geometrical accuracy. Bulk flow properties like permeability are then determined from those fields and can be directly compared to experimentally measured values to benchmark the accuracy of the simulator [16, 19]. In particular, we ran simulations on samples as large as (1.125mm)3, digitized with 125,000,000 voxels (500 voxels per side of the cube) before converting into a capillary network with 330,000 capillaries, in seconds per iteration on a 4-thread CPU, requiring between 6 hours to 2 days to reach convergence, depending on the parameters of the reaction model. This is significantly faster than equivalently sized simulations using mesh-based simulations like OpenFOAM with 2,300,000 cells requiring the equivalent of 31 CPU-days[13].

Pore-scale process models

The impact of pore-scale processes like erosion, deposition, dissolution, or precipitation within the rock pore space can be described in terms of changes to the diameter of the cylindrical capillaries. This method is frequently applied in areas like soil modeling[20] or channelization in porous media simulations[6, 7]. As illustrated in Fig. 2a, for each pore-scale process, the associated accumulation or removal of material from the surface modifies the diameter of the cylinders by an amount that may depend on the local fluid phase properties, flow and rock surface conditions, reaction parameters and the pore geometry[21, 13, 6]. We use phenomenological models from the literature, anchored in physical and chemical studies. Erosion and deposition are described using particle dynamics expressions[22, 7, 23, 24, 6]. The rates and thresholds corresponding to physical processes involving calcium carbonate and brine are defined by the Erosion and Deposition Law in Matias et al.[6], Jager et al.[7], and Bonelli et al.[17]. Mineral dissolution and precipitation rates of calcium carbonate in brine are calculated with phenomenological correlations based on affinity models of surface-controlled crystallization. Dissolution rates are defined by the correlation of Molins et al.[11]. Precipitation rates are defined by the correlations of Lasaga et al.[25] and Noiriel et al.[10]. In this work we describe mineral precipitation in porous media as a deterministic process, applying reaction rates uniformly to all sites in the network without considering possible nucleation patterns arising from the probabilistic nature of the process[12].

Several diameter-scaling models and formulations for various pore-scale phenomena as collected from the literature are included in the Supplementary Information and Code Availability sections.

Fluid-solid interface dynamics

Following the workflow in Fig. 1, the flow simulator takes as input the capillary network model of the rock sample, fluid properties (i.e. viscosity, density) and simulation conditions (i.e. absolute pressure, temperature, and driving pressure gradient across the sample) and returns the pressure and flow rate fields at each node in the network under the assumptions of single-phase, time-independent flow. Turning to Figure 2a, these fields, together with the current CN model geometry, flow conditions and process properties, are transferred to the Fluid-solid Process Simulator. This step tracks the evolution of the fluid-solid interface geometry within the capillary network at each simulation iteration, computing the joined effect of the fluid flow and the pore-scale processes on the surface of the rock.

Each capillary within the network is defined as a hollow cylinder of length L𝐿Litalic_L, diameter D𝐷Ditalic_D, and inclination α𝛼\alphaitalic_α with respect to the horizontal, as illustrated in Fig. 2b. The simulations neglect spatial heterogeneity at scales smaller than the size of the original digital rock discretization grid[26]. The reaction area per capillary is thus assumed to be uniform, i.e., crystallization and material accumulation (or removal) is uniformly distributed along the length and perimeter of each capillary, and the change in capillary diameter is computed as the average effect of the processes acting at each temporal iteration. The interconnected nature of a capillary network in a confined space supports the use of bulk rather than surface-based properties and rates as inputs. The time step is selected based on the minimum interval in which any reaction produces a noticeable change in diameter relative to the original discretization grid.[26] Considering the size of the rock samples under study (1.25mmsimilar-toabsent1.25𝑚𝑚\sim 1.25mm∼ 1.25 italic_m italic_m side length), and time-independent flow, it is reasonable to assume uniform distribution of mineral concentration (i.e., no concentration gradients or gradients in reaction rates within the network) and constant mineral reaction rates within each capillary during each iteration that only change from one capillary to the next.[7] The liquid phase is assumed incompressible, the pressure drop constant and the porous medium consolidated and incompressible [7]. Other processes, such as fluidization [27] and channelization [7, 28, 29] are not taken into account.

The Network Geometry Modifier adjusts the diameter of each capillary in the network according to the displacement computed in the previous step, generating a new CNM to be used as geometrical input for the next iteration. The system iterates this simulation workflow until either reaching a pre-determined number of iterations, or all capillary diameters reach minimum or maximum pre-determined values. For mineral precipitation and solid particle deposition simulations, the minimum capillary diameter is half a voxel. For mineral dissolution and solid particle erosion, simulations stop when the void space reaches the rock sample size.

Refer to caption
Figure 2: a) Summary of inputs and outputs of the reaction model used in the fluid-solid process simulator module. b) Capillary representation in space with diameter and length D𝐷Ditalic_D and length L𝐿Litalic_L, respectively, and inclination α𝛼\alphaitalic_α. c) Capillary diameter evolution due to pore-scale processes during N𝑁Nitalic_N simulation time steps causes an increase or decrease in the diameter depending on the process in effect.

Pore-scale processes thresholds

Some of the processes considered in the simulations may display an onset threshold, a short delay before showing noticeable spatial impact. These minimum reaction times are based on empirically observed thresholds and influence the temporal lapse as well as the processes considered when computing the capillary diameter adjustment per iteration. The thresholds for the onset of the chemical processes are based on affinity models of surface-controlled crystallization following the procedure of Molins, S. et al. [11] and Noiriel, C., et al.[10], in which, after a short delay, the average reaction rate increases sharply with time, leading to significant morphology changes. For example, dissolution processes may require an interval of 2 seconds [11] to initiate, while precipitation may require up to 1,200 seconds [10]. In physical processes, the thresholds are defined by the calculation of an erosion or deposition timescale, based on particle dynamics expressions (i.e., the Erosion and Deposition Law in Jager R. et al.[7]). The iteration time step is chosen as the minimum interval necessary to produce noticeable changes among the various processes being simulated.

Multiple pore-scale processes

Each capillary within the network can suffer various geometry-altering processes simultaneously[6, 10] and the effect of each contributing process may depend, in addition to the process governing rates, on factors like the local geometry and flow conditions (e.g. pressure or flow rate can influence the onset and rate of erosion). Under the assumption of a sharp and impermeable reactive area equal to the physical fluid-solid interfacial surface[8], we can also assume a constant reaction rates during each time step[21]. Further assuming that geometrical changes to the pore space have a negligible effect on the flow and transport solutions during each iteration, we can compute the changes to the geometry due to each process separately. The diameter of each capillary in the network is thus computed as the average variation due to each contributing process as follows:

𝐃(tN)=𝐃(tN1)+θΔ𝐃θ(tN)𝐃subscript𝑡𝑁𝐃subscript𝑡𝑁1subscript𝜃Δsubscript𝐃𝜃subscript𝑡𝑁\hskip 142.26378pt\mathbf{D}\left(t_{N}\right)=\mathbf{D}\left(t_{N-1}\right)+% \sum_{\theta}\Delta\mathbf{D}_{\theta}\left(t_{N}\right)bold_D ( italic_t start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) = bold_D ( italic_t start_POSTSUBSCRIPT italic_N - 1 end_POSTSUBSCRIPT ) + ∑ start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT roman_Δ bold_D start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT ( italic_t start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) (1)

where 𝐃(tN)𝐃subscript𝑡𝑁\mathbf{D}\left(t_{N}\right)bold_D ( italic_t start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) represents the vector containing the M𝑀Mitalic_M number of capillary diameters at time step N, Δ𝐃θΔsubscript𝐃𝜃\Delta\mathbf{D}_{\theta}roman_Δ bold_D start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT is the diameter variation vector due to the effect of pore-scale process θ{erosion, deposition, dissolution, precipitation}𝜃erosion, deposition, dissolution, precipitation\theta\in\left\{\textup{erosion, deposition, dissolution, precipitation}\right\}italic_θ ∈ { erosion, deposition, dissolution, precipitation }. Solid particle erosion and mineral dissolution produce positive feedback on the local geometry variation, increasing the diameter of the capillary (𝐃(tN)>𝐃(tN1)𝐃subscript𝑡𝑁𝐃subscript𝑡𝑁1\mathbf{D}\left(t_{N}\right)>\mathbf{D}\left(t_{N-1}\right)bold_D ( italic_t start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) > bold_D ( italic_t start_POSTSUBSCRIPT italic_N - 1 end_POSTSUBSCRIPT ) or Δ𝐃er,dis>0Δsubscript𝐃𝑒𝑟𝑑𝑖𝑠0\Delta\mathbf{D}_{er,dis}>0roman_Δ bold_D start_POSTSUBSCRIPT italic_e italic_r , italic_d italic_i italic_s end_POSTSUBSCRIPT > 0), while solid particle deposition and mineral precipitation generate negative feedback, reducing the diameter with each iteration (𝐃(tN)<𝐃(tN1)𝐃subscript𝑡𝑁𝐃subscript𝑡𝑁1\mathbf{D}\left(t_{N}\right)<\mathbf{D}\left(t_{N-1}\right)bold_D ( italic_t start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) < bold_D ( italic_t start_POSTSUBSCRIPT italic_N - 1 end_POSTSUBSCRIPT ) or Δ𝐃dep,ppt<0Δsubscript𝐃𝑑𝑒𝑝𝑝𝑝𝑡0\Delta\mathbf{D}_{dep,ppt}<0roman_Δ bold_D start_POSTSUBSCRIPT italic_d italic_e italic_p , italic_p italic_p italic_t end_POSTSUBSCRIPT < 0). A graphical depiction of the diameter adjustment per process type is displayed in Fig. 2c. As a result, the final diameter variation of each capillary within the network may be positive or negative depending on the balance between all contributing pore-scale processes, leading to a local dependency on the geometry and flow evolution.

One challenge when simulating simultaneous reactions arises from the disparate spatial and temporal scales associated with them, often orders of magnitude apart.[10]. To account for any temporal disparity, the iteration time step is selected in which at least one of the processes being simulated produces a change in diameter larger than the discretization grid of the original digital rock image.[26] To improve computation efficiency, after each iteration, only those processes producing change in the diameter larger than the grid resolution are considered when adjusting the diameter. Moreover, the simulator modifies the geometry of only those capillaries with adjustments larger than a voxel size, otherwise the diameter remains constant during the iteration. Some processes may require multiple iteration before amounting enough change to be included in the computation.

Results

We have applied the methodology of Fig. 1 to simulate the effect of precipitation to the porous geometry of a Berea Sandstone rock sample[30]. Using as an example the precipitation kinetics of calcium carbonate, the main component in limestone, a promising rock candidate for CO2 sequestration[31], we assumed the rock geometry to represent a calcium carbonate matrix injected with brine. We further assumed single-phase fluid and constant calcium concentration within the the time interval of one iteration, even if the outlet solution concentrations tend to present a slight decrease with time [10]. We compared the effect of applying two different models of precipitation with varying precipitation rates on various metrics relevant to of mineral storage.

Effect of precipitation on capillary network properties

Fig. 3a illustrates an example of the evolution of the distribution of pore diameters as a result of precipitation on a portion of the rock sample with (250 voxels)3 , dimensions of (562.5μ𝜇\muitalic_μ m)3, about 28% porosity, modeled by a capillary network of 41720 capillaries. The simulations used a uniform precipitation model as discussed in sub-section Clogging prediction of the Supplementary Information in relation to Eq. (S.9), in which material accumulation is assumed equally distributed across capillaries. The precipitation rate and other simulation parameters collected in Table LABEL:tab:sample are based on correlations to experimental data of calcium carbonate precipitation in brine[25, 10, 32]. The plot in Fig. 3a represents the distribution of capillary diameters at the beginning of the simulations (T0subscript𝑇0T_{0}italic_T start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT) and after the Nthsuperscript𝑁𝑡N^{th}italic_N start_POSTSUPERSCRIPT italic_t italic_h end_POSTSUPERSCRIPT iteration (TNsubscript𝑇𝑁T_{N}italic_T start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT). The insets in the plot display the resulting CNM of the pore space geometry as the distribution of capillary diameter shifts towards smaller values and the pore space shrinks after a few iterations.

Refer to caption
Figure 3: a) Evolution of the distribution of capillary diameters on the CNM of the (250 voxels)3 portion of the rock sample as a result of precipitation. b) Comparison of accumulated precipitated volume at the onset of clogging for two values of precipitation rates, one at the nominal precipitation rate of calcium carbonate in brine and one at a 25-times higher rate. c) Evolution of rock sample porosity as precipitation reduces the pore diameter across the sample at a rate equal to 25 times (25X𝑋Xitalic_X) and 0.25 times (0.25X𝑋Xitalic_X) that of the nominal rate 1X𝑋Xitalic_X of calcium carbonate in brine.

As the capillary diameters gradually decrease as a result of precipitated carbonate, the pores become clogged and can no longer sustain flow, thus rapidly reducing the porosity and permeability of the rock sample. The proportion of clogged pores in the rock sample after several iterations is directly related to the precipitation rate, resulting in larger volumes for higher rates. Fig. 3b displays a comparison of accumulated precipitated carbonate volume at the onset of clogging for two values of precipitation rates, one using the nominal precipitation rate of calcium carbonate in brine as in Table LABEL:tab:sample, and one using a rate 25 times higher, clearly showing a larger accumulated volume and thus higher probability of clogging for the 25X𝑋Xitalic_X rate example.

Another consequence of precipitated volume accumulation is the reduction in porosity of the sample, as pores shrink and even become clogged. Fig. 3c plots the evolution of rock sample porosity as precipitation reduces the pore diameter across the sample at a rate equal to 25 times (25X𝑋Xitalic_X) and 0.25 times (0.25X𝑋Xitalic_X) that of the nominal rate 1X𝑋Xitalic_X of calcium carbonate in brine. The simulations stop in two scenarios: when the capillaries in contact with the inlet face are fully clogged, or when the geometry changes stop being sufficiently significant.

Comparing precipitation model outcomes

In the following, we performed simulations on a (1125μm)3superscript1125𝜇𝑚3(1125\mu m)^{3}( 1125 italic_μ italic_m ) start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT portion of the rock sample of size (500 voxels)3 at a resolution of (2.25 µm)3 per voxel. The geometrical framework consisted of a capillary network of roughly 330×103absentsuperscript103\times 10^{3}× 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT capillaries and 227×103absentsuperscript103\times 10^{3}× 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT nodes, and an initial porosity ϕ0subscriptitalic-ϕ0\phi_{0}italic_ϕ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT of 32%percent\%%. We studied the effect of applying two different precipitation models. The first uniform model of the previous section, which considered a constant rate of material accumulation uniformly within all capillaries, using as input the set of experimentally validated surface mineralization parameters from Noiriel, C. et al.[10] and Tang et al.[32]. The second variable model, which estimated material accumulation considering a precipitation rate that accounts for the influence of the capillary flow rate. The correlation used for computing precipitation rates (see Eq. 3 in Noiriel et al.[10]) is a function of three local variables: volumetric flow rate, total surface area, and the difference between the concentration of calcium determined in the effluent Caout𝐶subscript𝑎outCa_{\textup{out}}italic_C italic_a start_POSTSUBSCRIPT out end_POSTSUBSCRIPT, and the well-mixed stock solution Cain𝐶subscript𝑎inCa_{\textup{in}}italic_C italic_a start_POSTSUBSCRIPT in end_POSTSUBSCRIPT. The reaction time shown in Table LABEL:tab:sample represents the minimum time interval necessary for noticeable impact to the spatial domain. It was computed prior to the simulations and used as the time interval per iteration. Other simulation parameters related to rock geometry, flow simulation (i.e., the pressure gradient across the sample inlet and outlet interfaces driving the flow or the time step considered per iteration), and reaction parameters are detailed in Table LABEL:tab:sample.

We studied the impact of varying precipitation rates on four sets of parameters relevant to the geological sequestration of CO2[18, 10]. The precipitated volume evolution and precipitation volume per iteration allow to make estimates of the geometry evolution, and storage capacity. The number of clogged capillaries and the time to reach a minimum porosity value give an indication of the ability to effectively permeate the rock pore space and permanently store CO2. The two models for simulating mineral precipitation and consequent clogging are detailed in the Reaction Model Library section of the Supplementary Information.

Table 1: Flow, geometry, and pore-scale process parameters for simulating mineral precipitation of calcium carbonate in a 5003 voxel size rock sample for the reference simulations.
Parameter Symbol Value Units
Fluid flow [18, 33] Driving force F𝐹Fitalic_F 10132.5 N
Pressure gradient ΔPΔ𝑃\Delta Proman_Δ italic_P 101325 Pa
Rock sample [18, 33] Side length Lrsubscript𝐿𝑟L_{r}italic_L start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT 1.125 mm
Number of capillaries N 330058 -
Voxel size voxel𝑣𝑜𝑥𝑒𝑙voxelitalic_v italic_o italic_x italic_e italic_l 2.25×106absentsuperscript106\times 10^{-6}× 10 start_POSTSUPERSCRIPT - 6 end_POSTSUPERSCRIPT m
Capillary network [18, 33] Initial porosity ϕitalic-ϕ\phiitalic_ϕ 0.32 -
Minimum capillary diameter Rminsubscript𝑅minR_{\textup{min}}italic_R start_POSTSUBSCRIPT min end_POSTSUBSCRIPT 0.5 voxel
Mineral precipitation [10, 32] Precipitation rate constant κpptsubscript𝜅ppt\kappa_{\textup{ppt}}italic_κ start_POSTSUBSCRIPT ppt end_POSTSUBSCRIPT 4.68×107absentsuperscript107\times 10^{-7}× 10 start_POSTSUPERSCRIPT - 7 end_POSTSUPERSCRIPT mol m-2 s-1
Reaction time tpptsubscript𝑡𝑝𝑝𝑡t_{ppt}italic_t start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT 1200 s
Saturation index ΩΩ\Omegaroman_Ω -0.198 -
Calcium concentration variation ΔΔ\Deltaroman_Δ Ca 1.336 mmol\cdotl-1
m Coefficient m 1.00 -
n Coefficient n 1.00 -
Precipitation rate rpptsubscript𝑟𝑝𝑝𝑡r_{ppt}italic_r start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT 5.607×107absentsuperscript107\times 10^{-7}× 10 start_POSTSUPERSCRIPT - 7 end_POSTSUPERSCRIPT mol m-2 m -1
Phasic properties Liquid density ρlsubscript𝜌𝑙\rho_{l}italic_ρ start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT 1100 kg m -3
Liquid dynamic viscosity μlsubscript𝜇𝑙\mu_{l}italic_μ start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT 1.002e-3 Pa s
Solid density ρssubscript𝜌𝑠\rho_{s}italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT 2710 kg m -3
Solid molar mass Mssubscript𝑀𝑠M_{s}italic_M start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT 0.1 kg mol-1
Liquid temperature T𝑇Titalic_T 300 K

We compared the results of simulating precipitation inside the pore space of the rock sample with both models. We computed the volume of accumulated material stored in each capillary in the network after each iteration N𝑁Nitalic_N from the difference in the volume of a cylinder of diameter DN minus the volume of a cylinder with diameter DN-1. Adding the increments from all capillaries provides the incremental precipitated volume per iteration, and adding all increments for all iterations gives the total accumulated volume stored. Fig 4a displays the total precipitation volume as a function of time stored in pore volume (PV) computed using uniform precipitation model of Eq. (S.9), while Fig 4b displays the results using the variable flow-rate dependent model of Eq. (S.10). It is observed that the time scale of the two models differ by about a couple of orders of magnitude when applying the same precipitation rate to the formulations, resulting in faster initial precipitation and process saturation as seen in Fig. 4b and an overall smaller volume of precipitation with the variable model. Fig 4c and 4d plot the incremental precipitated volume per iteration with the uniform and variable models, respectively.

We analyzed the effect of the precipitation rate on mineral trapping by studying three scenarios. A reference case, denoted as 1.0X, with rate rpptsubscript𝑟𝑝𝑝𝑡r_{ppt}italic_r start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT based on precipitation of calcium carbonate in brine (see Table LABEL:tab:sample), a regime of five and ten times higher rates denoted as 5.0X and 10.0X, and a regime of lower rates with values 50%percent\%%, 10%percent\%%, 5%percent\%% and 1%percent\%% of the nominal precipitation rate, denoted as 0.5X, 0.1X, 0.05X and 0.01X in Fig 4, respectively. As the precipitation rates increase, the time for reaching a accumulation plateau in Fig 4a and 4b, and consequently converge to a porosity value, decreases as well. Fig 4e and 4f display the percentage of clogged capillaries at the inlet due to mineral precipitation as predicted by both models for the varying rates of precipitation. As expected, the higher the mineral precipitation rates, the faster clogging of the capillaries occurs. As the capillary diameters decrease with time, in order to maintain numerical integrity of the capillary network, once a capillary reaches a minimum diameter of half a voxel size it is considered clogged. This allows running the Flow Simulator in the new geometry and still calculate flow rate, speed, and pressure distribution within the entire network needed for executing the Fluid-solid process simulator. Finally, Fig 4g and 4h display the evolution of the sample’s porosity as the precipitation volume increases and the pore diameters decrease for the varying rates of precipitation according to the uniform model and the variable model, respectively.

Refer to caption
Figure 4: Simulation results comparing uniform model in Eq. (S.9) vs the flow-dependent variable model Eq. (S.10). a) Total precipitation volume stored in pore volume (PV) as a function of time computed using uniform precipitation model and b) using the variable model. c) Accumulated precipitation volume at each time step using uniform precipitation model and d) using the variable model. e) Proportion of clogged inlet capillaries as a function of time computed using uniform precipitation model and f) using the variable model. g) Sample porosity evolution as a result of precipitation as computed with the uniform model and h) with the variable model.

Discussion

Together with the range of precipitation rates obtained by scaling the nominal 1.0×rpptabsentsubscript𝑟𝑝𝑝𝑡\times r_{ppt}× italic_r start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT (1X) from Table LABEL:tab:sample, we overlaid the results of applying a few representative surface precipitation rates from the literature (see Table LABEL:tab:literature_rates). The precipitation rates in Table LABEL:tab:literature_rates [32] were calculated from Eq. (17) in Noiriel et al.[10], based on parameters from Tang et al.[32], obtained through affinity models of surface-controlled crystallization, assuming that the bulk solution is immediately adjacent to the calcium carbonate surface. Cases labeled as A, B, C and D in Fig 4 cover the range of rates observed in their work.

Substantial differences are observed between the uniform and variable models of precipitation (i.e. left and right plots in Fig. 4, respectively). According to the results displayed in Fig. 4a for accumulated precipitation using the uniform model, it is possible to fill the entire pore space of the rock with precipitated mineral, reaching complete saturation faster for higher rates. The accumulated precipitation results using the variable model, on the other hand, predict a maximum precipitation volume of the order of 10% of the pore space regardless of rate value as seen in Fig. 4b. Fig. 4c and 4d display the precipitation added in each iteration according to both models, showing a fast accumulation within the first simulation iterations, followed by gradually smaller increments. The flow-rate dependent variable model in Fig.4d seems to produce a faster decrease in added precipitated volume per time step after the first initial iterations as compared to the results obtained using the uniform model of Fig. 4c, where the decrease seems influenced only by the available space.

Turning to the results for the accumulated precipitation in Fig 4b and 4d, or the proportion of clogged capillaries in Fig. 4f, computed applying the parameters of cases A, B, C and D in Table LABEL:tab:literature_rates to the variable model, they do not appear to follow the linear trend of larger precipitation accumulation for higher rates observed with the uniform model in Fig 4a, 4c and 4e. This behavior is explained by considering that the simulations using a rate directly scaled from the nominal 1.0X, also assume constant calcium variation within the sample, while examples A, B, C and D, employ concentrations measured in the reported experiments [32, 10], the concentration applied to the rest of the simulations is directly scaled from the 1.0X nominal example, leading to the different trends in Fig 4b, 4d and 4f.

Table 2: Examples of calcite precipitation parameters at 25 adapted for surface from Tang et al.[32] recalculated with Eq. (17) in Noiriel et al. [10] as a function of saturation state
Id. logΩΩ\log\Omegaroman_log roman_Ω r˙pptsubscript˙𝑟𝑝𝑝𝑡\dot{r}_{ppt}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT (molm2s1)molsuperscriptm2superscripts1\left(\textup{mol}\;\textup{m}^{-2}\textup{s}^{-1}\right)( mol m start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ) Caoutout{}_{\textup{out}}start_FLOATSUBSCRIPT out end_FLOATSUBSCRIPT - Cainin{}_{\textup{in}}start_FLOATSUBSCRIPT in end_FLOATSUBSCRIPT (mmoll1)mmolsuperscriptl1\left(\textup{mmol}\;\textup{l}^{-1}\right)( mmol l start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ) Label
Tang-13 1.108 3.771×1063.771E-63.771\text{\times}{10}^{-6}start_ARG 3.771 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 6 end_ARG end_ARG 0.73 B
Tang-14 0.931 8.868×1078.868E-78.868\text{\times}{10}^{-7}start_ARG 8.868 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 7 end_ARG end_ARG 1.16 C
Tang-15 0.660 8.171×1088.171E-88.171\text{\times}{10}^{-8}start_ARG 8.171 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 8 end_ARG end_ARG 0.99 D
Tang-21 1.233 1.010×1051.010E-51.010\text{\times}{10}^{-5}start_ARG 1.010 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 5 end_ARG end_ARG 0.38 A

To understand the validity of the simulation method and the precipitation models, we compare the results in Fig 4 with those from the stirred reactor experiments in Noiriel et al. [10]. While the work in Noiriel et al. is not directly comparable, it provides experimental evidence for precipitated carbonate volume within the confined spaces of a synthetic porous structure at the microscopic scale, and a rough estimate for the expected precipitation volume range computed by the models considered in this study. The precipitation parameters of the study include an initial specific surface area of 0.012m2 g1superscript𝑔1g^{-1}italic_g start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT and a 1 g initial mass of calcite spar as seed crystals. The experiments were carried out in 70 mL reactors at a total flow rate of 0.5 ml h-1 flowing within spaces of the order of 100μm𝜇𝑚\mu mitalic_μ italic_m, with separate streams of NaHCO3 and CaCl2 stock solutions mixed directly in the reactor through two separate injection ports. In our work, we assumed a calcium carbonate matrix injected with brine and we simulated the flow within the pore geometry extracted from a Berea Sandstone rock sample of size (562.5μm)3superscript562.5𝜇𝑚3(562.5\mu m)^{3}( 562.5 italic_μ italic_m ) start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT with pore diameters distributed between 20μm𝜇𝑚\mu mitalic_μ italic_m and 60μm𝜇𝑚\mu mitalic_μ italic_m, a maximum capillary flow-rate of 0.0882 nL s-1 (0.00032 ml h-1), and an initial surface reaction area of 6.93×105m26.93superscript105superscript𝑚26.93\times 10^{-5}m^{2}6.93 × 10 start_POSTSUPERSCRIPT - 5 end_POSTSUPERSCRIPT italic_m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. According to the experimentally measured precipitation distribution along the length of the reactor in Noiriel et al. [10], a mean accumulated volume around 2% or 3% could be expected, closer to the estimates of the variable precipitation model, suggesting the need to considers local phenomena (i.e., concentration distribution, capillary flow rate) to improve the accuracy of the computations.

The discrepancies between the two model types can be attributed to two main reasons: (i) the uniform model does not consider the effect of the capillary flow rate on the precipitation rate, which is assumed to be a constant, leading to a uniform material accumulation within the network. (ii) The variable model reveals the impact of considering changes in the distribution of flow rate and other parameters within the network as capillaries start to clog after the initial conditions. (iii) The variable model also allows adjusting the calcium concentration gradient ΔCaΔ𝐶𝑎\Delta Caroman_Δ italic_C italic_a applied on the capillaries with data from experiments or the literature, with noticeable influence as observed in the results of Fig. 4f, even when assuming a constant concentration across the sample.

As seen in Fig 4e and 4f, the speed at which the inlet capillaries clog increases as the mineral precipitation rates increase, presumably blocking further injection of carbon dioxide rich brine and, consequently, hindering further mineral storage. Given that the spatial domains represent large and complex geometries for reservoir engineering, oil recovery, and carbon dioxide geological sequestration, the ideal mineral precipitation and storage process should develop uniformly and smoothly, occupying all the available pore space. The prediction of the onset of each pore-scale process, i.e., specifically the capillaries where a reaction such as precipitation or erosion can produce significant geometrical changes within an specific time interval, reveals the importance of studying the simultaneous effect of the fluid flow, physical or chemical reaction, and geometry on every capillary within the network. Even though every capillary is linked, the complex underlying phenomena are influenced by the local geometry of the rock sample under study. When simulating a specific process, the capillaries under its effects may evolve differently and under vastly different time scales. When considering the use of catalyst to enhance precipitation, careful consideration should be taken to the rate in order to optimize permeation of the pore space and thus the total volume stored. Transport-reaction simulations like those presented here that allow studying the effect of the injection conditions and reaction parameters on relevant sample sizes may be valuable in selecting the optimum rates.

Conclusions

We have developed an iterative methodology to simulate transport-reaction processes within capillary network representation of porous media and have investigated the effect of varying parameters (e.g., fluid flow conditions, phasic properties, and rock sample geometry) on the onset of physical and chemical pore-scale processes, and the consequent spatio-temporal evolution in relevant rock sample sizes. The fluid-solid interface evolution due to pore-scale interactions is modeled by estimating changes in the capillary diameter through an iterative computation in time. We have collected expressions from the literature to predict the rates, time scales and impact on the capillary network of several pore-scale processes.

We studied the effect of precipitation on the geometry evolution and various rock properties like precipitation volume or onset of clogging, assuming a calcium carbonate matrix injected with brine with the geometry extracted from a Berea sandstone rock. The results indicated that more accurate predictions are possible when accounting for the influence of the local flow and geometry conditions on the material accumulation estimates.

References

  • [1] Ali, M. et al. Recent advances in carbon dioxide geological storage, experimental procedures, influencing parameters, and future outlook. \JournalTitleEarth-Science Reviews 225, 103895, DOI: https://doi.org/10.1016/j.earscirev.2021.103895 (2022).
  • [2] Rabiu, K. O., Han, L. & Bhusan Das, D. Co2 trapping in the context of geological carbon sequestration. In Abraham, M. A. (ed.) Encyclopedia of Sustainable Technologies, 461–475, DOI: https://doi.org/10.1016/B978-0-12-409548-9.10124-1 (Elsevier, Oxford, 2017).
  • [3] Agartan, E. et al. Experimental study on effects of geologic heterogeneity in enhancing dissolution trapping of supercritical co2. \JournalTitleWater Resources Research 51, 1635–1648, DOI: https://doi.org/10.1002/2014WR015778 (2015).
  • [4] Al-Khdheeawi, E. A., Vialle, S., Barifcani, A., Sarmadivaleh, M. & Iglauer, S. Influence of injection well configuration and rock wettability on co2 plume behaviour and co2 trapping capacity in heterogeneous reservoirs. \JournalTitleJournal of Natural Gas Science and Engineering 43, 190–206, DOI: https://doi.org/10.1016/j.jngse.2017.03.016 (2017).
  • [5] Wang, Z. Effects of impurities on CO2 geological storage. Ph.D. thesis, Université d’Ottawa/University of Ottawa (2015). DOI: https://doi.org/10.20381/ruor-2758.
  • [6] Matias, A. F., Coelho, R. C., Andrade Jr, J. S. & Araújo, N. A. Flow through time–evolving porous media: Swelling and erosion. \JournalTitleJournal of Computational Science 53, 101360, DOI: https://doi.org/10.1016/j.jocs.2021.101360 (2021).
  • [7] Jäger, R., Mendoza, M. & Herrmann, H. J. Channelization in porous media driven by erosion and deposition. \JournalTitlePhysical Review E 95, 013110, DOI: https://doi.org/10.1103/PhysRevE.95.013110 (2017).
  • [8] Molins, S., Trebotich, D., Steefel, C. I. & Shen, C. An investigation of the effect of pore scale flow on average geochemical reaction rates using direct numerical simulation. \JournalTitleWater Resources Research 48, DOI: https://doi.org/10.1029/2011WR011404 (2012).
  • [9] Molins, S. et al. Pore-scale controls on calcite dissolution rates from flow-through laboratory and numerical experiments. \JournalTitleEnvironmental science and technology 48, 7453–7460, DOI: https://doi.org/10.1021/es5013438 (2014).
  • [10] Noiriel, C., Steefel, C. I., Yang, L. & Ajo-Franklin, J. Upscaling calcium carbonate precipitation rates from pore to continuum scale. \JournalTitleChemical Geology 318, 60–74, DOI: https://doi.org/10.1016/j.chemgeo.2012.05.014 (2012).
  • [11] Molins, S. et al. Simulation of mineral dissolution at the pore scale with evolving fluid-solid interfaces: Review of approaches and benchmark problem set. \JournalTitleComputational Geosciences 25, 1285–1318, DOI: https://doi.org/10.1007/s10596-019-09903-x (2021).
  • [12] Nooraiepour, M., Masoudi, M. & Hellevang, H. Probabilistic nucleation governs time, amount, and location of mineral precipitation and geometry evolution in the porous medium. \JournalTitleScientific Reports 11, 16397, DOI: https://doi.org/10.1038/s41598-021-95237-7 (2021).
  • [13] Maes, J. & Menke, H. P. Geochemfoam: Direct modelling of multiphase reactive transport in real pore geometries with equilibrium reactions. \JournalTitleTransport in Porous Media 139, 271–299, DOI: https://doi.org/10.1007/s11242-021-01661-8 (2021).
  • [14] Molins, S. Reactive interfaces in direct numerical simulation of pore-scale processes. \JournalTitleReviews in Mineralogy and Geochemistry 80, 461–481, DOI: https://doi.org/10.2138/rmg.2015.80.14 (2015).
  • [15] Lichtner, P. C. The quasi-stationary state approximation to coupled mass transport and fluid-rock interaction in a porous medium. \JournalTitleGeochimica et Cosmochimica Acta 52, 143–165, DOI: https://doi.org/10.1016/0016-7037(88)90063-4 (1988).
  • [16] Neumann, R. F. et al. High accuracy capillary network representation in digital rock reveals permeability scaling functions. \JournalTitleScientific Reports 11, 11370, DOI: https://doi.org/10.1038/s41598-021-90090-0 (2021).
  • [17] Bonelli, S., Brivois, O., Borghi, R. & Benahmed, N. On the modelling of piping erosion. \JournalTitleComptes Rendus Mecanique 334, 555–559, DOI: https://doi.org/10.1016/j.crme.2006.07.003 (2006).
  • [18] Tirapu-Azpiroz, J. et al. Cloud-based pore-scale simulator for studying carbon dioxide flow in digital rocks. In Proceedings of the 16th Greenhouse Gas Control Technologies Conference (GHGT-16) 23-24 Oct 2022, DOI: https://doi.org/10.2139/ssrn.4276744 (2022).
  • [19] Esteves Ferreira, M. et al. Full scale, microscopically resolved tomographies of sandstone and carbonate rocks augmented by experimental porosity and permeability values. \JournalTitleScientific Data 10, DOI: https://doi.org/10.1038/s41597-023-02259-z (2023).
  • [20] Kirk, G. J., Versteegen, A., Ritz, K. & Milodowski, A. A simple reactive-transport model of calcite precipitation in soils and other porous media. \JournalTitleGeochimica et Cosmochimica Acta 165, 108–122, DOI: https://doi.org/10.1016/j.gca.2015.05.017 (2015).
  • [21] Molins, S., Trebotich, D., Miller, G. H. & Steefel, C. I. Mineralogical and transport controls on the evolution of porous media texture using direct numerical simulation. \JournalTitleWater Resources Research 53, 3645–3661, DOI: https://doi.org/10.1002/2016WR020323 (2017).
  • [22] Bouddour, A., Auriault, J. & Mhamdi-Alaoui, M. Erosion and deposition of solid particles in porous media: Homogenization analysis of a formation damage. \JournalTitleTransport in porous media 25, 121–146, DOI: https://doi.org/10.1007/BF00135852 (1996).
  • [23] Jäger, R. Erosion and deposition in porous media. Ph.D. thesis, ETH Zurich (2018). DOI: https://doi.org/10.3929/ethz-b-000275695.
  • [24] Fama, A., Restuccia, L. & Jou, D. A simple model of porous media with elastic deformations and erosion or deposition. \JournalTitleZeitschrift für angewandte Mathematik und Physik 71, 1–21, DOI: https://doi.org/10.1007/s00033-020-01346-0 (2020).
  • [25] Lasaga, A. C. & Kirkpatrick, J. (eds.) Kinetics of Geochemical Processes (De Gruyter, Berlin, Boston, 1981).
  • [26] Li, L., Peters, C. A. & Celia, M. A. Upscaling geochemical reaction rates using pore-scale network modeling. \JournalTitleAdvances in water resources 29, 1351–1370, DOI: https://doi.org/10.1016/j.advwatres.2005.10.011 (2006).
  • [27] Johnsen, Ø. et al. Decompaction and fluidization of a saturated and confined granular medium by injection of a viscous liquid or gas. \JournalTitlePhysical Review E 78, 051302, DOI: https://doi.org/10.1103/PhysRevE.78.051302 (2008).
  • [28] Mahadevan, A., Orpe, A., Kudrolli, A. & Mahadevan, L. Flow-induced channelization in a porous medium. \JournalTitleEPL (Europhysics Letters) 98, 58003, DOI: https://doi.org/10.1209/0295-5075/98/58003 (2012).
  • [29] Kudrolli, A. & Clotet, X. Evolution of porosity and channelization of an erosive medium driven by fluid flow. \JournalTitlePhysical review letters 117, 028001, DOI: https://doi.org/10.1103/PhysRevLett.117.028001 (2016).
  • [30] Neumann, R., Andreeta, M. & Lucas-Oliveira, E. 11 sandstones: raw, filtered and segmented data. http://www.digitalrocksportal.org/projects/317, DOI: https://doi.org/10.17612/f4h1-w124 (2020).
  • [31] Arif, M., Lebedev, M., Barifcani, A. & Iglauer, S. Co2 storage in carbonates: Wettability of calcite. \JournalTitleInternational Journal of Greenhouse Gas Control 62, 113–121, DOI: https://doi.org/10.1016/j.ijggc.2017.04.014 (2017).
  • [32] Tang, J., Dietzel, M., Böhm, F., Köhler, S. J. & Eisenhauer, A. Sr2+/ca2+ and 44ca/40ca fractionation during inorganic calcite formation: Ii. ca isotopes. \JournalTitleGeochimica et Cosmochimica Acta 72, 3733–3745, DOI: https://doi.org/10.1016/j.gca.2011.10.039 (2008).
  • [33] Tirapu-Azpiroz, J. et al. Modeling carbon dioxide trapping at microscopic pore scale with digital rock representations. In Gray, B. L. & Rapp, B. E. (eds.) Microfluidics, BioMEMS, and Medical Microsystems XXI, vol. 12374, 1237406, DOI: https://doi.org/10.1117/12.2650243. International Society for Optics and Photonics (SPIE, 2023).
  • [34] Johnston, M., Pomponio, A., Pyzer-Knapp, E. & Vassiliadis, V. ST4SD: Simulation Toolkit for Scientific Discovery. https://github.com/st4sd/ (2022).
  • [35] Bonelli, S. Erosion in geomechanics applied to dams and levees (John Wiley and Sons, 2013).
  • [36] Hanson, G., Tejral, R., Hunt, S. & Temple, D. Internal erosion and impact of erosion resistance. In Proceedings of the 30th US Society on dams annual meeting and conference, 773–784 (2010).
  • [37] Wahl, T. L. & Erdogan, Z. Erosion indices of soils used in ARS piping breach tests (US Department of Interior, Bureau of Reclamation, Technical Service Center , 2008).
  • [38] Wan, C. F. & Fell, R. Investigation of rate of erosion of soils in embankment dams. \JournalTitleJournal of geotechnical and geoenvironmental engineering 130, 373–380, DOI: https://doi.org/10.1061/(ASCE)1090-0241(2004)130:4(373) (2004).
  • [39] Wan, C. F. Experimental investigations of piping erosion and suffusion of soils in embankment dams and their foundations. Ph.D. thesis, University of New South Wales (2009).
  • [40] Briaud, J.-L. Case histories in soil and rock erosion: woodrow wilson bridge, brazos river meander, normandy cliffs, and new orleans levees. \JournalTitleJournal of Geotechnical and Geoenvironmental Engineering 134, 1425–1447, DOI: https://doi.org/10.1061/(ASCE)1090-0241(2008)134:10(1425) (2008).
  • [41] Grabowski, R. C., Droppo, I. G. & Wharton, G. Erodibility of cohesive sediment: The importance of sediment properties. \JournalTitleEarth-Science Reviews 105, 101–120, DOI: https://doi.org/10.1016/j.earscirev.2011.01.008 (2011).
  • [42] Pereira Nunes, J., Blunt, M. & Bijeljic, B. Pore-scale simulation of carbonate dissolution in micro-ct images. \JournalTitleJournal of Geophysical Research: Solid Earth 121, 558–576, DOI: https://doi.org/10.1002/2015JB012117 (2016).
  • [43] Parker, G. & Izumi, N. Purely erosional cyclic and solitary steps created by flow over a cohesive bed. \JournalTitleJournal of Fluid Mechanics 419, 203–238, DOI: https://doi.org/10.1017/S0022112000001403 (2000).
  • [44] Juncu, D. et al. Injection-induced surface deformation and seismicity at the hellisheidi geothermal field, iceland. \JournalTitleJournal of Volcanology and Geothermal Research 391, 106337, DOI: https://doi.org/10.1016/j.jvolgeores.2018.03.019 (2020).
  • [45] Li, X., Huang, H. & Meakin, P. A three-dimensional level set simulation of coupled reactive transport and precipitation/dissolution. \JournalTitleInternational Journal of Heat and Mass Transfer 53, 2908–2923, DOI: https://doi.org/10.1016/j.ijheatmasstransfer.2010.01.044 (2010).
  • [46] Lasaga, A. C. & Luttge, A. Variation of crystal dissolution rate based on a dissolution stepwave model. \JournalTitleScience 291, 2400–2404, DOI: https://doi.org/10.1126/science.105817 (2001).
  • [47] Aagaard, P. & Helgeson, H. C. Thermodynamic and kinetic constraints on reaction rates among minerals and aqueous solutions; i, theoretical considerations. \JournalTitleAmerican journal of Science 282, 237–285, DOI: https://doi.org/10.1016/0016-7037(84)90294-1 (1982).
  • [48] Oelkers, E. H., Schott, J. & Devidal, J.-L. The effect of aluminum, ph, and chemical affinity on the rates of aluminosilicate dissolution reactions. \JournalTitleGeochimica et Cosmochimica Acta 58, 2011–2024, DOI: https://doi.org/10.1016/0016-7037(94)90281-X (1994).
  • [49] Sallès, J., Thovert, J. & Adler, P. Deposition in porous media and clogging. \JournalTitleChemical Engineering Science 48, 2839–2858, DOI: https://doi.org/10.1016/0009-2509(93)80031-K (1993).
  • [50] Alem, A., Ahfir, N.-D., Elkawafi, A. & Wang, H. Hydraulic operating conditions and particle concentration effects on physical clogging of a porous medium. \JournalTitleTransport in Porous Media 106, 303–321, DOI: https://doi.org/10.1007/s11242-014-0402-8 (2015).
  • [51] Compere, F., Porel, G. & Delay, F. Transport and retention of clay particles in saturated porous media. influence of ionic strength and pore velocity. \JournalTitleJournal of contaminant Hydrology 49, 1–21, DOI: https://doi.org/10.1016/S0169-7722(00)00184-4 (2001).
  • [52] Mays, D. C. & Hunt, J. R. Hydrodynamic and chemical factors in clogging by montmorillonite in porous media. \JournalTitleEnvironmental science and technology 41, 5666–5671, DOI: https://doi.org/10.1021/es062009s (2007).
  • [53] Mays, D. C. & Hunt, J. R. Hydrodynamic aspects of particle clogging in porous media. \JournalTitleEnvironmental science and technology 39, 577–584, DOI: https://doi.org/10.1021/es049367k (2005).

Acknowledgements

The authors acknowledge project support by Bruno Flach and Alexandre Pfeifer (both IBM). Also, we thank Vassilis Vassiliadis, Alessandro Pomponio, and Michael Johnston (all IBM Research) for expert technical assistance.

Author contributions statement

Authors D.A.L.V., J.T.A., R.G., R.N.B.F. and M.E.F. developed the methodology used by the simulator. Author D.A.L.V. implemented the Fluid-Solid Process Simulator, Network Geometry Modifier, Model Reaction Library and data visualization scripts. Authors D.A.L.V., J.T.A. and M.F.B.R. performed the simulations, implemented data aggregation and analysis scripts, generated graphs and prepared figures. Authors D.A.L.V, R.N.B.F. and M.F.B.R. implemented the integration of the flow simulator with ST4SD. Authors D.A.L.V. and J.T.A. wrote the manuscript and supplemental materials. Authors D.A.L.V. and J.T.A., R.G., R.N.B.F., M.E.F., and M.B.S. performed data interpretation and contributed to the manuscript and supplemental materials. All authors reviewed the manuscript.

Code and data availability

The code used to obtain the CNM representations of the rock samples contained in the repositories is available in a Github repository (https://github.com/IBM/flowdiscovery-digital-rock). Additional algorithms used for processing and segmenting the raw grayscale images, are available as Python code (https://github.com/IBM/microCT-Dataset). The code to run flow simulations and Geometry Modification Module on CNM representations of the rock samples is also available as a Github repository (https://github.com/IBM/flowdiscovery-simulator). Finally, the code to automate the execution of the simulations using the Simulation Toolkit for Scientific Discovery (ST4SD) [34] can also be found at Github (https://github.com/st4sd/flow-simulator-experiment).

Microtomography datasets containing grayscale and binary rock image data are available at the Digital Rocks Portal for sandstone samples (https://dx.doi.org/10.17612/f4h1-w124) and on Figshare for sandstone and carbonate samples (https://doi.org/10.25452/figshare.plus.21375565.v6).

Additional information

The authors declare no Competing Financial or Non-Financial Interests.

Supplementary Information

Automated simulation workflow

The large number of scenarios with different simulation parameters lead to a parameter space that is intractable, but by leveraging high-throughput automated simulation workflows. Given the large parameter space that needs to be swept to fully assess the mineralization potential in a given geological storage scenario, we employed the Simulation Toolkit for Scientific Discovery (ST4SD) [34] to automate the execution of long simulation campaigns with several chained steps. By doing so, we drastically reduce the human labor involved in preparing the simulation inputs, submitting the jobs, and post-processing the results. The use of such a workflow scheduler also ensures the reproducibility of our results and enables efficiency gains by optimizing the use of computing resources. The underlying code implementation for this automation has been shared for repeatability (see “Code Availability” section).

[Uncaptioned image]
List of suppfigures S.1 Automated computational methodology showing, from left to right, experiment definition, preparation of inputs, simulation execution, output parsing, and aggregation of results.

Figure S.1 shows the sequence of steps executed by each ST4SD experiment comprising 1) an experiment definition, needed for the 2) preparation of inputs for the 3) execution of the simulation, followed by the output 4) parsing, leading tot he final 5) aggregation of all the results. The user input at the definition step comprises three parts: the rock sample CNM in which the simulations are performed; a template of the simulation configuration file where to enter all fluid, rock, and reaction properties (e.g., viscosity, reaction rates), as well as the flow simulation conditions (e.g., pressures, temperatures) necessary for each execution; and a simulation grid where each line defines the values of all properties and conditions, including the types of reactive transport phenomena considered, that are applied to each simulation instance. The next step is the preparation, for each simulation instance, of the configuration files and inputs based on the defined user inputs. Each combination of rock and fluid samples, flow simulation conditions, and reactive transport parameters extracted from the simulation grid leads to a different simulation scenario or instance. Many simulation conditions are not explicitly provided by the user, so default values are used instead.

The simulations are automatically scheduled and executed by ST4SD workflow, running all scenarios in parallel during the execution step. Per instance, this step corresponds to the execution of the coupled reactive-transport simulation, as illustrated in Fig 1, consisting of the iterative workflow where single-phase flow simulations are intercalated with a geometry modification routine that updates the capillary network based on the reactive phenomena. The execution step runs until reaching a convergence criteria and is then followed by the parsing of the simulation results to extract the relevant figures-of-merit from each parallel execution. Values of the sample porosity or the accumulated precipitated volume, for instance, are computed after each iteration and then saved into a single document during parsing, thus allowing eliminating memory-consuming interim files. A final post-processing of results is performed during the aggregation step, where all relevant figures-of-merit from all parallel simulations are collected into a single table format to facilitate user consumption.

Reaction Model Library

Within each iteration of the workflow in Fig. 1, the fluid-solid process simulator module takes as input the fluid phasic properties and flow conditions and pore-scale process parameters defined during the experiment preparation, as well as the flow property fields at that time step in every capillary in the sample, and computes the changes to the capillary diameters according to the reaction models provided by a reaction model library, which comprises methods and correlations for simulating the geometry evolution of porous media due to erosion, dissolution, and precipitation. The inputs and outputs of the model are depicted in Fig. 2a. Any new model or phenomenon formulation that adapt to the current set of input parameters can be readily added to the library. Additional parameters are possible but requires adjustments to the input configuration files.

Erosion and Deposition

Physical pore-scale processes like erosion and deposition are frequently modeled through deterministic approaches[17, 35, 36, 7, 37, 38, 39, 6]. We modeled the effect of erosion on the pore geometry by calculating each capillary diameter variation according to the shear stress thresholds of the erosion and deposition law in Jager et al.[7] and Matias et al. [6]. Considering slow erosion and deposition, where the surface change is much slower than the fluid flow velocity, these models predict rates for the evolution of the diameter of spheres. The prediction of the threshold for the onset of the geometry modification is based on the assumption of critical shear stresses, which depends on the fluid flow and the phasic characteristics. Before estimating changes to the diameter, this model first computes a threshold for the onset of erosion per capillary. Since the pore-scale processes involved are geometry and flow-dependent, erosion or deposition may not occur in all capillaries within the network as each has different flow characteristics (i.e., flow rate, pressure gradient). As a consequence, the spatial domain does not follow a uniform evolution in all capillaries (see Fig. S.2a of the distribution of the onset of erosion). The erosion and deposition law [7] reads:

r˙er/dep={κer(τwτer)ifτw>τerCκdep(τdepτw)ifτwτdep0ifτerτwτdep\dot{r}_{er/dep}=\left\{\begin{matrix}-\kappa_{er}\left(\tau_{w}-\tau_{er}% \right)&\textup{if}\;\tau_{w}>\tau_{er}\\ C\kappa_{dep}\left(\tau_{dep}-\tau_{w}\right)&\textup{if}\;\tau_{w}\leq\tau_{% dep}\\ 0&\textup{if}\;\tau_{er}\geq\tau_{w}\geq\tau_{dep}\end{matrix}\right.over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_e italic_r / italic_d italic_e italic_p end_POSTSUBSCRIPT = { start_ARG start_ROW start_CELL - italic_κ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ( italic_τ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT - italic_τ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) end_CELL start_CELL if italic_τ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT > italic_τ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL italic_C italic_κ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT ( italic_τ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT - italic_τ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT ) end_CELL start_CELL if italic_τ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT ≤ italic_τ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL if italic_τ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ≥ italic_τ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT ≥ italic_τ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT end_CELL end_ROW end_ARG (S.1)

where r˙er/depsubscript˙𝑟𝑒𝑟𝑑𝑒𝑝\dot{r}_{er/dep}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_e italic_r / italic_d italic_e italic_p end_POSTSUBSCRIPT represents the erosion or deposition rate (kg m-2), κersubscript𝜅𝑒𝑟\kappa_{er}italic_κ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT the erodibility coefficient, κdepsubscript𝜅𝑑𝑒𝑝\kappa_{dep}italic_κ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT the deposition coefficient, C=C(t)/C0𝐶𝐶𝑡subscript𝐶0C=C(t)/C_{0}italic_C = italic_C ( italic_t ) / italic_C start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT is the relationship between the current and fully saturated concentrations, τwsubscript𝜏𝑤\tau_{w}italic_τ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT represents the wall shear stress, τersubscript𝜏𝑒𝑟\tau_{er}italic_τ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT the critical shear stress above which erosion occurs, and τdepsubscript𝜏𝑑𝑒𝑝\tau_{dep}italic_τ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT the critical shear stress above which deposition occurs. The linear relation of erosion to wall shear stress is an empirical law that is well established and reasonable for a variety of materials such as cohesive soils, clay, and materials of similar properties [7, 17, 35].

The erodibility coefficient depends on pure shear stress, turbulent fluctuations of shear stress, turbulent fluctuations of normal stress [40], and properties of the solid matter (e.g., the cohesive forces) [41]. The density of the removed mass equals the fluid density, and the eroded mass is not tracked once it is dragged by the flow [42].

According to the erosion/deposition law in Jager et al.[7], as the capillary diameter increases, the shear stress increases, which enhances erosion [6]. Erosion rate is proportional to the wall shear stress [43], since the wall shear stress decreases with the diameter. Although most coefficients are obtained from laboratory experiments, as in Bonelli et al. [17, 35], in this study, the correlations and parameter values of Eq. S.1 are adapted for erosion and deposition shear stress thresholds around the wall-shear stress, following the procedures in Jager et al.[7], Bonelli et al.[17, 35], and Parker et al. [43].

For a constant pressure drop distribution across each capillary, the wall [6] and erosion [17] shear stresses are denoted by the following correlations:

τ𝐰(ter)=Δ𝐩𝐋𝐃(ter)τer(ter)=Δ𝐩𝐃(ter)/𝐃0subscript𝜏𝐰subscript𝑡𝑒𝑟Δ𝐩𝐋𝐃subscript𝑡𝑒𝑟subscript𝜏𝑒𝑟subscript𝑡𝑒𝑟Δ𝐩𝐃subscript𝑡𝑒𝑟subscript𝐃0\begin{split}\mathbf{\tau_{w}}(t_{er})=\frac{\Delta\mathbf{p}}{\mathbf{L}}% \mathbf{D}(t_{er})\\ \\ \mathbf{\tau}_{er}(t_{er})=\Delta\mathbf{p}\mathbf{D}(t_{er})/\mathbf{D}_{0}% \end{split}start_ROW start_CELL italic_τ start_POSTSUBSCRIPT bold_w end_POSTSUBSCRIPT ( italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) = divide start_ARG roman_Δ bold_p end_ARG start_ARG bold_L end_ARG bold_D ( italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) end_CELL end_ROW start_ROW start_CELL end_CELL end_ROW start_ROW start_CELL italic_τ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ( italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) = roman_Δ bold_pD ( italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) / bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_CELL end_ROW (S.2)

where Δ𝐏Δ𝐏\Delta\mathbf{P}roman_Δ bold_P, 𝐋𝐋\mathbf{L}bold_L, and 𝐃(𝐭)𝐃𝐭\mathbf{D(t)}bold_D ( bold_t ) represent the arrays containing the capillary pressure gradients, capillary length, and capillary diameter, respectively, within the capillary network at time tersubscript𝑡𝑒𝑟t_{er}italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT. The array containing the initial capillary diameters is denoted by 𝐃𝟎subscript𝐃0\mathbf{D_{0}}bold_D start_POSTSUBSCRIPT bold_0 end_POSTSUBSCRIPT.

Considering that the simulations reach an erosion time tr˙ersubscript𝑡subscript˙𝑟𝑒𝑟t_{\dot{r}_{er}}italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_POSTSUBSCRIPT necessary to start the process uniformly, the scaling correlation for the capillary diameter evolution due to erosion [7] reads:

𝐃(ter)=𝐃0etrer˙/ter𝐃subscript𝑡𝑒𝑟subscript𝐃0superscript𝑒subscript𝑡˙subscript𝑟𝑒𝑟subscript𝑡𝑒𝑟\mathbf{D}\left(t_{er}\right)=\mathbf{D}_{0}e^{t_{\dot{r_{er}}}/t_{er}}bold_D ( italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) = bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT / italic_t start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_POSTSUPERSCRIPT (S.3)

where the erosion timescale tr˙ersubscript𝑡subscript˙𝑟𝑒𝑟t_{\dot{r}_{er}}italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_POSTSUBSCRIPTis denoted by trer˙=2(ρs/κer)(𝐋/Δp)subscript𝑡˙subscript𝑟𝑒𝑟2subscript𝜌𝑠subscript𝜅𝑒𝑟𝐋Δ𝑝t_{\dot{r_{er}}}=2\left(\rho_{s}/\kappa_{er}\right)\left(\mathbf{L}/\Delta p\right)italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT = 2 ( italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT / italic_κ start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT ) ( bold_L / roman_Δ italic_p ).

The scaling correlation for the capillary diameter evolution due to deposition [7] reads:

𝐃(tdep)=𝐃0[exp(κdepΔPC2ρsLtr˙dep)]+4τdep𝐋ΔP𝐃subscript𝑡𝑑𝑒𝑝subscript𝐃0delimited-[]subscript𝜅𝑑𝑒𝑝Δ𝑃𝐶2subscript𝜌𝑠𝐿subscript𝑡subscript˙𝑟𝑑𝑒𝑝4subscript𝜏𝑑𝑒𝑝𝐋Δ𝑃\mathbf{D}\left(t_{dep}\right)=\mathbf{D}_{0}\left[\exp\left(\frac{\kappa_{dep% }\Delta P\,C}{2\rho_{s}L}t_{\dot{r}_{dep}}\right)\right]+4\frac{\tau_{dep}% \mathbf{L}}{\Delta P}bold_D ( italic_t start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT ) = bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT [ roman_exp ( divide start_ARG italic_κ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT roman_Δ italic_P italic_C end_ARG start_ARG 2 italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT italic_L end_ARG italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) ] + 4 divide start_ARG italic_τ start_POSTSUBSCRIPT italic_d italic_e italic_p end_POSTSUBSCRIPT bold_L end_ARG start_ARG roman_Δ italic_P end_ARG (S.4)

where tr˙ersubscript𝑡subscript˙𝑟𝑒𝑟t_{\dot{r}_{er}}italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_e italic_r end_POSTSUBSCRIPT end_POSTSUBSCRIPT is the necessary time to start the deposition uniformly within a capillary.

Figure S.2a displays a distribution of capillaries under the effect of erosion (label 1) based on the calculation of reaction onset thresholds[7] with an erodibility coefficient κer=0.071sm1subscript𝜅er0.071𝑠superscript𝑚1\kappa_{\textup{er}}=0.071s\cdot m^{-1}italic_κ start_POSTSUBSCRIPT er end_POSTSUBSCRIPT = 0.071 italic_s ⋅ italic_m start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, 1000 secs of simulation time on a small sandstone rock sample of 225μm×225μm×900μm225𝜇𝑚225𝜇𝑚900𝜇𝑚225\mu m\times 225\mu m\times 900\mu m225 italic_μ italic_m × 225 italic_μ italic_m × 900 italic_μ italic_m in size.

The pore-scale processes involved are geometry and flow dependent, which determine the reaction rate as well as the potential existence of a process within each capillary as determined by Eq. (S.1), and thus the number of eroded capillaries in the network may vary after each simulation time step. Moreover, the geometrical variation of each capillary within the network can be different given the varying flow characteristics (i.e., flow rate, pressure gradient) that may lead to either erosion, deposition, or none of those processes. When no process is present, the diameter remains constant. In the simulation results displayed in Fig. S.3a, only the portion of the capillaries satisfying the criteria are affected by erosion and thus a non-uniform evolution of the geometrical changes is expected between the time steps t0,t1000, and t5500, corresponding to instants 0s, 17s and 93.5s, respectively. Fig. S.3b shows the distribution of capillary diameters at those same time steps. As a consequence, the porosity of the small rock sample displayed in Fig S.2a increases until reaching a plateau as shown in Fig S.2b, where the geometry and flow conditions are not sufficient to meet the erosion and Deposition Law thresholds and, therefore no more variation in the diameter of the capillaries in the network occurs due to erosion.

[Uncaptioned image]
List of suppfigures S.2 a) Distribution of capillaries under the effect of erosion (label 1) based on the calculation of reaction onset thresholds[7] with an erodibility coefficient κer=0.071sm1subscript𝜅er0.071𝑠superscript𝑚1\kappa_{\textup{er}}=0.071s\cdot m^{-1}italic_κ start_POSTSUBSCRIPT er end_POSTSUBSCRIPT = 0.071 italic_s ⋅ italic_m start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, 1000 secs of simulation time on a small sandstone sample of size 225μm×225μm×900μm225𝜇𝑚225𝜇𝑚900𝜇𝑚225\mu m\times 225\mu m\times 900\mu m225 italic_μ italic_m × 225 italic_μ italic_m × 900 italic_μ italic_m. b) Evolution of porosity as a result of erosion with time.
[Uncaptioned image]
List of suppfigures S.3 a) Evolution of the capillaries meeting the criteria for erosion at three simulation time steps t0, t1000, and t5500, corresponding to instants 0s, 17s and 93.5s, respectively. b) Distribution of capillaries diameters as a result of erosion at those same time steps.

Mineral dissolution

Several authors have studied the effects of mineral dissolution on the geometry evolution of porous media as a function of the concentration fields. Existing models resolve single [11] and multiphase flow [8, 9, 21, 13] transport equations combined with reaction equations. Computation of these model on large or complex domains can be costly.

The dissolution of the rock wall can lead to the release of cations (eg. Mg(2+), Ca(2+), Fe(2+) into solution which will, in turn, react with dissolved CO2 to form stable carbonates. The formation of these new stable chemicals species can lead to the mineral storage of CO2[44]. In one example, the dissolution of calcium carbonate contributes to the mass of dissolved components according to the following stoichiometric relationship:

CaCO3(s)Ca2++CO32𝐶𝑎𝐶subscript𝑂3𝑠𝐶superscript𝑎limit-from2𝐶superscriptsubscript𝑂3limit-from2CaCO_{3}\left(s\right)\rightarrow Ca^{2+}+CO_{3}^{2-}italic_C italic_a italic_C italic_O start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ( italic_s ) → italic_C italic_a start_POSTSUPERSCRIPT 2 + end_POSTSUPERSCRIPT + italic_C italic_O start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 - end_POSTSUPERSCRIPT (S.5)

The Transition State Theory rate law is used in the calculation of the reaction rates governing the mineral dissolution processes (rmsubscript𝑟𝑚r_{m}italic_r start_POSTSUBSCRIPT italic_m end_POSTSUBSCRIPT [mol/m2s]delimited-[]molsuperscriptm2s\left[\textup{mol}/\textup{m}^{2}\textup{s}\right][ mol / m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT s ]). The equations are based on a pore-scale flow and reactive transport model proposed by Li et al. [45] and Molins et al. [11, 9, 14, 21]. Calcium carbonate dissolution reaction becomes increasingly limited by diffusion[21]. The dissolution reaction rate [11] r˙dissubscript˙𝑟𝑑𝑖𝑠\dot{r}_{dis}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_d italic_i italic_s end_POSTSUBSCRIPT in units of mol m-2 s-1 is denoted by:

r˙dis=kH+γH+cH+subscript˙𝑟𝑑𝑖𝑠subscript𝑘superscript𝐻subscript𝛾superscript𝐻subscript𝑐superscript𝐻\dot{r}_{dis}=k_{H^{+}}\gamma_{H^{+}}c_{H^{+}}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_d italic_i italic_s end_POSTSUBSCRIPT = italic_k start_POSTSUBSCRIPT italic_H start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_γ start_POSTSUBSCRIPT italic_H start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_H start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT (S.6)

where kH+subscript𝑘superscript𝐻k_{H^{+}}italic_k start_POSTSUBSCRIPT italic_H start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT, γH+subscript𝛾superscript𝐻\gamma_{H^{+}}italic_γ start_POSTSUBSCRIPT italic_H start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT, and cH+subscript𝑐superscript𝐻c_{H^{+}}italic_c start_POSTSUBSCRIPT italic_H start_POSTSUPERSCRIPT + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT represent the dissolution, thermodynamic activity, and concentration coefficients, respectively. The scaling correlation for the capillary diameter evolution due to mineral dissolution (single-phase flow) reads:

𝐃(tr˙dis)=[𝐃02+𝐃0r˙pptρs]1/2tr˙dis𝐃subscript𝑡subscript˙𝑟𝑑𝑖𝑠superscriptdelimited-[]superscriptsubscript𝐃02subscript𝐃0subscript˙𝑟𝑝𝑝𝑡subscript𝜌𝑠12subscript𝑡subscript˙𝑟𝑑𝑖𝑠\mathbf{D}\left(t_{\dot{r}_{dis}}\right)=\left[\mathbf{D}_{0}^{2}+\frac{% \mathbf{D}_{0}\dot{r}_{ppt}}{\rho_{s}}\right]^{1/2}t_{\dot{r}_{dis}}bold_D ( italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_d italic_i italic_s end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) = [ bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + divide start_ARG bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG ] start_POSTSUPERSCRIPT 1 / 2 end_POSTSUPERSCRIPT italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_d italic_i italic_s end_POSTSUBSCRIPT end_POSTSUBSCRIPT (S.7)

Mineral precipitation

Noiriel et al.[10] proposed an integrated experimental and modeling approach for studying an induced calcium carbonate growth in cylindrical cores packed with glass beads and calcium carbonate crystals injected over 28 days with a supersaturated mixture of CaCl2 and NaHCO3. A general equation to describe the rate of calcium carbonate precipitation [46] (r˙pptsubscript˙𝑟𝑝𝑝𝑡\dot{r}_{ppt}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT [mol/m2s]delimited-[]molsuperscriptm2s\left[\textup{mol}/\textup{m}^{2}\textup{s}\right][ mol / m start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT s ]) reads:

r˙ppt=kppt[exp(mΔGRT)1]n=kppt[exp(IAPKsp)m1]n=kppt(Ωm1)n\dot{r}_{ppt}=k_{ppt}\left[\exp\left(\frac{m\Delta G}{R^{*}\cdot T}\right)-1% \right]^{n}=k_{ppt}\left[\exp\left(\frac{IAP}{K_{sp}}\right)^{m}-1\right]^{n}=% k_{ppt}\left(\Omega^{m}-1\right)^{n}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT = italic_k start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT [ roman_exp ( divide start_ARG italic_m roman_Δ italic_G end_ARG start_ARG italic_R start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ⋅ italic_T end_ARG ) - 1 ] start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT = italic_k start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT [ roman_exp ( divide start_ARG italic_I italic_A italic_P end_ARG start_ARG italic_K start_POSTSUBSCRIPT italic_s italic_p end_POSTSUBSCRIPT end_ARG ) start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT - 1 ] start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT = italic_k start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT ( roman_Ω start_POSTSUPERSCRIPT italic_m end_POSTSUPERSCRIPT - 1 ) start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT (S.8)

where kpptsubscript𝑘𝑝𝑝𝑡k_{ppt}italic_k start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT represent the precipitation rate constant (mol m-2 s -1), ΔGΔ𝐺\Delta Groman_Δ italic_G the Gibbs free energy change of the overall reaction (J mol-1), ΩΩ\Omegaroman_Ω the saturation index Ω=IAP/KspΩ𝐼𝐴𝑃subscript𝐾𝑠𝑝\Omega=IAP/K_{sp}roman_Ω = italic_I italic_A italic_P / italic_K start_POSTSUBSCRIPT italic_s italic_p end_POSTSUBSCRIPT, Kspsubscript𝐾𝑠𝑝K_{sp}italic_K start_POSTSUBSCRIPT italic_s italic_p end_POSTSUBSCRIPT the solubility of calcium carbonate, IAP𝐼𝐴𝑃IAPitalic_I italic_A italic_P the ion activity product defined by aCa2+aCO32subscript𝑎𝐶superscript𝑎limit-from2subscript𝑎𝐶superscriptsubscript𝑂3limit-from2a_{Ca^{2+}}a_{CO_{3}^{2-}}italic_a start_POSTSUBSCRIPT italic_C italic_a start_POSTSUPERSCRIPT 2 + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_a start_POSTSUBSCRIPT italic_C italic_O start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 - end_POSTSUPERSCRIPT end_POSTSUBSCRIPT, with aCa2+subscript𝑎𝐶superscript𝑎limit-from2a_{Ca^{2+}}italic_a start_POSTSUBSCRIPT italic_C italic_a start_POSTSUPERSCRIPT 2 + end_POSTSUPERSCRIPT end_POSTSUBSCRIPT and aCO32subscript𝑎𝐶superscriptsubscript𝑂3limit-from2a_{CO_{3}^{2-}}italic_a start_POSTSUBSCRIPT italic_C italic_O start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 - end_POSTSUPERSCRIPT end_POSTSUBSCRIPT the activities of Ca2+𝐶superscript𝑎limit-from2Ca^{2+}italic_C italic_a start_POSTSUPERSCRIPT 2 + end_POSTSUPERSCRIPT and CO32𝐶superscriptsubscript𝑂3limit-from2CO_{3}^{2-}italic_C italic_O start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 - end_POSTSUPERSCRIPT, respectively. Rsuperscript𝑅R^{*}italic_R start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT represents the gas constant (J K-1 mol-1) and T𝑇Titalic_T the absolute temperature (K). The values of n𝑛nitalic_n and m𝑚mitalic_m are semi-empirical constants that depend on the kinetic behavior involved in the chemical reaction. The coefficient m𝑚mitalic_m can be interpreted as the Temkin coefficient, relating the reaction stoichiometry in the rate-limiting step to the reaction stoichiometry of the overall reaction [47, 48]. Mineral trapping is modeled through an exponential decay model, considering a minimum diameter for the flow simulator to resolve the equation system.

In our work we implemented two approaches for simulating mineral precipitation (i.e., uniform and flow-dependent crystallization) of calcium carbonate rock samples in brine and the consequent clogging in time using the correlations of Lasaga [25] and Noiriel et al.[10]. We analyze the effect of flow conditions and mineral precipitation parameters on the evolution of the accumulated material distribution within capillary networks.

Uniform precipitation rate

In this simpler approach, we track the geometry evolution due to mineral precipitation under the condition of constant and uniform precipitation rates in all capillary within the network using Eq. S.8. After each reaction occurs, we consider a uniform decrease in the reactive area within each capillary. The scaling law for the modified capillary diameter, considering uniform precipitation rate in a generic reactive area, phasic properties, and reaction time, reads:

𝐃(tr˙ppt)=[𝐃02𝐃0r˙pptρs]1/2tr˙ppt𝐃subscript𝑡subscript˙𝑟𝑝𝑝𝑡superscriptdelimited-[]superscriptsubscript𝐃02subscript𝐃0subscript˙𝑟𝑝𝑝𝑡subscript𝜌𝑠12subscript𝑡subscript˙𝑟𝑝𝑝𝑡\mathbf{D}\left(t_{\dot{r}_{ppt}}\right)=\left[\mathbf{D}_{0}^{2}-\frac{% \mathbf{D}_{0}\dot{r}_{ppt}}{\rho_{s}}\right]^{1/2}t_{\dot{r}_{ppt}}bold_D ( italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) = [ bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - divide start_ARG bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG ] start_POSTSUPERSCRIPT 1 / 2 end_POSTSUPERSCRIPT italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT (S.9)

where 𝐃0subscript𝐃0\mathbf{D}_{0}bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT represents the vector or initial capillary diameters, tr˙pptsubscript𝑡subscript˙𝑟𝑝𝑝𝑡t_{\dot{r}_{ppt}}italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT the precipitation reaction time, and ρssubscript𝜌𝑠\rho_{s}italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT the solid phase density. The precipitation rate r˙pptsubscript˙𝑟𝑝𝑝𝑡\dot{r}_{ppt}over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT and the reaction time tr˙pptsubscript𝑡subscript˙𝑟𝑝𝑝𝑡t_{\dot{r}_{ppt}}italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT are defined by Eq. S.8 and the parameters of Tables 2 and 7 in Noiriel, C., et al.[10]. The Model has the capability of setting input parameters from other experimental or numerical methods obtained by other authors.

Flow dependent precipitation rate

The material accumulation at each capillary evolves due to the effect of a capillary-dependent flow rate distribution and an input calcium concentration variation obtained from the literature. The modified capillary diameter, obtained from the calculation of the accumulated volume using Eq. (3) in Noiriel et al.[10], reads:

𝐃(tr˙ppt)=𝐐(tr˙ppt)ΔCar˙pptπ𝐋(tr˙ppt)𝐃subscript𝑡subscript˙𝑟𝑝𝑝𝑡𝐐subscript𝑡subscript˙𝑟𝑝𝑝𝑡Δ𝐶𝑎subscript˙𝑟𝑝𝑝𝑡𝜋𝐋subscript𝑡subscript˙𝑟𝑝𝑝𝑡\mathbf{D}\left(t_{\dot{r}_{ppt}}\right)=-\frac{\mathbf{Q}\left(t_{\dot{r}_{% ppt}}\right)\Delta Ca}{\dot{r}_{ppt}\pi\mathbf{L}\left(t_{\dot{r}_{ppt}}\right)}bold_D ( italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) = - divide start_ARG bold_Q ( italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) roman_Δ italic_C italic_a end_ARG start_ARG over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT italic_π bold_L ( italic_t start_POSTSUBSCRIPT over˙ start_ARG italic_r end_ARG start_POSTSUBSCRIPT italic_p italic_p italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ) end_ARG (S.10)

where 𝐐𝐐\mathbf{Q}bold_Q is the flow rate vector, ΔCaΔ𝐶𝑎\Delta Caroman_Δ italic_C italic_a is the calcium concentration variation between the inlet and the outlet of each capillary, and 𝐋𝐋\mathbf{L}bold_L is the vector containing the capillary length distribution within the network. In a first implementation, we assume a uniform calcium variation concentration ΔCaΔ𝐶𝑎\Delta Caroman_Δ italic_C italic_a within the capillary network; however, this parameter can be adjusted according to match experimental estimates or values reported in the literature. This method enables comparing the accumulated material under a set of fluid flow, geometry and pore-scale process characteristics.

Clogging prediction

Both physical and chemical mechanisms can cause clogging in porous-media [49, 50]: (i) Physical clogging, restricting particle movement in soil and other porous media (straining and filtration); and (iii) Chemical clogging, which controls the colloidal stability of the particles and minerals precipitated from water [51, 52].

Through experimental studies, Alem et al.[50] assessed the differences in porous medium physical clogging processes under the condition of constant flow rate and the condition of constant head. Mays and Hunt[52] presented results that indicate that hydrodynamic aspects of clogging by natural materials (e.g., Montmorillonite) are consistent with those of simplified model systems. To investigate hydrodynamic effects on clogging, Mays and Hunt [53] analyzed published data sets from constant-flow filtration experiments that measured particle accumulation and head loss over a range of fluid velocities.