Introduction

With the global rise in oil consumption and the depletion of traditional oil reserves worldwide, unconventional tight oil reservoirs have attracted increased attention due to their significant development potential1,2,3. However, the limited migration and poor movability of tight oil1,4,5, resulting from these reservoirs’ low porosity and permeability, present challenges in reaping benefits through primary production6. To efficiently exploit tight oil resources, injecting a medium into the reservoir to increase formation energy, facilitate tight oil migration, and enhance oil recovery (EOR) is crucial6,7. Therefore, conducting additional research on the movability of tight oil under injection medium conditions is a logical next step.

Gas injection is widely recognized as an effective technique for displacing oil in unconventional petroleum reservoirs, particularly in tight reservoirs with nano-scale pore structures8,9,10,11. The unique properties of gases, such as their small molecular size, high diffusivity, and ability to reduce oil viscosity, make them well-suited for displacing oil from these challenging reservoirs. Laboratory experiments have shown that gas flooding (natural gas, CO2, N2), compared to water flooding, consistently results in higher recovery rates in unconventional reservoirs6. Researchers have explored the interactions of gas swelling and crude oil extraction in nanopores through molecular simulations, revealing increased miscibility of oil and gas in nano-pores. This highlights the potential of gas injection in developing unconventional reservoirs12,13,14,15.

The selection of the appropriate injection gas is crucial due to the complexity of the reservoir environment. Commonly used gases for injection include CO2, N2, and hydrocarbon gas5,6,10,16. As is well known, CO2 exhibits remarkable capabilities in reducing crude oil density, viscosity, and interfacial tension, along with displacing adsorbed components17,18,19. Relevant molecular simulation studies have also confirmed its significant swelling effect on oil14,20. However, the high production costs and potential corrosion risks to pipelines and wellbores constrain its application in the EOR process. Moreover, CO2 injection may lead to gas channeling, necessitating the use of water-soluble polymers to enhance CO2 absorption and control its movement22. On the other hand, N2 is more abundant, cost-effective, and environmentally friendly, without causing pollution or corrosion. However, the higher miscibility pressure of N2 results in lower displacement efficiency compared to CO215,23. Experimental studies have shown that N2 exhibits the lowest oil recovery rate among the gases tested within the same timeframe24.

In addition to CO2 and N2, injecting hydrocarbon gas is another significant method to enhance reservoir development5,10,25,26,27, and it is regarded as one of the most promising EOR fluids5. On the one hand, hydrocarbon gases are readily available on-site. Natural gas obtained during tight oil production can be reinjected for reuse, ensuring a stable gas source, reducing costs, and playing a positive role in carbon neutrality and greenhouse gas sequestration. On the other hand, hydrocarbon gases offer operational and availability advantages. These gases do not pollute reservoirs, do not corrode wellbores, have good injection and diffusion capabilities, and their miscibility with reservoir fluids can be adjusted. When hydrocarbon gases dissolve in oil, they significantly improve the performance of the oil phase, such as density28, and oil-water interfacial tension29,30.

In recent years, molecular dynamics simulation methods have undergone rapid development, emerging as a crucial research tool alongside theoretical and experimental approaches, and are widely regarded as a “computational microscope”. With the assistance of this method, researchers have begun exploring research on gas injection for EOR. Xiong et al. and Li et al.10,31 investigated the oil displacement behavior of four gases (CH4, C3H8, CO2, N2) in quartz and calcite nanopores using a non-equilibrium pressure diffusion method, indicating that the oil displacement capacity in both types of pores was ranked as CO2 > C3H8 > CH4 > N2. Li et al.32 employed equilibrium molecular dynamics (EMD) simulations to investigate the miscibility characteristics between oil and hydrocarbon gases (CH4, C2H6, C3H8, C4H10), finding that long-chain alkanes promote miscibility, while polar hydrocarbon components reduce the degree of miscibility. Fang et al.33 conducted research using equilibrium molecular dynamics simulations to study the dissolution of oil by different gases (CH4, C3H8, CO2, N2) in the bulk phase and on mineral surfaces, finding that the dissolution of variety gases in the bulk phase showed minimal variation, whereas the dissolution capacities on quartz surfaces followed the order: CO2 ≈ C3H8 > CH4 ≈ N2. The aforementioned studies indicate that hydrocarbon gas exhibits promising potential in enhancing oil recovery.

Although there have been advancements in the research on hydrocarbon gas injection, it remains in the preliminary exploration stage, with several issues yet to be uncovered. First, current research primarily concentrates on the static miscibility effect between hydrocarbon gas and the oil phase10,25,31,32,33, lacking investigations into the migration and movability post miscibility of gas and oil phases, particularly within nano-pores. Secondly, the existing computational simulations often employ oversimplified system frameworks, particularly evident in significant deviations between modeled oil compositions and actual component data (Single-component decane12,14,31, dodecane33, or a simple combination of a few components10,19,20,25,26,32). Finally, although our previous research indicated that the optimal gas content range for promoting migration is a methane molar ratio of 0.4–0.6 in oil34, it is important to note that hydrocarbon gas encompasses not only methane but also heavier hydrocarbon gases like ethane and propane. Laboratory and molecular simulation studies have shown that ethane and propane improve EOR performance5,34; However, the high cost of pure ethane and propane gas poses a challenge. Currently, there is a shortage of hydrocarbon gas samples with varying compositions of methane, ethane, and propane to elucidate their impact on the fluidity of tight oil.

To address the aforementioned issues, a comprehensive study on the dynamic migration behavior of tight oil through nano-pores was conducted, considering a fixed oil-gas molar ratio and six distinct ratios of hydrocarbon gas components, using molecular dynamics simulation methods. Initially, the study elucidated the dynamic process and migration resistance encountered by the oil-gas mixture within nano-pores by analyzing the force signals experienced by the oil and gas during their migration. Subsequently, by examining the microscopic interactions and the interface effects occurring during the migration of oil and gas, the study uncovered the mechanism by which variations in hydrocarbon gas composition influence changes in the migration pathway and resistance. Ultimately, by integrating the dynamic findings and characteristic analysis, a range for the relatively optimal hydrocarbon gas composition ratio was identified. This work not only enriches our understanding of oil and gas migration within nano-pores, but also provides valuable guidance for future tight oil exploration and evaluation from the perspective of molecular simulation.

Methods

Construction of molecular models

The molecular model includes a nano-pore matrix of tight reservoirs, tight oil molecules, hydrocarbon gas molecules, and water. In this work, all molecular models are constructed using Materials Studio (MS) software.

For the nano-pore matrix: following X-ray diffraction (XRD) and micro-transmission Fourier transform infrared (micro-FTIR) analyses of the mineral composition of tight reservoir rocks1,35,36,37, it was determined that clay minerals are prevalent components in tight reservoirs, constituting an average proportion of 20 ~ 50%. Kaolinite is one of the most abundant components in clay minerals, characterized by a structure composed of silica-oxygen tetrahedra and alumina-oxygen octahedra arranged in a 1:1 ratio and stacked repeatedly in space (its unit cell is Al4Si4O10(OH)8)38. The original unit cell was imported from the software library. Following cleavage and expansion, the model with a pore diameter of 6 nm and a structure size of 8.6 × 2.57 × 14.8 nm3 (X/Y/Z axis) was obtained. The pore surface is illustrated in Fig. 1a.

Regarding tight oil: tight oils are primarily composed of light oils, their density under surface conditions typically ranges from 0.80 to 0.90 g/cm339,40,41. Based on the properties and SARA (saturate, aromatic, resin, and asphaltene) characteristics of typical lacustrine tight oil in China41,42,43, a 12-component tight oil model was developed, with the selection of components based on existing literature13,44,45, which has been widely used in reservoir molecular simulations. The tight oil model consists of 65% saturated hydrocarbons, 15% aromatic hydrocarbons, and 20% resins. The molecular model of the oil components is illustrated in Fig. 1b. Previous simulation work has confirmed the rationality of the tight oil system, with a density of 0.84 g/cm3 under surface conditions46. The total number of tight oil molecules in the simulation is 732, and the number of tight oil molecules in the system is detailed in Table 1.

Regarding hydrocarbon gas: hydrocarbon gases include methane, ethane, and propane. Our previous research found that when the molar ratio of hydrocarbon gas in the oil-gas system is between 0.4 and 0.6, it optimally regulates characteristics such as migration resistance, migration rate, and oil/gas-water interfacial tension within the pores34. Based on this perspective, in the current study, we set the molar ratio of oil to gas at 0.5:0.5, which assumes that the gas ratio falls within the optimal range for migration, with the gas phase consisting of 732 molecules. Subsequently, to modify the intrinsic properties of the gas, we will adjust the proportions of different components within the gas mixture. We considered six mass ratios for methane, ethane, and propane: 100/0/0, 90/5/5, 80/10/10, 70/15/15, 60/20/20, and 50/25/25. The total number of molecules in each system may vary slightly to achieve the desired gas mass ratio, resulting in the gas molar ratio being slightly above or below 0.5. To maintain consistency in the simulation system, we used similar atomic numbers as a reference standard. The number of hydrocarbon gas molecules in each system is outlined in Table 2.

Fig. 1
figure 1

Molecular structures of (a) kaolinite cleaving process and pore surface used in the study, (b) tight oil components, (c) hydrocarbon gases. Atom color codes: C, cyan; H, white; O, red; N, blue; S, yellow; Al, pink; Si, bright yellow.

Table 1 Number of component molecules in tight oil systems.
Table 2 Number of component molecules in hydrocarbon gases.

Since sedimentary rocks typically exhibit water-saturated characteristics initially47,48, filling the nano-pores with water. Following this initial setup, the oil-gas mixture system was placed on the left side of the pore structure. Two rigid pistons made of helium atoms were then introduced on both the left and right sides of the simulation system. These pistons play a crucial role in maintaining pressure within the system and creating driving pressure34,46. To ensure that the periodic boundary conditions do not interfere with fluid interactions, vacuum regions measuring 14.5 nm and 15.75 nm were added on the left and right sides of the two helium sheets, respectively. The simulation box dimensions of the system are 8.6 × 2.57 × 60 nm3 (XYZ). The initial models of the various systems can be viewed in Fig. 2.

Fig. 2
figure 2

Initial model of different hydrocarbon gas ratio systems: (a) CH4/C2H6/C3H8 = 100/0/0; (b) 90/5/5; (c) 80/10/10; (d) 70/15/15; (e) 60/20/20; (f) 50/25/25. The blue dot refers to the COM of the piston, and the red dot refers to the reference point. In order to distinguish, re-color the methane atoms. Atom color codes: violet, C in hydrocarbon gas; purple, H in hydrocarbon gas.

Force fields

The force field parameters for the kaolinite nano-pore were sourced from the CLAYFF force field47,49. The Optimized Potentials for Liquid Simulations All-Atom (OPLS-AA) force field was utilized for tight oil components and hydrocarbon gas50, while the simple point charge (SPC) model was employed for water51. The use of these three force field parameters has been validated in our previous work, ensuring the accuracy of the simulation work52,53. The interactions between oil, gas, pore surface, and water are represented by the Lennard-Jones (LJ) 12 − 6 potential and Coulomb electrostatic interactions54,

$$\:u\left({r}_{ij}\right)=4{\epsilon\:}_{ij}\left[{\left(\frac{{\sigma\:}_{ij}}{{r}_{ij}}\right)}^{12}-{\left(\frac{{\sigma\:}_{ij}}{{r}_{ij}}\right)}^{6}\right]+\frac{{q}_{i}{q}_{j}}{4\pi\:{\epsilon\:}_{0}{r}_{ij}}$$
(1)

where rij represents the separation distance between atoms, εij and σij denote the LJ energy and size parameters, respectively; qi and qj are the partial charges of sites i and j; The term ε0 refers to the permittivity of vacuum. The force field parameters for all atoms are detailed in Table S1.

Simulation details

The molecular dynamics simulations were conducted using the Large-scale Atomic/Molecular Massively Parallel Simulator (LAMMPS) package55, and the dynamic trajectories and interface configurations were extracted using the Visual Molecular Dynamics (VMD) 1.9.4 software56. The simulations employed three-dimensional periodic boundary conditions with a cut-off distance of 1.2 nm and a simulation step size of 1 fs57. They were performed under the isochoric-isothermal (NVT) ensemble with the Nosé-Hoover thermostat58.

The equilibrium molecular dynamics (EMD) simulation was conducted under realistic conditions for tight reservoirs with a temperature of 353 K and a pressure of 20 MPa. The simulation duration was 4 ns. In the EMD simulation, equal but opposite forces were applied to the two pistons P1 and P2 in Fig. 2a). The migration and accumulation of tight oil are influenced by overpressure. To reveal the critical characteristics of oil-gas migration within pores, we employed a driving technique where the driving force starts from zero and gradually increases until it reaches a relative equilibrium state based on the system’s properties. This technique, known as steered molecular dynamics (SMD) simulation34,46,59,60, allows us to determine the driving pressure required for oil and gas to migrate through the pores. This method involves applying a spring force to the center of mass (COM) of the left piston to generate a driving force (P1 + F, Fig. 2a). The expression of the SMD method is shown in the equation below:

$$\:F=k(\left({Z}_{0}+vt\right)-{Z}_{COM})$$
(2)

where F is the force, k is the stiffness coefficient (0.001 Kcal·mol− 1·nm− 2), Z0 is the initial position of the left piston, v is the constant velocity (0.001 nm·ps− 1) of the reference point, t is the simulation time, and Zcom is the real-time COM position of the left piston along the Z-axis in the simulation. A 13 ns SMD simulation was carried out in all systems. The flowchart of MD simulations for this study can be found in Fig. S1 of the Supplementary Information.

Results and discussion

Effects of hydrocarbon gas composition on tight oil migration

The miscibility of different hydrocarbon gas systems and tight oil under EMD simulation was observed, and the configuration of each system after EMD simulation was extracted (Fig. 3). It is observed that there is a distinct oil-gas boundary between the 100/0/0 and 90/5/5 systems (Fig. 3a, b), attributable to the high methane content in both systems. The constant pressure environment maintained in the EMD simulation is 20 MPa, whereas the miscibility pressure of methane and crude oil is also high (> 30 MPa)5, resulting in poor miscibility between the two systems. When the hydrocarbon gas ratio reaches 80/10/10, the mutual solubility of oil and gas significantly improves. As depicted in Fig. 3c–f, the gas is more uniformly distributed within the system. Consequently, during the EMD simulation phase, the presence of higher proportions of ethane and propane in the hydrocarbon gas enhances the miscibility of oil and gas.

Fig. 3
figure 3

EMD simulation configuration of different hydrocarbon gas ratio systems: (a) CH4/C2H6/C3H8 = 100/0/0; (b) 90/5/5; (c) 80/10/10; (d) 70/15/15; (e) 60/20/20; (f) 50/25/25.

Subsequently, the results of the SMD simulations for all systems were compiled. To more accurately characterize the microscopic migration process, the spring force and the evolution of the number of carbon atoms entering the nano-pores were tracked as a function of simulation time. The force is a crucial factor that reflects the migration behavior of the system, while the number of carbon atoms entering the pore throat can, to some extent, indicate the migration rate; in other words, a greater increase in the number of carbon atoms corresponds to a faster migration rate. Given that the system is in a non-equilibrium state following the application of an external force, resulting in fluctuating forces, the spring force curve is subjected to smooth fitting (red line in Fig. 4). The force characteristics and dynamic configurations for each system are depicted in Figs. 4 and 5. By analyzing the variations in these two characteristic curves, the migration stages of each system can be distinguished.

As shown in Fig. 4, the migration process of each system is similar and can be divided into four stages. In stage I, the force for each system increases continuously, yet the number of carbon atoms entering the pore remains nearly zero. This is attributed to the self-compression of the oil-gas system upon being subjected to pressure, resulting in no actual migration. During stage II, a significant increase in force is observed, along with a slight increase in the number of carbon atoms. This is due to the oil-gas system forming a meniscus at the pore entrance, reaching a critical state for migration into the pores. Subsequently, the oil-gas system gradually passes through the pore which is labeled as stage III. Here, the force ascends to a peak and then stabilizes, exhibiting relative constancy in this stage. This indicates that the driving forces and resistance have reached an equilibrium, signifying the relaxation stage of the system. Finally, there is a decrease in force, and by examining the final configuration in Fig. 5, it is evident that this decrease is caused by the gradual expulsion of oil and gas from the pores.

Fig. 4
figure 4

Force characteristics of different hydrocarbon gas ratio systems: (a) CH4/C2H6/C3H8 = 100/0/0; (b) 90/5/5; (c) 80/10/10; (d) 70/15/15; (e) 60/20/20; (f) 50/25/25.

Fig. 5
figure 5

Dynamic configuration of each system: (a) CH4/C2H6/C3H8 = 100/0/0; (b) 90/5/5; (c) 80/10/10; (d) 70/15/15; (e) 60/20/20; (f) 50/25/25.

In analyzing the migration process of each system, two additional distinctions can be discerned from Fig. 4. Firstly, as the proportion of ethane and propane in the hydrocarbon gas increases, the time taken for the system to attain a stable migration stage tends to decrease. Although this trend is relatively subtle, it aligns with our earlier observations. Secondly, when the spring force of the system achieves a relatively stable condition (Stage III), the oil and gas migrate steadily through the pores. The spring force during this stable phase can be considered as the threshold resistance for the migration of oil and gas. Furthermore, the threshold migration resistance for the hydrocarbon gas ratios from 100/0/0 to 50/25/25 systems has been calculated, which are 0.01744, 0.01739, 0.01699, 0.01715, 0.01745, and 0.01787 Kcal·mol− 1·Å−1, respectively (Fig. 6a). To make the values more realistic, we converted the average spring force during the stable phase (Stage III) into pressure (MPa). The corresponding threshold pressure values for each system are 33.61, 33.51, 32.74, 33.05, 33.63, and 34.44 MPa, respectively. The pressure conversion method is listed in Supplementary Information.

It can be observed that the threshold migration resistance is following the order: F50/25/25 > F60/20/20 > F100/0/0 > F90/5/5 > F70/15/15 > F80/10/10. As the proportion of ethane and propane in the hydrocarbon gas composition increases, the threshold resistance of the system initially decreases and then increases. In addition, when contrasted with the previous simulation outcomes devoid of hydrocarbon gas (0.01896 Kcal·mol− 1·Å−1, 0/0/0 in Fig. 6a)41, various hydrocarbon gas systems demonstrate a capacity to lower the migration resistance of tight oil.

By overlaying the spring force smoothing curves from all systems (Fig. 6b), it is observable that the migration rate progressively increases, and the magnitude of force during the stable migration period corresponds with the order of the preceding statistical averages. Therefore, this reduction of migration resistance does not follow a linear trend, suggesting that the composition of hydrocarbon gas inherently influences the resistance characteristics of the system.

Figure 6 (a) The threshold migration resistance of the system varies with different hydrocarbon gas ratios, with the notation 0/0/0 indicating the absence of gas in the tight oil, and this value is taken from previous research work41. It can be observed that when hydrocarbon gas is absent, the resistance encountered during the migration of tight oil is significantly higher. After converting to pressure, this value reaches as high as 36.54 MPa, which is 2–4 MPa greater than that of systems containing gas. (b) The force summary of each system.

Based on the findings of our previous research, it is evident that the migration resistance of tight oil within nano-pores is predominantly affected by the oil-pore interactions and the Jamin effect46. Consequently, we will comprehensively analyze these two aspects to elucidate the mechanisms underlying the disparities among different systems.

The microscopic interactions

To understand the varying migration resistance across different systems, it is essential to offer reasonable insights into the microscopic fluid-solid interactions. The interaction energy between tight oil and hydrocarbon gas (Eoil−gas), the cohesive energy of oil-gas system (Ecohesive) and interaction energy between the oil-gas mixture and pore structure (Eoil/gas–pore) as a function of simulation time have been calculated (as shown in Fig. 6).

Examining the oil-gas interaction reveals that as the proportions of ethane and propane rise, the interaction between the oil and gas continues to strengthen (Fig. 6a). The stronger the Eoil−gas, the more enhanced the mutual solubility between oil and gas becomes. This also explains the phenomenon observed in the EMD simulations (Fig. 3), where better dispersion of gas within the oil system is noted when the proportion of ethane and propane exceeds 10%.

When a fluid flows, the cohesive forces between molecules resist their relative motion, generating internal friction, which hinders the fluid’s relative movement. The analysis of cohesive energy in oil-gas systems contributes to understanding the effects of cohesive forces. As shown in Fig. 6b, the evolution trend of Ecohesive is associated with the migration process of each system. During Stages I and II, the oil-gas experienced significant deformation when it was compressed from its initial position into the narrow pore, and the Ecohesive of each system increased. Once the Ecohesive of each system reaches its peak, this signals the maximum compression state of the oil-gas system (Fig. 5, approximately around the 4ns mark). The compression that occurs in Stages I and II exerts a certain resistance against migration. Subsequently, the Ecohesive of each system gradually declines and drops below the initial Ecohesive value. This implies that when the oil - gas migrates within the nano-pore, the cohesive force effect is diminished. Therefore, it can be inferred that Ecohesive is not the primary factor contributing to the resistance encountered during the oil-gas migration within the pore. Furthermore, we can observe that with the increase of ethane and propane components in the gas, there is no significant gradation in the cohesive energy of each system (Fig. 6b); all systems essentially remain at the same energy level. This also indicates that, under the current compositional adjustments, the cohesive energy of the oil-gas system may not be the primary factor influencing the differences in migration resistance.

Fig. 6
figure 6

Variations in the interaction energy of different systems during migration: (a) The interaction energy between tight oil and hydrocarbon gas. (b) The cohesive energy of oil-gas system; A negative value of interaction energy signifies an increase in energy in the negative direction, indicating an enhancement of the interaction.

At the nanoscale, the intermolecular forces between fluids and solids are significantly enhanced, which is considered an important factor affecting the development of tight reservoirs. For interaction energy between the oil-gas mixture and pore: In all systems, the Eoil/gas–pore exhibited a trend of increment from zero as the simulation progressed. Due to significant fluctuations in the spring force before entering and after exiting the pore, the Eoil/gas–pore values for each system during stages I, II, and IV also varied considerably, resulting in poor stability. Moreover, since the threshold migration resistance of the system is solely associated with the stable migration period within the pore, our analysis focused exclusively on the Eoil/gas–pore values during the 6–11 ns interval (Stage III) for each system. Figure 7 illustrates that the energy ranking of different systems during the stable migration stage is positively correlated with the proportions of ethane and propane components (i.e. Eoil/gas−pore in different systems will be eventually in the following order: E50/25/25 > E60/20/20 > E70/15/15 > E80/10/10 > E90/5/5 > E100/0/0). Specifically, the higher the content of ethane and propane in the hydrocarbon gas, the greater the interaction energy between the oil-gas mixture and the pores. However, a higher Eoil/gas–pore indicates that the pore walls exhibit a relatively stronger adsorption effects on oil and gas. The pore walls on both sides generate a drag-like effect in the vertical direction, thereby increasing the migration resistance. Moreover, the effect of Eoil/gas−pore is also a reason why Ecohesive continuously decreases after reaching its peak. As the oil-gas system increasingly enters the pore, the attractive force from the pore wall becomes stronger, leading to a continuous weakening of the cohesive force within the oil-gas system.

Fig. 7
figure 7

Variations of the interaction energy between oil-gas and the pore over the course of the simulation time. To eliminate the influence of fluctuations caused by non-equilibrium dynamics, only the stable data within the 6–11 ns interval was selected for comparison.

It is noteworthy that changes in the system’s energy indicate alterations in the system’s state. Based on the energy curves, we can identify which energy components are at play and analyze their approximate contributions to the migration resistance. However, quantifying the exact numerical value of the resistance they produce is currently not feasible and remains an issue to be addressed in our future work.

The jamin effect

In addition to microscopic interactions, the Jamin effect61,62 also significantly influences the migration process. As the oil and gas mixture moves from a wider area into a narrow pore, the reduction in droplet diameter generates additional pressure, impeding oil and gas migration (Fig. 8). Since the mineral surface in our simulation systems is coated with an adsorbed water film, the three-phase contact angle does not exist. Consequently, the Jamin effect can be described by the following equation:

$$\:\varDelta\:P=2{\upgamma\:}\left(\frac{1}{{R}_{1}}-\frac{1}{{R}_{2}}\right)$$
(3)

Where ΔP is the pressure of the oil and gas mixture entering the nano-pore, γ denotes the oil/gas-water interfacial tension, and R1 and R2 represent the radii of oil on the outer and inner sides of the nano-pore, respectively.

Fig. 8
figure 8

The schematic diagram of the Jamin effect and equivalent diagram in the simulation.

For the Jamin effect in different systems, the influencing factors include the oil/gas-water interfacial tension and the radii of the oil-gas on the inner sides of the pore. Considering that kaolinite is the sole pore matrix used in our simulation, its pore diameter and interactions with fluids remain consistent across all systems, which does not significantly impact the radius of the oil and gas mixture within the pores. Therefore, our analysis will primarily focus on the interfacial tension (IFT) between oil-gas and water.

It should be noted that when fluids are confined within nanoscale pores, their properties differ significantly from those of bulk fluids. For example, in our system, an ordered layer of adsorbed water forms on the kaolinite surface, exhibiting solid-like characteristics. This phenomenon affects the surface free energy between oil and water, leading to increased IFT44,53, making IFT measurement in non-equilibrium systems extremely challenging. However, since the solid surfaces and pore sizes in our simulation system are consistent, the adsorbed water characteristics are also largely consistent. We analyzed the adsorbed water features of the six systems during the stable migration stage, as shown in Fig. 9. It can be observed that the attributes of adsorbed water exhibit fundamental consistency across different systems. Therefore, as long as the water characteristics remain consistent, we applied the principle of equivalent substitution to replace the adsorbed water on the solid surface with bulk water. In this equilibrium system, the interface is approximately uniform, allowing for highly accurate IFT simulations. The evolution trends of IFT in the bulk phase are similar to those within the pores, although the IFT values may differ from those in the pore channels. Nevertheless, we can still perform qualitative analysis based on the bulk phase simulation results.

Fig. 9
figure 9

The density distribution of water in different systems.

Subsequently, the bulk-phase oil/gas-water interface calculation models with different hydrocarbon gas ratios were constructed (Fig. 10). Tight oil, hydrocarbon gas, and water molecules were placed in a rectangular simulation box. At 353 K and 20 MPa, a 6 ns MD simulation was performed under the NPT ensemble to relax the system, and then a 6 ns MD simulation was performed under the NVT ensemble to collect data. Due to the oil/gas-water interfaces being parallel to the X-Y plane and perpendicular to the Z axis, the interfacial tension can be calculated by the following equation63:

$$\:\varvec{\sigma\:}=-\frac{1}{2}\left(\frac{{P}_{X}+{P}_{Y}}{2}-{P}_{Z}\right){L}_{Z}$$
(4)

where PX, PY, and PZ are the diagonal elements of the pressure tensor, and LZ is the length of the simulation box in the Z axis. The simulation results of the last 1 ns are statistically averaged.

Fig. 10
figure 10

Calculation model of oil/gas-water interfacial tension with different hydrocarbon gas ratios.

The interfacial tension values for systems with hydrocarbon gas ratios ranging from 100/0/0 to 50/25/25 have been calculated as 33.62, 32.45, 31.34, 30.55, 30.21, and 29.61 mN·m− 1, respectively. Figure 11 illustrates that the interfacial tension of different systems exhibits a continuous downward trend. Specifically, the higher the proportion of ethane and propane in the hydrocarbon gas, the lower the oil/gas-water interfacial tension. This observation aligns with our previous findings, which demonstrated that adding pure ethane and propane to tight oil significantly reduces the interfacial tension34. A reduction in interfacial tension weakens the Jamin effect, thereby decreasing the resistance encountered during migration. Meanwhile, the decreased interfacial tension facilitates the molecules at the interface to more readily overcome the mutual attraction and transition into the other phase. This is one of the reasons why the duration needed for the oil and gas system to achieve stable migration (stage III) is comparatively brief with the escalation of ethane and propane constituents in the hydrocarbon gas.

Fig. 11
figure 11

Oil/gas-water interfacial tension of different systems.

Finally, by integrating the findings on threshold migration resistance, microscopic interaction, and the Jamin effect, it becomes evident that the impact of Eoil/gas−pore and interfacial tension is unidirectional. An increase in Eoil/gas−pore impedes migration, whereas a decrease in interfacial tension facilitates it. Therefore, the threshold migration resistance initially decreases and then increases primarily due to the hindrance caused by the rise in Eoil/gas−pore outweighing the reduction in resistance from the weakening of interfacial tension.

In summary, introducing hydrocarbon gases is beneficial for reducing migration resistance and interfacial tension, thereby enhancing tight oil migration. Nevertheless, it is crucial to maintain an optimal composition of the hydrocarbon gases used. Specifically, the proportions of ethane and propane should be carefully balanced; an excessively high concentration of heavier hydrocarbons can augment the interaction with the pore system, escalating the migration resistance, while an overly low concentration can increase the oil/gas-water interfacial tension, impeding the flow and boosting the resistance. The most favorable methane/ethane/propane ratio lies between 80/10/10 and 70/15/15, at which point the migration resistance is minimized, and the oil/gas-water interfacial tension is substantially reduced.

Conclusions

In this study, we employed molecular dynamics simulations to investigate the effect of hydrocarbon gas composition on the migration of tight oil. Six distinct models were constructed, each featuring varying methane/ethane/propane mass ratios of 100/0/0, 90/5/5, 80/10/10, 70/15/15, 60/20/20, and 50/25/25, respectively. We established a pressure-driven model to elucidate oil and gas migration behaviors within kaolinite nanopores using the steered molecular dynamics technique. The conclusions are as follows:

  1. (1)

    The six systems exhibited similar migration characteristics, but the threshold resistance during stable migration varied. The resistance order was: F50/25/25 > F60/20/20 > F100/0/0 > F90/5/5 > F70/15/15 > F80/10/10, indicating that changes in gas composition influenced migration efficiency.

  2. (2)

    As the proportions of ethane and propane increase, both Eoil-gas and Eoil/gas–pore show a consistent increasing trend, while the cohesive energy (Ecohesive) of the oil-gas system does not exhibit obvious hierarchical changes. Eoil-gas reflects the mutual solubility between oil and gas. The higher the Eoil-gas, the better the mutual solubility of oil and gas. Ecohesive generates a certain resistance during the migration of the oil-gas system before it enters the pores. However, after the oil-gas enters the pores, due to the attraction from the pore walls on both sides, the increase of Eoil/gas–pore continuously weakens Ecohesive, indicating that the evolution process of Ecohesive does not significantly contribute to the resistance. Instead, the continuous increase of Eoil/gas–pore produces an effect similar to dragging, which is a major factor hindering the migration of oil and gas.

  3. (3)

    The resistance generated by the Jamin effect is solely related to the interfacial tension (IFT) between oil/gas and water. To avoid the influence of non-equilibrium systems and strong adsorption on the interface, we used bulk-phase simulations to analyze the IFT of each system. The results indicate that as the proportion of ethane and propane increases, the oil/gas-water IFT decreases. The reduction in IFT weakens the Jamin effect, thereby facilitating the migration of the oil-gas system.

  4. (4)

    The phenomenon where the critical migration resistance first decreases and then increases can be qualitatively explained by the linear evolution relationships of both enhanced Eoil/gas–pore and reduced IFT. This occurs because the resistance generated by the increasing Eoil/gas–pore ultimately surpasses the drag reduction effect caused by weakened IFT. Based on sensitivity analysis, the optimal hydrocarbon gas composition range is determined to be methane/ethane/propane ratios between 80/10/10 and 70/15/15. This range ensures relatively low oil-gas/water IFT, minimizes average migration resistance, and avoids excessive gas costs associated with higher ethane and propane proportion.

This study focuses on applying molecular dynamics methods to systematically analyze hydrocarbon migration characteristics at the nanoscale. It aims to overcome the limitations of observation challenges in traditional experimental research, provide more detailed insights for microscopic analysis, and offer theoretical support for the development of tight oil reservoirs. However, due to the complexity of reservoir geological characteristics, the limitations of computer computing power, and the deficiencies of simulation methods, current simulation techniques are still unable to comprehensively and completely reveal the migration behaviors within complex petroleum systems. In the future, it is necessary to conduct exploration in large-scale, multi-physical property simulations and cross-scale simulations. Additionally, a more comprehensive analysis of the influences of factors such as temperature, pressure, physical properties, and pore geometry should be carried out. At the same time, laboratory experiments and field experiments should be combined to verify the scalability of theoretical simulations, contributing to the tight oil EOR.