3.1. Structural Evolution Under Different Pore Sizes
The initial systems were constructed with 1500 CO
2 and 1500 CH
4 molecules, while the remaining pore volume was filled with water at ambient density. The structural evolution of the confined fluids exhibits significant dependence on pore size (
Figure 2). For the 4 nm slit pore, strong confinement leads to the compression of water into the pore center. At 5 ns, water is squeezed into two separate domains, forming distinct water clusters. These domains gradually coalesce, with nearly half of the interface merged by 10 ns. By 20 ns, a single, continuous water domain is observed at the pore center, encapsulated by surrounding CO
2 and CH
4 molecules. This behavior can be attributed to the limited pore volume, which enforces strong competition between gas adsorption on the graphene walls and water structuring in the confined space, ultimately driving water molecules to aggregate in the middle of the pore.
In the 6 nm pore, the degree of confinement is reduced, and the system exhibits a relatively stable morphology. At 5 ns, water organizes into a planar rectangular slab located in the pore center, while undissolved CO2 and CH4 are preferentially adsorbed onto the upper and lower graphene surfaces. This configuration remains stable throughout the simulation. The observed structural stability arises from a balance between capillary forces driving water accumulation in the midplane and sufficient pore volume that allows gases to fully adsorb at the solid surfaces without significantly disrupting the water domain.
In the 8 nm pore, weak confinement produces more complex dynamics. At 5 ns, fewer gas molecules are adsorbed at the graphene walls, and two mixed gas bubbles of different sizes appear within the water region. By 10 ns, these internal cavities vanish as gases diffuse and merge into the interfacial layer, leading to increased gas adsorption on the upper surface. At 20 ns, the morphology remains similar to that at 10 ns, suggesting the system has reached a quasi-equilibrium state. The presence and subsequent dissolution of internal bubbles are attributed to the enlarged free volume, which weakens confinement effects and allows gases to initially nucleate inside the water phase before stabilizing at the solid–liquid interface.
Overall, the results demonstrate that pore size strongly regulates the phase distribution and evolution pathways of the CO2—CH4—H2O system: narrow pores favor central water aggregation and symmetric gas adsorption, intermediate pores stabilize a water slab with bilayer gas layers, while wide pores facilitate transient gas bubble formation within water before interfacial adsorption dominates.
3.2. The Number Density Distributions of CH4, CO2, and Water at Different Pore Size
The 2D density contour maps provide insight into the equilibrium spatial distribution of CH
4, CO
2, and H
2O within slit pores of varying widths. In the 4 nm pore (
Figure 3a–c), water is predominantly concentrated at the central region, forming a continuous band across the midplane, while CH
4 and CO
2 are mainly localized near the upper and lower graphene surfaces. CO
2 exhibits broader and more uniform coverage along the surfaces compared with CH
4, reflecting its stronger adsorption affinity under confinement.
For the 6 nm pore (
Figure 3d–f), water occupies a well-defined planar slab at the pore center, as indicated by a pronounced central density region. CH
4 and CO
2 are again adsorbed near the solid interfaces, but the distribution is more diffuse compared with the 4 nm pore, consistent with weaker confinement. CO
2 maintains a wider interfacial spread than CH
4, highlighting its competitive advantage in occupying adsorption sites.
In the 8 nm pore (
Figure 3g–i), the central water region is broader and more uniform, indicating reduced confinement effects. CH
4 and CO
2 are partially adsorbed on the graphene surfaces, with CO
2 showing noticeably larger coverage than CH
4. The remaining free volume in the pore allows for some mixing of gas molecules within the water layer, producing regions of moderate gas density inside the central water region.
Overall, the 2D density maps demonstrate that pore size strongly influences the spatial arrangement of confined fluids: narrow pores favor central water accumulation and well-separated interfacial gases, intermediate pores stabilize a planar water slab with moderately diffuse gas layers, and wide pores allow partial gas penetration into the liquid region while maintaining dominant interfacial adsorption. Across all pore sizes, CO2 consistently occupies larger interfacial areas than CH4, illustrating its stronger adsorption affinity and competitive advantage in confined environments.
3.3. The Radial Distribution Function and MSD Among Different Components
Radial distribution function (RDF) analysis was performed to investigate the microscopic distribution and interaction of molecules within nanopores of varying diameters (4 nm, 6 nm, and 8 nm). The RDFs of water—CH
4, water—CO
2, water—GRA, GRA—CH
4, GRA—CO
2, and CH
4—CO
2 exhibit distinct features depending on pore size, reflecting changes in molecular arrangement and adsorption behavior (
Figure 4).
For water—CH4 and water—CO2, the primary peaks are located around 2.0–2.5 Å. With the increase in pore size from 4 nm to 8 nm, the RDF peak heights progressively rise, suggesting stronger local ordering and coordination of water molecules around the gas molecules. This suggests that larger pores promote closer packing and higher local density of water-gas interactions. The water—GRA RDF shows a main peak at approximately 3.0–4.0 Å, slightly shifting outward with increasing pore size, which indicates that water molecules adsorbed on graphene surfaces form a relatively stable but slightly more diffuse layer in larger pores.
The radial distribution functions (RDFs) of GRA—CH4 and GRA—CO2 show prominent peaks in the 3.0–5.0 Å range. Notably, the peak intensity for GRA—CO2 rises more markedly than that for GRA—CH4 as pore size increases, indicating a stronger adsorption affinity of CO2 molecules toward the graphene surface compared to CH4. For CH4—CO2, a weak primary peak appears around 3.0–4.0 Å, and with larger pore size, secondary peaks emerge, indicating enhanced medium-range ordering and increased local clustering of gas molecules in wider pores.
In summary, as the pore diameter increases, the local coordination between water and gas molecules is strengthened, which in turn enhances the adsorption of gas molecules on the graphene surface, particularly favoring CO2 over CH4. Larger pores provide a more spacious environment, allowing molecules to arrange more orderly, resulting in enhanced local and medium-range molecular ordering. These RDF features highlight the significant role of pore size in modulating molecular distributions and interactions within confined environments.
RDF analysis reveals that CO2 is more strongly solvated by water than CH4, which increases its residence time near hydrated pore surfaces. This hydration-mediated solvation likely enhances the stability of CO2 sequestration and promotes selective retention in competitive adsorption systems, providing mechanistic insight into both long-term storage and gas separation efficiency in mesoporous environments.
The mean square displacement (MSD) of CH4, CO2, and water molecules was analyzed in nanopores of different diameters to understand the effect of confinement on molecular mobility.
In the 4 nm pore (
Figure 5a), molecular motion is relatively restricted due to strong confinement. CH
4 shows the highest diffusion, with its MSD increasing from 0 Å
2 at the beginning to 65.5 Å
2 at 20 ns. CO
2 exhibits slightly lower mobility, reaching 61.2 Å
2 at the same time, while water is the slowest species, with MSD rising to 37.4 Å
2. These trends indicate that nonpolar gases can diffuse more easily even under confinement, whereas water’s movement is strongly hindered by hydrogen bonding and interactions with the pore walls.
When the pore size increases to 6 nm (
Figure 5b), molecular diffusion is noticeably enhanced. CH
4 MSD rises sharply to 168.6 Å
2 at 20 ns, and CO
2 reaches 139.9 Å
2. Water mobility also improves, with MSD increasing to 74.2 Å
2. The larger pore volume reduces restrictions on molecular motion, and the hydrogen-bond network of water becomes less constrained, allowing all species to move more freely.
In the 8 nm pore (
Figure 5c), the molecules experience minimal confinement, approaching near-bulk diffusion behavior. CH
4 reaches an MSD of 169.3 Å
2, CO
2 147.1 Å
2, and water 79.7 Å
2 at 20 ns. The growth of MSD is smoother, reflecting the weaker influence of the pore walls. Water shows the largest relative increase compared to smaller pores, highlighting the significant effect of confinement on polar species.
Overall, MSD increases with pore diameter, reflecting reduced confinement effects. CH4 consistently exhibits the highest mobility, followed by CO2, with water being the slowest. The difference in MSD between pore sizes is most pronounced for water, which nearly doubles from the 4 nm to the 8 nm pore. These results demonstrate that pore size strongly influences molecular transport dynamics, particularly for polar molecules, whereas small nonpolar gases are less affected by confinement.
The diffusion behavior of CH
4, CO
2, and water in graphene nanopores exhibits a pronounced dependence on pore size, reflecting the confinement effect at the nanoscale (
Figure 6). As the pore diameter increases from 4 to 8 nm, the mobility of all species is significantly enhanced, with CH
4 consistently showing the highest diffusivity, followed by CO
2 and water. This trend indicates that CH
4 experiences weaker surface interactions and less hindrance from confinement compared to CO
2, while water molecules remain the slowest due to strong hydrogen-bonding networks. The observed enhancement in molecular mobility with increasing pore size underscores the critical role of pore geometry in regulating competitive adsorption–desorption and transport processes, providing mechanistic insight into CH
4 migration and recovery in coalbed methane systems.
3.4. Adsorption and Desorption Behaviors of CH4 and CO2 on Graphene Surfaces
Analyzing the adsorption behavior of CH4 and CO2 on graphene surfaces across pore sizes of 4 nm, 6 nm, and 8 nm reveals several important trends.
For the 4 nm pore system (
Figure 7a), methane adsorption starts rapidly, reaching around 373 molecules at 3 ns, after which it fluctuates and gradually decreases to 261 molecules by 20 ns. CO
2 shows a slightly different trend, increasing steadily to a peak of 368 molecules around 11 ns, then fluctuating and slightly decreasing to 323 molecules at the end of the simulation. Overall, CH
4 adsorption shows an early peak followed by a moderate decline, while CO
2 adsorption is more stable with a later peak.
In the 6 nm pore system (
Figure 7b), both CH
4 and CO
2 exhibit higher initial adsorption compared to the 4 nm system. Methane peaks at 406 molecules around 3 ns, followed by fluctuations between 375 and 402 molecules, indicating a dynamic equilibrium with minor desorption events. CO
2 adsorption is more moderate, peaking at 308 molecules around 15 ns and fluctuating between 272 and 308 molecules, showing a slower adsorption process and less dramatic variation compared to CH
4.
For the 8 nm pore system (
Figure 7c), CH
4 adsorption peaks at 397 molecules at 12 ns and fluctuates around 360–377 molecules thereafter. CO
2 shows a steady increase, reaching 325 molecules at 19 ns, with relatively smaller fluctuations. Compared to the smaller pores, CH
4 adsorption in the 8 nm system is more stable after the peak, and CO
2 shows a smoother, more gradual adsorption trend.
Comparing the three pore sizes, several trends are evident. Smaller pores (4 nm) lead to faster initial CH4 adsorption but earlier saturation and a more pronounced decline, indicating limited adsorption space and competitive desorption. Medium pores (6 nm) enhance CH4 adsorption capacity, with fluctuations suggesting a more dynamic equilibrium, while CO2 adsorption remains moderate. Larger pores (8 nm) support more stable CH4 adsorption over time and allow CO2 to gradually accumulate on the surface, likely due to more available adsorption sites and reduced steric hindrance. Overall, increasing pore size appears to stabilize CH4 adsorption and moderately facilitates CO2 accumulation, highlighting the pore-size-dependent adsorption/desorption behavior of gas molecules on graphene surfaces.
Based on the provided desorption data for CH
4 and CO
2 on graphene surfaces at different pore sizes, the following observations can be made: For the 4 nm pore (
Figure 7d), the desorption of CH
4 starts at 161 molecules at 1 ns, rapidly increases to a peak of 274 molecules at 18 ns, and then slightly decreases to 252 molecules by 20 ns. CO
2 shows a similar trend, beginning at 178 molecules, peaking at 263 molecules at 4 ns, and gradually decreasing to 230 molecules at 20 ns. The data suggest that CH
4 exhibits a slower but steady increase, while CO
2 reaches its peak earlier and then fluctuates slightly, indicating that CO
2 may initially desorb faster than CH
4 but stabilizes sooner.
In the 6 nm pore (
Figure 7e), CH
4 desorption begins at 133 molecules, fluctuates moderately, and reaches around 147 molecules at 20 ns. CO
2 starts at 148 molecules, increases with minor fluctuations, and reaches 171 molecules at 20 ns. Compared to the 4 nm pore, the desorption amounts are lower for CH
4, but CO
2 desorption remains significant. This suggests that increasing pore size slightly reduces CH
4 desorption efficiency while maintaining CO
2 desorption capacity.
For the 8 nm pore (
Figure 7f), CH
4 desorption is minimal initially, starting at 47 molecules, gradually increasing to 116 molecules at 20 ns. CO
2 starts at 68 molecules, rises to 137 molecules by 20 ns. Both gases show a slower and steadier desorption process compared with smaller pores, indicating that larger pore sizes limit the immediate availability of adsorbed molecules for desorption, likely due to weaker confinement effects.
Overall, the desorption behavior reveals that pore size significantly influences the release of CH4 and CO2 from graphene surfaces. Smaller pores (4 nm) facilitate faster desorption and higher peak numbers, especially for CO2, whereas larger pores (8 nm) exhibit more gradual desorption for both gases. This suggests that confinement within narrower pores enhances the desorption kinetics of both CH4 and CO2, with CO2 generally desorbing more readily than CH4 under the same conditions.
For the 4 nm pore, both CH
4 and CO
2 exhibit nearly identical residence times, with CH
4 at 0.05689 ns and CO
2 at 0.05663 ns. This indicates that, under strong confinement, the two gases have very similar interactions with the graphene surface, leading to comparable retention durations (
Figure 8a).
In the 6 nm pore, CH4 shows an increased residence time of 0.06201 ns, whereas CO2 decreases to 0.04292 ns. This divergence suggests that as the pore becomes slightly larger, CH4 interacts more strongly or remains trapped longer within the pore, while CO2 desorbs more quickly, likely due to reduced confinement and weaker interactions with the surface.
For the 8 nm pore, CH4 residence time slightly decreases to 0.05464 ns, while CO2 increases modestly to 0.04418 ns compared with the 6 nm pore. This indicates that in the largest pore, CH4 is slightly less confined than in the 6 nm case, whereas CO2 finds slightly longer retention due to a more balanced interaction between confinement and surface adsorption.
Overall, the data show that CH4 generally exhibits longer residence times in smaller pores, with a peak at 6 nm, while CO2 retention decreases as pore size increases from 4 nm to 6 nm and then stabilizes at 8 nm. These trends highlight the sensitivity of gas-surface interactions to pore size, with CH4 being more influenced by confinement and CO2 being more sensitive to reduced adsorption strength in larger pores.
The dynamic desorption behavior of CH4 and CO2 on the graphene surface was further investigated by tracking individual molecular trajectories. As illustrated by the snapshots, although both gases initially adsorb on the graphene surface, CO2 exhibits a slightly shorter residence time compared to CH4 (e.g., 0.0566 ns vs. 0.0569 ns for the 4 nm pore). This indicates a relatively weaker interaction between CO2 and the graphene surface, facilitating its faster desorption.
Structurally, at equivalent time points, CO2 molecules are observed to migrate farther from the graphene surface after desorption, whereas a fraction of CH4 molecules remains near the surface or slides along it. This difference can be attributed to molecular characteristics: CO2, being a linear polar molecule, interacts with graphene primarily through weak dipole–π interactions, while CH4, a nonpolar molecule, experiences stronger van der Waals interactions with the surface, resulting in longer retention.
Trajectory analysis further reveals that the post-desorption migration is not only influenced by molecular type but also by the local pore environment. In narrow or crowded regions, CH4 diffusion is hindered, whereas CO2, due to its faster desorption, can more readily access the pore center and propagate along the channel, covering a greater distance.
Overall, these observations demonstrate that CO
2 desorbs more rapidly yet migrates farther, while CH
4 exhibits a slightly longer residence time with slower migration. The combination of structural snapshots and molecular dynamics trajectories provides a clear microscopic insight into the desorption and subsequent migration mechanisms of these gases on graphene surfaces (
Figure 8b,c).
3.5. The Variation in Molecular Weight of CH4 and CO2 in the Gas Phase over Time and the Evolution of Bubbles
The temporal evolution of gas-phase CH4 and CO2 molecules within graphene nanopores of varying sizes was systematically analyzed to elucidate their desorption behaviors and pore confinement effects.
For the 4 nm pore system (
Figure 9a), the number of gas-phase CH
4 molecules rapidly increases from 322 at 0 ns to approximately 1167–1176 at 20 ns, while CO
2 rises from 205.6 to 648.2 over the same period. This indicates a relatively fast release and accumulation of CH
4 in the gas phase, with CO
2 showing slightly slower growth but eventually reaching a comparable plateau, reflecting competitive desorption dynamics under confined conditions.
In the 6 nm system (
Figure 9b), CH
4 starts at 111 molecules and increases to 937, whereas CO
2 rises from 48.2 to 393.6. Here, both gases show a steady increase, but CH
4 dominates the gas phase more significantly than CO
2, suggesting that the larger pore favors CH
4 desorption due to weaker interactions with the graphene surface or less steric hindrance, while CO
2 desorption is somewhat slower and more dispersed.
For the 8 nm pores (
Figure 9c), the initial gas-phase population is much smaller (43 for CH
4 and 14.8 for CO
2), but both gases increase substantially, reaching around 773–833 for CH
4 and 234–272 for CO
2. The larger pore allows more extensive diffusion and escape of CH
4, while CO
2, although also increasing, shows a lower number compared to CH
4, indicating that CH
4 benefits more from larger confinement, whereas CO
2 molecules may still interact with the surface or cluster slightly.
In conclusion, across the three pore sizes, CH4 consistently exhibits higher gas-phase populations and faster accumulation than CO2. This trend highlights that CH4 desorption is more efficient, especially in larger pores, whereas CO2 desorption is somewhat hindered, likely due to stronger adsorption on the graphene surface. The disparity in desorption behavior becomes more evident with increasing pore size, indicating that both pore confinement and surface interactions critically influence the relative desorption rates of CH4 and CO2. These observations can inform molecular-level understanding of selective gas release in nanoporous graphene systems.
In the 8 nm graphene nanopore system (
Figure 9d,e), the temporal evolution of CH
4 and CO
2 gas bubbles reveals key insights into the adsorption and bubble coalescence mechanisms. Initially, gas molecules were uniformly dispersed within the system. Over time, a fraction of both CH
4 and CO
2 adsorbed onto the graphene surfaces, forming relatively thin adsorption layers. Simultaneously, two distinct gas bubbles emerged in the bulk phase—a larger bubble near the upper surface and a smaller bubble near the lower surface. The closer position of the larger bubble to the upper adsorption layer promoted its faster incorporation, resulting in a relatively thick upper layer, whereas the smaller bubble merged with the lower adsorption layer, leaving it comparatively thinner. This asymmetry in adsorption layer thickness suggests that bubble-surface interactions are strongly dependent on spatial proximity and local gas density. Moreover, the similar behavior observed for CH
4 and CO
2 indicates that, despite differences in molecular size and diffusivity, both gases follow comparable adsorption–coalescence dynamics under confinement. These observations highlight the importance of pore size and bubble positioning in regulating gas redistribution and surface coverage within nanoporous materials, providing mechanistic insights into selective adsorption and transport processes relevant to gas separation and storage applications. In addition, the adsorption and desorption data related to CH
4 and CO
2 are provided in
Table 1.