Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Jul 9;14:15852. doi: 10.1038/s41598-024-65920-6

Enhanced carbon dioxide drainage observed in digital rock under intermediate wetting conditions

Jaione Tirapu Azpiroz 1, Ronaldo Giro 2, Rodrigo Neumann Barros Ferreira 1, Marcio Nogueira Pereira da Silva 1, Manuela Fernandes Blanco Rodriguez 1, Adolfo E Correa Lopez 1, David A Lazo Vasquez 3, Matheus Esteves Ferreira 1, Mariana Del Grande 1, Ademir Ferreira Da Silva 1, Mathias B Steiner 1,
PMCID: PMC11233577  PMID: 38982117

Abstract

Carbon dioxide (CO2) trapping in capillary networks of reservoir rocks is a pathway to long-term geological storage. At pore scale, CO2 drainage displacement depends on injection pressure, temperature, and the rock’s interaction with the surrounding fluids. Modeling this interaction requires adequate representations of both capillary volume and surface. For the lack of scalable representations, however, the prediction of a rock’s CO2 storage potential has been challenging. Here, we report how to represent a rock’s pore space by statistically sampled capillary networks (ssCN) that preserve morphological rock characteristics. We have used the ssCN method to simulate CO2 drainage within a representative sandstone sample at reservoir pressures and temperatures, exploring intermediate- and CO2-wet conditions. This wetting regime is often neglected, despite evidence of plausibility. By raising pressure and temperature we observe increasing CO2 penetration within the capillary network. For contact angles approaching 90, the CO2 saturation exhibits a pronounced maximum reaching 80% of the accessible pore volume. This is about twice as high as the saturation values reported previously. For enabling validation of our results and a broader application of our methodology, we have made available the rock tomography data, the digital rock computational workflows, and the ssCN models used in this study.

Subject terms: Fluid dynamics, Geophysics, Climate-change mitigation

Introduction

To achieve global targets for mitigating greenhouse gas emission, efficient carbon capture and storage technologies are needed1. Captured and purified CO2 can be injected into subsurface rock formations, providing a pathway to long-term geological storage at scale. Encouragingly, estimates of the connected void space in reservoir rock of suitable geological formations exceed the volume required for satisfying the global CO2 storage needs2. The physical and chemical processes underlying CO2 geological storage are: (i) structural storage under impermeable cap rocks; (ii) residual or capillary trapping; (iii) dissolution in water/brine and (iv) mineralization. Processes (i) and (ii) occur at shorter time scales—typically within a few years–but carry an elevated risk of CO2 leakage3. Water-wet reservoir conditions lower the risk of CO2 leakage in both structural and residual trapping, either by lowering the CO2 permeability of the cap rock, or by raising the capillary pressures for increased CO2 trapping efficiency at pore scale46. The processes (iii) and (iv) carry a lower risk of CO2 leakage, however, they occur at longer time scales, ranging from decades to centuries3. Capillary trapping of CO2 has been reported to achieve saturation levels of 10–30% of the rock’s pore volume3 and is a promising candidate process for low-risk CO2 storage at scale.

The efficiency of trapping CO2 in deep geological formations is determined by the microscopic properties of the rock’s connected pore space and depends on its interaction with supercritical CO2 (scCO2) and brine3,716. Extensive research has been carried out for investigating the role of surface wettability on fluid displacement16; the relative permeability and trapping of CO2 in sandstone8,9,11, as well as in carbonate10,11, in shale and in anhydrite rocks11. In the case of sandstones, which are promising candidates for CO2 storage at field scale3, experimental studies of CO2 capillary trapping at reservoir conditions yielded maximum CO2 saturation values of 46–59% of rock pore volume8. CO2 is injected into subsurface porous formations during drainage, displacing the resident fluid as it migrates within the pore space of the reservoir as the non-wetting fluid in response to the pressure gradients3,17. While strongly water-wet reservoirs are characteristic of residual CO2 trapping, the maximum saturation achievable is limited8. Recent studies have, therefore, investigated the potential of intermediate- and CO2-wet reservoir conditions4,5,18, including a wide range of wettability values from strongly water-wet to CO2-wet19. However, for determining optimum CO2 storage potential conditions, the evaluation would benefit from controlled interrogation of the parameter space.

Suitable numerical modeling approaches for simulating flow in reservoir rock at pore scale include mesh- or lattice-based direct simulation methods12,20,21 for achieving high fidelity, and network based methods2224 with improved computational efficiency. For optimizing the CO2 capillary trapping in a given rock, it is necessary to screen for pressure and temperature conditions as a function of wettability, i.e., the contact angle at the interface between the rock, scCO2 and brine. While prior studies have demonstrated the dependence of a rock’s CO2 storage potential on both the capillary network and its surface wetting properties16, mapping the relevant parameter space with lab experiments in a controlled manner is impractical.

In the following, we report a new methodology to simulate CO2 injection into the pore space of rock samples, based on the capillary network representation of reservoir rock, that circumvents the computational cost of computing on billions of capillaries by simulating on morphologically equivalent but more computationally efficient networks. We apply the new method to simulate CO2 drainage displacement in sandstone under realistic reservoir conditions, tightly mapping the relevant parameter space for identifying conditions with optimum storage potential. The CO2 retained after drainage represents the maximum amount that can remain in the pore space after imbibition, and therefore can be considered as a measure of the “storage potential”. The computational efficiency of our method to simulate two-phase flow in statistically meaningful rock sample sizes allowed the study over a large range of injection conditions, and extracting insight applicable to the reservoir scale24. We have unveiled a potentially more optimum regime for CO2 drainage displacement under intermediate-wet conditions than previously considered. Our study also sheds light onto an emergent phenomenon resulting from the collective behavior of the capillary network leading to counterintuitive low saturation results under CO2-wet conditions.

Results and discussion

Simplified network methodology

We have developed a pore-scale flow simulator for studying injection and saturation of porous rock samples modeled as a network of capillaries24,25. Specifically, we have simulated the injection of supercritical CO2 into the capillary network model of a Berea Sister Gray sandstone sample filled with water as the resident fluid. Computationally, we track the displacement in time of the fluid interface between scCO2 and water within each capillary of the connected pore space. To overcome the computational limitations, we have developed a sampling technique in which the assessment is performed with the aggregate result of multiple flow simulations performed with sets of much smaller but statistically equivalent capillary network models taken from the same digital rock sample. Importantly, each sub-sample matches statistically the morphlogical and geometrical properties of the original capillary network.

In Fig. 1 we display the methodological workflow. As input, we have used grayscale rock images acquired with X-ray computed micro-tomography (μCT) scans26,27, and that we made publicly available as a digital rock dataset28,29. A sequence of image processing steps are applied to the image for reducing noise, increasing contrast and for separating solid and void spaces (see Supplementary Information Section S1and Supplementary Fig. S1). As a representative rock sample, we have chosen a sandstone referred to as “Berea Sister Gray”. We have used the Centerline algorithm to create a CNM of the binarized digital rock image24. The CNM extracts from the pore space a voxel-wide line at the center of the pore channels, annotated with the pore radii at each point in space. The pore space is represented as a sequence of short cylinders with gradually changing radii. Each cylinder radius is defined as the radius of inscribed circle into the pore space centered at the point belonging to the line at the center of the pore channel (more details can be found in Section Methods and in Section S2 of the Supplementary Information). An example of the resulting CNM for a REV-sized sandstone sample is shown in Fig. 1. Supplementary Fig. S3 displays the induced pressure field inside the network when an external 10 kPa/m pressure gradient is imposed along each axis.

Figure 1.

Figure 1

Simplified network methodology. (a) Schematic workflow from rock tomography to flow properties. Distribution of (b) capillary diameter and (c) capillary connectivity for the capillary network of the original Berea sandstone rock sample as a reference and a statistically simplified one for comparison.

We have built sets of statistically sampled capillary network (ssCN) representations preserving the following properties: (i) porosity; (ii) capillary diameter distribution; and (iii) node coordination number distribution. As a result, we obtain morphologically equivalent networks containing only a small fraction of the capillaries, i.e., 2.7×106 capillaries are reduced to 1.8×103 capillaries. Each simplified network in the set begins as a random distribution of nodes and capillaries. Following an optimization routine that aims to match the properties of capillary connectivity, length, diameter, and general porosity of the original rock sample, it is then transformed into a network of capillaries with equivalent morphological properties as the original one. The result is an ensemble of simplified network models with significantly reduced number of capillaries that maintains the original CNM properties.

This equivalence is seen by comparing the distributions of capillary diameters and capillary connectivities displayed in Fig. 1b,c, respectively, as percentage of the total number of capillaries between the original rock sample and the algorithmically generated one. The final step in our workflow consists of collecting the flow properties of the original rock sample from the average of the results taken from the set of k-ssCN simplified equivalent networks. We find that 1500 capillaries per ssCN, about 0.5% of the original number, provides a good balance between computational accuracy and cost. As a result, the computed permeability averaged over an ensemble of 50 ssCN instances falls within ±3σ of the original value. Increasing the number of capillaries in the simplified representation reduces the variability of the results, however, it does not significantly improve the accuracy of the average estimate when compared to the original. More details can be found in Section S5 of the Supplementary Information.

Simulation of CO2 drainage displacement

Following the method outlined above, we have performed a sensitivity analysis with respect to multiple fluid parameters, such as temperature, contact angle, pressure gradient, and quantified their influence on the infiltration and retention of CO2 inside an ensemble of simplified capillary networks that is representative of the target Berea Sister Gray sandstone sample. To determine under which conditions CO2 drainage displacement through capillary forces is maximized, we have considered temperature scenarios from 323 to 473 K, at 50K intervals. For each temperature scenario, we have studied a range of pressure gradients and contact angles (see Table 1 in the Methods Section). Rock wettability shows a large variability from water-wet to CO2-wet19. Clean mineral surfaces, such as quartz, calcite, feldspar, and mica are water-wet (CO2 contact angle ranges between 120 and 180) due to their hydrophilic character. In subsurface systems at reservoir conditions, the presence of organic matter is very likely. Typically, these surfaces were aged in crude oil or coal and are CO2-wet or intermediate-wet, with CO2 contact angles ranging from 10 to 11019. In the following, we define the contact angle with respect to the injected fluid (scCO2), which is the complementary of the angles normally defined in the literature4,12,19, see Table 2.

Table 1.

Simulation scenarios. Set of parameters used in the two-phase simulations, for each temperature scenario of interest.

Contact Interfacial Viscosity (Pa.s) Viscosity (Pa.s) Pressure
Scenario Angle () Tension Supercritical Gradient
Range (mN/m) Water C02 (Pa/m)
323 K 20-110 27 54.65 ×10-5 3.26 ×10-5 1 ×104 -1 ×107
373 K 20-110 40 28.158 ×10-5 2.22 ×10-5 1 ×104 -1 ×107
423 K 20-110 42 18.261 ×10-5 2.23 ×10-5 1 ×104 -1 ×107
473 K 20-110 42 13.459 ×10-5 2.38 ×10-5 1 ×104 -1 ×107

Table 2.

Representative parameter values. Parameters used to estimate the contributions to the pressure difference on a two-phase simulation representative of our study.

Parameter Symbol Value
Temperature (K) T 373
Absolute pressure (Pa) P 1 ×106
Pressure gradient (Pa/m) ΔP 1 ×106
Water viscosity (Pa.s) η2 28 ×10−5
Supercritical C02 viscosity (Pa.s) η1 2.22 ×10−5
Water density (Kg/m3) ρ2 960
Supercritical C02 density (Kg/m3) ρ1 145
Interfacial tension (N/m) σ 40 ×10−3
Gravitational acceleration (m/s2) g 9.81
Parameter Symbol Value
Average capillary diameter (m) D 20 ×10−6
Average capillary length (m) L 2.25 ×10−6
sinβ sinβ 0.5
Interface position approx (m) x = L/2 1.125 ×10−6
Interface speed approx (m/s) x˙ 5 ×10−3
Interface acceleration approx (m/s2) x¨ 5 ×10−3
graphic file with name 41598_2024_65920_Figa_HTML.gif

Another parameter with large variability is temperature. Low-temperature reservoirs range from 293 K to 363 K, intermediate-temperature reservoirs from 363 to 423 K, and high-temperature reservoirs from 423 to 573 K30. In our studies, we have considered temperatures ranging from 323 to 473 K, see Table 1, representing increasingly deeper injection points in reservoirs, assumed a fixed absolute pressure of 10 MPa, and set a range of pressure gradients between 1×104 and 1×107 Pa/m for driving the flow. Parameters of viscosity for the resident and injected fluids as well as the interfacial tension between the fluids, necessary to perform two-phase flow simulations, were extracted from the literature3133. At the temperatures considered in this work, we have applied the correlating equation for the viscosity of water as extracted by Huber et al.31 in terms of the product of a temperature-dependent zero-density limit term, and a residual viscosity term that depends of both temperature and density as its value increases. The density of water at each value of temperature and pressure was calculated according to Wagner et al.34. We have computed the viscosity of CO2 under supercritical conditions of pressure and temperature following the correlation extracted by Heidaryan et al.32. Finally, we have deduced the interfacial tension between supercritical CO2 and water at the reservoir pressure for the various temperature scenarios from the work of Bachu and Bennion33 as provided in Table 1.

Figure 2a,b show the maximum scCO2 saturation curves at T = 473 K plotted as function of fluid interface contact angle. The maximum scCO2 saturation was extracted from the saturation as a function of time, as shown in Fig. S10a. Each point in Fig. 2b represents the maximum value of CO2 saturation from the average across 150 simulations (set of 50 simplified capillary networks with flow along X, Y and Z axes) per set of injection conditions. Contact angles between 20 and 80 represent CO2-wet regime where higher saturation by the injected fluid would be expected as capillary pressure favors the displacement of the resident fluid, particularly when, as per the calculations in Table 3, viscous forces remain lower than the externally applied. We observe that for pressure gradients below 1×105 Pa/m, the maximum CO2 saturation is around 15%. This saturation value is almost constant for contact angles ranging from 20 to 80 (CO2 wet range), with a slight increase around 85 for pressure gradient 1×105 Pa/m. For larger contact angles (water-wet), the CO2 saturation diminishes to zero. We note that the CO2 saturation behaviour is a result of the collective interactions between all the pores in the capillary network and reflects the competing interplay between the externally applied pressure gradient and the balance of capillary pressures and viscous forces within each capillary of the network, see Eq. 3. While the observed saturation behaviour is surprising and might appear counter-intuitive, it emerges from the complex interplay of capillaries in the network and indicates that pore scale analysis may reveal unexpected phenomena at larger scales. For externally applied pressure gradients above 1×105 Pa/m, we observe in Fig. 2a,b a strong dependence of CO2 saturation on contact angle. In particular, saturation of CO2 increases monotonically as function of contact angle within the intermediate-wetting regime35 until reaching a peak around 90. Beyond that angle, CO2 saturation rapidly decreases with the contact angle as the surface wettability turns to water wet.

Figure 2.

Figure 2

CO2 saturation as function of pressure and contact angle. (a) Distributional map of the maximum CO2 saturation as a function of applied pressure gradient and contact angle, respectively, at a temperature of 473 K. (b) Maximum CO2 saturation as function of contact angle for representative pressure gradients at a temperature of 473 K. (c) CO2 saturation along C cutline at a pressure gradient of 1×106 Pa/m for representative temperatures.

Table 3.

Contributions to the pressure gradient per capillary. Contributions to the pressure difference at both ends of each capillary on a two-phase flow simulation based on typical parameter values.

Pressure difference: outlet–inlet per capillary (N/m2)
Externally applied Capillary Viscous Hydrostatic Kinetic Inertia
ΔP·L -4σDcosθ 32D2(η2(L-x)+η1x)x˙ g(ρ2(L-x)+ρ1x)sinβ x˙2(ρ2+ρ1) x¨(ρ2(L-x)+ρ1x)
2.25 -8000 cosθ 0.135 6.1×10-3 0.0275 6.2×10-6

In the regime of pressure gradients below 1×105 Pa/m, fluid flow is mostly driven by capillary pressure. Applying the second term of the right hand side of Eq. 3 to the range of capillary diameters shown in Fig. 1b, we estimate the capillary pressure to be of the order of 4 kPa for contact angles between 20 and 80, the same order of magnitude as the simulated pressure distributions on capillary nodes shown in Fig. S9a. When the fluid-solid interface contact angle θ approaches 90 degrees, capillary pressure drops to zero, see Eq. 3. In this pressure regime, CO2 saturation diminishes as the driving force is not strong enough for sustaining fluid flow. At low externally applied pressure gradients, the magnitude of the pressure within the capillary network is nearly negligible, see Fig. S9b. The relatively low CO2 saturation levels observed for some contact angles are likely due to the network complexity and the remaining viscous forces, with capillaries being plugged by interfaces of water/CO2, where the capillary pressure counteracts fluid flow.

The higher CO2 saturation seen in the regime of pressure gradients above 1×105 Pa/m stems from the fact that the pressure gradients induced by the external driving force are strong enough to overcome the counteracting capillary pressure on those capillaries that had become plugged under conditions of low contact angles, and thus enabling reaching significantly higher saturation values. Saturation values of 20% to 40% are observed for gradient pressure of 5×106 and 1×107 Pa/m, respectively–see Fig. 2a. In Fig. S9a, we observe nodes with pressure of the same order of magnitude as the capillary pressure. Moreover, within the intermediate-wet regime, as the contact angle approaches 90, CO2 saturation reaches a peak because capillary pressure drops to zero and fluid flow is driven primarily by the applied pressure gradient. Within this regime, the saturation values of CO2 decrease rapidly with contact angles larger than 90, because the imposed pressure gradient is no longer high enough to counteract capillary pressure.

Figure 2a maps the maximum achievable CO2 saturation distribution with regards to applied pressure gradient and of CO2-water-rock contact angle. The distinct region of sharp saturation increase around the 90 can be seen in Fig. 2b,c along the 2 cross-sectional line indicated as C in Fig. 2a. As a key result of our study, we obtain a maximum of 85.6% CO2 saturation for a pressure gradient of 10×107 Pa/m and T=473K using 90 contact angle, for the representative sandstone sample. We also observe in Fig. 2b, that the saturation increases with the applied pressure until it reaches a plateau. Variability of the saturation as a function of temperature is generally small as can be seen in Fig. 2c. The increased saturation following deeper permeation of the rock space by scCO2 during injection within the intermediate-wet regime is consistent with a lower capillary pressure12. In the following, we will analyze the injection conditions for CO2 drainage displacement in view of injection security and process efficiency.

Optimization of CO2 drainage displacement conditions

CO2 injection security and costs are primary concerns when optimizing injection conditions. Injected fluid that is not trapped within the pore space will escape. This occurs when the injected volumes surpass one pore volume (PV). CO2 storage security refers to the safe saturation potential capable of hindering leakage, avoiding CO2 injected that is not trapped from reaching the outlet of the pore media. Fig. 3a sheds light on the relative amounts of retained vs. mobile scCO2 within the sample by plotting the value of saturation as a function of the injected volume. Since the CO2 saturation curve reaches a plateau at around 90% of the maximum value (see Fig. S10a and b), to maintain consistency between simulation conditions, this value of saturation was selected to determine the representative injected volume of each case analyzed. We observe in Fig. 3a that intermediate-wet conditions lead to the largest saturation values, especially around a contact angle of 90 and at higher pressures. However, this often requires injection of volumes larger than 1 PV. While the exact values depend on the injection conditions, the results suggest that intermediate-wet conditions may require lower injection pressures to enhance injection security. At lower temperatures, we observe a reduced level of saturation per injected volume, see Fig. S12, requiring larger injected volumes.

Figure 3.

Figure 3

Efficiency and security of CO2 drainage saturation and retention towards capillary trapping potential. Green color shades represent the CO2-wet regime, blue shades correspond to the water-wet regime, and red shades identify contact angles close to 90. The temperature is set to 473 K. Colors represent contact angle while symbols represent pressure gradient. Larger symbols represent higher pressure gradients. The legend is common to both plots. (a) CO2 saturation at 90% of the maximum value as a function of the injected volume required to reach that value. Injected volume larger than 1 PV represents scCO2 that is not stored within the sample. (b) Relation of maximum weighted CO2 saturation (wS) to injected volume across simulated conditions, aimed at increasing saturation close to the diagonal for maximum injection utilization.

Operational efficiency of the process requires maximizing the volume of CO2 retained while minimizing the volume of CO2 injected, thus minimizing cost. The fraction of the injected CO2 that passes through the pore space without being retained leads to the saturation curve of scCO2 forming a plateau as a function of time, as in Fig. S10a. This effect can also be analyzed as function of injected volume, see Fig. S10b, for the same simulation conditions. For the purpose of our analysis, we define the variable Weighted Saturation (wS) as the CO2 saturation (S) scaled by the ratio of saturation to injected volume (IV), that is, wS=SSIV, with units of pore volumes of injected scCO2 between 0 and 1. The peak value of wS is reached for a value of injected volume below 1, as any additional injection does not further increase the saturation level. In Fig. S10c, we plot the weighted saturation as a function of injected volume for a range of pressures at a contact angle of 85, and Fig. S10d displays the weighted saturation for a range of contact angles at a fixed 5×106 Pa/m applied pressure gradient. The plot in Fig. 3b represents maximum weighted saturation relative to injected volume across all the simulated scenarios aimed at optimizing saturation close to maximum injection utilization. For contact angles around 90 and high applied pressures, we obtain the highest saturation values. However, lower applied pressures in the intermediate-wet regime like 90 and 3×105-5×105 Pa/m, might offer a better balance of safety and efficiency. Overall, higher temperatures seem to improve efficiency as well as safety, see Fig. S12 and Fig. S13.

In summary, we have developed a methodology to perform two-phase flow simulations in porous rock samples for exploring the drainage displacement of supercritical carbon dioxide in brine-flooded sandstone reservoirs under intermediate- and CO2-wet conditions. We have analyzed a wide range of injection scenarios by varying contact angles, temperatures, and pressure gradients for identifying the best conditions for CO2 storage potential through capillary trapping. Our CO2 saturation results for contact angles between 20 and 40 are comparable with Krevor et al.3 for water-wet surfaces, where trapped saturation can reach up to 30% of the rock’s pore volume. For contact angles approaching the intermediate-wet regime around around 90, however, the CO2 saturation efficiency increases sharply. For optimized conditions, we obtain drainage displacement saturation values as high as 80% of the pore volume. Our results suggest that a high saturation efficiency may be maintained even at lower pressure levels which would significantly reduce the risk of CO2 leakage.

Methods

Simulation scenarios and parameters

Table 1 collects the parameters used in our simulations.

Digital rock image processing

This work relies on high-resolution digital rock images of rock samples as the geometrical basis for the pore scale simulations and the study of rock properties and fluid infiltration and storage within sub-surface porous structures24,36. In our work, we have acquired and shared as open data a large dataset of three-dimensional images extracted from X-ray μCT scans24,27 of sandstone and carbonate rock samples. For this work, we run our simulation analysis on a Berea Sister Gray sandstone sample randomly selected among the available rocks. The reconstructed volume of the fully digitized rock sample obtained from the μCT measurements is usually cropped into cube-shaped volumes that are more computationally manageable while retaining statistically significant rock properties. In our simulations, we employed a (2.25mm)3 digitized sandstone rock sample scanned at a resolution of 2.25μm/voxel. This resulted in a digital sample with 10003 voxels that was determined as the Representative Elementary Volume (REV) and therefore sufficient to yield accurate rock property predictions like porosity and permeability24. More details can be found in the Supplementary Information Section S1.

Capillary network extraction and centerlines representation

We use a graph-based, capillary network model (CNM) as an accurate representation of the rock porous geometry. Starting with the 3D binarized digital rock image, we apply a custom Dijkstra’s Minimum Path algorithm37, transforming the pore space into voxel-wide lines at the center of the pore channels, finding the most central path from inlet pore to outlet pore of each set of connected pore space voxels through a centrality-based cost function. Each section of the line is saved as a node in a graph and converted into a short cylinder with spatially varying radius to match the local geometry extracted from the microtomography. The resulting network of connected capillaries is an accurate representation of the rock’s pore space. As an example of this transformation, we show the small 1003 image with (225μm)3 volume and its corresponding CNM in Fig. S2 containing 4069 capillaries with a color-coded diameter scale. The capillary network of the sandstone sample analyzed in this paper displays a porosity of 33% and results in a CNM with 2.7×106 capillaries. More details can be found in the Supplementary Information Section S2, and the full algorithm description can be found in24.

Single-phase flow simulation

The fined-grained capillary network representation of the rock’s pore spatial distribution described in the previous section was employed to simulate both single and two-phase fluid flow with a high level of geometrical accuracy. We assume laminar flow and apply the equations relating pressure and flow within each capillary, followed by conservation of mass at each network node, to build a large system of coupled equations in sparse matrix form. The Hagen-Poiseuille Eq. (1) is applied when simulating single-phase stationary flow, that is,

Qj=πRj48μLjΔPj,for every capillaryj 1

where Rj and Lj denote, respectively, the radius and length of capillary j, μ is the viscosity of the fluid, and Qj and ΔPj represent the flow rate and pressure difference across each capillary j. Combining Eq. (1) with the conservation of mass at each network node, Eq. (2),

jQi,j=0,for every nodei, 2

results in a large but rather sparse system of equations to extract properties like pressure distribution or flow rate at each point in the network of microscopic capillaries, as well as bulk flow properties like permeability24. Fig. S3 displays the results of running single-phase, pressure-driven, Poiseuille flow simulations on the capillary network representation of a 10003 voxel sandstone rock sample as input geometry. The absolute permeability for this REV was computed from these simulations as 105, 92 and 54 mD along the X-, Y- and Z-axis, respectively. Further description can be found in the Supplementary Information Section S3.

Two-phase flow simulation

Two-phase flow simulations track the displacement in time of the fluid-fluid interface within each capillary of the high-resolution 3D geometric representation of the rock sample. We restrict the modeling to two incompressible fluids, under laminar, one-dimensional flow along the length of each capillary. Each fluid-fluid interface is assumed perpendicular to the flow direction, i.e. piston-like displacement. The pressure gradient between the two ends of each capillary is expressed as the sum of the gradients produced by various physical effects acting on the position x(t) of the effective interface, after removing all annulling interfaces, between fluids, that is,

ΔPj=8Rj2μ1xj+μ2Lj-xjx˙j-2σRjcosθfor each capillaryj, 3

where ΔPj is the pressure difference across capillary j, with length Lj and radius Rj. μi represents the viscosity of fluid i and σ the interfacial tension between fluids, while θ describes the contact angle formed by both fluids and the matrix surface, defined with reference to the injected fluid as illustrated in Table 2. Finally, xj and x˙j denote the position of the effective interface and its first derivative, respectively. The first term on the right-hand side refers to viscous forces, and second term refers to the capillary pressure contribution from the interfaces. This contribution cancels out in capillaries with an even number of (alternating) interfaces, and reverts to something similar to Eq. (1). Any odd number of interfaces can be represented by a single “effective” interface whose position is calculated as to preserve the relative saturation of each fluid.

In our current implementation, we retain the effect of viscous forces and first order capillary pressure, after higher order dynamical effects to the interface shape are dismissed. Table 3 summarizes the expressions and estimated values of these physical effects, based on the assumptions in Table 2. The average capillary length (i.e., one voxel) and diameter are representative of the distribution shown in Fig. 1b. Under these assumptions, the contributions from hydrostatic, kinetic and inertial forces appear at least one order of magnitude smaller than the least significant of the other three contributions, hence the choice of terms kept in Eq. (3). Together with mass conservation at the nodes, Eq. (3) forms a system of differential-algebraic equations (DAE) representing the interface dynamics over time. Tracking of the fluid interfaces across the network of capillaries then proceeds in alternating sequences of free evolution and jumps. Free evolution refer to the time interval in which the interfaces progress along the same capillary and the overall number of interfaces within all capillaries in the network remain constant. Jump steps occur when any interface reaches a node, which means that the interface is ready to leave its current capillary and enter one or more new capillaries. In this step, free evolution pauses, the interfaces are redistributed throughout the network, and the system of differential algebraic equations representing the network dynamics is rewritten to account for the changes in interface locations. The simulator computes the velocity of the fluid flow through all capillaries as a function of time, which is integrated to determine the position of the fluid-fluid interface within each capillary at each time step, from which to deduce the level of saturation of each fluid phase in the rock pore space. More details on the formulation and implementation can be found in Section S4 of the Supplementary Information.

Simplified capillary network representation

Unlike single phase flow that can run within minutes even on the high-resolution capillary network representation of a REV-sized rock sample with millions of nodes and links, the two-phase dynamic simulations become unfeasible even on large computing resources. To overcome this limitation, we employ a smaller capillary network yet representative of the original rock full centerlines representation to run two-phase simulations and extract flow properties. A custom algorithm is used to construct simplified 2D and 3D capillary networks capable of preserving geometrical properties of the rock morphology relevant to fluid flow such as : (i) porosity; (ii) capillary diameter distribution; and (iii) node coordination number distribution38. The method iterates over the following steps until the porosity of the synthesized network is within a small increment from the original. First it selects a coordination number for each node applying the probability distribution of the original network and adjusts the number of capillaries connected to each node to match the assigned number. Then capillary diameters are assigned by randomly choosing from the diameter probability distribution of the original capillary network. The final step in each iteration involves calculating the porosity of the simplified network by dividing the capillary volume by the sample volume, and informing the adjustments in number of nodes and capillaries of the following iteration based on the comparison against the porosity of the original rock sample. Examples of probability distributions of capillary diameters and coordination numbers, and 2D and 3D ssCN in regular and random configurations can be seen in Fig. S6 and S7, respectively.

Alternative methods propose generating stochastic network models extracted from alternative network modeling approaches3840. Our capillary network representation of the rock geometry has shown superior feature resolution at the microscopic scale and more accurate estimation of plug-scale rock properties24. Consequently, stochastic capillary networks built to closely match the morphology of the original rock will more accurately represent the geometry when using a capillary network representation of the original sample. More details on the algorithm to synthesize networks can be found in Section S5 of the Supplementary Information.

Simulation toolkit for scientific discovery (ST4SD)

In our study we scanned through 4 different temperature scenarios, and per scenario, we studied about 8 fluid-rock interface contact angle values and no less than 8 different driving pressure gradient cases per angle, totaling in 256 different injection conditions to be simulated. Per case simulated, flow simulations of a full data-set of 50 simplified capillary networks, assuming driving pressure along all three axes, that is, 150 executions per each of the 256 cases considered, requiring proper parsing and aggregation of nearly 4×104 simulations. In this work, we employed the Simulation Toolkit for Scientific Discovery (ST4SD) 41 to automate the execution of long simulation campaigns with several chained steps. The use of such workflow scheduler ensures the reproducibility of our results and enable efficiency gains by optimising the use of computing resources. Fig. 1 illustrates the conceptual workflow and in Fig. S11, we show the sequence of steps executed as an ST4SD experiment. A CNM representation of a rock sample is used as input to the ST4SD routine. In this workflow we generate tens to hundreds of simplified capillary networks that meaningfully represent the properties of the original rock sample network model (see Section Simplified capillary network representation). Each simplified capillary network is then used as geometrical input to parallel flow simulations that will estimate relevant physical properties in each representative system. Finally, the individual results from each simplified network are aggregated and combined into a single estimate that applies to the original network. See Supplementary Information Section S8 for more details on this workflow.

Scalability and applicability

The size of the original sandstone rock sample was selected as the minimum representative elementary volume (REV) that can yield accurate rock property predictions of porosity and permeability of the larger rock plug24. Extrapolation of these microscopic results to a reservoir scale can, in principle, be achieved by applying the relative permeability and capillary pressure curves as input parameters of a macroscopic continuum model. Following Kløv et al.42, the rock facies are discretized in regular grids in horizontal and vertical directions, and each rock type in the grid characterized by an average absolute permeability and porosity and a set of average rock curves (relative permeability and capillary pressure) derived from the microscopic capillary network model.

In this work we have studied the injection of CO2 into subsurface porous formations during the drainage phase of the storage process. Once the externally applied pressure is removed, the previously displaced brine flows back towards the pore space during the post-drainage imbibition phase. To study this phase and quantify the final volume of CO2 trapped requires implementing extensions to the code to enable three-phase flow and the inclusion of dynamic boundary conditions to simulate a water-alternate-gas injection scenario. We have open-sourced the digital rock and flow simulation program code to enable a community-driven reuse and extension of its capabilities.

Supplementary Information

Acknowledgements

We acknowledge discussions with Marcio Carvalho (PUC-Rio) and project support by Alexandre Pfeifer and Bruno Flach (both IBM Research). Also, we thank Vassilis Vassiliadis, Alessandro Pomponio, and Michael Johnston (all IBM Research), as well Peter W. Bryant (former IBM Research) for expert technical assistance.

Author contributions

Author J.T.A. performed simulations, implemented data aggregation and analysis scripts, generated graphs and prepared figures. Authors R.G. and R.N.B.F. implemented the ssCN generation method and flow simulation solver, respectively. Authors J.T.A. and M.E.F. processed and analyzed the simulation data. Authors R.N.B.F., M.N.P.S., M.F.B.R. and A.E.C.L. contributed updates to the flow simulation solver implementation and the integration of the flow simulator with ST4SD. Author D.A.L.V. contributed data visualization scripts. Authors M.D.G., M.E.F., R.N.B.F. and A.F.D.S. contributed digital rock samples, rock sample images and experimental data capture. Authors J.T.A., R.G., R.N.B.F., M.E.F., and M.B.S. performed data interpretation and wrote the manuscript and supplemental materials. All authors reviewed the manuscript.

Data availability

Simulation data in the form of saturation over time is available as nn information (Saturation-Data-Berea.xlsx). Microtomography datasets containing grayscale and binary rock image data are available at the Digital Rocks Portal (https://dx.doi.org/10.17612/f4h1-w124) for sandstone samples and on Figshare (10.25452/figshare.plus.21375565.v6) for sandstone and carbonate samples.

Code availability

The source code used to extract the CNM representation from the rock μCT image is available at https://github.com/IBM/flowdiscovery-digital-rock. Additional algorithms used for processing and segmenting the raw grayscale images, are available as Python code at https://github.com/IBM/microCT-Dataset. The code used to run single-phase and two-phase flow simulations on CNM representations of the rock samples is available at https://github.com/IBM/flowdiscovery-simulator. The code employed in the automation of the scientific workflows allowing the execution of ST4SD 41 experiments is available at https://github.com/st4sd/flow-simulator-experiment.

Competing Interest

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-024-65920-6.

References

  • 1.Metz B, Davidson O, De Coninck H, Loos M, Meyer L. IPCC Special Report on Carbon Dioxide Capture and Storage. Cambridge: Cambridge University Press; 2005. [Google Scholar]
  • 2.Kramer D. Negative carbon dioxide emissions. Phys. Today. 2020;73:44–51. doi: 10.1063/PT.3.4389. [DOI] [Google Scholar]
  • 3.Krevor S, et al. Capillary trapping for geologic carbon dioxide storage–from pore scale physics to field scale implications. Int. J. Greenhouse Gas Control. 2015;40:221–237. doi: 10.1016/j.ijggc.2015.04.006. [DOI] [Google Scholar]
  • 4.Chiquet P, Broseta D, Thibeau S. Wettability alteration of caprock minerals by carbon dioxide. Geofluids. 2007;7:112–122. doi: 10.1111/j.1468-8123.2007.00168.x. [DOI] [Google Scholar]
  • 5.Saraji S, Goual L, Piri M, Plancher H. Wettability of supercritical carbon dioxide/water/quartz systems: Simultaneous measurement of contact angle and interfacial tension at reservoir conditions. Langmuir. 2013;29:6856–6866. doi: 10.1021/la3050863. [DOI] [PubMed] [Google Scholar]
  • 6.Al-Khdheeawi EA, Vialle S, Barifcani A, Sarmadivaleh M, Iglauer S. Influence of co2-wettability on co2 migration and trapping capacity in deep saline aquifers. Greenh. Gases: Sci. Technol. 2017;7:328–338. doi: 10.1002/ghg.1648. [DOI] [Google Scholar]
  • 7.Al-Menhali AS, Krevor S. Capillary trapping of CO2 in oil reservoirs: Observations in a mixed-wet carbonate rock. Environ. Sci. Technol. 2016;50:2727–2734. doi: 10.1021/acs.est.5b05925. [DOI] [PubMed] [Google Scholar]
  • 8.Krevor SCM, Pini R, Zuo L, Benson SM. Relative permeability and trapping of CO2 and water in sandstone rocks at reservoir conditions. Water Resour. Res. 2012 doi: 10.1029/2011wr010859. [DOI] [Google Scholar]
  • 9.Shi J-Q, Xue Z, Durucan S. Supercritical CO2 core flooding and imbibition in berea sandstone–CT imaging and numerical simulation. Energy Procedia. 2011;4:5001–5008. doi: 10.1016/j.egypro.2011.02.471. [DOI] [Google Scholar]
  • 10.Bennion, D. B. & Bachu, S. Drainage and imbibition CO2/brine relative permeability curves at reservoir conditions for carbonate formations. In All Days (SPE, 2010). https://doi.org/10.2118/134028-ms.
  • 11.Bennion DB, Bachu S. Drainage and imbibition relative permeability relationships for supercritical CO2/brine and H2S/brine systems in intergranular sandstone, carbonate, shale, and anhydrite rocks. SPE Reserv. Eval. Eng. 2008;11:487–496. doi: 10.2118/99326-pa. [DOI] [Google Scholar]
  • 12.Hu R, Wan J, Kim Y, Tokunaga TK. Wettability effects on supercritical CO2-brine immiscible displacement during drainage: Pore-scale observation and 3D simulation. Int. J. Greenh. Gas Control. 2017;60:129–139. doi: 10.1016/j.ijggc.2017.03.011. [DOI] [Google Scholar]
  • 13.Gooya R, et al. Unstable, super critical CO2-water displacement in fine grained porous media under geologic carbon sequestration conditions. Sci. Rep. 2019 doi: 10.1038/s41598-019-47437-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Kalam S, et al. Carbon dioxide sequestration in underground formations: review of experimental, modeling, and field studies. J. Pet. Explor. Prod. Technol. 2020;11:303–325. doi: 10.1007/s13202-020-01028-7. [DOI] [Google Scholar]
  • 15.Hinton EM, Woods AW. Capillary trapping in a vertically heterogeneous porous layer. J. Fluid Mech. 2021 doi: 10.1017/jfm.2020.972. [DOI] [Google Scholar]
  • 16.Guo R, et al. Role of heterogeneous surface wettability on dynamic immiscible displacement, capillary pressure, and relative permeability in a CO2-water-rock system. Adv. Water Resour. 2022;165:104226. doi: 10.1016/j.advwatres.2022.104226. [DOI] [Google Scholar]
  • 17.Alhosani A, et al. Pore-scale mechanisms of CO2 storage in oilfields. Sci. Rep. 2020 doi: 10.1038/s41598-020-65416-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Plug W-J, Bruining J. Capillary pressure for the sand-co2-water system under various pressure conditions. Application to co2 sequestration. Adv. Water Resour. 2007;30:2339–2353. doi: 10.1016/j.advwatres.2007.05.010. [DOI] [Google Scholar]
  • 19.Iglauer S. CO2-water-rock wettability: Variability, influencing factors, and implications for CO2 geostorage. Acc. Chem. Res. 2017;50:1134–1142. doi: 10.1021/acs.accounts.6b00602. [DOI] [PubMed] [Google Scholar]
  • 20.Huang H, Meakin P, Liu M. Computer simulation of two-phase immiscible fluid motion in unsaturated complex fractures using a volume of fluid method. Water Resour. Res. 2005 doi: 10.1029/2005WR004204. [DOI] [Google Scholar]
  • 21.Pan C, Hilpert M, Miller CT. Lattice-boltzmann simulation of two-phase flow in porous media. Water Resour. Res. 2004 doi: 10.1029/2003WR002120. [DOI] [Google Scholar]
  • 22.Valvatne PH, Blunt MJ. Predictive pore-scale modeling of two-phase flow in mixed wet media. Water Resour. Res. 2004 doi: 10.1029/2003WR002627. [DOI] [Google Scholar]
  • 23.Raeini AQ, Bijeljic B, Blunt MJ. Generalized network modeling: Network extraction as a coarse-scale discretization of the void space of porous media. Phys. Rev. E. 2017;96:013312. doi: 10.1103/PhysRevE.96.013312. [DOI] [PubMed] [Google Scholar]
  • 24.Neumann RF, et al. High accuracy capillary network representation in digital rock reveals permeability scaling functions. Sci. Rep. 2021 doi: 10.1038/s41598-021-90090-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.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) (2022). https://ssrn.com/abstract=4276744.
  • 26.Lucas-Oliveira, E. et al. Micro-computed tomography of sandstone rocks: Raw, filtered and segmented datasets. Data Brief. 41 (2022). [DOI] [PMC free article] [PubMed]
  • 27.Esteves Ferreira M, et al. Full scale, microscopically resolved tomographies of sandstone and carbonate rocks augmented by experimental porosity and permeability values. Sci. Data. 2023 doi: 10.1038/s41597-023-02259-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Neumann, R., Andreeta, M. & Lucas-Oliveira, E. 11 sandstones: Raw, filtered and segmented data. http://www.digitalrocksportal.org/projects/317 (2020). [DOI] [PMC free article] [PubMed]
  • 29.Ferreira ME, et al. Full scale, microscopically resolved tomographies of sandstone and carbonate rocks augmented by experimental porosity and permeability values. Figshare. 2023 doi: 10.25452/figshare.plus.21375565.v6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Zarrouk, S. J. & McLean, K. Chapter 2 - geothermal systems. In Zarrouk, S. J. & McLean, K. (eds.) Geothermal Well Test Analysis, 13–38 (Academic Press, 2019). https://www.sciencedirect.com/science/article/pii/B9780128149461000025.
  • 31.Huber ML, Perkins RA, Laesecke A, Friend DG. New international formulation for the viscosity of H2O. J. Phys. Chem. Ref. Data. 2009;38:101–125. doi: 10.1063/1.3088050. [DOI] [Google Scholar]
  • 32.Heidaryan E, Hatami T, Rahimi M, Moghadasi J. Viscosity of pure carbon dioxide at supercritical region: Measurement and correlation approach. J. Supercrit. Fluids. 2011;56:144–151. doi: 10.1016/j.supflu.2010.12.006. [DOI] [Google Scholar]
  • 33.Bachu S, Bennion DB. Interfacial tension between CO2, freshwater, and brine in the range of pressure from (2 to 27) MPa, temperature from (20 to 125)C, and water salinity from (0 to 334 000) mg·L-1. J. Chem. Eng. Data. 2009;54:765–775. doi: 10.1021/je800529x. [DOI] [Google Scholar]
  • 34.Wagner W, Pruß A. The IAPWS formulation 1995 for the thermodynamic properties of ordinary water substance for general and scientific use. J. Phys. Chem. Ref. Data. 2002;31:387–535. doi: 10.1063/1.1461829. [DOI] [Google Scholar]
  • 35.Iglauer S, Pentland CH, Busch A. Co2 wettability of seal and reservoir rocks and the implications for carbon geo-sequestration. Water Resour. Res. 2015;51:729–774. doi: 10.1002/2014WR015553. [DOI] [Google Scholar]
  • 36.Andrä H, et al. Digital rock physics benchmarks-part ii: Computing effective properties. Comput. Geosci. 2013;50:33–43. doi: 10.1016/j.cageo.2012.09.008. [DOI] [Google Scholar]
  • 37.Dijkstra EW. A note on two problems in connexion with graphs. Numer. Math. 1959;1:269–271. doi: 10.1007/BF01386390. [DOI] [Google Scholar]
  • 38.Raoof A, Hassanizadeh SM. A new method for generating pore-network models of porous media. Transp. Porous Media. 2009;81:391–407. doi: 10.1007/s11242-009-9412-3. [DOI] [Google Scholar]
  • 39.Idowu, N. A. Pore-scale modeling: Stochastic network generation and Modeling of rate effects in waterflooding. Ph.D. thesis, Imperial College London (2009).
  • 40.Sok RM, et al. Direct and stochastic generation of network models from tomographic images; effect of topology on residual saturations. Transp. Porous Media. 2002;46:345–371. doi: 10.1023/A:1015034924371. [DOI] [Google Scholar]
  • 41.Johnston, M. A., Vassiliadis, V., Pomponio, A. & Pyzer-Knapp, E. Simulation Toolkit for Scientific Discovery (2022). https://github.com/st4sd/.
  • 42.Kløv, T. et al. Pore-to-Field Scale Modeling of WAG. vol. All Days of SPE Annual Technical Conference and Exhibition, SPE–84549–MS (2003). https://doi.org/10.2118/84549-MS.

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

Simulation data in the form of saturation over time is available as nn information (Saturation-Data-Berea.xlsx). Microtomography datasets containing grayscale and binary rock image data are available at the Digital Rocks Portal (https://dx.doi.org/10.17612/f4h1-w124) for sandstone samples and on Figshare (10.25452/figshare.plus.21375565.v6) for sandstone and carbonate samples.

The source code used to extract the CNM representation from the rock μCT image is available at https://github.com/IBM/flowdiscovery-digital-rock. Additional algorithms used for processing and segmenting the raw grayscale images, are available as Python code at https://github.com/IBM/microCT-Dataset. The code used to run single-phase and two-phase flow simulations on CNM representations of the rock samples is available at https://github.com/IBM/flowdiscovery-simulator. The code employed in the automation of the scientific workflows allowing the execution of ST4SD 41 experiments is available at https://github.com/st4sd/flow-simulator-experiment.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES