1 Introduction

The continuous advancement of exploration and development technology has made shale oil a focal point for oil and gas exploration in several countries worldwide (Sharma et al. 2020; Taheri-Shakib and Kantzas 2021; Li et al. 2023). Despite the presence of oil in shale rocks, they are unable to flow into wellbores at profitable rates. The current method of utilizing massive hydraulic fracturing and long horizontal wells has a crude oil recovery rate of less than 10%. Additionally, the production rate experiences a rapid decline within the first 1–2 years, particularly in the targeted reservoirs of these developments, due to their extremely low permeability. In light of these challenges, implementing enhanced oil recovery (EOR) techniques is crucial to boost production and enhance profitability. Recent reports suggest that the huff ‘n’ puff method, utilizing CO2 or N2, shows promise for enhanced oil recovery (EOR) in shale oil reservoirs (Enab and Emami-Meybodi 2021; Mahzari et al. 2021; Liu et al. 2023). Su et al. (2022) proposed that the injection of CO2 for EOR not only significantly improves the recovery efficiency of shale reservoirs but also enables the sequestration of CO2 within the reservoir, thereby supporting the achievement of the carbon peaking and carbon neutrality goals and facilitating the implementation of carbon capture, utilization, and storage (CCUS) strategies.

It is widely assumed that CO2 can enter the shale matrix and mobilize local oil. Gas diffusion, low interfacial tension, and light hydrocarbon extraction are the primary CO2 EOR mechanisms (Burrows et al. 2020; Menefee and Ellis 2020; Chaturvedi and Sharma 2022). Some scholars have examined the effectiveness of utilizing shale reservoirs with different pore scales (Wei et al. 2020). However, there is still a lack of research on the mechanism of CO2 adsorption and mass exchange as well as the reservoir reforming mechanism in shale reservoirs with different permeability.

Fractures found within the rock matrix have the potential to enhance hydrocarbon deliverability and increase drainage area, leading to improved oil production. In the case of tight matrix-fracture systems, a CO2 exposure experiment conducted by Wang et al. (2020) using Qianjiang basin shale rocks revealed that the conceptual CO2 EOR mechanisms included oil swelling, viscosity reduction, and pressure and concentration driving. These effects played a crucial role in transporting the matrix oil to the fractures and ultimately to the producers.

NMR is useful for determining fluid content, rock/fluid interactions, and pore size distribution (Amer et al. 2022; Shen et al. 2022; Hu et al. 2023). For example, Liu et al. (2020) used low-field nuclear magnetic resonance (LF-NMR) to investigate the pore structure of upper cretaceous oil shales, revealing different pore types and variable connectivity between pores in the shale based on three T2 distribution morphologies. Saeed et al. (2022) used LF-NMR to examine the variation of organic matter in the core, as well as the hydrothermal treatment pore size and porosity changes; Wang et al. (2017) investigated the mechanisms of oil mobilization in ordos basin rocks exposed to CO2 under immiscible conditions using NMR T2. As a result, they concluded that performing NMR tests under reservoir conditions is critical. Similarly, Wei et al. (2020) demonstrated CO2 diffusion and production mechanisms by performing CO2 injection in fractured chalk plugs using the LF-NMR technique.

Notably, the above papers did not address the CO2 huff ‘n’ puff efficiency and mass transfer mechanisms in formations characterized by varying degrees of permeability. This knowledge gap is a critical obstacle for field decision-making about construction feasibility, as it precludes a comprehensive understanding of the factors that influence the potential success of CO2 storage in such settings.

We conducted a CO2 huff ‘n’ puff experiment in 3 matrix-fracture models under reservoir conditions (91 °C and 30 MPa). This experiment employed LF-NMR to monitor the entire experimental process, to elucidate the adaptability of CO2 huff 'n' puff in shale formations with varying permeabilities, as well as the primary recovery mechanism differences of pores at different scales during the process. The findings from our research serve a valuable complementary information regarding the CO2 huff ‘n’ puff effects in different pore sizes following fracturing under varying permeability conditions, shedding light on the mechanisms of CO2-enhanced oil recovery (EOR) in fractured shale oil reservoirs.

2 Materials and methods

2.1 Materials

2.1.1 Experimental cores

The shale cores used in the experiments were obtained from the lower sweet spot of the Lucaogou Formation shale oil reservoir. Pairs of cores with similar porosity and permeability were combined to form two groups, each consisting of two cores. The basic parameters of these cores are presented in Table 1. As shown in Table 1, cores #1 and #2 exhibited the highest permeability, whereas cores #3 and #4 had the lowest permeability.

Table 1 Parameters of cores used in CO2 huff ‘n’ puff experiments

To simulate the seepage characteristics of the CO2–oil system between fractures and the matrix, in this study artificially fractured natural cores were used to conduct CO2 huff ‘n’ puff mass transfer experiments. The cores were taken from the Lucaogou Formation in the Jimusar shale reservoir. The cores were first cut in half along the midline and were then filled with quartz sand to simulate post-fracturing fractures. Heat-shrinkable tubing was used for fixing to ensure the overall strength of the cores and maintain the fracture size. The preparation process is illustrated in Fig. 1.

Fig. 1
figure 1

Matrix/fracture model designed in this work. The two core halves were wrapped with a heat-shrink tube to maintain the fracture size

Due to our previous research, we have confirmed that CO2 huff-n-puff can cause dissolution of mineral components within the core (Xu et al. 2022) and that the permeability of fractures may change during the CO2 huff-n-puff process (Tan et al. 2023). To investigate further, we conducted permeability damage tests on cores from the same batch as this experiment. The results indicated that three cycles of CO2 huff-n-puff resulted in permeability damage of around 10%, which would not significantly affect this experiment.

2.1.2 Experimental fluids

The physical and chemical properties of the dead oil used in this work are listed in Table 2. The chemical composition of this shale oil was analyzed using a THERMOFISHER® gas-chromatograph (GC)/mass spectrometer (MS), as illustrated in Table 3. Figure 2 presents the GC/MS spectrum of this oil. Beca-use fractured core models cannot be completely saturated with live oil, the shale oil used in this study was dead oil with carbon numbers ranging from C8 to C24. The shale oil/CO2 system's minimum miscibility pressure (MMP) was estimated to be 23.84 MPa using the slim tube method.

Table 2 Physical and chemical properties of the used shale oil
Table 3 Composition of the shale oil
Fig. 2
figure 2

GC/MS spectrum of the shale oil

2.2 Methods

Figure 3 shows the simplified NMR experimental setup for CO2 huff ‘n’ puff. A low-field NMR analysis system (MacroMR12-150H-I, Niumag®) was used in this study to perform online measurements of NMR T2 spectrum, and NMR imaging. The magnetic flux density of the NMR scanner was 0.3 ± 0.05 T, and the pulse frequency range was 2–30 MHz.

Fig. 3
figure 3

Sketch of CO2 huff ‘n’ puff experiment

The procedure of the CO2 huff ‘n’ puff and NMR experiments was as follows: (1) All the shale cores were repeatedly washed with toluene, and heated in an oven at 100 °C for 24 h. (2) The cores were saturated with D2O, and NMR scanning was performed on the cores after saturation with D2O. The cores were then fully saturated with shale oil and aged at constant pressure for 5 days at 30 MPa. (3) The shale cores were taken out after depressurization and put into a heat-shrinkable casing. The cores were then sealed in the casing, and NMR scanning was performed on the oil-saturated cores. (4) The shale cores were put into the holder, and confining pressure was applied. The outlet end of the holder was then closed, and CO2 was injected into the core at a constant rate of 0.5 mL/min from the inlet end. When the injection volume reached 0.5 times the pore volume, the injection of CO2 was stopped, the valve was closed, and the holder was kept sealed for 10 h. (5) The injection end of the holder was opened, and depletion development was carried out with a constant decreasing pressure gradient until the pressure fell to 0.1 MPa. The volume of produced oil and gas was recorded, and NMR scanning was performed on the core after the huff ‘n’ puff process. The first cycle of huff ‘n’ puff was thus completed. Then steps (3) and (4) were repeated to start the next cycle of huff ‘n’ puff, with a total of three cycles.

The NMR transverse relaxation time (T2) of a fluid in a pore is given by the following equation:

$$\frac{1}{{T_{2} }} = \frac{1}{{T_{{2{\text{,bulk}}}} }} + \frac{1}{{T_{{2,{\text{surface}}}} }} + \frac{1}{{T_{{2,{\text{difussion}}}} }}$$
(1)

where T2,bulk is the bulk relaxation time of the pore-filling fluid (ms), T2,surface denotes the surface relaxation time (ms), and T2,diffusion represents the relaxation time induced by diffusion (ms). For fluid flow in porous media, T2,bulk is commonly neglected because the amplitude of T2,bulk is notably larger than that of T2 and T2,diffusion is also neglected when the magnetic field used is uniform with a quite small field gradient. Hence, T2 is primarily dependent on T2,surface, which is related to the specific surface area of a pore. T2,surface can be expressed as (Yang et al. 2022)

$$\frac{1}{{T_{{2,{\text{surface}}}} }} = \rho \left( \frac{S}{V} \right)_{{{\text{pore}}}}$$
(2)

where ρ is the surface relaxivity (μm/ms), S is the interstitial surface area (μm2), and V is the pore volume (PV), in μm3. S/V can be rewritten as a function of the dimensionless shape factor of a pore, Fs, and pore radius, r (μm)

$$\frac{S}{V} = \frac{{F_{\text{s}} }}{r}$$
(3)

Combing Eqs. (2) and (3), T2,the surface can be expressed as

$$T_{{2,{\text{surface}}}} = \frac{1}{{\rho F_{\text{s}} }}r$$
(4)

Its surface relaxivity and shape factor (Fs) can be presumed constant for a specific core. Consequently,

$$T_{2} = Cr$$
(5)

where C = 1/(ρsFs) and is a constant conversion coefficient (ms/μm).

To further quantitatively evaluate the degree of mobilization of shale oil in the matrix, the shale oil recovery degree of different pores before and after huff ‘n’ puff was calculated based on the characteristic that the sum of the intensities of the signals corresponding to a certain range of pore sizes after saturation of the core with oil is proportional to the amount of oil in the corresponding pore spaces (Zhao et al. 2022).

$$E_{\text{R}} = \frac{{\sum\nolimits_{{T_{{{\text{min}}}} }}^{{T_{{{\text{max}}}} }} {{W}_{{0}} { - }\sum\nolimits_{{T_{{{\text{min}}}} }}^{{T_{{{\text{max}}}} }} {{W}_{{\text{h}}} } } }}{{\sum\nolimits_{{T_{{{\text{min}}}} }}^{{T_{{{\text{max}}}} }} {{W}_{{0}} } }} \times 100{\text{\% }}$$
(6)

In Eq. (6), ER is oil recovery degree of pores; Tmin is minimum relaxation time corresponding to a certain pore size in the T2 spectrum distribution (ms); Tmax is maximum relaxation time corresponding to a certain pore size in the T2 spectrum distribution (ms); W0 is signal intensity of the T2 spectrum in the initial state of saturation with oil; Wh is signal intensity of the T2 spectrum after a certain cycle of huff ‘n’ puff.

3 Results and discussion

3.1 T 2 spectrum distribution feature analysis

The NMR transverse relaxation time (T2) distribution of the core was measured at different stages and is depicted in Fig. 4. Based on the principle that the T2 relaxation time generated by shale oil in pores with varying pore sizes is proportional to the pore radius (Yang et al. 2013), the matrix and fractures in a core can be identified by examining the relaxation times corresponding to the peaks and troughs in the T2 spectrum curve. Specifically, the matrix is represented by the corresponding interval when 0.1 ms < T2 < 100 ms, whereas fractures are represented when 100 ms < T2 < 1000 ms (Al-Yaseri et al. 2015; Bardenhagen et al. 2014; De Boever et al. 2016), as shown in Fig. 4. To enable the analysis of shale oil production characteristics across pores with different sizes, matrix pore sizes were further classified into three categories, namely, micropores (0.1 ms < T2 < 1 ms), small pores (1 ms < T2 < 10 ms), and large pores (10 ms < T2 < 100 ms) (Chi and Heidari 2015; Liu et al.2021). The present study involves three huff ‘n’ puff cycles conducted on two sets of cores, each comprising three stages: CO2 injection, soaking, and depressurization. The oil production during each cycle is distinctly visible in Fig. 4 (area difference between two cycles' curves), which also allows for its calculation using Eqs. 6.

Fig. 4
figure 4

T2 spectrum distribution for saturated oil and after each cycle of huff ‘n’ puff

In Fig. 4, all three core samples display a significant decrease in NMR T2 amplitude in the fracture and large pores interval, while the interval of micropores and small pores shows little variation. This observation is consistent with the early work reported by Wei et al. (2019) and indicates that, due to their better permeability, the oil in the fractures is produced first, followed by the gradual production of oil in the matrix in the order of large pores to small pores, as a result of CO2 diffusion.

3.2 Analysis of matrix and fracture recovery degree

To validate the observed results, the total, matrix, and fracture recovery degree after each cycle of huff ‘n’ puff were calculated for three different permeability cores based on Eq. (6), as illustrated in Fig. 5. The data points represent the oil recovery at the end of each cycle, while the time scale denotes the duration of the experiment. It is observed that the cumulative oil recovery rapidly increases with increasing cycle number (time), and tends to plateau after the second cycle.

Fig. 5
figure 5

Oil-recovery profiles of CO2 huff ‘n’ puff plotted against cycle numbers (time) in matrix and fracture

The recovery degree of fracture intervals in the three cores, as shown in Fig. 5c, are 84.48%, 99.96%, and 99.87%, respectively, which are much higher than those in the matrix interval, consistent with the observation results. However, due to the small proportion of fractures in the core, the main production of shale oil still occurs in the matrix interval. This also explains why the trends in Figs. 5a and b are basically the same. Figure 5b shows that for this fracture model, the recovery degree of the rock core matrix, i.e., the diffusion effect of CO2, is positively correlated with the permeability of the rock core matrix. The higher the permeability of the core, the lower the resistance of the diffusion channels, and the stronger the ability of CO2 to enter the matrix. Additionally, during the diffusion process of CO2, the kinetic losses due to collisions between CO2 molecules and pore wall surfaces are lower, resulting in better diffusion efficiency.

3.3 Analysis of shale oil recovery degree in different core permeabilities

The shale oil recovery degree determined by the NMR T2 parameter for three pore intervals is plotted in Fig. 6. It is evident that, as the number of cycles increases, the recovery degree of the large pores initially increases and then tends to flatten out, while the recovery degree of the small pores increases linearly. This indicates that CO2 first mainly acts on the shale oil in the large pores of the matrix, while relatively little CO2 enters the micro and small pores of the rock matrix. At the end of the third cycle, as shown in Fig. 7, the recovery degree of the large pores was 47.14%, 46.77%, and 54.65%, respectively, and the recovery degree of the matrix large pores still dominated. This result suggests that CO2 huff ‘n’ puff first utilizes the shale oil in the large pores, and then gradually utilizes the shale oil in the small pores. As the permeability of the core increases, the recovery degree in each pore interval also increases, especially for the results of the first cycle. Permeability is influenced by factors such as pore structure and tortuosity. The lower the permeability, the greater the diffusion resistance, the longer the diffusion path, and the easier it is for gas molecules to collide with and adsorb on pore walls, leading to momentum loss and hindered gas diffusion. Additionally, the lower the permeability of the core, the more significant the impact of permeability on diffusion.

Fig. 6
figure 6

Oil-recovery profiles of CO2 huff ‘n’ puff plotted against cycle numbers (time) in different cores

Fig. 7
figure 7

Oil-recovery profiles of CO2 huff ‘n’ puff plotted against cycle numbers (time) in different pore intervals

3.4 Analysis of shale oil recovery degree in different pore intervals

The permeability of the matrix primarily affects the recovery degree during the first cycle of CO2 huff ‘n’ puff, with a focus on the large pore intervals (10 ms < T2 < 100 ms), which was increased from 16.42% to 36.64%. During the first cycle of CO2 huff 'n' puff, a higher matrix permeability leads to a more efficient diffusion of CO2 within a limited time. As the matrix permeability increases, the diffusion resistance of CO2 decreases (such as diffusion distance, collision energy loss between molecules and walls, etc.). Allowing more CO2 molecules to penetrate the shale matrix. This results in better expansion and recovery of shale oil. As the injection cycles progress, the diffusion time for CO2 increases, and the differences in recovery between different matrix permeability levels diminish, although the high-permeability group (Core #3, 0.466 mD) still exhibits the highest recovery. As shown in Fig. 7, the increase in recovery is most significant in the large pore intervals within different scale pore intervals. This also indicates that CO2 injection primarily mobilizes shale oil from the large pores, which is consistent with the findings of previous studies and Wei (2019).

4 Discussion and conclusions

In unconventional reservoirs, the mechanisms of enhanced oil recovery (EOR) methods significantly differ from those in conventional reservoirs due to their exceptional petrophysical properties. Although previous studies have investigated the effects of exposing shale matrix to carbon dioxide (CO2) for CO2-EOR (Wei et al. 2019; Wang et al. 2017), only a few of them have experimentally considered the influence of different matrix permeability and the resulting effects on the transport of fluids within varying-scale pores between the matrix and fractures. This limitation is largely attributed to the currently available monitoring tools for shale formations.

In an effort to enhance our understanding of the CO2-EOR mass transfer mechanisms in fractured shale reservoirs, we conducted an experimental investigation involving cyclic injection of CO2 in three shale matrices (with the permeability of 0.074 mD/0.170 mD/0.466 mD) and fracture model under reservoir conditions. The core samples used in the study were obtained from the Lucaogou Formation. To gain insight into the pore-scale mobilization process, we monitored the entire process using a low-field NMR technique. Based on our findings, we draw the following general conclusions:

  1. (1)

    Observations under three different permeability conditions (0.074 mD/0.170 mD/0.466 mD) consistently demonstrate that CO2 injection primarily recovers oil from large pores (10 ms < T2 < 100 ms), while oil in small pores (1 ms < T2 < 10 ms) and micropores (0.1 ms < T2 < 1 ms) exhibits limited mobility.

  2. (2)

    After three cycles of CO2 huff ‘n’ puff, the total recovery degree increased from 30.28% to 34.95% as the matrix permeability of the core samples increased from 0.074 to 0.466 mD, indicating a positive correlation between CO2 extraction efficiency and matrix permeability. Under similar fracture conditions, the increase in matrix permeability can further promote CO2 extraction efficiency during CO2 injection.

  3. (3)

    The increase in matrix permeability of the core has the greatest effect on the extraction of the first-cycle injection in large pores, which was increased from 16.42% to 36.64%. As the matrix permeability increases, the diffusion resistance of CO2 decreases (such as diffusion distance, collision energy loss between molecules and walls).

5 Research highlights

  1. (1)

    Positive correlation between matrix permeability and CO2 extraction efficiency: The study found that the increase in matrix permeability from 0.074 to 0.466 mD resulted in an increase in total recovery degree from 30.28% to 34.95% after three cycles of CO2 huff ‘n’ Puff.

  2. (2)

    Experimental investigation of mass-exchange behaviors: The research employed a LF-NMR technique to monitor the oil concentration in both matrix and fractures.

  3. (3)

    Insights into CO2-enhanced oil recovery mechanisms: The research provides valuable complementary information on the effects of CO2 huff ‘n’ Puff in different pore sizes following fracturing under varying permeability conditions.