Introduction

The adsorption process of water molecules by coal is relatively complex and is a combined result of intermolecular electrostatic forces and hydrogen bonding1,2. Several studies have reported that the adsorption of CO2, CH4, and N2 by coal macromolecules decreases with the increase in the number of water molecules3,4,5. However, there is literature confirming the role of water molecules in facilitating the adsorption of methane6.

In an attempt to study the sorption characteristics and thermodynamic properties of CO2, CH4, and N2 on coal under different water contents, scholars at home and abroad have conducted a series of experiments7,8,9 and simulations10,11. Li et al.12,13,14 simulated the sorption properties of coal on CO2 and CH4 at various water inclusion rates and pore sizes using the grand canonical ensemble Monte Carlo (GCMC) method and verified that the sorption of CH4 and CO2 by coal molecules is negatively correlated with the water inclusion rate. Zhang et al.15,16,17 analyzed the effects of the temperature and content of moisture on the isotherms and thermodynamic properties of CH4 adsorption through simulations. Gao et al.18,19 verified that the greater the amount of water injection, the lower the desorption of the gas. Thus, water injection can decrease the risk of coal and gas protrusion. Wang et al.20,21 quantitatively characterized the effects of adsorbed water and water vapor on coal gas sorption by nuclear magnetic resonance (NMR) spectroscopy. The results showed that water vapor preferred to adsorb in the coal micropores, while liquid water filled the extensive network of pores and cracks. Xing et al.22 verified that water competes with CH4 for specific sorption sites, resulting in a reduced CH4 sorption capacity for shales containing water. Environmental factors, such as the pressure, temperature, and other external factors, can also vary the water distribution and endowment in shale, thus affecting the CH4 sorption capacity of shale to a certain extent23. Zhang et al.24 used a combination of X-ray photoelectron spectroscopy (XPS), mercury intrusion porosimetry (MIP), and high-pressure volumetric method to quantitatively analyze the adsorption behavior of CH4 in tectonic coals under the influence of moisture. They further verified that the sorption capacity of CH4 decreases with an increase in the water content. Guo et al.25 tested coal samples with different water contents by developing a new type of device for water injection gas adsorption. Some foreign scholars have studied the adsorption characteristics and thermodynamic analysis of coal containing different amounts of water. Chattaraj et al.26 discussed the adsorption behavior of coalbed methane and showed that the adsorption process can be better explained in terms of thermodynamics and its molecular dynamics (MD). Men’shchikov et al.27 studied the porous structure, phases, and chemical properties of activated carbon through experimental methods such as nitrogen adsorption, X-ray diffraction, and scanning electron microscopy. The sorption of CH4 and the thermodynamic properties of the sorption system were analyzed. Gensterblum et al.28 measured the sorption isotherms of CH4 and CO2 for coal samples of various coal grades at dry and moisture equilibriums and investigated the variation in the sorption capacities of CH4 and CO2 by coals of different grades, as well as the effect of water on the sorption characteristics. Muangthong-On et al.29 measured the heat of sorption/desorption of water on coal using thermogravimetric analysis and differential scanning calorimetry (TG-DSC) at temperatures exceeding 100 ℃. They demonstrated that the adsorption of water vapor plays an important role in the self-heating of coal. These studies have provided a basis to study the sorption/desorption characteristics of coal on gas under different water contents.

Most studies on the effect of water addition on coal sorption/desorption characteristics have focused on macroscopic phenomena, while studies on microscopic mechanisms are fewer and less in-depth. Therefore, in this work, the adsorption/desorption characteristics and thermodynamic properties of CO2, CH4, and N2 by molecules in the Linglu mine coal with different water contents were quantitatively analyzed by simulating the injection of different amounts of water molecules into the coal seam, which is crucial for the suppression of coal–gas protrusion.

Methodology

Coal model building and optimization

The adsorption of coal on gas can be categorized as a physical adsorption process30,31. In response to this paper, based on the test results of coal samples from Linglu coal mine, the molecular structure model of coal (C216H169O12N4) was established to study the adsorption characteristics of CO2, CH4, and N2 on coal with different moisture contents taken from the Linglu mine. The established 2D model was imported into the Materials Studio software, and the structure was subjected to geometric optimization, energy optimization, and simulated annealing with a minimum value of annealed energy. The simulation parameters are shown in Table 1. Table 2 presents the optimized energy parameters. Figure 1 shows the optimized molecular models of the Linglu mine coal, where 10, 20, and 30 molecules of water are added to the computational cell using the amorphous cell module. Figure 2 shows the ultracrystalline cell model of this coal constructed under different water content conditions.

Table 1 Optimized parameter settings for coal molecular modeling at Linglu mine.
Table 2 Energetic parameters for the optimization of the molecular structure of Linglu mine coal.
Figure 1
figure 1

Pore structure model of the coal from Linglu mine with different water contents.

Figure 2
figure 2

Ultracrystalline cell structure of Linglu mine coal with different water contents.

Parameter settings for adsorption kinetics simulation

The adsorption laws and influencing characteristics of CO2, CH4, and N2 adsorption by the molecules of the Linglu mine coal at different temperatures (273.15, 283.15, 293.15, 303.15, and 313.15 K) and water contents were analyzed based on the GCMC simulation method. A geometry optimization of the coal molecular fragments was performed using the Forcite module with the simulation parameters listed in Table 3. The MD method was then applied to analyze the diffusion and flow ability of the water molecules, and the NVT system with a constant number of molecules (N), constant volume (V), and constant temperature (T) was selected to run the MD simulations. The temperature was fixed using the Berendsen thermostat. In the MD operation, the simulation step size was 1 fs, and the total simulation time was 500 ps, of which the first 60 ps were used to bring the system to equilibrium and the middle 60–100 ps to determine its diffusion properties.

Table 3 Simulation parameter settings.

Results and discussion

Influence of water content on CO2, CH4, and N2 sorption and adsorption heat trends

Adsorption capacity

The sorption of CO2, CH4, and N2 using the structural model of the Linglu mine coal was calculated at different temperatures (273.15, 283.15, 293.15, 303.15, and 313.15 K), pressures (0.1–10 MPa), and moisture contents (0%, 1.2%, 2.4%, and 3.6%), as shown in Fig. 1. The coal molecules were modeled with 0, 10, 20, and 30 water molecules.

The formula for calculating the water content32 is as follows:

$$W=\frac{{M}_{{H}_{2}O}}{{M}_{coal}+{M}_{{H}_{2}O}}\times 100\%$$
(1)

where MH2O is the molecular weight of water, g/mol; Mcoal is the molecular weight of coal, g/mol; and W is the water content, %.

As can be seen from Fig. 3, when the pressure in the system is from 0.1 to 1 MPa, the rising trend of the adsorption amount of CO2, CH4 and N2 rises rapidly with the increase of pressure, and the rising trend of the adsorption amount of the three kinds of gases is gradually smooth when the pressure is from 1 to 10 MPa, which indicates that the adsorption rate of the gases is more rapid in the low-pressure stage. The adsorption of the three gases decreases rapidly with increasing temperature. Clearly, increasing the pressure and decreasing the temperature were favorable to the adsorption of these gases. As shown in Fig. 3, the rise and fall trends of CO2, CH4, and N2 adsorption by coal with different water contents were investigated at a pressure of 10 MPa and a temperature of 293.15 K as an example. A comparison of Fig. 3a–d shows that CO2 adsorption decreases from 6.87 to 6.57 mmol/g, from 6.57 to 7.88 mmol/g, and from 7.88 to 4.23 mmol/g, respectively, when the water content in the system is increased from 0 to 1.2%, 2.4%, and 3.6%. Similarly, a comparison between Fig. 3e–l shows that the rise and fall trends of CH4 and N2 adsorption are the same as that of CO2 adsorption. As shown in Fig. 4, the rise and fall trends of CO2, CH4, and N2 adsorption in the system appears to be decreasing, then increasing, and finally decreasing. The reason for this phenomenon may be that the adsorption of coal on water molecules belongs to multilayer adsorption33, and initially the water molecules are easy to form hydrogen bonding with the oxygen-containing functional groups in the coal molecules34,35, but the hydrogen bonding belongs to the weak intermolecular interactions, and the interaction energies of the water molecules adsorbed on hydroxyl groups are much larger than the interaction energies adsorbed on the other reactive groups36. With the increase in the number of water molecules in coal, the oxygen-containing functional groups in the system will promote the competition between water molecules and CO2, CH4, and N2 adsorption, resulting in a regional increase in the adsorption of the three gases, CO2, CH4, and N237. Finally, after all the oxygenated functional groups in the coal were occupied, the excess water molecules began to adsorb on the pore surface of the coal in the form of free water, and they continuously condensed, eventually forming a water condensation film on the pore surface, which inhibited the sorption of CO2, CH4, and N2 by the coal. Ultimately, the adsorption amount reduced.

Figure 3
figure 3

Isothermal sorption curves of CO2, CH4, and N2 adsorbed by coal molecules with different water contents.

Figure 4
figure 4

Rise and fall trends of CO2, CH4, and N2 adsorption at a pressure of 10 MPa and a temperature of 293.15 K.

Adsorption heat

Adsorption heat is one of the important parameters to characterize thermodynamics in order to respond to the thermic effect generated by the sorption process of water molecules on CO2, CH4, and N2. During the sorption process, the gas molecules move to the surface of the coal, where the speed of molecular motion is significantly reduced, thus releasing a large amount of heat. Table 4 shows the average sorption heat of CO2, CH4, and N2 adsorbed by coal molecules of various water contents at various temperatures and pressure ranging from 0.1 to 10 MPa.

Table 4 Average sorption heat of CO2, CH4, and N2 at various temperatures and water content conditions.

As shown in Fig. 5, at a temperature of 273.15 K, as the water content in the system is increased from 0 to 1.2%, the average sorption heats of CO2, CH4, and N2 decrease, respectively, from 7.70 to 7.48 kcal/mol, from 4.55 to 4.39 kcal/mol, and from 3.75 to 3.69 kcal/mol. When the water content in the system is increased from 1.2 to 2.4%, the average sorption heats of CO2, CH4, and N2 increase from 7.48 to 7.54 kcal/mol, from 4.39 to 4.40 kcal/mol, and from 3.69 to 3.74 kcal/mol, respectively. When the water content is increased from 2.4 to 3.6%, the average sorption heats of CO2, CH4, and N2 increase from 7.54 to 7.81 kcal/mol, from 4.40 to 4.82 kcal/mol, and from 3.74 to 4.04 kcal/mol, respectively.

Figure 5
figure 5

Trends in the average sorption heat of CO2, CH4, and N2 at various temperatures and moisture contents.

Clearly, the average sorption heats of CO2, CH4, and N2 showed a decreasing trend with increasing temperature. However, the average heat of adsorption showed an increasing trend with an increase in the water content in the system from 1.2 to 3.6%. From a thermodynamic viewpoint, this phenomenon can be attributed to increase in the density of the water molecules in the system, and their values gradually stabilized as the optimization process approached 500 ps, as shown in Fig. 6, in which the densities converged to 0.855, 0.873, and 0.948 g/cm3, respectively, for water contents of 1.2%, 2.4%, and 3.6%. Therefore, the trend in the average sorption heat was consistent with the trend in the density of the H2O molecules in the system, indicating that the average sorption heat of the molecules in the Linglu mine coal with different water contents increases with the increase in the density of the system.

Figure 6
figure 6

Density distribution of the coal molecules in the Linglu mine with different water contents.

Radial distribution function (RDF) and diffusive behavior (MSD)

Radial distribution function

The RDF is a physical quantity that characterizes the microstructural features of particles, and its physical meaning is the probability that other particles would appear at a distance r around an arbitrarily specified central particle, which can be interpreted as the ratio of the local density of the system to its mean bulk density. The radial distribution function g(r) is given by Eq.38:

$$g\left(r\right)=\frac{dN}{4\pi \rho {r}^{2}dr}$$
(2)

where dN corresponds to the range r to r + dr:

$$dN=4\pi {r}^{2}\rho g(r)dr$$
(3)

where ρ is the density of the particle.

As shown in Fig. 7, with the addition of different amounts of water (1.2%, 2.4%, and 3.6%) to the system, the H2O molecules showed the first peak at 0.975 Å, with the peaks being 1200.31, 638.13, and 371.65, respectively. A second peak occurred at 1.525 Å with peaks of 132.94, 73.45, and 41.78, respectively. From these two peaks, it can be seen that the H2O molecules exhibited the highest peak when the water content in the system was 1.2%, followed by that when the water contents were 2.4% and 3.6%. The difference in the peaks indicates that, the fewer the H2O molecules added to the molecular model of the Linglu mine coal (10–30 molecules), the tighter the arrangement of the H2O molecules in the pores. The H2O molecules showed a third peak at 2.875 Å with peaks of 10.07, 18.35, and 7.71, marking the formation of a layer of H2O molecules with a layer spacing greater than the liquid–water layer spacing at 2.86 Å39. When the water contents in the system were 1.2%, 2.4%, and 3.6%, the H2O molecules competed for adsorption with CO2, CH4, and N2 in the preliminary stage due to the lack of formation of the water molecule layer, resulting in an elevated adsorption of the three gases in the system. The sorption of CO2, CH4, and N2 by the Linglu mine coal reduced in the later stage due to the formation of the H2O molecular layer. This conclusion is consistent with that arrived at in Sect “Adsorption capacity”.

Figure 7
figure 7

Radial distribution function of the molecules in Linglu mine coal with different water contents in the pores at a temperature of 293.15 K.

Diffusion coefficients

The diffusion behavior of a substance in a pore is proportional to the mean-square displacement of the center of mass of its molecules, and the corresponding diffusion coefficient is the rate of change in the mean-square displacement of all the molecules of the substance over a long duration40, and the MSD is calculated using the equation:

$$MSD=\frac{1}{N}\sum_{i=1}^{N}[{r}_{i}\left(t\right)-{r}_{i}(0){]}^{2}$$
(4)

where N is the number of molecules; \({r}_{i}(0)\) is the initial site vector of the molecule; and \({r}_{i}(t)\) is the molecular site vector at time t.

The diffusion coefficient of a gas, Eq.41, is given below:

$$D=\frac{1}{6N}\underset{t\to \infty }{\text{lim}}\frac{d}{dt}\sum_{i=1}^{N}[{r}_{i}\left(t\right)-{r}_{i}(0){]}^{2}$$
(5)
$$D=\underset{t\to \infty }{\text{lim}}(\frac{MSD}{6t})=\frac{1}{6}{k}_{MSD}$$
(6)

where D is the diffusion coefficient of the gas; \({k}_{MSD}\) is the slope of the MSD curve.

Diffusion coefficient is a physical quantity that describes the process of diffusion of a substance in space, and is the amount of substance per unit time, per unit area, that diffuses in the direction of lower concentration. Figure 8 shows the MSD versus time curves for CO2, CH4, and N2 after water injection. It can be seen that the diffusion coefficient of N2 in the system is obviously larger than that of CH4 and CO2, and the increase of water content did not inhibit the diffusion rate of N2. The trend of the curves shows that water content has a more significant effect on the diffusion capacity of N2, followed by CH4 and CO2.

Figure 8
figure 8

MSD vs. time for CO2, CH4, and N2.

The diffusion coefficients of CO2, CH4, and N2 in coal molecules under the conditions of different water content are shown in Table 5. When the water content is 1.2%, the diffusion coefficients of CO2, CH4, and N2 are 6.38 × 10−7, 2.26 × 10−6, and 7.47 × 10−6 cm2·s−1, respectively; when the water content is 3.6%, the diffusion coefficients of CO2, CH4, and N2 were 2.77 × 10−7, 3.83 × 10−7, and 3.53 × 10−6 cm2·s−1, respectively. This is because with the increase of water content, the collision efficiency between the molecules increases, and the interaction force between them is strengthened, resulting in the inhibition of the diffusion of CO2, CH4, and N2 in the pores, leading to a low diffusion coefficient.

Table 5 Diffusion coefficients of CO2, CH4 and N2 in coal molecules.

Potential energy distribution

The potential energy distribution of CO2, CH4, and N2 adsorbed by the coal molecules in the Linglu mine was simulated at a temperature of 293.15 K and a pressure of 10 MPa, as shown in Fig. 9. The effect of the water content in the coal molecules on the preferential adsorption potential of CO2, CH4, and N2 was analyzed.

Figure 9
figure 9

Potential energy distribution of gases adsorbed by coal with different water contents.

Figure 9 shows that the absolute value of the potential energy peak exhibits a trend of increasing and then decreasing in systems with water contents of 1.2%, 2.4%, and 3.6%. This is mainly because of the formation of ionic and covalent bonds between the adsorbed particles and atoms during the adsorption process, forming an ordered covering layer on the surface of molecules42,43. When an adsorbed particle is close to the surface, it is subjected to an adsorption potential, and the adsorbed particle releases energy and adsorbs at the position where the potential energy of the molecule’s surface has a minimum value. Interactions between its adsorbed atoms change the potential energy distribution on the surface. This is the main reason why the potential energy distribution graph shows a rise and then a fall. With the increase in the water content, the peak potential energies of the optimal adsorption sites of CO2, CH4, and N2 in the system were compared, and the peak potential energies of CO2 were − 8.15, − 8.95, and − 8.05 kcal/mol, respectively, under the different water contents. The peak potential energies of CH4 were − 3.95, − 4.45, and − 4.25 kcal/mol, respectively. The peak potential energies of N2 were − 2.75, − 2.85, and − 2.35 kcal/mol, respectively. The sorption advantage of CO2 was significantly greater than those of CH4 and N2. Therefore, it can be concluded that the presence of water does not inhibit the CO2 adsorption advantage.

Conclusions

  1. (1)

    With the increase in the water content from 0 to 3.6% in the system, with the adsorption amount of CO2 being approximately twice as much as those of CH4 and N2. This indicates that the presence of water had almost no effect on the sorption advantage of CO2.

  1. (2)

    The average sorption heat in the system was negatively correlated with the density of the water molecules, CO2 emitted more heat during adsorption, resulting in its average heat of adsorption being significantly greater than those of CH4 and N2.

  1. (3)

    The effect of water content on the diffusion ability of N2 is more significant, followed by CH4 and CO2. The diffusion coefficients of these three gases decreased gradually with the increase of water molecules. Based on the radial distribution function, the molecular layer spacing of the H2O molecules (2.875 Å) was greater than the liquid–water layer spacing of 2.86 Å. Therefore, the adsorption of CO2, CH4, and N2 was inhibited by the formation of the water molecule layer.

  1. (4)

    At the same temperature and pressure, and water contents of 1.2%, 2.4%, 3.6%, in terms of the sorption potential, the absolute values of the potential energy peaks of CO2, CH4, and N2 increased and then decreased, with the same trend as its adsorption amount.