1 Introduction

As the important cements and inorganic components of shale and coal seams, clay minerals interacting with CH4 have been one of the research hotspots in the energy field (Zhang et al. 2014; Zhao et al. 2016). Kaolinite is the most common clay mineral with large specific surface area and complex pore structure (from micropore to mesopore), which makes kaolinite have strong adsorption capacity (Murray 1999) and. The composition of kaolinite is Si4Al4O10(OH)8 and it consists of 1:1 dioctahedral layers which is composed of a sheet of corner-sharing SiO4 tetrahedra and a sheet of edge-sharing AlO6 octahedra linked by common oxygen atoms parallel to the (001) sheet (Warne et al. 2000). Hence, it is necessary and important to be able to understand the interaction mechanism between CH4 and kaolinite for the researchers in the fields of shale gas and coal bed methane.

Shale and coal seams are generally rich in water, making the surface of clay minerals easily occupied by water molecules (Zhang 2005; Jenkins and Charles Boyer 2008). Some molecular simulations have been implemented to study the effect of water content on CH4 adsorption on kaolinite in the past few years. Zhang et al. utilized the molecule simulations to research the effect of water content on CH4 adsorption on kaolinite. It is illustrated that the water has a side effect on the CH4 adsorption capacity and the adsorption rate of kaolinite. The oxygen atom in kaolinite is the preferential adsorption site for water molecules and CH4 molecules, while the hydrogen atom is only the preferential adsorption site for water molecules. Xiong et al. utilized GCMC simulations to research the influence of water on CH4 sorption in kaolinite. The results reflected the CH4 and water molecules competed in the kaolinite pores, and the water molecules preferentially occupied the low-energy adsorption sites, which reduced the adsorption space and adsorption sites of the CH4 molecules. However, these research outcome focusing on the effect of water content on adsorption behavior of CH4 in kaolinite paid little attention to the transport aspect of the effect of water content, for example, the influence of water content on diffusion of CH4 in kaolinite.

Diffusion is a very important phase in unconventional natural gas extraction, reflecting the speed of CH4 migration from micropores to fractures (Hu et al. 2017). This process is much slower than permeation flow, occurring in natural and artificial cracks in coal seams and shale, and is regarded as an intermediate process for CH4 production. So the molecular dynamics (MD) method was utilized to study the CH4 diffusion in kaolinite with pre-absorbed water contents of 0–5 wt% simulated at 293.15 K and 5 MPa in our paper. However, this paper mainly focuses on the water content on methane diffusion in kaolinite. Therefore, there are still many other basic parameters including pore size, pressure, temperature, etc., which also can influences the methane diffusion in kaolinite and need further research. We hope that this study can quantitatively analyze the diffusion properties of kaolinite and lay the foundation for further research on the storage and exploration of CH4 and shale gas reservoirs.

2 Molecular dynamics simulation details

2.1 Models

To study the kaolinite–water–CH4 systems, the initial state of all models used here are the final output of Monte-Carlo simulations computed in our preceding work (Zhang et al. 2018a) in which the temperature was fixed at 293.15 K and pore size was 0.72 nm. The number of water molecules was 0, 9, 18, 27, 36, and 45, corresponding to the water contents of 0, 1, 2, 3, 4, and 5 wt%, respectively. Then, in order to reach the equilibrium state, these configurations were implemented geometry optimization by 1 ns NVT and 1 ns NPT run (Hu et al. 2017). For the purpose of clarity, only the structure of kaolinite–H2O–CH4 system with different water content was shown in Fig. 1.

Fig. 1
figure 1

Equilibrium configuration snapshot of kaolinite–H2O–CH4 system with a 0%, b 1%, c 2%, d 3%, e 4%, and f 5% water contents

2.2 Implementation of simulation

The Dreiding force field (Mayo et al. 1990; Fafard et al. 2017; Zhou et al. 2017) was selected in all simulations and can be utilized to study the physical and diffusion properties of kaolinite structures which has been confirmed in our previous works (Zhang et al. 2018a, b). The electrostatic and van der Waals interactions between CH4 and kaolinite were simulated by Ewald method with a cut-off value of 0.8 nm (Rutkai and Kristóf 2008). CH4 diffusions were computed as follows: the initial state of all models used here are the final output of Monte-Carlo simulations to obtain new kaolinite–H2O–CH4 systems. Then, these systems were run in 1 ns NPT and 1 ns NVT ensemble for minimized to relaxation. At last, 5 ns NVT MD simulations were implemented to obtain the displacement, CH4 self-diffusivity, interaction energy, and radial distribution functions (RDF). Water contents were varied to investigate its effects on CH4 diffusion. The Andersen barostat (Fernández-Pendás et al. 2014) and Berendsen thermostat (Evans and Holian 1985) were utilized to control the pressures and temperatures. And we used the Accelrys Material Studio software (X. Accelrys & Software Inc) to implement all the MD simulations.

3 Results and discussion

3.1 Diffusion trajectories

Molecular simulations can direct obtain the trajectories of gas molecules through the porous matrix with different water contents (Hu et al. 2010; Zhang and Yan 2011). These trajectories should be able to provide a mechanistic picture of the diffusive process which cannot be directly obtained through experimentation (Hu et al. 2017). The displacements of CH4 and H2O molecule according to the motion behaviour, \(\left| {r\left( t \right) - r\left( 0 \right)} \right|\) was illustrated in Fig. 2. For the sake of clarity, only the system for the CH4-saturated kaolinite with 4% water is displayed. Figure 3 displayed the simulated motion of a CH4 molecule and a water molecule in kaolinite. From Figs. 2 and 3, it was seen that CH4 and H2O molecule have highly irregular movements. Small displacement oscillations occurring between 200 ps and 500 ps represent that the CH4 and H2O molecule motions were limited in a single hole which represents a single silicone tetrahedral ring or aluminum oxide octahedral ring. On the other hand, large displacement oscillation illustrated that gas jump from one hole to another. In all water contents systems, the hopping mechanism is the underlying process of the diffusion, which is to some extent similar to the diffusion mechanism in other porous media systems (Schaefer et al. 1997).

Fig. 2
figure 2

Displacement of the CH4 and H2O molecule for moist kaolinite with 4 wt% water at 293.15 K

Fig. 3
figure 3

Simulated motion of a CH4 molecule and a water molecule in kaolinite. Color scheme: CH4, black; water, blue

Figure 4a–f revealed that the pathway of a CH4 molecule through the kaolinite matrix with different water contents. Diffusion is not just a limited fluctuation in a single pore, which is unreasonable, and Einstein diffusion can reflect the frequent jumps of gas between different pores (Hu et al. 2017). In this case, many phenomena of jumps between different pores were found, indicating that CH4 mainly act as the Einstein diffusion in kaolinite during the simulation. From Fig. 4c–e, the jumps of CH4 between two adjacent holes are also clearly obtained. The simulation results reflected that the jumps of CH4 between two adjacent pores became more frequent with the increase of water content.

Fig. 4
figure 4

Diffusion pathway of a CH4 molecule in kaolinite matrix with a 0%, b 1%, c 2%, d 3%, e 4%, and f 5% water contents during a time period of 1000 ps

3.2 Self-diffusion coefficient

At present, the self-diffusion coefficient Ds (m2/s) is mainly determined by microscopic techniques, which can describe the motion of a single labeled particle. (Jobic and Theodorou 2007). The self-diffusion coefficient is usually obtained by calculating the mean squared displacement (MSD) of each molecule over time. The MSD of a single molecule is calculated by Einstein’s law of diffusion (Einstein 1905)

$$D_{S} = \frac{1}{6N}\lim_{t \to \infty } \frac{d}{{d_{t} }}\left\langle {\sum\limits_{t = 1}^{N} {\left[ {r_{i} \left( t \right) - r_{i} \left( 0 \right)} \right]^{2} } } \right\rangle$$
(1)

The influence of water on CH4 diffusion coefficients at 293.15 K and 5 MPa are displayed in Fig. 5. It was shown that the CH4 diffusion coefficient was very low (3.28 × 10−9 m2/s) and increased linearly at \({\text{D}}_{{{\text{CH}}4}} = 1.6395\;{\text{wt}} + 3.5362\) with the increasing of water content, reflecting that water can increase the diffusion capacity of CH4 in kaolinite. The reason is that when the water molecules move, the CH4 molecules will be carried along with them and this is conducive to the CH4 diffusion in kaolinite. The similar phenomenon was also found in the micro-pores of other porous media (Zhang and Yan 2011).

Fig. 5
figure 5

The CH4 self-diffusion coefficients as a function of water content

3.3 Transport diffusion coefficient

In addition, the transport or Fickian diffusion coefficient Dt (m2/s) is more important in practical applications. Thus, the CH4 transport diffusion coefficient Dt (m2/s) in kaolinite was also calculated by the Maxwell–Stefan diffusion model (Kärger et al. 2014)

$$D_{t} = D_{s} \left( {\frac{\partial \ln f}{\partial \ln c}} \right)$$
(2)

where f is the bulk gas fugacity, C is the sorption concentration, and \(\frac{\partial \ln f}{\partial \ln c}\) is the thermodynamic factor.

Figure 6a showed the curve of lnf (logarithm of the fugacity), which was obtained based on the Peng–Robinson equation of state (Zhang et al. 2018a) versus lnC (logarithm of the sorption concentration) calculated according to the study of Zhang et al. (Zhang et al. 2018a, b). In Eq. (2), the thermodynamic factors were defined as the slope of Fig. 6a. The results reflected that the thermodynamic factors with different water content and pressure are positively correlated. Additionally, the thermodynamic factors increase with an increase in the water content. Thus, this provides a foundation to study the conversion between transport diffusivities and self-diffusivities.

Fig. 6
figure 6

a lnf versus lnC; b thermodynamic factor with different water content against pressure

The transport diffusivity Dt can be calculated according to Eq. (2) and the self-diffusivity DS. Figure 7 showed that the CH4 transport diffusion coefficient on kaolinite as a function of the water content at 293.15 K and 5 MPa. It can be seen that the water content can significantly influence the CH4 transport diffusion coefficient. The CH4 transport diffusion coefficient also increased lineally with the water content. The CH4 transport diffusion coefficient increased by approximately 1.67 × 10−9 m2/s (30%), 8.20 × 10−9 m2/s (150%), 10.39 × 10−9 m2/s (190%), 11.21 × 10−9 m2/s (204%) and 14.34 × 10−9 m2/s (262%) for water content of 1, 2, 3, 4, and 5 wt%, respectively, when compared to the dry kaolinite.

Fig. 7
figure 7

The CH4 transport diffusion coefficients as a function of water content

3.4 Radial distribution function

To reflect the influence of water on strength of the intermolecular interaction force between the CH4 molecules and kaolinite, the radial distribution function, g(r), was implemented that can measure the law of the change of atomic density and the distance of a specific atom (Kong and Wang 2016).

The RDFs of CH4–oxygen at different water contents for kaolinite were shown in Fig. 8. The results showed that the intermolecular g(r) had a peak around 4.5 Å indicating van der waals interaction (Donley et al. 1998) between the CH4 molecule and the oxygen atom in the surface of the silicon tetrahedron of the kaolinite molecule. As the water content decreases, the value of RDF first peak between CH4 and oxygen is larger, indicating that with lower water content, the interaction energy between CH4 and oxygen in kaolinite is stronger. This is due to fact that according to the study of Kong et al., the first peak radial of distribution function (RDF) the larger, the stronger the interaction. In addition, the CH4 can be adsorbed onto the sites of the oxygen atoms of kaolinite. However, the interaction between CH4 and hydroxyl hydrogen atoms of kaolinite is barely detected, showing an extremely weak interaction between CH4 and hydrogen. This should in turn lead to affect the structure and mobility of kaolinite molecules.

Fig. 8
figure 8

Radial distribution functions (RDFs) between CH4 and oxygen atoms in kaolinite in dry and moist kaolinite at 293.15 K and 5 MPa

3.5 Interaction energy

The effect of pre-adsorbed water on diffusion capacity can be further analyzed by calculating the interaction between kaolinite, H2O and CH4. The calculation of the interaction energy has been shown in detail in our previous work (Zhang et al. 2018a, b).The interaction energy between the CH4 and kaolinite, between the CH4 and water, between the CH4 and CH4, and between the kaolinite and water were analyzed at 293.15 K and 5 MPa, as shown in Fig. 9. For the sake of clarity, only the results for the CH4-saturated kaolinite with 3% water are reflected. The interaction energy between CH4 and water increased linearly with water content at \({{E}} = - 0.881\,{\text{wt}} - 0.346\). On the other hand, the interaction energy between kaolinite and water as well as between kaolinite and CH4 decreased linearly with the increasing water content. From Fig. 9, it can be seen that Ekaolinite–water is always larger than Ekaolinite–CH4 in the range of 0–5 wt% water contents. This means that kaolinite–water interaction is stronger than kaolinite–CH4 and CH4–water interactions and the CH4 molecule is expected to be less tightly bound to the kaolinite structure thermodynamically. In addition, CH4 molecule is expected to occupy preferentially the water-poor free cavity of kaolinite matrix if these holes are available. If CH4 molecule jumps into a water-rich cavity, they prefer to stay in the rest space of this cavity where the water cluster does not occupy.

Fig. 9
figure 9

Interaction energy of CH4–kaolinite, water–kaolinite, CH4–water, and CH4–CH4 for moist kaolinite with 3 wt% water at 293.15 K and 5 MPa

3.6 Weight density distributions

To illustrate the micro-structure of CH4 in kaolinite, the weight density distributions of CH4 molecules at bulk pressures of P = 5 MPa and T = 293.15 K in kaolinite with different water content were analyzed in Fig. 10. For greater clarity, the first peak values and second peak values of the weight density distributions between CH4 and kaolinite with different water contents are shown in Table 1. It can be seen that the value of ρ(r) were 295, 273, 251, 239, 208, and 186 kg/m3 at a separation of − 0.5 nm in alumina octahedral surface of kaolinite, respectively. Similarly, the values of ρ(r) were 376, 334, 315, 291, 276, and 242 kg/m3 at a separation of 1.6 nm in silicon tetrahedral surface of kaolinite, respectively. Moreover, the values of ρ(r) drastically increased with the increasing adsorption distance (r) at − 0.5 nm. Then, the values of ρ(r) slowly decreased to a minimum at 0 nm and slowly increased to a maximum at 1.6 nm. When the adsorption distance (r) was more than 1.6 nm, the values of ρ(r) drastically decrease.

Fig. 10
figure 10

Density profiles of CH4 in kaolinite with different water content at 293.15 K and 5 MPa

Table 1 The first peak values and second peak values of weight density distributions between CH4 and kaolinite with different water contents

Due to the pore space limitation and the strong interaction between the two walls, the kaolinite surface had a higher adsorption CH4 concentration in dry condition which determines the CH4 diffusion coefficient was very small. With the increase of water content, as the interaction of the two walls against CH4 is weakened, the number of CH4 molecules in the micro-pores was gradually increased at higher water contents (Fig. 9). In addition, because the affinity of the kaolinite wall to the CH4 molecule was significantly reduced, the CH4 molecules in the middle of the kaolinite micro-pores had faster diffusion. In addition, the rapid diffusion of CH4 molecules and water molecules in the middle of the micro-pores also accelerated the diffusion of CH4 molecules adsorbed on the surface, which leads to an overall increase in the CH4 diffusion coefficient.

4 Conclusion

Molecular dynamics (MD) simulations were used to study the CH4 diffusion in kaolinite with water contents ranging from 0 to 5 wt%. The results illustrated that CH4 molecules can jump within adjacent holes in the kaolinite matrix. The CH4 diffusion coefficient was about 3.28 × 10−9 m2/s and water had a positive effect on it. The larger the water content, the larger the value of RDF first peak between CH4 and oxygen, indicating that the interaction energy between CH4 and oxygen in kaolinite is stronger. The interaction energy between CH4 and water increased linearly with water content, in contrast, the interaction energy between kaolinite and water as well as between kaolinite and CH4 decreased linearly with the increasing water content. The rapid diffusion of CH4 molecules and water molecules in the middle of the micro-pores also accelerated the diffusion of CH4 molecules adsorbed on the surface, which leads to an overall increase in the CH4 diffusion coefficient. We hope that our research demonstrates a strategy to facilitate the further exploration of coalbed methane and shale gas.