Summary
Despite being closely relevant in shale gas production, desorption of CH4 and CO2 in deformable shale media remains poorly understood. Sorption hysteresis of CH4 and CO2 is experimentally observed in kerogen, and the underlying mechanism needs to be unraveled. Here, we develop a microscopic modeling setup to reasonably reproduce the experimentally observed hysteresis using atom-scale simulations. Various previously suggested mechanisms including capillary condensation, chemical interaction, insufficient equilibrium, and surface heterogeneity, are excluded from the hysteresis origins by detailed sorption studies. The observed hysteresis is governed by diffusive mass transfer of dissolved gas in flexible structure, namely, the coupling of diffusion-dissolution-deformation. The worse-connected porous network and the restricted expulsion of aggregated dissolved molecules upon desorption are discussed as the origins of the coupling protocol. These findings significantly enhance the understanding of hysteresis phenomenon in amorphous materials, which, as well as the proposed microscopic modeling, is widely applicable to other soft nanoporous materials.
Subject areas: Chemistry, Computer science, Materials science
Graphical abstract

Highlights
-
•
A novel microscopic modeling setup for sorption hysteresis is developed
-
•
Various reported hypotheses are excluded from the origins of sorption hysteresis
-
•
Diffusion of dissolved fluid in flexible kerogen induces the sorption hysteresis
-
•
Worse connectivity and fluid plug upon desorption govern the sorption hysteresis
Chemistry; Computer science; Materials science
Introduction
Hydrocarbon recovery from shale formations has dramatically transformed the global energy landscape, raising enormous economic benefits while being accompanied by environmental and political concerns.1,2,3,4 Hydrocarbons in shale are generated from the source called kerogen, whose macromolecular structure is composed of aromatic rings, aliphatic units, and heteroatom groups.5 Kerogen is an amorphous organic matter, which possesses the unique advantages of high surface area and flexible structure like other soft nanoporous materials. The large specific surface areas, as well as the abundant nanopores, facilitate the storage of a large number of fluid molecules in kerogen.6,7,8 Of significant interest to reservoir development is the quantification of various fluid states, which determines the production strategies.9 Fluids in kerogen are stored in three states: free state in large pores, adsorbed state on pore surfaces, and dissolved state in kerogen matrix.10,11 Considerable research has been conducted to characterize the free and adsorbed states as they are commonly believed to be the major fluid states.12,13,14,15 By contrast, research on the dissolved state is limited, although it is suggested to take a large share.9,10 The structure flexibility of kerogen results in the strong coupling between fluid distribution and kerogen deformation.16 The kerogen-fluid interaction can lead to kerogen deformation accompanied by the change of internal porous structure, which feeds back on fluid distribution.17 The sorption-swelling coupling in kerogen-fluid interaction has been studied by poromechanical theory,18,19 atomistic simulation,20,21,22,23,24,25,26 theoretical model,26,27,28 and experiment.29,30 Despite previous efforts, the quantification of fluid states, especially adsorbed and dissolved states in flexible kerogen structure, remains to be unraveled.31
Only limited attempts have been performed on desorption from kerogen, although it is well known as the initial process of fluid transport in the shale reservoir. A measurable hysteresis has been experimentally observed for supercritical CH4 and CO2 in kerogen by gravimetric methods at both moderate32 and high pressures.33 The measured sorption/desorption isotherms exhibit a hysteresis loop extending to very low pressures, which departs from the trend induced by capillary condensation for heavier hydrocarbons in mesopores.34 This hysteresis phenomenon has been widely reported in other soft nanoporous materials such as polymers35,36 and coals.37,38,39,40 No consensus about the hysteresis origins has been reached so far. Possible explanations including sorption-swelling coupling,41 changing hydrogen bond networks,35 restricted-access pores,36 reversible structure change,32 dissolution of fluids,32 different fluid locations upon sorption/desorption,33 as well as chemical interaction, insufficient equilibrium, and surface chemistry heterogeneity42 have been suggested. These hypotheses remain to be confirmed. No targeted measures can be expected to improve the shale gas production until the hysteresis origins are well understood. The goal of this work is to clarify the underlying microscopic mechanisms governing the experimentally observed hysteresis for the first time by using a detailed molecular simulation study.
At the molecular scale, there is no appropriate simulation method at hand that can efficiently reproduce the realistic physical process of adsorption/desorption in flexible kerogen. Grand canonical Monte Carlo (GCMC) fails by virtue of taking into account the structure flexibility of kerogen upon sorption.43,44 The conventional molecular dynamics (MD) method is inefficient and inaccurate in assessing sorption isotherms by estimating chemical potential from a given number of fluid molecules.45,46 The hybrid GCMC and MD method (GCMC-MD) neglects the pore connectivity and assumes there is no pore-blocking effect upon sorption.35 While considering the diffusive mass transfer, grand canonical molecular dynamics (GCMD) may not allow the structure flexibility of adsorbent upon sorption without destroying its topological network.47
In this work, we develop a microscopic modeling setup that unifies fluid exchange in control regions with GCMC technique and fluid diffusion as well as adsorbent structure flexibility with MD technique (Figure 1A, described in detail in the method details section of STAR Methods). It not only can take the diffusive mass transfer into account but also preserves the topological network of kerogen while allowing its structural flexibility. Also, this hybrid method can effectively differentiate various fluid states upon sorption. Using this modeling, we successfully reproduce the experimentally observed hysteresis.32,33 Our findings are expected to significantly enhance understanding of the hysteresis phenomenon in amorphous materials, which, as well as the proposed microscopic modeling, is widely applicable to other soft nanoporous materials including natural materials such as wood, plants, and bamboo and synthetic materials such as polymer, foam, and organic membrane.
Figure 1.
Microscopic simulation framework
Microscopic setups of CH4/CO2 sorption and desorption in kerogen matrix by the Dual control volume grand canonical molecular dynamics (DCV-GCMD) method (A) and the GCMC-MD method (B). Molecular configuration of kerogen matrix upon CO2 sorption at 213 atm and 338 K. The yellow dashed lines segregate the diffusion region from the two control volume regions. The yellow arrows denote the transfer of fluids between the diffusion and control regions. The green dashed line represents the raw kerogen matrix before sorption by the GCMC-MD method.
Results and discussion
Sorption hysteresis
The proposed modeling setup for sorption hysteresis in flexible kerogen by the dual control volume grand canonical molecular dynamics (DCV-GCMD) method represents more closely the physical process, whose simulated results are compared with the experimental data33 in Figure 2. The simulated sorption/desorption isotherms follow a trend identical to the experimental results. The CH4 isotherm shows an increasing trend similar to the Langmuir type I curve, while the CO2 isotherm involves a sorption maximum after which the sorption demonstrates a decreasing trend. The interesting phenomenon for decreasing sorption at high pressure has been explained as resulting from the dominance of gas bulk density over its absolute adsorption density in our previous work.18 The observed deviation between simulations and experiments can be well attributed to the discrepancy in kerogen type43 and maturity,44 as well as the limitation in pore sizes of our kerogen matrix.7
Figure 2.
Hysteresis of excess sorption
Excess sorption and desorption isotherms in the kerogen matrix for CH4 (A) and CO2 (B). The corrected experimental data for total organic carbon in the 333.15 K sample originate from Zhao et al.33
In addition to sorption isotherms, the simulations display noticeable hysteric behavior comparable to the experimental counterparts, which further validates the simulated results. The hysteresis loops cover the whole pressure range for both CH4 and CO2, confirming the observed hysteresis is not caused by capillary condensation. For a typical hysteresis loop from capillary condensation, the desorption branch overlaps the sorption branch at low pressure. The absence of capillary hysteresis can be associated with the fact that the reservoir temperature is much higher than the capillary pseudo-critical temperature for supercritical CH4/CO2 in the confined kerogen matrix with the pore size smaller than 1 nm.35
Insufficient equilibrium time is reported as one of the possible origins for observed sorption hysteresis.36 To guide the equilibrium, the total uptake, as well as the temperature, is monitored during the sorption/desorption simulation (see Figure S1). The desorption process takes much longer than the sorption process as expected, and the total uptake converges after about 6 ns of simulation time for both the sorption and desorption processes. This inspection supports the hypothesis that the observed hysteresis in Figure 2 corresponds to an equilibrium state, which is independent of the simulation time.
The diffusion region possesses a box length of around 45 × 45 × 30 Å along the x, y, and z directions, respectively, which is larger than the reported critical size of 25 Å that can reproduce the major structural and thermodynamic features of kerogen.48,49 In our previous work,43,44 we have validated that this kind of kerogen size can obtain reasonable physical density, thermodynamic property, and gas sorption comparable to experimental data. To examine the possible effect of diffusion region size, as well as pore size, we extend the diffusion region to be 40 Å along the z direction, which contains some larger pores (see Figure S2). Specifically, the diffusion region is extended after the first sorption/desorption run, and a second hysteresis scan simulation is then performed on the extended diffusion region, where the sorption is reversed at a lower pressure compared with the first hysteresis scan. In Figure 2B, the hysteresis loop over the extended diffusion region is comparable to the original results, which is indicative of a negligible effect of diffusion region size and pore size. Also, the hysteresis loops based on the two different runs resemble each other, demonstrating that the simulation is reproducible and the structure change of the flexible kerogen matrix upon sorption/desorption is reversible, which is accordant with the previous experimental observations.32 The reversible structure change of the kerogen matrix is further confirmed as analogous results are observed when reversing the sorption branch at an intermediate pressure. The documented experimental data32,33 exhibit a consistent reversible structure of kerogen as our simulations, indicating that chemical interaction can be excluded from the origins of sorption hysteresis since it can lead to irreversible structural changes.
To examine the role of diffusive mass transfer, we have simulated the sorption/desorption isotherms by the DCV-GCMD and GCMC-MD methods. Also, the two methods are performed in both the frozen and flexible kerogen matrices to test the effect of structural deformation. For the GCMC-MD method, the effect of deformation magnitude of kerogen structure is studied by manipulating the stress condition on the kerogen matrix, wherein the zero confining stress corresponds to the maximum deformation and the zero effective stress leads to a smaller deformation. The sorption/desorption isotherms from various simulations are presented in Figure 2. The GCMC-MD simulations on both frozen and flexible kerogen structures fail to capture the hysteresis behavior, and the deformation magnitude of kerogen structure shows no effect on hysteresis for this method. The findings suggest that the sorption thermodynamics alone and its coupling with structure deformation are not sufficient to account for the CH4/CO2 sorption hysteresis. The absence of sorption hysteresis for the GCMC-MD simulations guides us to turn to the DCV-GCMD method involving diffusive mass transfer, which represents more closely the physical process in the sorption experiment. The sorption hysteresis comparable to experimental results is observed for the DCV-GCMD simulation in flexible kerogen structure, revealing that diffusive mass transfer is a necessary ingredient for sorption hysteresis. However, the sorption/desorption isotherms in frozen structure by the DCV-GCMD simulation are found to be hysteresis free. This observation demonstrates that the coupling between diffusive mass transfer and kerogen structure deformation is required to achieve sorption hysteresis.
Fluid states
Fluid states in realistic kerogen are divided into free, adsorbed, and dissolved states. In our microscopic model (Figure 1A), the free state mainly exists in the control region, the adsorbed state aggregates on the external surface of the kerogen matrix, and the dissolved state is confined in the diffusion region. The total uptake in the flexible diffusion region presents similar hysteresis behavior (Figure 3) as the excess sorption in Figure 2. The adsorbed and dissolved states are quantified from the total uptake to analyze their contributions to the hysteric behavior. The adsorption and dissolution isotherms in the flexible diffusion region upon sorption and desorption are presented in Figure 4. For both CH4 and CO2, the adsorption is not hysteric, while the dissolution exhibits a pronounced hysteresis loop. The observed sorption hysteresis is governed by fluid dissolution, and fluid adsorption exerts a negligible effect given its reversibility. Figure S3 shows the hysteresis scan of adsorbed and dissolved states in the frozen diffusion region. In addition to the adsorbed state, the dissolved state becomes hysteresis free when kerogen deformation is restricted. Consequently, the underlying microscopic mechanisms for CH4/CO2 sorption hysteresis in kerogen nanopores rely on the coupling of fluid diffusion, fluid dissolution, and kerogen deformation.
Figure 3.
Hysteresis of total uptake
Hysteresis scans of total uptake in kerogen diffusion region at 338 K for CH4 (A) and CO2 (B).
Figure 4.
Contribution of occurrence state to hysteresis
CH4/CO2 adsorption (A) and dissolution (B) in flexible kerogen matrix during the sorption and desorption paths at 338 K by the DCV-GCMD method.
Nanostructure deformation
The porous network of kerogen constantly changes along with gas sorption due to kerogen flexibility. Figures 5A and 5B show kerogen porosity as a function of pressure and gas loading in the dissolved region. For the DCV-GCMD simulation, the kerogen porosity changing with pressure displays similar hysteric behavior as the isotherms of total uptake in Figure 3. However, the hysteresis loops become insignificant as the porosity is plotted as a function of gas loading. The porosity converges into an approximately linear correlation with gas loading, confirming the kerogen structure is reversible, which also indicates that the expanded kerogen porosity is governed by the gas amount dissolved in the diffusion region. This finding is further supported by the hysteresis-free kerogen porosity in the GCMC-MD simulation, which is accordant with the overlapping isotherms in Figure 3. The GCMC-MD simulation shows a resembling correlation (kerogen porosity vs. gas loading) with the DCV-GCMD simulation, suggesting the correlation is determined by inherent kerogen properties like crosslinked structures and aromatic units.
Figure 5.
Coupling of diffusion-dissolution-deformation during CH4/CO2 sorption/desorption at 338 K
(A and B) Accessible porosity in kerogen diffusion region probed by the dissolved fluid as functions of pressure (A) and dissolved fluid loading (B).
(C) Distribution of accessible pores (colored in purple) in kerogen diffusion region for CO2 sorption/desorption at 45 atm and CH4 at 72 atm.
(D) Schematic representation of the diffusion-dissolution-deformation coupling mechanism for CH4/CO2 sorption hysteresis.
With all these findings into consideration, we are confident that the observed CH4/CO2 sorption hysteresis is caused by the coupling of fluid diffusion, fluid dissolution, and kerogen deformation. This conclusion guides us straightforward to the question, what are the underlying microscopic mechanisms for the coupling protocol to induce the hysteresis? At this point, we are interested if there are some topological and molecular reasons for the hysteresis. The amorphous kerogen matrix possesses a highly irregular topology, in which diffusive mass transfer follows a process close to creeping. The creeping process leads to a constant change of porous network, which results in different pore size distributions (PSDs) at the same pressure upon sorption and desorption (see Figure S4). Figure 5C shows the pore distributions in the kerogen matrix upon sorption/desorption. Compared with the sorption path, more isolated pores are observed in the desorption path, corresponding to worse connectivity. These isolated pores are formed as the elastic response of the kerogen structure reduces or even closes some narrow throats connected to the expanded pores during the creeping process.36 The response is reasonably stronger upon desorption since the kerogen matrix has more expanded pores (Figure 5C). Consequently, the worse-connected porous network upon desorption could make significant contributions to the hysteresis.
Closely associated with the changing porous structure is the restricted expulsion of aggregated dissolved molecules in expanded pores upon desorption. Figure S5 shows that the dissolved molecules are dispersed in the diffusion region upon sorption, while some dissolved molecules are aggregated in the expanded pores upon desorption. The aggregated molecules can block the narrow throats connected to the expanded pores, and the passage of such narrow throats is expected to be activated at lower pressure. This hypothesis can be interpreted by the thermodynamics of aggregated molecules, specifically, the solvation pressure. The solvation pressure of aggregated molecules in expanded pores upon desorption can be strongly negative,36 causing the contraction of the narrow passage, which makes it passable only at lower external pressure. By contrast, the solvation pressure in smaller pores upon sorption can be less negative or even positive,48,50 leading to less contraction or elastic expansion, which allows for easier passage. Therefore, the restricted expulsion of aggregated dissolved molecules in expanded pores upon desorption can also contribute to the observed hysteresis.
Figure 5D schematically summarizes the underlying microscopic mechanisms for hysteresis. The free molecules in large pores and the adsorbed molecules on the external surface of the kerogen matrix are reversible. The dissolved molecules diffuse into the interior of the kerogen matrix following a creeping process, which increases the porosity and creates some expanded pores. The stronger elastic response related to the expanded pores can induce a worse-connected porous network upon desorption, producing some isolated molecules. Also, some aggregated molecules can block the narrow throats connected to the expanded pores, inducing the restricted expulsion of these molecules.
Energy origin
The coupling of fluid dissolution, fluid diffusion, and kerogen deformation is controlled by the nonbonded interaction between kerogen and fluids; the energy change upon sorption/desorption is studied to provide a better understanding of the hysteresis. Figure 6 shows the interaction energy plotted as a function of pressure and the specific interaction energy changing with sorption amount. The interaction energy exhibits noticeable hysteresis loops with pressure, analogous to the trend in Figure 3. Nevertheless, the hysteresis disappears as the specific interaction energy is correlated with the sorption amount. The observation indicates that the hysteresis in Figure 6A is due to the extra gas molecules in the desorption branch. The overlapping specific interaction energy suggests the hysteresis may not be attributed to the different gas locations related to kerogen surface chemistry in the sorption and desorption paths. The magnitude of specific interaction energy shows a slightly decreasing trend with increasing sorption amount, which implies gas molecules preferentially occupy the higher energy sites upon sorption and are prone to be stripped from the lower energy sites upon desorption. Compared with the electrostatic interaction, the van der Waals (VDW) interaction is observed to play a dominant role in the nonbonded energy between fluids and kerogen.
Figure 6.
Interaction energy between flexible kerogen and fluids upon sorption/desorption at 338 K by the DCV-GCMD method
(A) Kerogen-fluid interaction energy as a function of pressure.
(B) Kerogen-fluid-specific interaction energy (defined as interaction energy divided by fluid sorption) as a function of fluid sorption.
Based on the findings above, several practical implications relevant to the context of this study can be drawn: during the late stage of shale gas depletion, the gas recovery rate is generally low. Our study reveals that this is closely related to the deteriorated connectivity of the kerogen pore network and sorption hysteresis. This low recovery phenomenon may be mitigated through CO2 injection, primarily via two mechanisms: (1) reopening clogged throats to restore pore network connectivity and (2) displacing shale gas trapped in isolated pores, thereby significantly alleviating sorption hysteresis.
Conclusions
The microscopic mechanisms for sorption hysteresis of CH4 and CO2 in shale kerogen are clarified by molecular simulations with proposed modeling setups. The experimentally observed hysteresis is reasonably reproduced by our devised DCV-GCMD simulations, which eliminate the size and pore effect and allow for sufficient equilibrium time. The kerogen structure is reversible upon sorption/desorption, and the hysteresis shows good reproducibility. The capillary condensation, chemical interaction, and insufficient equilibrium could be excluded from the hysteresis origins. Sorption thermodynamic alone and even its coupling with structural deformation could not induce the hysteresis. The free and adsorbed molecules are reversible upon sorption/desorption. Evidence is provided that the observed hysteresis is governed by the coupling of fluid diffusion, fluid dissolution, and kerogen deformation. The underlying mechanisms for the coupling protocol can be attributed to the worse-connected porous network and the restricted expulsion of aggregated dissolved molecules upon desorption. The energy analysis reveals that the hysteresis is not linked to the different gas locations due to kerogen surface heterogeneity. Gas molecules preferentially occupy the higher energy sites upon sorption and are prone to be stripped from the lower energy sites upon desorption. The nonbonded interaction between gas and kerogen is dominated by the VDW interaction rather than the electrostatic interaction.
Limitations of the study
This study, while elucidating the microscopic mechanism of gas sorption hysteresis in kerogen, has certain limitations. First, the newly revealed mechanism remains qualitative, and its quantitative impact on shale gas recovery has yet to be evaluated. Future work can incorporate key parameters into multi-scale simulations or integrate them with productivity prediction models to enable quantitative assessment. Second, the current research focuses solely on single-component static adsorption and fails to capture the dynamic competitive adsorption and displacement effects during actual CO2 injection. Subsequent studies can develop physical models that incorporate injection processes to investigate the interplay between competitive gas adsorption and pore evolution.
Resource availability
Lead contact
Requests for further information and resources should be directed to and will be fulfilled by the lead contact, Liang Huang (huangliang@cdut.edu.cn).
Materials availability
This study did not generate new unique reagents.
Data and code availability
-
•
All data reported in this paper will be shared by the lead contact upon request.
-
•
This paper does not report original code.
-
•
Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.
Acknowledgments
This work was supported by the National Key R&D Program of China (grant no. 2023YFF0614100) and the National Natural Science Foundation of China (grant no. 52204031, 52574030). Computer time was provided by the computing clusters of the College of Chemistry at the University of California, Berkeley. We appreciate the support of the China Scholarship Council (CSC no. 201806440095). We would like to thank Prof. Clayton J. Radke of the University of California, Berkeley and Prof. Abbas Firoozabadi, Dr. Tianhao Wu, Dr. Stéphane Tesson, and Prof. Armando Gama Goicochea of the Reservoir Engineering Research Institute for discussion.
Author contributions
Investigation, data curation, formal analysis, validation, conceptualization, funding acquisition, supervision, writing – original draft preparation, L.H.; funding acquisition, supervision, writing – review & editing, H.Z.; data curation, visualization, writing – review & editing, Q.C. and Z.X.; validation, writing – review & editing, Q.Y., X.F., and B.T.; writing – review & editing, Z.Y., Z.Q., and S.A.
Declaration of interests
L.H. has a patent related to this work.
STAR★Methods
Key resources table
| REAGENT or RESOURCE | SOURCE | IDENTIFIER |
|---|---|---|
| Deposited data | ||
| Density data under bulk conditions | NIST Chemistry WebBook | RRID:SCR_026225 |
| Software and algorithms | ||
| Molecular dynamics codes | LAMMPS | RRID:SCR_015240 |
| Molecular visualization program | VMD | RRID:SCR_001820 |
| Pore characterization program | CSIRO PorosityPlus | https://doi.org/10.1088/2515-7639/aada5f |
Method details
Modeling setup
A microscopic setup incorporating the GCMC and MD techniques is developed to reproduce more closely the physical process of gas sorption in kerogen, similar to the process that happened in the sorption experiment. This approach is inspired by the Dual Control Volume Grand Canonical Molecular Dynamics (DCV-GCMD) method used in fluid flow simulation.51 This framework innovatively incorporates dynamic fluid transport processes governed by molecular diffusion into sorption hysteresis study, which has posed significant challenges for conventional methodologies employed in previous research. A diffusion region made of kerogen matrix is sandwiched by two control volume regions, together constituting the microscopic model (see Figure 1A). The two control regions are served as fluid sources and sinks, in which fluid insertion, deletion, and random walk are allowed to maintain the given chemical potential by the GCMC algorithm. Fluid transfer in the diffusion region is governed by the MD principle. Exchange of fluid molecules between the control regions and the diffusion region is realized either by random walk in GCMC simulation or via thermodynamic walk in MD simulation. Asymmetric design is adopted for the two control regions. The left control region contains no adsorbent, corresponding to an external bulk reservoir, while the right control region is created as a heterogeneous cave enclosed by kerogen matrix and quartz, which is aimed to mimic the realistic interplay between fluid and inorganic-organic nanocomposite at reservoir conditions. These simulation settings effectively reproduce the diffusion transport process of CO2 within the micro- and nanoscale spaces of shale under actual conditions. The diffusion region is targeted for the study of gas sorption hysteresis, and the kerogen matrix within it can be either flexible or fixed. To prevent the flexible kerogen matrix from being destroyed, the adjacent kerogen matrix in the right control region is always kept fixed, which can be interpreted as the consolidation effect in realistic kerogen. Recently, a nailing technique has been proposed to achieve a similar purpose by fixing a small part of kerogen atoms.22 The graphene and quartz walls define the boundaries of the two control regions, which are also fixed during the whole simulation. In addition to the DCV-GCMD algorithm performed on the generated microscopic setup, the reported GCMC-MD algorithm35 integrating GCMC and MD techniques is implemented on the molecular model of bulk kerogen matrix (see Figure 1B). This hybrid strategy can probe gas sorption behavior using GCMC simulation and allow for the coupling deformation of the kerogen matrix using MD simulation simultaneously. Details of this approach can be found in the work of Chen et al.35 We adopt this method to analyze the role of sorption thermodynamic and kerogen deformation on sorption hysteresis.
Simulation details
To construct the microscopic model for the DCV-GCMD simulation, a loose kerogen matrix is first built by randomly placing 15 reported type I-A units (C251H385O13N7S3)52 into a large cuboid box (45×45×400 Å along the x, y, and z-direction). A suite of dummy particles with different LJ diameters (30 Å for 3 particle and 20 Å for 4 particles) are then inserted into the loose kerogen matrix. The box dimension of the mixed system is extended along the z-direction to integrate the quartz and the graphene, forming the initial microscopic model. The initial system is thereafter condensed through a rigorous annealing procedure (see Table S1). In this procedure, the graphene is served as a piston, and the pressure in the NPT ensemble (constant number of molecules, pressure, and temperature) is converted to the external force on the graphene along the z-direction. The box dimensions are fixed along the x and y-direction. Subsequently, the graphene is moved to generate the left control region, while the dummy particles are removed to generate the right control region. The condensed kerogen matrix is further relaxed in the NVT ensemble (constant number of molecules, box volume, and temperature) for 1000 ps to eliminate the stress concentration and create the final microscopic model for gas sorption. In parallel, the microscopic model of the kerogen matrix for the GCMC-MD simulation is condensed from 9 reported type I-A units by using our previous annealing process.43,44
The generated two microscopic models are utilized for gas sorption simulation by the DCV-GCMD method and the GCMC-MD method, respectively. Gas sorption is conducted in the grand canonical ensemble for both of the two methods, wherein gas in the bulk kerogen matrix has the same chemical potential and temperature with an imaginary external bulk reservoir for the GCMC-MD simulation, while gas in the diffusion region possesses the equivalent chemical potential and temperature with the two control regions at equilibrium state for the DCV-GCMD simulation. Chemical potential is required as an input parameter in the sorption simulation. In this study, we perform additional GCMC-MD simulation for gas in bulk phase to obtain the correlation between pressure and chemical potential (see Figure S6A). Sorption/desorption isotherms are required to study the hysteresis loops. The sorption branch is yielded by performing simulation at a sequence of increasing chemical potential, while the desorption branch is yielded by recovering the chemical potential starting from the last point in the sorption branch. Information regarding the relevant simulation schemes for this work can be found in Table S2.
The simulations are conducted using the Large-Scale Atomic/Molecular Massively Parallel Simulator (LAMMPS).53 The atomic types and point charges of kerogen are parameterized with the CVFF force field,54 which has been employed to describe kerogen interaction with gas molecules.18 CH4 molecule is represented with the TraPPE-UA model,55 while CO2 molecule is treated by the TraPPE-EH model,56 as these force fields have been extensively validated in prior studies and reliably reproduce the physical and chemical properties of CH4 and CO2. Nonbonded interactions between atomic pairs are calculated by the Lennard-Jones (LJ) 12-6 function and the unscreened Coulomb potential. Lorentz-Berthelot combining rules57 are adopted for unlike atoms. The cutoff distance for short-range pairwise interaction is 14 Å, and the long-range electrostatic interaction is described by the Ewald summation.58,59 Periodic boundary conditions are used in the three directions of space. The temperature at 338 K is controlled by the Nosé-Hoover thermostat,60 and the timestep is set as 0.1 fs. The sorption simulation at each chemical potential has a total of 4000 cycles, each including 2500 GCMC exchanges after every 10000 MD steps. The simulation details are validated by the comparable gas densities from the simulation with the PR-EOS predictions and NIST data (see Figures S6B and S6C). During the simulation, the total uptake and temperature are monitored to guide the equilibrium (see Figure S1).
Computational analysis
Fluid uptake, fluid states, porous properties, and energy terms are computed based on post-processing of the model trajectories. Total uptake is directly obtained by counting gas molecules in the diffusion region for the DCV-GCMD simulation or the bulk kerogen model for the GCMC-MD simulation. In the DCV-GCMD modeling setup, total uptake is divided into the dissolved state in the diffusion region and the adsorbed state on the interface between the left region and the diffusion region. The adsorbed state is defined as the portion of the density profile in the z-direction of the left control region where the density exceeds that of the free state. To be comparable with experimental data, total uptake is also converted into excess sorption by subtracting the corresponding free state at the same chemical potential. Pore structures including porosity and PSD are characterized using the Metropolis Monte Carlo integration method based on geometry determination.61 The CSIRO PorosityPlus code62 is adopted to calculate the porous properties using probe diameters corresponding to the studied gas molecules. The interaction energy is obtained by subtracting the energy of isolated components from the total energy of the mixtures.
Quantification and statistical analysis
Origin software was used for statistical analysis. The computational results are averaged among 10 structure configurations. All statistical were expressed as mean ± standard deviation (SD), and were shown in figures.
Published: October 29, 2025
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.isci.2025.113882.
Supplemental information
References
- 1.Kerr R.A. Natural gas from shale bursts onto the scene. Science. 2010;328:1624–1626. doi: 10.1126/science.328.5986.1624. [DOI] [PubMed] [Google Scholar]
- 2.Vidic R.D., Brantley S.L., Vandenbossche J.M., Yoxtheimer D., Abad J.D. Impact of shale gas development on regional water quality. Science. 2013;340 doi: 10.1126/science.1235009. [DOI] [PubMed] [Google Scholar]
- 3.Cueto-Felgueroso L., Juanes R. Forecasting long-term gas production from shale. Proc. Natl. Acad. Sci. USA. 2013;110:19660–19661. doi: 10.1073/pnas.1319578110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Osborn S.G., Vengosh A., Warner N.R., Jackson R.B. Methane contamination of drinking water accompanying gas-well drilling and hydraulic fracturing. Proc. Natl. Acad. Sci. USA. 2011;108:8172–8176. doi: 10.1073/pnas.1100682108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Bousige C., Ghimbeu C.M., Vix-Guterl C., Pomerantz A.E., Suleimenova A., Vaughan G., Garbarino G., Feygenson M., Wildgruber C., Ulm F.J., et al. Realistic molecular model of kerogen’s nanostructure. Nat. Mater. 2016;15:576–582. doi: 10.1038/nmat4541. [DOI] [PubMed] [Google Scholar]
- 6.Yang Q., Huang L., Chen Q., Feng X., Xu Z., Tian B., Ning Z., Liu B. Molecular insights into CO2 sequestration and enhanced gas recovery in water-bearing shale nanocomposites. Sep. Purif. Technol. 2025;355 doi: 10.1016/j.seppur.2024.129618. [DOI] [Google Scholar]
- 7.Xu Z., Huang L., Yang Q., Feng X., Tian B., Chen Q., Qiu X., Wang L., Liu Y., Ning Z., Liu B. Coupling effect of fluid molecular structure and nanoporous structure on the confined phase behavior of butane isomers in shale nanopores. Fuel. 2025;379 doi: 10.1016/j.fuel.2024.132983. [DOI] [Google Scholar]
- 8.Chen Q., Huang L., Yang Q., Xu Z., Tian B., Feng X., Qiu X., Wang L., Liu Y., Ning Z., Liu B. Molecular insights into dual competitive modes of CH4/CO2 in shale nanocomposites: Implications for CO2 sequestration and enhanced gas recovery in deep shale reservoir. J. Mol. Liq. 2024;415 doi: 10.1016/j.molliq.2024.126359. [DOI] [Google Scholar]
- 9.Etminan S.R., Javadpour F., Maini B.B., Chen Z. Measurement of gas storage processes in shale and of the molecular diffusion coefficient in kerogen. Int. J. Coal Geol. 2014;123:10–19. doi: 10.1016/j.coal.2013.10.007. [DOI] [Google Scholar]
- 10.Jin Z., Firoozabadi A. Thermodynamic modeling of phase behavior in shale media. SPE J. 2016;21:190–207. doi: 10.2118/176015-PA. [DOI] [Google Scholar]
- 11.Huang L., Zhou W., Xu H., Wang L., Zou J., Zhou Q. Dynamic fluid states in organic-inorganic nanocomposite: Implications for shale gas recovery and CO2 sequestration. Chem. Eng. J. 2021;411 doi: 10.1016/j.cej.2021.128423. [DOI] [Google Scholar]
- 12.Guo T., Meng X., Lei W., Liu M., Huang L. Characteristics and governing factors of pore structure and methane sorption in deep-marine shales: A case study of the Wufeng-Longmaxi formations in Weirong shale gas field, Sichuan Basin. Nat. Resour. Res. 2023;32:1733–1759. doi: 10.1007/s11053-023-10215-2. [DOI] [Google Scholar]
- 13.Huang L., Feng X., Yang Q., Xu Z., Tian B., Chen Q., Chen Z., Wang L., Liu Y., Yang F. Measurement and modeling of moisture equilibrium and methane adsorption in shales from the southern Sichuan Basin. Chem. Eng. J. 2024;489 doi: 10.1016/j.cej.2024.151262. [DOI] [Google Scholar]
- 14.Wu J., Yang X., Huang S., Zhao S., Zhang D., Zhang J., Ren C., Zhang C., Jiang R., Liu D., et al. Molecular simulation of methane adsorption in deep shale nanopores: Effect of rock constituents and water. Minerals. 2023;13:756. doi: 10.3390/min13060756. [DOI] [Google Scholar]
- 15.Huang L., Ning Z., Lin H., Zhou W., Wang L., Zou J., Xu H. High-pressure sorption of methane, ethane, and their mixtures on shales from Sichuan Basin, China. Energy Fuels. 2021;35:3989–3999. doi: 10.1021/acs.energyfuels.0c04205. [DOI] [Google Scholar]
- 16.Tesson S., Firoozabadi A. Methane adsorption and self-diffusion in shale kerogen and slit nanopores by molecular simulations. J. Phys. Chem. C. 2018;122:23528–23542. doi: 10.1021/acs.jpcc.8b07123. [DOI] [Google Scholar]
- 17.Wu T., Zhao H., Tesson S., Firoozabadi A. Absolute adsorption of light hydrocarbons and carbon dioxide in shale rock and isolated kerogen. Fuel. 2019;235:855–867. doi: 10.1016/j.fuel.2018.08.023. [DOI] [Google Scholar]
- 18.Huang L., Ning Z., Wang Q., Qi R., Cheng Z., Wu X., Zhang W., Qin H. Molecular insights into kerogen deformation induced by CO2/CH4 sorption: effect of maturity and moisture. Energy Fuels. 2019;33:4792–4805. doi: 10.1021/acs.energyfuels.9b00409. [DOI] [Google Scholar]
- 19.Huang L., Ning Z., Wang Q., Qi R., Cheng Z., Wu X., Zhang W., Qin H. Kerogen deformation upon CO2/CH4 competitive sorption: Implications for CO2 sequestration and enhanced CH4 recovery. J. Pet. Sci. Eng. 2019;183 doi: 10.1016/j.petrol.2019.106460. [DOI] [Google Scholar]
- 20.Ho T.A., Wang Y., Criscenti L.J. Chemo-mechanical coupling in kerogen gas adsorption/desorption. Phys. Chem. Chem. Phys. 2018;20:12390–12395. doi: 10.1039/C8CP01068D. [DOI] [PubMed] [Google Scholar]
- 21.Pathak M., Huang H., Meakin P., Deo M. Molecular investigation of the interactions of carbon dioxide and methane with kerogen: Application in enhanced shale gas recovery. J. Nat. Gas Sci. Eng. 2018;51:1–8. doi: 10.1016/j.jngse.2017.12.021. [DOI] [Google Scholar]
- 22.Tesson S., Firoozabadi A. Deformation and swelling of kerogen matrix in light hydrocarbons and carbon dioxide. J. Phys. Chem. C. 2019;123:29173–29183. doi: 10.1021/acs.jpcc.0c10362. [DOI] [Google Scholar]
- 23.Li Z., Yao J., Firoozabadi A. Kerogen swelling in light hydrocarbon gases and liquids and validity of schroeder’s paradox. J. Phys. Chem. C. 2021;125:8137–8147. doi: 10.1021/acs.jpcc.0c10362. [DOI] [Google Scholar]
- 24.Wu J., Huang P., Maggi F., Shen L. Effect of sorption-induced deformation on methane flow in kerogen slit pores. Fuel. 2022;325 doi: 10.1016/j.fuel.2022.124886. [DOI] [Google Scholar]
- 25.Song Y., Liu T., Wang M., Wang X., Zheng S., Quan F., Feng G. Kerogen Differential Swelling during CO2-CH4 Adsorption: Mechanism and Significance. Energy Fuels. 2023;37:4948–4959. doi: 10.1021/acs.energyfuels.2c03965. [DOI] [Google Scholar]
- 26.Ariskina K., Galliéro G., Obliger A. Adsorption-induced swelling impact on CO2 transport in kerogen microporosity described by free volume theory. Fuel. 2024;359 doi: 10.1016/j.fuel.2023.130475. [DOI] [Google Scholar]
- 27.Yu X., Li J., Chen Z., Wu K., Zhang L., Yang S., Hui G., Yang M. Determination of CH4, C2H6 and CO2 adsorption in shale kerogens coupling sorption-induced swelling. Chem. Eng. J. 2021;410 doi: 10.1016/j.cej.2020.127690. [DOI] [Google Scholar]
- 28.Pang Y., He Y., Chen S. An innovative method to characterize sorption-induced kerogen swelling in organic-rich shales. Fuel. 2019;254 doi: 10.1016/j.fuel.2019.115629. [DOI] [Google Scholar]
- 29.Huang L., Khoshnood A., Firoozabadi A. Swelling of Kimmeridge kerogen by normal-alkanes, naphthenes and aromatics. Fuel. 2020;267 doi: 10.1016/j.fuel.2020.117155. [DOI] [Google Scholar]
- 30.Pathak M., Kweon H., Deo M., Huang H. Kerogen swelling and confinement: its implication on fluid thermodynamic properties in shales. Sci. Rep. 2017;7 doi: 10.1038/s41598-017-12982-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Huang L., Xiao Y., Yang Q., Chen Q., Zhang Y., Xu Z., Feng X., Tian B., Wang L., Liu Y. Gas sorption in shale media by molecular simulation: Advances, challenges and perspectives. Chem. Eng. J. 2024;487 doi: 10.1016/j.cej.2024.150742. [DOI] [Google Scholar]
- 32.Zhao H., Lai Z., Firoozabadi A. Sorption hysteresis of light hydrocarbons and carbon dioxide in shale and kerogen. Sci. Rep. 2017;7:16209–16210. doi: 10.1038/s41598-017-13123-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Zhao H., Wu T., Firoozabadi A. High pressure sorption of various hydrocarbons and carbon dioxide in Kimmeridge Blackstone and isolated kerogen. Fuel. 2018;224:412–423. doi: 10.1016/j.fuel.2018.02.186. [DOI] [Google Scholar]
- 34.Li Z., Jin Z., Firoozabadi A. Phase behavior and adsorption of pure substances and mixtures and characterization in nanopore structures by density functional theory. SPE J. 2014;19:1096–1109. doi: 10.2118/169819-PA. [DOI] [Google Scholar]
- 35.Chen M., Coasne B., Guyer R., Derome D., Carmeliet J. Role of hydrogen bonding in hysteresis observed in sorption-induced swelling of soft nanoporous polymers. Nat. Commun. 2018;9:3507–3517. doi: 10.1038/s41467-018-05897-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Jeromenok J., Weber J. Restricted access: on the nature of adsorption/desorption hysteresis in amorphous, microporous polymeric materials. Langmuir. 2013;29:12982–12989. doi: 10.1021/la402630s. [DOI] [PubMed] [Google Scholar]
- 37.Kim H.J., Shi Y., He J., Lee H.H., Lee C.H. Adsorption characteristics of CO2 and CH4 on dry and wet coal from subcritical to supercritical conditions. Chem. Eng. J. 2011;171:45–53. doi: 10.1016/j.cej.2011.03.035. [DOI] [Google Scholar]
- 38.He J., Shi Y., Ahn S., Kang J.W., Lee C.H. Adsorption and desorption of CO2 on Korean coal under subcritical to supercritical conditions. J. Phys. Chem. B. 2010;114:4854–4861. doi: 10.1021/jp911712m. [DOI] [Google Scholar]
- 39.Battistutta E., Van Hemert P., Lutynski M., Bruining H., Wolf K.H. Swelling and sorption experiments on methane, nitrogen and carbon dioxide on dry Selar Cornish coal. Int. J. Coal Geol. 2010;84:39–48. doi: 10.1016/j.coal.2010.08.002. [DOI] [Google Scholar]
- 40.Dutta P., Bhowmik S., Das S. Methane and carbon dioxide sorption on a set of coals from India. Int. J. Coal Geol. 2011;85:289–299. doi: 10.1016/j.coal.2010.12.004. [DOI] [Google Scholar]
- 41.Weber J., Antonietti M., Thomas A. Microporous networks of high-performance polymers: Elastic deformations and gas sorption properties. Macromolecules. 2008;41:2880–2885. doi: 10.1021/ma702495r. [DOI] [Google Scholar]
- 42.Wang K., Wang G., Ren T., Cheng Y. Methane and CO2 sorption hysteresis on coal: A critical review. Int. J. Coal Geol. 2014;132:60–80. doi: 10.1016/j.coal.2014.08.004. [DOI] [Google Scholar]
- 43.Huang L., Ning Z., Wang Q., Zhang W., Cheng Z., Wu X., Qin H. Effect of organic type and moisture on CO2/CH4 competitive adsorption in kerogen with implications for CO2 sequestration and enhanced CH4 recovery. Appl. Energy. 2018;210:28–43. doi: 10.1016/j.apenergy.2017.10.122. [DOI] [Google Scholar]
- 44.Huang L., Ning Z., Wang Q., Qi R., Zeng Y., Qin H., Ye H., Zhang W. Molecular simulation of adsorption behaviors of methane, carbon dioxide and their mixtures on kerogen: Effect of kerogen maturity and moisture content. Fuel. 2018;211:159–172. doi: 10.1016/j.fuel.2017.09.060. [DOI] [Google Scholar]
- 45.Falk K., Coasne B., Pellenq R., Ulm F.J., Bocquet L. Subcontinuum mass transport of condensed hydrocarbons in nanoporous media. Nat. Commun. 2015;6:6949. doi: 10.1038/ncomms7949. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Collell J., Galliero G., Vermorel R., Ungerer P., Yiannourakou M., Montel F., Pujol M. Transport of multicomponent hydrocarbon mixtures in shale organic matter by molecular simulations. J. Phys. Chem. C. 2015;119:22587–22595. doi: 10.1021/acs.jpcc.5b07242. [DOI] [Google Scholar]
- 47.Sarkisov L., Monson P.A. Hysteresis in Monte Carlo and molecular dynamics simulations of adsorption in porous materials. Langmuir. 2000;16:9857–9860. doi: 10.1021/la001000f. [DOI] [Google Scholar]
- 48.Bangham D.H., Fakhoury N. The expansion of charcoal accompanying sorption of gases and vapours. Nature. 1928;122:681–682. doi: 10.1038/122681b0. [DOI] [Google Scholar]
- 49.Collell J., Ungerer P., Galliero G., Yiannourakou M., Montel F., Pujol M. Molecular simulation of bulk organic matter in type II shales in the middle of the oil formation window. Energy Fuels. 2014;28:7457–7466. doi: 10.1021/ef5021632. [DOI] [Google Scholar]
- 50.Yang K., Lin Y., Lu X., Neimark A.V. Solvation forces between molecularly rough surfaces. J. Colloid Interface Sci. 2011;362:382–388. doi: 10.1016/j.jcis.2011.06.056. [DOI] [PubMed] [Google Scholar]
- 51.Heffelfinger G.S., Swol F.V. Diffusion in Lennard-Jones fluids using dual control volume grand canonical molecular dynamics simulation (DCV-GCMD) J. Chem. Phys. 1994;100:7548–7552. doi: 10.1063/1.466849. [DOI] [Google Scholar]
- 52.Ungerer P., Collell J., Yiannourakou M. Molecular modeling of the volumetric and thermodynamic properties of kerogen: Influence of organic type and maturity. Energy Fuels. 2014;29:91–105. doi: 10.1021/ef502154k. [DOI] [Google Scholar]
- 53.Plimpton S. Fast parallel algorithms for short-range molecular dynamics. J. Comput. Phys. 1995;117:1–19. doi: 10.1006/jcph.1995.1039. [DOI] [Google Scholar]
- 54.Hagler A.T., Lifson S., Dauber P. Consistent force field studies of intermolecular forces in hydrogen-bonded crystals. 2. A benchmark for the objective comparison of alternative force fields. J. Am. Chem. Soc. 1979;101:5122–5130. doi: 10.1021/ja00512a002. [DOI] [Google Scholar]
- 55.Martin M.G., Siepmann J.I. Transferable potentials for phase equilibria. 1. United-atom description of n-alkanes. J. Phys. Chem. B. 1998;102:2569–2577. doi: 10.1021/jp972543+. [DOI] [Google Scholar]
- 56.Potoff J.J., Siepmann J.I. Vapor-liquid equilibria of mixtures containing alkanes, carbon dioxide, and nitrogen. AIChE J. 2001;47:1676–1682. doi: 10.1002/aic.690470719. [DOI] [Google Scholar]
- 57.Lorentz H.A. Ueber die anwendung des satzes vom virial in der kinetischen theorie der gase. Ann. Phys. 1881;248:127–136. doi: 10.1002/andp.18812480110. [DOI] [Google Scholar]
- 58.Frenkel D., Smit B. Understanding Molecular Simulation: From Algorithms to Applications. 2002. [DOI]
- 59.Shelley J.C., Patey G.N. Boundary condition effects in simulations of water confined between planar walls. Mol. Phys. 1996;88:385–398. doi: 10.1080/00268979650026406. [DOI] [Google Scholar]
- 60.Nosé S. A unified formulation of the constant temperature molecular dynamics methods. J. Chem. Phys. 1984;81:511–519. doi: 10.1063/1.447334. [DOI] [Google Scholar]
- 61.Gelb L.D., Gubbins K.E. Pore size distributions in porous glasses: a computer simulation study. Langmuir. 1999;15:305–308. doi: 10.1021/la9808418. [DOI] [Google Scholar]
- 62.Opletal G., Petersen T.C., Russo S.P., Barnard A.S. PorosityPlus: characterisation of defective, nanoporous and amorphous materials. J. Phys. Mater. 2018;1 doi: 10.1088/2515-7639/aada5f. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
-
•
All data reported in this paper will be shared by the lead contact upon request.
-
•
This paper does not report original code.
-
•
Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.






