Introduction

Carbon dioxide (CO2) storage in underground saline aquifers is a promising way to reduce CO2 emission in the atmosphere. This strategy provides long-term and large-scale storage of CO2. Clay minerals1, such as illite, chlorite, kaolinite and montmorillonite (MMT) play an important role in this process. On the one hand, owing to their porous (layered) structure, the clay minerals have remarkable capacity of adsorbing CO2 2,3,4. They provide a large amount of space for storing CO2 5. On the other hand, clay is almost impermeable, and therefore, the clay-enriched cap rocks show excellent sealing ability to retain injected CO2 6,7,8. Gas leakage and environmental impact are the main problems found after risk assessment of CO2 storage. These problems are closely related to fluid (gas) transportation in clay. Gas diffusion in clay is the most important method for gas transportation because of the extremely low permeability of clay.

Many experimental studies have focused on the structure and interaction of CO2 and clay mineral9,10,11,12. Loring et al. examined that CO2 can migrate the interlayer region of MMT based on the in situ X-ray diffraction, magic-angle spinning in nuclear magnetic resonance spectroscopy and attenuated total reflection infrared spectroscopy10, 13. Giesting et al. investigated the impact of CO2 absorption on Ca-exchanged MMT expansion under different CO2 pressures14. In addition, quasi-elastic neutron scattering experiments on hydrated clays have shown that hydrated cation diffusion mobility is probably a complex dynamic process, and the diffusion coefficients of the exchangeable cations were estimated15. Kozaki et al. determined the apparent diffusion coefficients of Cs+ as functions of the temperature16. Sánchez et al. discussed that the self-diffusivity of water depends on the temperature and ionic strength of different kinds of clays17. However, no experiment on diffusivity of CO2 in clay was reported.

With the current high-performance computational resources, molecular simulations have become powerful tools for understanding the molecular-scale structural18, 19, thermodynamic20, mechanical21 and dynamic22,23,24,25 properties of clay. Grand-canonical Monte Carlo (GCMC) method was used to examine the adsorption of CO2 with H2O23, CH4 26,27,28 and organic molecules25, 29 in clay. Yang et al. used molecular dynamics (MD) to study the structure and self-diffusion coefficient (SDC) of CO2 in uncharged clay-like slit pores24. Cygan et al. developed CLAYFF force field30 for clay and three-site flexible potential modes of CO2 31. Myshakin et al. showed that the intercalation of CO2 in clay caused the significant changes in the d-spacing and described that the distribution and diffusion of CO2, H2O and Na+ were affected by the number of layers of clay32,33,34. Botan et al. found that CO2 affects the diffusion of mobile species in clays23.

All the above-mentioned MD simulations mainly investigated the SDCs. Two important diffusion coefficients that are closely related to gas transportation, namely, Maxwell–Stefan diffusion coefficient (MDC) and Fick diffusion coefficient (FDC), have not been investigated. In fact, FDC, instead of SDC, is usually experimentally measurable and is used as parameter input in macroscopic gas transportation formulation, which predicts transportation of underground injected CO2. In this work, a series of MD simulations are performed to explore various diffusion coefficients of CO2 in clay. The effects of gas concentration, water concentration and temperature on SDC, MDC and FDC are discussed in detail.

Methods

Theory of diffusion

As stated above, diffusion coefficients mainly have three types, SDC, FDC and MDC, which are useful in characterising molecular transport and mobility within porous materials. Self-diffusion means random motions or mixing of particles in the thermodynamic equilibrium. In MD simulation, SDC, D iself , of component i is computed by Einstein equation35:

$${D}_{iself}=\frac{1}{2d{n}_{i}}\mathop{\mathrm{lim}}\limits_{t\to \infty }\frac{d}{dt}\sum _{l=1}^{n}{({r}_{l,i}(t)-{r}_{l,i}(0))}^{2},$$
(1)

where n i is the number of the molecules of component i, d is the dimension of the system and r l , i (t) is the position vector of molecule l at time t.

FDC is the particle motions driven by chemical or concentration gradient, resulting in the net mass transport. Fick’s law of diffusion defines the transport diffusivity, D iFick , as the proportionality factor between the flux N and the concentration gradient:

$$N=-{D}_{iFick}\nabla c.$$
(2)

Chemical potential gradient is considered as the fundamental driving forces for diffusion36,37,38,39,40. For single-component diffusion in porous material, the transport equation can be expressed as follows:

$${N}_{i}=-{L}_{i}\nabla {\mu }_{i}.$$
(3)

where μ i is the chemical potential of gas i. Moreover, L is obtained from the MD simulations using41 the following:

$${L}_{i}=\frac{1}{2dV{k}_{B}T}\mathop{\mathrm{lim}}\limits_{{\rm{\Delta }}t\to \infty }\frac{1}{{\rm{\Delta }}t}\langle {(\sum _{l=1}^{{n}_{i}}({r}_{l,i}(t+{\rm{\Delta }}t)-{r}_{l,i}(t)))}^{2}\rangle $$
(4)

where V is the clay volume, k B is the Boltzmann constant and T is the temperature. The content in <…> represents an average on the cross-displacement correlation function (CDCF). The notation < > represents an average on a number of independent runs of same ensembles starting from different initial conditioins.

The Maxwell–Stefan (M–S) theory of diffusion was already available from Maxwell42 and Stefan43, in which gas diffusion is driven by chemical gradient. Using the M–S theory, the following expression can be derived for diffusion of the single component in a nanoporous material:

$${N}_{i}=-\rho {{\rm{\Theta }}}_{i,sat}{D}_{iM-S}\frac{{\theta }_{i}}{{k}_{B}T}\nabla {\mu }_{i}\,,$$
(5)

where ρ is the clay density expressed as the number of unit cells per cubic meter, Θ i,sat is the saturation loading of the component i, μ i is the chemical potential expressed in joules per molecule and N i is the molar flux of the component i expressed in molecules per square meter per second. The fractional occupancy θ i are defined as follows:

$${\theta }_{i}=\frac{{{\rm{\Theta }}}_{i}}{{{\rm{\Theta }}}_{i,sat}},$$
(6)

where Θ i is the loading of the component i. Combining equation (3) and equation (5), the MDC, D iM-S , is calculated by the following:

$${D}_{iM-S}=\frac{{k}_{B}T}{\rho {{\rm{\Theta }}}_{i}}\,{L}_{i}$$
(7)

Under isothermal condition, the molecules are considered to move with average velocity subject to a driving force μ j ,μ = μ 0 + k B T ln f, where f is the fugacity and μ = k B T f/f. Thus, equation (2) is equivalent to equation (3).

$${N}_{i}=-{D}_{iFick}\nabla {c}_{i}=-\rho D{}_{iFick}\nabla {{\rm{\Theta }}}_{i}=-\rho D{}_{iFick}{\rm{\Theta }}_{i}\frac{\partial \,\mathrm{ln}\,{{\rm{\Theta }}}_{i}}{\partial \,\mathrm{ln}\,{f}_{i}}\frac{\nabla {\mu }_{i}}{{k}_{B}T}$$
(8)

The FDC and MDC are related by

$${D}_{iFick}={D}_{iM-S}{\rm{\Gamma }},$$
(9)

where Γ is the thermodynamic factor

$${\rm{\Gamma }}={{\rm{\Theta }}}_{i}\frac{\partial \,\mathrm{ln}\,{f}_{i}}{\partial {{\rm{\Theta }}}_{i}}.$$
(10)

MD simulation details

The sodium-saturated Wyoming-type MMT is used as the clay crystal model with unit formula Na0.75[Si8](Al3.25Mg0.75)O20(OH)4 44, which comprises 2:1 or tetrahedral−octahedral−tetrahedral layers. The substitution of octahedral Al3+ by Mg2+ and tetrahedral Si4+ by Al3+ leads to net negative layer charge. The interlayer Na+ cations are balanced by these negative changes. Three-dimensional periodic boundary condition is applied to a simulation box comprising 32 (8 × 4 × 1) united cells. Clay model with different number of CO2 and H2O are allowed to freely swell to their equilibrium d-spacing. All simulated systems are listed in Table 1. Cn (n = 1, 2,…) denotes the system in which the number of H2O is fixed, and the number of CO2 is represented by n. Hn (n = 1, 3,…) represent systems with different numbers of H2O. Tn (n = 1, 3,…) represents systems with varying temperature.

Table 1 Simulation parameters of various simulation systems.

In this article, all simulations are performed with the Accelrys Materials Studio software.The CLAFF force field30, 31(Cygan, Liang et al. 2004, Cygan, Romanov et al. 2012) is used30,31,32. The Ewald summation method is applied for the electrostatic interactions. The atom-based summation method is used in the van der Waals interactions with a cut-off of 12.5 Å. Gas diffusions are simulated as follows: Gases are firstly inserted into the above equilibrium configuration by GCMC method to get a new clay-gas cell. The cell is minimised and equilibrated by NPT and NVT. Then, the cell is run in a NVT ensemble (0.5 ns) followed by a long-time (5 ns) NVE run. The trajectories in the NVE run are saved for diffusion coefficient computation. Integration time step is set to 1 fs. Since diffusion coefficients are based on statistics of numerous molecule trajectories, all the diffusivities in this article are computed by averaging on more than 10 indenpent MD runs to get reliable results.Gas concentration, water component and temperature are used to investigate their impacts on gas diffusions.

Results and Discussion

MD simulation can be used to obtain not only gas diffusion coefficients but also the microscopic details of the diffusion process, which is helpful to understand underlying diffusion mechanism in a confined space. Figure 1 depicts a simulation snapshot of the diffusion of CO2 and H2O in MMT clay, from which it is seen that fluid molecules are uniformly distributed in the interlayer of MMT. The direction perpendicular to the walls of interlay is defined as z-axis and the mutually orthogonal x- and y-axes form a plane parallel to the walls. The short length along the z-axis greatly hinders the diffusion of gases along this direction. Thus, only the diffusion behaviour of fluids along the x–y plane is investigated in this study. Unless stated otherwise, the diffusion coefficients in this work refer to the diffusion in the x–y plane.

Figure 1
figure 1

Snapshot of MD simulation of 64 CO2 and 160 H2O molecules in MMT cell.

Self-diffusion coefficients and its Variation with CO2 concentration

Diffusion coefficients are calculated based on the statistical average of the motion of large amounts of particles, and their accuracy relies on the sample size. For the sake of accuracy, each system is run 10 times independently. The resulting MSDs are averaged to calculate SDC. Diffusion coefficients are related to many factors including type and concentration of the gas, size of the pores, temperature and so on. Injection pressure of CO2, moisture content and underground temperature are key factors in the geological storage of CO2. Therefore, this study focuses on the impacts of CO2 concentration, water concentration and temperature on CO2 diffusion coefficient.

Firstly, the influence of CO2 concentration on its SDC is studied. The number of water molecules is set to 5 molecules per unit cell and the temperature to 313.15 K (approximately the temperature of 1000 meters underground). The Monte Carlo method is used to insert varying amounts of CO2 molecules into the system. The system is then relaxed to equilibrium through NPT and NVT run, with resulting interlay distances (d-spacing) shown in Table 1. The equilibrated system is then subjected to dynamic run in NVE ensemble to compute SDC, as shown in Fig. 2a. With the increase of CO2 concentration, the SDCs of CO2 and H2O firstly increase and then decrease. At the CO2 loading value of 64 (C6 system), the SDCs of both reach maximum values. The SDC of H2O remains higher than that of CO2, which originates from the smaller thermodynamic diameter of H2O (2.65 Å) compared with that of CO2 (3.3 Å).

Figure 2
figure 2

D iself of CO2 and H2O in MMT with different systems: (a) CO2 loading; (b) H2O loading; (c) temperature. Inset of (c) shows Arrhenius plot of SDC versus temperature.

However, many studies had shown that the SDCs of gases in porous media decrease with the increase of their concentrations36, 38, 45, which is different from the aforementioned result in Fig. 2a. To explore the cause of the variation of SDC, we further analyse the effect of CO2 on the clay structure. As shown in Table 1, the d-spacing of MMT continues to increase with CO2 concentration, which could provide fluids with larger space for diffusion, resulting in larger diffusion coefficient. SDC is expected to increase with CO2 concentration monotonously. However, our simulations reveal a higher SDC in high-concentration system C6 compared to the low-concentration system C5. To further explore the cause of this unusual SDC variation, fractional free volume (FFV) of the system is defined as the ratio of interlayer space unoccupied by fluids to the total volume of MMT:

$${\rm{FFV}}=\frac{{V}_{free}}{{V}_{total}},$$
(11)

where V free is the free volume and V total is the total volume of the MMT. The FFV can be directly determined by molecular probes46, 47. As shown in Fig. 3a, the FFV increases with the CO2 concentration firstly and peaks at 64 CO2 molecules, which is in accordance with the position of maximum of CO2 SDC. This finding indicates two counter-interactions, as follows. Firstly, the increase of CO2 concentration could cause the expansion of d-spacing in the system and provide fluids with more space for diffusion. Secondly, increasing CO2 molecules occupy more space, thereby resulting in the decrease of free volumes. The fluid molecules become more crowded and diffuse more slowly. Therefore, fluid SDC depends on the free space in the interlayer. At the initial stage of CO2 injection, the rapid expansion of d-spacing increases the free volume in the interlayer, which is beneficial for fluid diffusion and increases CO2 SDCs. The free volume reaches a maximum at 64 CO2 molecules. The free volume decreases despite the continued expansion of d-spacings, which hinders gas diffusion and decreases the SDCs of CO2 and H2O (Fig. 3a).

Figure 3
figure 3

Fractional free volume (FFV) dependence on: (a) CO2 loading; (b) H2O loading.

Variation of SDCs with moisture and temperature

Water content varies with the depth of storage aquifer. A MMT system with 2 CO2 molecules per unit cell is used to investigate quantitatively the impact of water concentration on the diffusion. Moreover, the temperature is fixed at 313 K. Figure 2b shows the variation of SDCs with H2O concentration, where the SDCs of CO2 and H2O increase with H2O concentration. Similarly, the FFVs under different moisture contents can be calculated, as shown in Fig. 3b. The FFV increases with moisture content, showing the same trend as the SDCs. The increase of water molecules increases the free volume in the interlayer and supports the diffusion of fluids.

Temperature is an important factor in the diffusion of gases. As shown in Fig. 2c, increasing temperature can accelerate the thermal motion of molecules and increase their kinetic energy, thereby gradually increasing fluid SDC. Calculations show that the relationship between SDC and temperature follows the classical Arrhenius formula:

$$D={D}_{0}{e}^{-\frac{{E}_{a}}{RT}},$$
(12)

where D 0 is a constant, and Ea is the activation energy of diffusion. According to the equation, the activation energy for CO2 diffusion in MMT is 20.26 kJ/mol (see inset of Fig. 2c), which is greater than its activation energy of diffusion in pure water 17.8904 kJ/mol48. The MMT layers impose restriction on CO2 diffusion, causing high activation energy in MMT.

Details such as the paths and displacements of molecules provided by MD simulation can be used to study the microscopic mechanism of gas diffusion. Previous work indicated that the diffusion of gases in porous media (such as polymeric compounds and metal organic frameworks) involves two processes: limited movements within one micropore (small displacements) and jumps among micropores (large displacements)37. Layered MMT provides anisotropic confined space without interconnected micropores. Diffusion of gas in such structure is different from random movements of gas in unlimited environment. We further analyse the displacement distribution of CO2 molecules, as shown in Fig. 4. All the distributions are seen to have a single peak, and no peak is shown at large displacements. The displacements generally fall within 0.6–1.0 Å. This finding indicates that no inter-pore jumps occur during gas diffusion. Figure 4 also demonstrates that, as CO2 concentration increases, the displacement peak (i.e. the prevailing displacement) moves towards the left and becomes wider, reaching the maximum width in the C5 system. This finding implies increases of both the prevailing displacement and the number of fast-speed molecules. Therefore, with the increase of CO2 concentration, SDC of CO2 increases and reaches a maximum at C5 system. Similarly, the increase of moisture and temperature increases prevailing displacement and peak width, thereby increasing the SDC (as shown in the Figure above). The displacement distributions can be fitted to logarithmic normal distribution function (LNDF):

$$y=\frac{{e}^{-\frac{{(-a+\mathrm{log}[x])}^{2}}{2{b}^{2}}}}{d\sqrt{2\pi }x}.$$
(13)
Figure 4
figure 4

Distributions of displacement, with different systems: (a) CO2 loading; (b) H2O loading; (c) temperature.

Figure 5a shows some examples, in which curves are observed to be well-fitted to the data (R2 > 0.98). To quantitatively examine the relationship between the displacement distribution and SDC, the mean value of LNDF:R av  = \({e}^{(a+{b}^{2}/2)}\), an important characteristic parameter for log-normal distributions, is calculated. The results are shown in Fig. 5b–d. Figure 5b shows the relationship between mean displacement and CO2 concentration. In this study, R av increases with CO2 concentration firstly, reaches a maximum at C5 and then decreases, showing the same trend as the SDC of CO2. The average displacement of molecules in unit time (1 ps) reflects the relative speed of diffusion, and hence, larger R av results in faster diffusion speed and a higher SDC. In a word, R av is positively related to the SDCs of CO2 and H2O. This finding is further validated by systems with varying moisture contents and temperatures. As shown in Fig. 5c,d, R av increases with moisture and increases linearly with temperature, causing the increase of SDCs of CO2 and H2O (Fig. 2).

Figure 5
figure 5

(a) Distributions of displacement and the fitted line in logarithmic normal distribution. The average displacement with different systems: (b) CO2 loading; (c) H2O loading; (d) temperature.

Variation of MDC and FDC with concentration, moisture content and temperature

To calculate MDC, the Onsager coefficient L should be determined using equation (4) in advance. The CDCF can thus be computed from the slope of the curve, which is used to calculate MDC from equation (7) and FDC using equation (9). The thermodynamic factor in equation (9) requires the adsorption isotherm of CO2, which can usually be simulated using the GCMC method. The conventional GCMC method assumes a rigid absorbent (μVT ensemble). However, MMT clay swells after adsorbing CO2. Swollen MMT can continue to adsorb more gas. Therefore, the conventional GCMC is not suitable for calculating adsorption isotherms of CO2 in MMT. In this study, we adopt a new elastic-adsorption approach to simulate CO2 isotherm by considering the swelling of MMT. The MMT structure with the initial 224 water molecules is taken as an example (see Fig. 6). Using the conventional GCMC method, we can obtain significantly different adsorption isotherms at different fixed d-spacing values, i.e. the initial and swollen d-spacing. In these isotherms, the curves rapidly approach to saturation at low pressure, and the amount of CO2 adsorption is almost kept constant when the pressure rises above 1 MPa (shown by the black line in Fig. 6), which is inconsistent with experimental results49. However, the CO2 adsorption isotherm obtained by the above elastic-adsorption method increases gradually with the CO2 pressure, which is more qualitatively coincident with the Langmuir formula and the above-mentioned experiment results. The maximum adsorption θ sat can be obtained by fitting with the Langmuir equation, and then, the thermodynamic factor can be calculated by equation (10). The results show that thermodynamic factor always increases with increasing CO2 concentration. For low CO2 concentrations, thermodynamic factor is not influenced by H2O apparently, whereas at higher CO2 concentrations, the thermodynamic factor gradually decreases with H2O concentration.

Figure 6
figure 6

Adsorption isotherms of CO2 by conventional GCMC method (black) and flexible adsorption method (red) in C1 system.

The effect of CO2 concentration, H2O content and temperature on MDC and FDC is also explored. The red dots in Fig. 7 represent the variation of CO2 MDC, which increase with CO2 concentration, H2O content and temperature. The black dots in Fig. 7 represent the FDC. The thermodynamic factor is generally high. Thus, the FDC is usually larger than MDC. Similar to MDC, FDC increases with CO2 concentration, H2O content and temperature.

Figure 7
figure 7

DiM-S and Difick of CO2 in different systems: (a) CO2 loading; (b) H2O loading; (c) temperature.

The significance differences of CO2 diffusivities among CO2 concentration moisture content and temperature are calculated as 0.033 (SDC), 0.027 (MDC) and 0.012 (FDC) respectively, indicating the reliablity of the above results.

Relationship between SDC and MDC: The coupling effect of CO2 molecules

Krishna and Paschek et al. proved that the difference between MDC and SDC is caused by the self-exchanging coupling between molecules of a diffusing gas40. The strength of the coupling between gas molecules can be represented by the self-exchange coefficient D ii , which is calculated by the following formula:

$$\frac{1}{{D}_{iself}}=\frac{1}{{D}_{iM-S}}+\frac{{\theta }_{i}}{{D}_{ii}}.$$
(14)

A lower value of D ii indicates stronger correlation and vice versa. The results of Krishna et al. indicated that D ii is significantly influenced by the concentration of the gas: Higher concentration leads to stronger correlation40. Using the aforementioned SDC and MDC results, the impact of CO2 concentration on D ii is shown in Fig. 8. With increasing CO2, D ii firstly increased and then decreased, reaching the maximum at 2 molecules/unit cell. D ii increases with increasing CO2 molecules, thereby leading to weak correlation among CO2 molecules. When the CO2 concentration exceeds 2, D ii begins to decrease, resulting in stronger correlation. This result is different from the case described in ref. 40, where D ii monotonically increased with gas concentration in MOF. The coupling between molecules may have been influenced by two factors. On one hand, the correlation is strengthened by increasing the CO2 concentration. On the other hand, the rising concentration causes the MMT to expand, thereby increasing the volume of the layer and weakening the correlation. The final strength of the coupling may depend on the FFV within the MMT.

Figure 8
figure 8

The dependence of D ii on CO2 loading.

Conclusions

In this study, MD is used to study various diffusion coefficients of CO2 in MMT clay under varying conditions. With increasing CO2 concentration, the SDCs of CO2 and H2O display a peak, respectively. Water content and temperature are positively correlated with the SDC. Many previous studies show that SDCs of gases in porous media usually decrease monotonically with the gas concentration. To further explain the unusual results, the FFV within MMT and the displacement distribution of CO2 are analysed. FFV has an important effect on the diffusion of gas molecules in MMT. Increasing CO2 concentration causes the expansion of MMT, thereby increasing the internal FFV of MMT and providing gas molecules with more space for diffusion. This finding explains the initial increase of the fluid SDC in MMT. FFV begins to decrease when the CO2 concentration rises above 2, which hinders the gas diffusion and thereby decreasing SDC. Similarly, the increase of water content also causes the MMT to expand and create more free space for CO2 diffusion, leading to increasing CO2 SDC. The fluid SDC in MMT depends on the FFV of MMT. Furthermore, the displacement distribution of CO2 follows log-normal distribution, and the mean of the distribution shows the same trend as the SDC, which provides a good explanation of the effects of CO2 concentration, moisture and temperature on SDC from another perspective.

Most previous works focused on the self-diffusion coefficients of gases in MMT. FDCs are of practical importance for the geological storage of CO2. In this work, the MDC and FDC of CO2 in MMT are investigated by MD for the first time, both of which increase with CO2 concentration, moisture and temperature. Using the SDC and MDC, we calculate the self-exchange coefficient D ii , which represents the coupling effect among CO2 gas molecules. This coefficient firstly increases with CO2 concentration, reaching a maximum with concentration 2, and then decreases, showing the same trend as FFV. This implies that, with increasing CO2 concentration, the FFV increases, thereby weakening the correlation between CO2 molecules until the CO2 concentration reaches 2. Then, the FFV decreases and the CO2 correlation coupling strength begins to increase.