Nmr-based method and system for determining core co2-ch4 diffusion coefficient
By using nuclear magnetic resonance technology and multi-sequence scanning, the diffusion coefficients of carbon dioxide and methane in carbonate gas reservoirs can be monitored in real time. This solves the shortcomings of traditional methods in determining the diffusion coefficient under water-bearing conditions, improves the resolution and accuracy of diffusion coefficient determination, and supports the simulation of reservoir fluid migration patterns and the assessment of recovery rate.
Patent Information
- Application Number
- CN202611605221.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies make it difficult to accurately determine the diffusion coefficients of carbon dioxide and methane in carbonate gas reservoirs, especially under water-bearing conditions. Furthermore, traditional methods cannot monitor the dynamic advancement of the diffusion front in real time, affecting the assessment of reservoir fluid migration and recovery rate.
Using a nuclear magnetic resonance-based method, a high-temperature and high-pressure displacement simulation sampler and multi-sequence scanning technology were employed to monitor the diffusion process inside the core in real time. By combining Fick's second law and similar variables, the diffusion coefficient was inverted and corrected for water content to obtain an accurate diffusion coefficient.
It enables in-situ, non-destructive, and continuous monitoring of the diffusion coefficient inside the core, improving temporal and spatial resolution. It can accurately obtain the diffusion coefficient under water-bearing conditions, supporting reliable simulation of reservoir fluid migration patterns and dynamic prediction of development.
Smart Images

Figure CN123135641A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of carbonate gas reservoir technology, and in particular to a method and system for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance. Background Technology
[0002] When carbon dioxide is injected to displace methane in carbonate gas reservoirs, both pressure gradient-driven convective transport and molecular diffusion due to component concentration differences exist within the reservoir. These two factors jointly control the mixing zone width and gas migration patterns. In highly heterogeneous carbonate reservoirs with well-developed natural fractures, convection often dominates within the dominant channels, while the processes of carbon dioxide infiltration from the dominant channels into the matrix and methane replenishment from the matrix into the dominant channels are primarily controlled by diffusion. Therefore, accurately determining the binary diffusion coefficients of carbon dioxide and methane in the core is crucial for characterizing reservoir fluid migration, improving recovery rates, and evaluating storage effectiveness.
[0003] Currently, isobaric diffusion experiments are commonly used to determine the diffusion coefficient. This involves setting up independent diffusion chambers at both ends of a core sample, filling them with methane and carbon dioxide respectively, and maintaining near-uniform pressures on both sides under isothermal conditions to minimize the convection effects caused by pressure differences. Samples are then taken at predetermined time intervals and analyzed by gas chromatography to assess component changes at both ends. The diffusion coefficient is then calculated using Fick's second law. While this method can obtain the static diffusion coefficient under dry core conditions, it is difficult to monitor the advance of the diffusion front within the core in situ and in real time. Therefore, existing technology further incorporates online nuclear magnetic resonance (NMR) technology. Utilizing the sensitivity of NMR signals to hydrogen-containing fluids, multi-sequence scanning is used to obtain the axial proton density and layered relaxation spectra of the core, identifying the location of the carbon dioxide diffusion front, and subsequently retrieving the diffusion coefficient.
[0004] However, existing technologies still have two significant drawbacks. First, traditional sampling analysis methods require repeated sampling and offline chromatographic determination. The sampling process disturbs the concentration and pressure fields within the diffusion chamber and cannot continuously capture the dynamic advancement of the diffusion front inside the core, thus limiting the temporal and spatial resolution of diffusion coefficient determination. Second, existing nuclear magnetic resonance (NMR) methods are mainly for dry cores or cores without considering the influence of water content. However, actual reservoirs often contain bound water, which occupies part of the pore space and dissolves some carbon dioxide, reducing the effective diffusion channels and increasing diffusion resistance. Existing methods cannot accurately characterize diffusion behavior under water-bearing conditions, thus affecting the reliability of subsequent numerical simulations and dynamic predictions of development. Summary of the Invention
[0005] In order to overcome the shortcomings and deficiencies of the existing technology, the present invention provides a method and system for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance.
[0006] The technical solution adopted in this invention is a method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance, comprising: S1, loading the rock core sample into a high-temperature and high-pressure displacement simulation loading device, and after vacuuming and airtightness checks, establishing a confining pressure cycle with fluorinated oil and heating to a set temperature, injecting CH4 to the target pressure and saturating it, so that the pores of the rock core are initially filled with CH4; S2, pre-pressurizing CO2 to compensate for the pressure loss of the injection pipeline, injecting CO2 into the rock core in a constant pressure manner and maintaining the system pressure stability, forming a CO2-CH4 contact interface at one end of the rock core and initiating isobaric diffusion; S3, using CPMG sequence, one-dimensional frequency-coded GR-HSE sequence, and static field gradient. The core was scanned using SFG-CPMG-MS sequences to acquire transverse relaxation T2 spectra, axial proton density curves, and CH4 signal intensities along axial layers; S4, the CO2 diffusion front was identified based on the decay and redistribution of CH4 signal intensity in each layer over diffusion time, and the front location and corresponding diffusion time were determined; S5, a one-dimensional diffusion concentration distribution relationship was constructed based on Fick's second law, and similarity variables and residual error functions were introduced to characterize the concentration field, and the diffusion coefficient was inverted from the front location, diffusion time, and front concentration; S6, the diffusion coefficients obtained under dry and water-bearing core conditions were input into the reservoir numerical simulator to update the diffusion parameters and output the CO2-EGR development dynamics.
[0007] Furthermore, in S3, axially layered signals are constructed based on nuclear magnetic resonance response and... The mapping relationship of molar concentration is adopted. Calculate the effective signal contribution of each layer, where For the first Layer at diffusion time The amplitude of the nuclear magnetic resonance signal, The overall response coefficient of the NMR acquisition system. For the first Layer porosity, For the first Layer water saturation For the first Layer hydrogen nucleus density, For the first layer molar concentration For echo interval, For the first Layer lateral relaxation time; using Calculate the first Layer axial cumulative signal, where For accumulating semaphores, For the first Layer Individual signal amplitude, For the first Axial thickness of individual pixels The total number of voxels; using Inversely determine the concentration.
[0008] Furthermore, in S4, the following is adopted: calculate Location of the diffusion front, among which For diffusion time The leading edge position, The axial length of the core. For axial coordinates, Axial position At the moment of NMR signal, It is a step function. A reference signal for leading edge identification is used; Determine the leading edge diffusion time, among which For the leading edge diffusion time, For the arrival time of the preceding edge, The diffusion initiation time; using Calculate the leading edge concentration, where For the front edge concentration, For the touch interface concentration, For the remainder error function, is the apparent diffusion coefficient.
[0009] Furthermore, S5 employs Invert the effective diffusion coefficient, where For the effective diffusion coefficient, Location of the diffusion front. For diffusion time, For the front edge concentration, For the touch interface concentration, The inverse function of the covariance error function; using Perform water content correction, among which The diffusion coefficient of the water-bearing core is given. For the correction factor of water phase occupation, This represents the water saturation level. The water-air viscosity coupling coefficient, The viscosity of the aqueous phase is... The viscosity is the gas phase viscosity; using Perform temperature and pressure correction, among which For the temperature and pressure correction diffusion coefficient, The experimental temperature, For reference temperature, For experimental pressure, For reference pressure, Temperature index This is a stress index.
[0010] Furthermore, steps S1 to S6 are performed on a large-scale physical simulation device for real-time monitoring of in-situ CO2 displacement and storage, type NMI12-110-PM. This device includes a high-temperature oil bath circulation system, a fluorinated oil confining pressure tracking system, a high-temperature and high-pressure displacement simulation sample loading device, a gas pressurization injection system, and a nuclear magnetic resonance radio frequency and gradient coil system. The nuclear magnetic resonance radio frequency and gradient coil system is equipped with CPMG, GR-HSE, and SFG-CPMG-MS sequences, where CPMG is used for T2 spectrum acquisition, GR-HSE is used for axial proton density imaging, and SFG-CPMG-MS is used for axial layered T2 spectrum acquisition. The software control module sets the axial layer thickness to an equal microlayer of the core length, sets the confining pressure tracking value to be higher than the injection pressure and keeps it constant, and links the high-temperature oil bath circulation speed with the temperature closed loop. The data acquisition module synchronously records pressure, temperature, T2 spectrum, proton density, and layering signals according to the diffusion time node, and discards the heavy water saturation signal in the water-bearing core experiment as a zero hydrogen signal benchmark.
[0011] Further, step S2 includes the following sub-steps: S2.1, evacuate the core sample, left and right diffusion chambers, sampling chamber, and intermediate container, close the vacuum valve, let it stand, check the airtightness based on pressure data changes, load the core sample that has been washed and dried, and maintain the confining pressure higher than the injection pressure; S2.2, increase the confining pressure to the set value through the confining pressure boosting valve, and heat to the target temperature. After the temperature and confining pressure stabilize, slowly inject CH4 through the left air inlet valve to the target pressure and continue to saturate, so that the core pores are initially filled with CH4. 4; S2.3, Pre-pressurize CO2 to a certain value higher than the target pressure to compensate for the pressure loss of the injection pipeline. After closing the CH4 inlet valve, inject CO2 at constant pressure through the right inlet valve to form a CO2-CH4 contact interface at one end of the core and start isobaric diffusion; S2.4, During the diffusion process, keep the pressure of the left and right diffusion chambers close to the same to weaken the pressure difference convection. Evacuate the sampling chamber and the measurement chamber at set time intervals. Collect gas samples from the left and right diffusion chambers respectively and send them to the gas chromatograph for analysis. Record the evolution of the components at both ends over time.
[0012] Further, step S3 includes the following sub-steps: S3.1, scanning the core using a CPMG sequence, acquiring transverse relaxation T2 spectra, obtaining the distribution of hydrogen-containing fluid signals of CH4 within the core, and recording echo intervals and waiting time parameters; S3.2, acquiring the proton density curve of CH4 along the core axis using a one-dimensional frequency-coded GR-HSE sequence, corresponding the core axial position with the signal amplitude to form one-dimensional spatial distribution data; S3.3, dividing the core into microlayers along the axial direction using an SFG-CPMG-MS sequence, acquiring T2 spectra layer by layer to obtain the CH4 signal intensity and transverse relaxation characteristics of each microlayer; S3.4, repeating the above scanning according to diffusion time nodes, synchronously recording pressure and temperature, arranging the CH4 signal intensity of each layer by time to form an axial layered signal evolution dataset.
[0013] Further, S4 includes the following sub-steps: S4.1, Select the CH4 signal intensity of each layer at the diffusion initiation moment as a reference value, calculate the attenuation of the signal amplitude of each layer relative to the reference value during the diffusion process, and retain the amplitude change caused by signal redistribution; S4.2, Calculate the gradient of the axial proton density curve along the core axis, identify the signal gradient abrupt change position, and correspond the abrupt change position with the attenuation position of the layered T2 spectrum signal; S4.3, Based on the characteristics of CH4 signal attenuation and shift towards the long relaxation time direction of each layer, determine the microlayer where the CO2 diffusion front is located, and take the axial coordinate of the microlayer as the front position; S4.4, Record the diffusion time corresponding to the front position to form a front position and diffusion time sequence, and transmit the sequence to the diffusion coefficient inversion stage.
[0014] Further, step S5 includes the following sub-steps: S5.1, establishing a one-dimensional diffusion concentration control equation based on Fick's second law, setting the CO2 concentration inside the core to zero at the diffusion initiation time, and setting the CO2 concentration at the contact interface to be constant and the boundary conditions to be undisturbed at the far end; S5.2, introducing similar variables to convert the concentration control equation from partial differential form to ordinary differential form, so that the concentration distribution is expressed as a function of similar variables; S5.3, integrating the ordinary differential equation and substituting the inner and outer boundary conditions to obtain the analytical relationship of CO2 concentration distribution expressed by the residual error function; S5.4, substituting the leading edge position and diffusion time measured by nuclear magnetic resonance into the analytical relationship of concentration distribution to invert the effective diffusion coefficient, and correcting it according to water saturation, water-gas viscosity ratio and temperature and pressure parameters.
[0015] A nuclear magnetic resonance (NMR)-based CO2-CH4 diffusion coefficient determination system for core samples is implemented. This system includes: a high-temperature, high-pressure core clamping and fluorinated oil confined pressure circulation unit for loading the core and establishing an isobaric diffusion environment with controllable temperature, confining pressure, and pore pressure; a gas pressurization injection and isobaric diffusion control unit connected to the high-temperature, high-pressure core clamping and fluorinated oil confined pressure circulation unit for CH4 saturation, CO2 pre-pressurization, constant-pressure injection, and pressure balancing of the left and right diffusion chambers; and a multi-sequence NMR acquisition unit connected to the high-temperature, high-pressure core clamping and fluorinated oil confined pressure circulation unit for performing CPMG, GR-HSE, and SFG-C... The PMG-MS sequence acquisition unit acquires T2 spectra, proton density, and axial stratification signals; the axial stratification signal analysis and front identification unit, connected to the NMR multi-sequence scanning acquisition unit, is used to calculate the CH4 signal attenuation, redistribution, and CO2 diffusion front location of each layer; the diffusion coefficient inversion and water-bearing correction unit, connected to the axial stratification signal analysis and front identification unit, is used to invert the effective diffusion coefficient based on Fick's second law, similarity variables, and residual error functions, and perform water-bearing and temperature / pressure corrections; the numerical simulation coupling and development dynamic output unit, connected to the diffusion coefficient inversion and water-bearing correction unit, is used to input the diffusion coefficients of dry cores and water-bearing cores into the reservoir numerical simulator and output CO2-EGR development dynamics.
[0016] Beneficial effects: This invention proposes a method and system for determining the CO2-CH4 diffusion coefficient in core samples based on nuclear magnetic resonance (NMR). Through NMR multi-sequence scanning, the interior of the core can be monitored in situ, non-destructively, and continuously, without the need for repeated sampling and offline chromatographic determination. This avoids disturbances to the concentration and pressure fields during the sampling process and can capture the advancement process of the carbon dioxide diffusion front in real time, significantly improving the temporal and spatial resolution of diffusion coefficient determination. It also solves the shortcomings of traditional sampling analysis methods in continuously characterizing the dynamic diffusion inside the core. Meanwhile, this method utilizes heavy water-saturated cores to eliminate interference from aqueous hydrogen signals. Combined with axial stratification signal analysis, frontal identification, and water-bearing and temperature / pressure correction, it can accurately obtain the binary diffusion coefficients of carbon dioxide and methane under water-bearing conditions. This solves the shortcomings of existing nuclear magnetic resonance methods, which are mainly applicable to dry cores and have difficulty characterizing the influence of bound water. By inputting the diffusion coefficients obtained from inversion under dry and water-bearing core conditions into the reservoir numerical simulator, diffusion parameters can be updated and the dynamics of carbon dioxide displacement and storage development can be output. This provides a more reliable basis for understanding the fluid migration laws in strongly heterogeneous carbonate gas reservoirs and for evaluating recovery and storage effects. Attached Figure Description
[0017] Figure 1 This is a flowchart of the method steps in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the experimental principle of diffusion coefficient determination according to an embodiment of the present invention. Figure 3 This is a flowchart of the online in-situ nuclear magnetic resonance monitoring experiment according to an embodiment of the present invention; Figure 4 This is an image showing the online magnetic resonance imaging results of an embodiment of the present invention; Figure 5 The images show the axially layered T2 spectra of the core samples under different experimental conditions according to an embodiment of the present invention. Detailed Implementation
[0018] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0019] Example 1 like Figure 1 As shown, the method for determining the CO2-CH4 diffusion coefficient of a core sample based on nuclear magnetic resonance includes: S1, loading the core sample into a high-temperature, high-pressure displacement simulation loading device, evacuating and checking for air tightness, establishing a confining pressure cycle with fluorinated oil and heating to a set temperature, injecting CH4 to the target pressure and saturating it, so that the core pores are initially filled with CH4; S2, pre-pressurizing CO2 to compensate for the pressure loss in the injection pipeline, injecting CO2 into the core at constant pressure and maintaining the system pressure stability, forming a CO2-CH4 contact interface at one end of the core and initiating isobaric diffusion; S3, using CPMG sequence, one-dimensional frequency-coded GR-HSE sequence, and static field gradient SFG- The CPMG-MS sequence was used to scan the core, acquiring the transverse relaxation T2 spectrum, axial proton density curve, and CH4 signal intensity along the axial layers; S4, the CO2 diffusion front was identified based on the decay and redistribution of CH4 signal intensity in each layer with diffusion time, and the front location and corresponding diffusion time were determined; S5, a one-dimensional diffusion concentration distribution relationship was constructed based on Fick's second law, and similarity variables and residual error functions were introduced to characterize the concentration field, and the diffusion coefficient was inverted from the front location, diffusion time, and front concentration; S6, the diffusion coefficients obtained under dry core and water-bearing core conditions were input into the reservoir numerical simulator to update the diffusion parameters and output the CO2-EGR development dynamics.
[0020] In step S1, core samples with a diameter of 25.4 mm and a length of 30 to 80 mm are loaded into a high-temperature, high-pressure displacement simulation loading device. The gas path, confining pressure liquid path, sampling pipeline, and nuclear magnetic resonance probe are connected according to the experimental procedure. Subsequently, the core, left and right diffusion chambers, sampling chamber, and intermediate container are evacuated for 4 hours. After closing the vacuum valve, the system is allowed to stand for 0.5 hours. Pressure changes are monitored using a pressure transmitter to determine the system's airtightness. The liquid filling valve of the high-temperature oil bath circulation system is opened. After the fluorinated oil fills the confining pressure liquid circulation pipeline, the liquid filling valve is closed. The fluorinated oil circulation speed is set to 1200 r / min. The heating mode and confining pressure tracking mode of the high-temperature oil bath circulation system are activated. The system temperature is raised to the set value, which can be 60℃, 85℃, or 100℃, and the net confining pressure is set to 5MPa. The confining pressure is always kept 5MPa higher than the injection pressure. The maximum temperature of the device can reach 150℃, the maximum confining pressure can reach 70MPa, and the maximum pore pressure can reach 60MPa. After the temperature and confining pressure stabilize for about 2.5 hours, methane is slowly injected into the core through the left air inlet valve to the target pressure, which can be 4MPa, 10MPa, 20MPa, or 30MPa. The injection is continued for 12 hours to initially fill the pores of the core with methane. The temperature, confining pressure, and pore pressure data are recorded. After confirming that there is no leakage in the system, the isobaric diffusion stage begins.
[0021] In step S2, the carbon dioxide is pre-pressurized to a pressure 0.5 MPa higher than the target pressure to compensate for pressure loss in the injection pipeline. After closing the methane inlet valve, carbon dioxide is injected into the core at constant pressure via the right inlet valve, forming a carbon dioxide-methane interface at one end of the core and initiating isobaric diffusion. During diffusion, the pressure in the left and right diffusion chambers is kept nearly identical to reduce the convection effect caused by the pressure difference. The confining pressure is always maintained 5 MPa higher than the injection pressure, the temperature is maintained at the set value, and the pressure is maintained at the target value, which can be 4 MPa, 10 MPa, 20 MPa, or... The pressure is 30 MPa, and the temperature can be 60℃, 85℃, or 100℃. Sampling is performed at intervals of 0.5 to 6 hours. Before sampling, the sampling chamber and the measurement chamber are evacuated. Then, gas samples are collected from the left and right diffusion chambers and sent to the gas chromatograph for analysis. The evolution of gas components at both ends over time is recorded. The experiment is terminated when methane in the right diffusion chamber can be stably detected and its content increases regularly, and the number of samplings reaches 9. After the experiment, the residual gas in the sampling chamber and the measurement chamber is discharged through the overflow valve, and then the pressure is reduced to normal pressure through the confining pressure reducing valve. The heating is turned off and the core is removed after the holder cools to room temperature. Finally, the power supply to the instrument is turned off.
[0022] In step S3, nuclear magnetic resonance multi-sequence scanning is employed, including a transverse relaxation measurement sequence, a one-dimensional frequency-coded spatial imaging sequence, and a static field gradient layered transverse relaxation measurement sequence. The transverse relaxation measurement sequence is used to acquire the transverse relaxation time spectrum of methane in the core. The one-dimensional frequency-coded spatial imaging sequence is used to obtain the proton density curve of methane along the core axis. The static field gradient layered transverse relaxation measurement sequence is used to divide the core along the axis into micro-layers with a thickness of 0.05 cm and acquire the transverse relaxation spectrum layer by layer. After carbon dioxide injection, the above scans are performed sequentially every 1 hour for 3 hours, while pressure, temperature, and confining pressure data are recorded simultaneously. The maximum temperature of the device ranges from 20 to 150°C, the maximum confining pressure is 70 MPa, and the maximum pore pressure is 60 MPa. The methane signal intensity of each layer is arranged chronologically to form an axial layered signal evolution dataset, providing data for diffusion front identification. During the scanning process, the confining pressure is maintained 5 MPa higher than the injection pressure to prevent core slippage or compression damage.
[0023] In step S4, the methane signal intensity of each layer at the start of diffusion is selected as a reference value. The attenuation of the signal amplitude of each layer relative to the reference value during diffusion is calculated, and the amplitude change caused by signal redistribution is retained. The gradient of the axial proton density curve along the core axis is calculated to identify the location of the signal gradient abrupt change, and the abrupt change location is correlated with the signal attenuation location of the lateral relaxation spectrum of each layer. Based on the characteristics of methane signal attenuation and shift towards the long relaxation time direction of each layer, the microlayer where the carbon dioxide diffusion front is located is determined, and the axial coordinate of this microlayer is taken as the front position. The diffusion time corresponding to the front position is recorded to form a front position and diffusion time sequence, and this sequence is transmitted to the diffusion coefficient inversion stage. During the identification process, a layer thickness of 0.05 cm is used, and the sequence is updated once every 1 hour for 3 hours. The front position advances towards the extraction end as the diffusion time increases, and the advancement rate gradually slows down. The final diffusion distance can reach 4.25 cm in dry core and 2.4 to 2.65 cm in water-bearing core.
[0024] In step S5, a one-dimensional diffusion concentration control equation is established based on Fick's second law. The initial carbon dioxide concentration inside the core is set to zero, the carbon dioxide concentration at the contact interface is constant, and the boundary conditions at the far end are unperturbed. Similar variables are introduced to transform the concentration control equation from a partial differential form to an ordinary differential form, making the concentration distribution a function of similar variables. The ordinary differential equation is integrated, and the inner and outer boundary conditions are substituted to obtain the analytical relationship of the carbon dioxide concentration distribution expressed by the residual error function. The leading edge position and diffusion time measured by nuclear magnetic resonance are substituted into the analytical relationship of the concentration distribution to invert the effective diffusion coefficient. Corrections are made based on water saturation, water-to-gas viscosity ratio, and temperature and pressure parameters. The water saturation can be set to 40%, the temperature to 60℃, 85℃, or 100℃, and the pressure to 4MPa, 10MPa, 20MPa, or 30MPa. The diffusion coefficient is calculated separately for dry and water-bearing cores, with the dry core diffusion coefficient ranging from 3.46 to 3.92 × 10⁻⁶. -8 m 2 / s, the diffusion coefficient of the water-bearing core is 1.34 to 1.67 × 10⁻⁶. -8 m 2 / s.
[0025] In step S6, the diffusion coefficients obtained from inversion under dry and water-bearing core conditions are input into the reservoir numerical simulator to update the diffusion parameters in the simulator. This allows the simulator to reflect the diffusion-controlled process of carbon dioxide infiltration from the dominant channel into the matrix and methane replenishment from the matrix to the dominant channel in strongly heterogeneous carbonate reservoirs with well-developed natural fractures. Combining convective transport and molecular diffusion, the simulator simulates the dynamics of carbon dioxide displacing methane and its storage, outputting the mixing zone width, recovery rate, storage capacity, and development dynamics curves. By comparing the diffusion coefficients of dry and water-bearing cores, the inhibitory effect of bound water on diffusion is evaluated. Under a water saturation of 40%, the diffusion coefficient ranges from 1.34 to 1.67 × 10⁻⁶. -8 m 2 / s, dry core values are 3.46 to 3.92 × 10⁻⁶. -8 m 2 / s; Based on the simulation results, optimize the injection pressure, injection rate and development plan to provide parameter basis for carbon dioxide displacement and storage in carbonate gas reservoirs, and ultimately improve the recovery rate and storage effect.
[0026] Preferably, in step S3, the axially layered signal is constructed based on the nuclear magnetic resonance response and... The mapping relationship of molar concentration is adopted. Calculate the effective signal contribution of each layer, where For the first Layer at diffusion time The amplitude of the nuclear magnetic resonance signal, The overall response coefficient of the NMR acquisition system. For the first Layer porosity, For the first Layer water saturation For the first Layer hydrogen nucleus density, For the first layer molar concentration For echo interval, For the first Layer lateral relaxation time; using Calculate the first Layer axial cumulative signal, where For accumulating semaphores, For the first Layer Individual signal amplitude, For the first Axial thickness of individual pixels The total number of voxels; using Inversely determine the concentration.
[0027] Specifically, in S3, a mapping relationship between axially layered signals and methane molar concentration is constructed based on the nuclear magnetic resonance response. The first equation expresses the NMR signal amplitude of a certain layer at the diffusion time as the product of the overall response coefficient of the NMR acquisition system, the porosity of that layer, minus the water saturation of that layer, the hydrogen nucleus density of that layer, the methane molar concentration of that layer, and the negative exponential term of the ratio of echo interval to transverse relaxation time. This relationship is established because the NMR signal originates from the hydrogen nuclei of the hydrogen-containing fluid, and the signal intensity is proportional to the amount of hydrogen-containing fluid. Porosity determines the total pore volume, water saturation determines the proportion of pores occupied by the water phase, hydrogen nucleus density and methane molar concentration together determine the number of hydrogen nuclei per unit volume, and the ratio of echo interval to transverse relaxation time determines the degree of transverse relaxation attenuation. Therefore, this product form can reasonably describe the signal amplitude. The second equation expresses the axially accumulated signal of a certain layer... The first relationship is the sum of the product of the signal amplitude of each voxel in the layer and the axial thickness of that voxel. The reason for establishing this relationship is that the axial layering signal is the superposition of the contributions of each micro-layer voxel along the core axis. The layering thickness is 0.05 cm, the core diameter is 25.4 mm, the core length is 30 to 80 mm, the porosity is 13.2% to 15.3%, the permeability is 1.62 to 2.21 mD, the temperature is 60, 85, and 100 °C, the pressure is 4, 10, 20, and 30 MPa, and the water saturation is 0% or 40%. The third relationship expresses the methane molar concentration as the cumulative signal divided by the product of the comprehensive response coefficient, porosity, water saturation, hydrogen nucleus density, and exponential decay factor. This relationship is obtained by inverse solving the first relationship. During implementation, data was collected every 1 hour in S3 for 3 hours, and the pressure and temperature were recorded simultaneously to obtain the change of methane concentration in each layer over time.
[0028] Preferably, in S4, the following is adopted: calculate Location of the diffusion front, among which For diffusion time The leading edge position, The axial length of the core. For axial coordinates, Axial position At the moment of NMR signal, It is a step function. A reference signal for leading edge identification is used; Determine the leading edge diffusion time, among which For the leading edge diffusion time, For the arrival time of the preceding edge, The diffusion initiation time; using Calculate the leading edge concentration, where For the front edge concentration, For the touch interface concentration, For the remainder error function, is the apparent diffusion coefficient.
[0029] Specifically, in S4, the location, diffusion time, and concentration of the carbon dioxide diffusion front are calculated based on the axial stratification signal from nuclear magnetic resonance. The first equation uses a weighted average to calculate the diffusion front location, with the weights composed of the absolute value of the signal gradient and a step function. The step function is used to filter regions where the signal is lower than the reference signal for front identification. This equation is established because the methane signal attenuates most drastically at the carbon dioxide diffusion front, resulting in the largest axial signal gradient. The step function can distinguish between regions that have not been invaded by carbon dioxide and those that have been invaded; therefore, the weighted average yields the axial coordinates of the front. The second equation expresses the front diffusion time as the arrival time of the front minus the diffusion start time. This equation is established because the diffusion process begins timing when the carbon dioxide-methane interface is formed; the time it takes for the front to reach a certain position... The difference between the initial and final times is the diffusion time corresponding to that position. The third relationship expresses the carbon dioxide concentration at the leading edge as the product of the carbon dioxide concentration at the contact interface and the residual error function. The independent variable of the residual error function is the leading edge position divided by the product of the apparent diffusion coefficient (square root) and the diffusion time. This relationship is derived from the analytical solution of Fick's second law under the conditions of zero initial concentration, constant contact interface concentration, and undisturbed boundary at the far end. During implementation, a layer thickness of 0.05 cm was used, and samples were collected every 1 hour for 3 hours at temperatures of 60, 85, and 100℃ and pressures of 4, 10, 20, and 30 MPa. The diffusion distance of dry cores can reach 4.25 cm, while the diffusion distance of wet cores with 40% water saturation is 2.4 to 2.65 cm. The leading edge position advances towards the extraction end with increasing diffusion time, and the advancement rate gradually slows down.
[0030] Preferably, in S5, the following is adopted: Invert the effective diffusion coefficient, where For the effective diffusion coefficient, Location of the diffusion front. For diffusion time, For the front edge concentration, For the touch interface concentration, The inverse function of the covariance error function; using Perform water content correction, among which The diffusion coefficient of the water-bearing core is given. For the correction factor of water phase occupation, This represents the water saturation level. The water-air viscosity coupling coefficient, The viscosity of the aqueous phase is... The viscosity is the gas phase viscosity; using Perform temperature and pressure correction, among which For the temperature and pressure correction diffusion coefficient, The experimental temperature, For reference temperature, For experimental pressure, For reference pressure, Temperature index This is a stress index.
[0031] Specifically, in S5, the effective diffusion coefficient is inverted and corrected for water content and temperature / pressure. The first relationship expresses the effective diffusion coefficient as the product of the square of the leading edge position divided by four times the diffusion time and the square of the inverse function of the residual error function. This relationship is obtained by inverse solving the analytical solution of the carbon dioxide concentration distribution. The inverse function of the residual error function is used to convert the ratio of the carbon dioxide concentration at the leading edge to the carbon dioxide concentration at the contact interface into a similar variable. This relationship is established because the analytical solution of the concentration distribution obtained under constant interface concentration and zero initial concentration conditions, according to Fick's second law, can describe the quantitative relationship between the leading edge position, diffusion time, and diffusion coefficient. The second relationship expresses the diffusion coefficient of the water-bearing core as the effective diffusion coefficient divided by the sum of a water saturation correction term and a water-air viscosity ratio correction term. This relationship is established because bound water... The water phase occupies part of the pore space, reducing the effective diffusion channels in the gas phase. Simultaneously, the water phase dissolves some carbon dioxide and increases diffusion resistance. Therefore, corrections are made using water saturation, water phase occupancy correction coefficient, water-gas viscosity coupling coefficient, water phase viscosity, and gas phase viscosity, with water saturation set at 40%. The third relationship expresses the temperature-pressure corrected diffusion coefficient as the effective diffusion coefficient multiplied by the temperature exponent of the ratio of temperature to reference temperature, then multiplied by the pressure exponent of the ratio of reference pressure to pressure. This relationship is established because increased temperature enhances the thermal motion of gas molecules, thus promoting diffusion, while increased pressure increases the molecular number density and shortens the mean free path, thus inhibiting diffusion. During implementation, temperatures were taken as 60, 85, and 100℃, and pressures as 4, 10, 20, and 30 MPa, with dry core diffusion coefficients ranging from 3.46 to 3.92 × 10⁻⁶. -8 m 2 / s, the diffusion coefficient of the water-bearing core is 1.34 to 1.67 × 10⁻⁶. -8 m 2 / s.
[0032] Preferably, steps S1 to S6 are performed on a large-scale physical simulation device for real-time monitoring of in-situ CO2 displacement and storage, type NMI12-110-PM. This device includes a high-temperature oil bath circulation system, a fluorinated oil confining pressure tracking system, a high-temperature and high-pressure displacement simulation sample loading device, a gas pressurization injection system, and a nuclear magnetic resonance radio frequency and gradient coil system. The nuclear magnetic resonance radio frequency and gradient coil system is equipped with CPMG, GR-HSE, and SFG-CPMG-MS sequences, where CPMG is used for T2 spectrum acquisition, GR-HSE is used for axial proton density imaging, and SFG-CPMG-MS is used for axial layered T2 spectrum acquisition. The software control module sets the axial layer thickness to an equal microlayer of the core length, sets the confining pressure tracking value to be higher than the injection pressure and keeps it constant, and links the high-temperature oil bath circulation speed with the temperature closed loop. The data acquisition module synchronously records pressure, temperature, T2 spectrum, proton density, and layering signals according to the diffusion time node, and discards the heavy water saturation signal in the water-bearing core experiment as a zero hydrogen signal benchmark.
[0033] Preferably, step S2 includes the following sub-steps: S2.1, evacuating the core sample, left and right diffusion chambers, sampling chamber, and intermediate container; closing the vacuum valve and allowing it to stand; checking the airtightness based on pressure data changes; loading the core sample after oil washing and drying treatment and maintaining the confining pressure higher than the injection pressure; S2.2, increasing the confining pressure to the set value through the confining pressure boosting valve, while heating to the target temperature; after the temperature and confining pressure stabilize, slowly injecting CH4 through the left air inlet valve to the target pressure and continuously saturating it, so that the core pores are initially filled with CH4. S2.3. Pre-pressurize CO2 to a certain value higher than the target pressure to compensate for the pressure loss in the injection pipeline. After closing the CH4 inlet valve, inject CO2 at constant pressure through the right inlet valve to form a CO2-CH4 contact interface at one end of the core and start isobaric diffusion. S2.4. During the diffusion process, keep the pressure in the left and right diffusion chambers close to the same to reduce pressure difference convection. Evacuate the sampling chamber and the measurement chamber at set time intervals. Collect gas samples from the left and right diffusion chambers respectively and send them to the gas chromatograph for analysis. Record the evolution of the components at both ends over time.
[0034] Specifically, in S2.1, the core sample, left and right diffusion chambers, sampling chamber, and intermediate container are evacuated for 4 hours. After closing the vacuum valve, the system is allowed to stand for 0.5 hours. The airtightness is checked based on pressure data changes. The core sample, which has undergone oil washing and drying, is then loaded, and the confining pressure is maintained higher than the injection pressure. This step is used to eliminate interference from residual gas and moisture on the diffusion test and ensure system sealing. In S2.2, the confining pressure is increased to the set value through the confining pressure boosting valve, while heating to the target temperature, which can be 60℃, 85℃, or 100℃. The net confining pressure can be set to 5MPa and is always 5MPa higher than the injection pressure. After the temperature and confining pressure stabilize for about 2.5 hours, methane is slowly injected through the left inlet valve to the target pressure, which can be 4MPa, 10MPa, 20MPa, or 30MPa. Saturation for 12 hours allows methane to initially fill the core pores. In step S2.3, carbon dioxide is pre-pressurized to 0.5 MPa above the target pressure to compensate for pressure loss in the injection pipeline. After closing the methane inlet valve, carbon dioxide is injected at constant pressure through the right inlet valve, forming a carbon dioxide-methane interface at one end of the core and initiating isobaric diffusion. This step is used to reduce pressure differential convection. In step S2.4, the pressure in the left and right diffusion chambers is kept approximately the same during diffusion. The sampling and measurement chambers are evacuated at 0.5 to 6-hour intervals. Gas samples are collected from the left and right diffusion chambers and sent to a gas chromatograph for analysis. The evolution of components at both ends over time is recorded. The process is terminated when methane is stably detected in the right diffusion chamber and its content increases regularly, and the number of samplings reaches 9. This step is used to obtain component evolution data and calculate the diffusion coefficient.
[0035] Preferably, step S3 includes the following sub-steps: S3.1, scanning the core using a CPMG sequence, acquiring transverse relaxation T2 spectra, obtaining the distribution of hydrogen-containing fluid signals of CH4 within the core, and recording echo intervals and waiting time parameters; S3.2, acquiring the proton density curve of CH4 along the core axis using a one-dimensional frequency-coded GR-HSE sequence, corresponding the core axial position with the signal amplitude to form one-dimensional spatial distribution data; S3.3, dividing the core into microlayers along the axial direction using an SFG-CPMG-MS sequence, acquiring T2 spectra layer by layer to obtain the CH4 signal intensity and transverse relaxation characteristics of each microlayer; S3.4, repeating the above scanning according to diffusion time nodes, synchronously recording pressure and temperature, arranging the CH4 signal intensity of each layer by time to form an axial layered signal evolution dataset.
[0036] Specifically, in step S3.1, a transverse relaxation measurement sequence is used to scan the core, acquire transverse relaxation time spectra, obtain the distribution of hydrogen-containing fluid signals of methane within the core, and record the echo interval and waiting time parameters. This step is used to characterize the fluid distribution state within the pores. In step S3.2, a one-dimensional frequency-coded spatial imaging sequence is used to obtain the proton density curve of methane along the core axis, and the core axial position is correlated with the signal amplitude to form one-dimensional spatial distribution data. This step is used to characterize the diffusion process at the core scale. In step S3.3, a static field gradient layered transverse relaxation measurement sequence is used to divide the core into 0.05 cm microlayers along the axial direction, and transverse relaxation time spectra are acquired layer by layer to obtain the methane distribution of each microlayer. The methane signal intensity and transverse relaxation characteristics are used to quantitatively identify the diffusion front. In S3.4, the above scan is repeated according to the diffusion time node, with one acquisition every 1 hour for 3 hours. Pressure and temperature are recorded simultaneously. The pressure can be 4 MPa, 10 MPa, 20 MPa or 30 MPa, and the temperature can be 60℃, 85℃ or 100℃. The maximum confining pressure is 70 MPa, and the maximum pore pressure is 60 MPa. The core diameter is 25.4 mm and the length is 30 to 80 mm. The methane signal intensity of each layer is arranged according to time to form an axial layered signal evolution dataset. This step is used to provide a continuous, in-situ, and non-destructive data basis for diffusion front identification and diffusion coefficient inversion.
[0037] Preferably, step S4 includes the following sub-steps: S4.1 Select the CH4 signal intensity of each layer at the diffusion initiation moment as a reference value, calculate the attenuation of the signal amplitude of each layer relative to the reference value during the diffusion process, and retain the amplitude change caused by signal redistribution; S4.2 Calculate the gradient of the axial proton density curve along the core axis, identify the signal gradient abrupt change position, and correspond the abrupt change position with the attenuation position of the layered T2 spectrum signal; S4.3 Determine the microlayer where the CO2 diffusion front is located based on the characteristics of the attenuation of CH4 signal in each layer and the shift towards the long relaxation time direction, and take the axial coordinate of the microlayer as the front position; S4.4 Record the diffusion time corresponding to the front position to form a front position and diffusion time sequence, and transmit the sequence to the diffusion coefficient inversion stage.
[0038] Specifically, in S4.1, the methane signal intensity of each layer at the start of diffusion is selected as a reference value. The attenuation of the signal amplitude of each layer relative to the reference value during diffusion is calculated, and the amplitude change caused by signal redistribution is retained. This step is used to distinguish the signal reduction caused by carbon dioxide intrusion from the signal change caused by the redistribution of methane to larger pores. In S4.2, the gradient of the axial proton density curve along the core axis is calculated to identify the location of the signal gradient abrupt change, and the abrupt change location is correlated with the signal attenuation location of the lateral relaxation time spectrum of each layer. This step is used to determine the axial range of the leading edge. In S4.3, based on the characteristics of methane signal attenuation and shift towards longer relaxation time directions in each layer... The process involves identifying the microlayer containing the carbon dioxide diffusion front and using its axial coordinates as the front location. The layer thickness is 0.05 cm, and the data is updated every 1 hour for 3 hours. The diffusion distance in dry cores can reach 4.25 cm, while in wet cores with 40% water saturation, the final diffusion distance is 2.4 to 2.65 cm. This step is used to quantitatively characterize the front advancement. In step S4.4, the diffusion time corresponding to the front location is recorded to form a front location and diffusion time series. This series is then transmitted to the diffusion coefficient inversion step. This step is used to provide front location and corresponding time data for the inversion. The front advances towards the extraction end as the diffusion time increases, and the advancement rate gradually decreases.
[0039] Preferably, step S5 includes the following sub-steps: S5.1, establishing a one-dimensional diffusion concentration control equation based on Fick's second law, setting the CO2 concentration inside the core to zero at the diffusion initiation time, and setting the CO2 concentration at the contact interface to be constant and the distant boundary conditions to be undisturbed; S5.2, introducing similar variables to convert the concentration control equation from partial differential form to ordinary differential form, so that the concentration distribution is expressed as a function of similar variables; S5.3, integrating the ordinary differential equation and substituting the inner and outer boundary conditions to obtain the analytical relationship of CO2 concentration distribution expressed by the residual error function; S5.4, substituting the leading edge position and diffusion time measured by nuclear magnetic resonance into the analytical relationship of concentration distribution to invert the effective diffusion coefficient, and correcting it according to water saturation, water-gas viscosity ratio and temperature and pressure parameters.
[0040] Specifically, in S5.1, a one-dimensional diffusion concentration control equation is established based on Fick's second law. The initial carbon dioxide concentration inside the core is set to zero, the carbon dioxide concentration at the contact interface is constant, and the boundary conditions at the far end are undisturbed. This step describes the concentration variation with time and space during isobaric diffusion. In S5.2, similarity variables are introduced to transform the concentration control equation from partial differential to ordinary differential form, making the concentration distribution a function of similarity variables. This step simplifies the equation and obtains the analytical relationship. In S5.3, the ordinary differential equation is integrated, and the inner and outer boundary conditions are substituted to obtain... The analytical relationship of carbon dioxide concentration distribution, expressed by the residual error function, is derived in step S5.4. This step establishes a quantitative link between the leading edge location, diffusion time, and diffusion coefficient. Substituting the leading edge location and diffusion time obtained from NMR into the analytical relationship of concentration distribution, the effective diffusion coefficient is inverted and corrected based on water saturation, water-to-gas viscosity ratio, and temperature and pressure parameters. Water saturation can be set to 40%, temperature to 60℃, 85℃, or 100℃, and pressure to 4MPa, 10MPa, 20MPa, or 30MPa. The dry core diffusion coefficient ranges from 3.46 to 3.92 × 10⁻⁶. -8 m 2 / s, the diffusion coefficient of the water-bearing core is 1.34 to 1.67 × 10⁻⁶. -8 m 2 / s, this step is used to obtain reliable diffusion coefficients under dry core and water-bearing core conditions and for numerical simulation.
[0041] like Figure 2As shown, the diffusion coefficient determination experiment of this invention is based on the NMI12-110-PM type in-situ carbon dioxide displacement and storage real-time monitoring large-scale physical simulation device, which consists of four subsystems working together: high-temperature and high-pressure core clamping and confining pressure circulation, gas pressurization injection and isobaric diffusion control, nuclear magnetic resonance multi-sequence scanning acquisition and sampling analysis. The high-temperature and high-pressure displacement simulation sample container is centrally located, and it loads a core sample with a diameter of 25.4 mm and a length of 30 to 80 mm. The two ends of the core are connected to the left diffusion chamber and the right diffusion chamber, respectively. The left diffusion chamber is connected to the methane gas source through the left inlet valve, and the right diffusion chamber is connected to the carbon dioxide pre-pressurization intermediate container through the right inlet valve. The bottoms of the two diffusion chambers are connected to the sampling chamber and the measurement chamber through sampling valves, and the gas flows into the gas chromatograph to complete the offline analysis of the gas components at both ends. The sample loading unit is surrounded by a fluorinated oil confining chamber, which is connected to a confining pressure tracking pump via a confining pressure boosting valve. This pump is linked to a high-temperature oil bath circulation system, operating at a speed of 1200 rpm, maintaining a constant net confining pressure of 5 MPa, always higher than the injection pressure. An externally mounted nuclear magnetic resonance (NMR) radio frequency coil and gradient coil are coaxially fitted around the sample loading unit, configured with three acquisition modes: CPMG sequence, GR-HSE sequence, and SFG-CPMG-MS sequence, corresponding to transverse relaxation spectrum acquisition, axial proton density imaging, and axial layered relaxation spectrum acquisition, respectively. Temperature, pressure, and confining pressure transmitters are respectively located in the corresponding pipelines and chambers. The data acquisition module synchronously records temperature, pressure, and various NMR signals according to diffusion time nodes. During the experiment, the entire system was first evacuated for 4 hours and allowed to stand for 0.5 hours to check for air tightness. Then, the temperature was raised to 60, 85 or 100 degrees Celsius and a confining pressure was established. Methane was injected through the left side to saturate at 4, 10, 20 or 30 MPa for 12 hours. Then, carbon dioxide was pre-pressurized to 0.5 MPa higher than the target pressure and injected through the right side at constant pressure. A carbon dioxide-methane contact interface was formed at the right end of the core, and isobaric diffusion was initiated. During the diffusion process, the pressure in the left and right diffusion chambers was kept close to the same to weaken the pressure difference convection. The nuclear magnetic resonance system was used to perform in-situ non-destructive continuous monitoring of the core interior.
[0042] like Figure 3As shown, the online nuclear magnetic resonance in-situ monitoring experimental process of this invention proceeds in six sequentially linked stages, with each stage forming a closed-loop linkage through data and control signals. The first stage is core loading and environment establishment. Core samples that have undergone oil washing and drying are loaded into a high-temperature and high-pressure displacement simulation loading device. After connecting the gas path, confining pressure liquid path, sampling pipeline, and nuclear magnetic resonance probe, the entire system is evacuated for 4 hours, the vacuum valve is closed, and the system is left to stand for 0.5 hours. The air tightness is determined based on the pressure data. Subsequently, the high-temperature oil bath circulation system is turned on to fill the confining pressure pipeline with fluorinated oil. The circulation speed is 1200 rpm, and the temperature is raised to 60, 85, or 100 degrees Celsius. The net confining pressure is 5 MPa and is always higher than the injection pressure. After the temperature and confining pressure stabilize for about 2.5 hours, methane is slowly injected through the left inlet valve to 4, 10, 20, or 30 MPa and saturated for 12 hours to initially fill the core pores with methane. The second stage involves constant-pressure carbon dioxide injection and isobaric diffusion initiation. Carbon dioxide is pre-pressurized to 0.5 MPa above the target pressure to compensate for pipeline losses. After closing the methane inlet valve, carbon dioxide is injected at constant pressure through the right inlet valve, forming a contact interface at one end of the core and initiating diffusion. During diffusion, the pressure in the left and right diffusion chambers is kept nearly uniform. Samples are taken at 0.5 to 6-hour intervals and sent to a gas chromatograph for analysis. The third stage involves multi-sequence nuclear magnetic resonance (NMR) scanning. After carbon dioxide injection, CPMG, GR-HSE, and SFG-CPMG-MS sequence scans are performed sequentially every 1 hour for 3 hours. Lateral relaxation spectra, axial proton density curves, and relaxation spectra of each microlayer (0.05 cm stratified) are acquired, and temperature and confining pressure data are recorded simultaneously. The fourth stage involves axial stratification signal analysis and diffusion front identification. Attenuation and redistribution are calculated using the signals of each layer at the diffusion initiation moment as references. The gradient of the proton density curve along the axial direction is used to identify abrupt changes. The microlayer containing the carbon dioxide diffusion front is determined by combining the attenuation and shift characteristics of the stratified relaxation spectrum signals towards longer relaxation times. The front position and corresponding diffusion time are recorded. The fifth stage involves diffusion coefficient inversion and correction. Based on Fick's second law and the concentration distribution relationship of the residual error function, the effective diffusion coefficient is inverted by substituting the frontal position and diffusion time into the calculation. Water saturation, water-gas viscosity ratio, and temperature and pressure parameters are then used for water cut and temperature / pressure correction. The sixth stage involves numerical simulation coupling and dynamic development output. The diffusion coefficients of dry and water-bearing cores are input into the reservoir numerical simulator to update diffusion parameters and output dynamic curves for carbon dioxide displacement and storage development.
[0043] like Figure 4As shown, the online nuclear magnetic resonance imaging results of this embodiment are presented as a one-dimensional axial proton density curve. The horizontal axis represents the core axial coordinate, and the vertical axis represents the nuclear magnetic resonance signal amplitude corresponding to the methane proton density. The figure includes four characteristic curves: diffusion initiation time, diffusion 1h, diffusion 2h, and diffusion 3h, which visually demonstrate the spatiotemporal evolution of the methane signal during the carbon dioxide intrusion along the core axial direction. The diffusion initiation time curve shows a high-amplitude plateau with approximately uniform distribution along the core axial direction, indicating that methane has been fully saturated in the core pores, and the signal intensity of the hydrogen-containing fluid at each axial position is basically consistent. This curve also serves as a reference benchmark for calculating the signal attenuation at subsequent times. The diffusion 1h curve shows a significant decrease in signal amplitude near the carbon dioxide injection end. The decrease area extends from the injection end into the core interior, and the signal decrease amplitude gradually decreases along the axial direction and transitions to the undisturbed area, forming a transition band with a certain width. This transition band corresponds to the carbon dioxide and methane mixing region, and the inflection point of the curve is the axial coordinate of the carbon dioxide diffusion front. The signal decline region of the 2-hour diffusion curve further extends towards the extraction end, with the leading edge advancing significantly compared to the 1-hour curve. The signal amplitude near the injection end further decreases, the transition zone width increases, and the signal amplitude remains stable in the undisturbed area. This indicates that the carbon dioxide diffusion front continues to advance, and the rate of advancement gradually slows due to the decreasing concentration gradient. The signal decline region of the 3-hour diffusion curve extends deeper into the core axis. Under dry core conditions, the final diffusion distance reaches 4.25 cm, while under 40% water saturation conditions, the final diffusion distance is 2.4 to 2.65 cm. The signal at the injection end drops to its lowest value and tends to stabilize, with the steepest signal gradient at the leading edge. The four curves arranged axially form an evolutionary sequence of signal amplitude gradually decreasing with diffusion time. Calculating the gradient along the axis at each time point identifies the locations of signal gradient abrupt changes. These abrupt changes correspond one-to-one with the signal attenuation locations in the stratified transverse relaxation spectrum, thus accurately locating the carbon dioxide diffusion front. The imaging results also show that the signal drop region of the curves at each time point under water-bearing core conditions is significantly smaller than that of dry cores, and the advance rate of the diffusion front is significantly reduced. This indicates that the bound water occupies part of the pore space, reducing the effective diffusion channels of the gas phase. The water phase dissolves some carbon dioxide and increases the diffusion resistance, resulting in the inhibition of diffusion under water-bearing conditions. This result lays a visual data foundation for the construction of diffusion front location and diffusion time series and the inversion of diffusion coefficient based on Fick's second law.
[0044] like Figure 5As shown, the axial stratification transverse relaxation spectra of the core samples under different experimental conditions in this embodiment of the invention are presented in the form of two-dimensional color spectra. The horizontal axis represents the transverse relaxation time, and the vertical axis represents the axial stratification position of the core. The color depth represents the methane signal intensity of each microlayer. The figure shows four sets of comparative spectra of dry core and core with 40% water saturation at the diffusion initiation time, 1 hour of diffusion, 2 hours of diffusion, and 3 hours of diffusion, respectively, systematically demonstrating the evolution law of methane relaxation characteristics of each axial microlayer during carbon dioxide diffusion. In the spectrum at the diffusion initiation time of dry core, the main signal peaks of each axial stratification are concentrated in a relatively short relaxation time interval and are uniformly distributed along the axial direction, with high signal intensity, reflecting the initial state of uniform saturation of methane in the pores of the dry core. As diffusion progresses, the signal intensity of several microlayers near the carbon dioxide injection end in the 1-hour diffusion spectrum decreases significantly, the main peak position shifts towards a longer relaxation time, and the signal reduction area extends from the injection end into the core interior, forming a low-signal band corresponding to the extent of carbon dioxide intrusion. In the 2-hour diffusion spectrum, the low-signal band further expands towards the extraction end, the number of affected microlayers increases, the degree of main peak shift increases, and the microlayer at the leading edge exhibits the dual characteristics of a sharp decrease in signal intensity and a significant shift in relaxation time. In the 3-hour diffusion spectrum, the low-signal area extends to deeper axial depths, and the final diffusion distance of the dry core can reach 4.25 cm, with the signal of the microlayers near the injection end dropping to its lowest level. In the spectra of various groups of water-bearing cores, the initial signal distribution at the diffusion initiation time was similar to that of dry cores, but the overall amplitude was slightly lower due to the use of heavy water saturation to eliminate interference from the aqueous phase hydrogen signal. During the diffusion process, the expansion range of the low-signal bands was significantly smaller than that of the dry cores, and the advancement distance of the diffusion front was significantly shortened at each time point, with the final diffusion distance being only 2.4 to 2.65 cm. The shift of the main peak towards the long relaxation time was also relatively small, indicating that bound water occupies the pore space, reducing the effective diffusion channels of the gas phase and increasing the diffusion resistance, thus inhibiting carbon dioxide diffusion. Comparing the spectra of dry and water-bearing cores allows for a quantitative assessment of the inhibitory effect of bound water on diffusion. Combining the signal attenuation and relaxation time shift characteristics of each microlayer allows for the accurate identification of the microlayer where the carbon dioxide diffusion front is located. The axial coordinate of this microlayer is used as the front position, and the corresponding diffusion time is recorded to form a front position and diffusion time series. This provides reliable layered data support for the inversion of the effective diffusion coefficient based on Fick's second law and the residual error function, as well as for water-bearing correction and temperature-pressure correction. Finally, the diffusion coefficient of the dry cores was obtained as 3.46 to 3.92 × 10⁻⁶. -8 m 2 / s, water-bearing core diffusion coefficient 1.34 to 1.67 × 10 -8 m 2 / s.
[0045] Example 2 A nuclear magnetic resonance (NMR)-based CO2-CH4 diffusion coefficient determination system for core samples is implemented. This system includes: a high-temperature, high-pressure core clamping and fluorinated oil confined pressure circulation unit for loading the core and establishing an isobaric diffusion environment with controllable temperature, confining pressure, and pore pressure; a gas pressurization injection and isobaric diffusion control unit connected to the high-temperature, high-pressure core clamping and fluorinated oil confined pressure circulation unit for CH4 saturation, CO2 pre-pressurization, constant-pressure injection, and pressure balancing of the left and right diffusion chambers; and a multi-sequence NMR acquisition unit connected to the high-temperature, high-pressure core clamping and fluorinated oil confined pressure circulation unit for performing CPMG, GR-HSE, and SFG-C... The PMG-MS sequence acquisition unit acquires T2 spectra, proton density, and axial stratification signals; the axial stratification signal analysis and front identification unit, connected to the NMR multi-sequence scanning acquisition unit, is used to calculate the CH4 signal attenuation, redistribution, and CO2 diffusion front location of each layer; the diffusion coefficient inversion and water-bearing correction unit, connected to the axial stratification signal analysis and front identification unit, is used to invert the effective diffusion coefficient based on Fick's second law, similarity variables, and residual error functions, and perform water-bearing and temperature / pressure corrections; the numerical simulation coupling and development dynamic output unit, connected to the diffusion coefficient inversion and water-bearing correction unit, is used to input the diffusion coefficients of dry cores and water-bearing cores into the reservoir numerical simulator and output CO2-EGR development dynamics.
[0046] Specifically, when the system is implemented, the high-temperature and high-pressure core clamping and fluorinated oil confining pressure circulation unit loads core samples with a diameter of 25.4 mm and a length of 30 to 80 mm. First, the system is evacuated for 4 hours, and after the vacuum valve is closed, it is left to stand for 0.5 hours. The airtightness is checked by pressure changes. Then, the fluorinated oil circulation is started, the circulation speed is set to 1200 r / min, the heating temperature can be set to 60℃, 85℃ or 100℃, the net confining pressure is set to 5 MPa and is always kept 5 MPa higher than the injection pressure. The maximum confining pressure of the device is 70 MPa, and the maximum pore pressure is 60 MPa. The gas pressurization injection and isobaric diffusion control unit is connected to this unit. First, methane is injected into the core through the left inlet valve to the target pressure of 4MPa, 10MPa, 20MPa or 30MPa, and saturated for 12 hours. Then, carbon dioxide is pre-pressurized to 0.5MPa higher than the target pressure. After the methane inlet valve is closed, carbon dioxide is injected through the right inlet valve in a constant pressure manner, so that a carbon dioxide-methane contact interface is formed at one end of the core and isobaric diffusion is started. During the diffusion process, the pressure in the left and right diffusion chambers is kept close to the same. Sampling is performed at time intervals of 0.5 to 6 hours. The process is terminated after 9 samplings. The nuclear magnetic resonance multi-sequence scanning acquisition unit is connected to this unit. It uses a transverse relaxation measurement sequence, a one-dimensional frequency-coded spatial imaging sequence, and a static field gradient layered transverse relaxation measurement sequence. It scans once every 1 hour for 3 hours to acquire transverse relaxation time spectrum, axial proton density curve, and signals of each microlayer layered according to a thickness of 0.05 cm. Pressure, temperature, and confining pressure are recorded simultaneously. The axial layered signal analysis and front identification unit is connected to this acquisition unit. Using the signals of each layer at the diffusion initiation time as a reference, it calculates the signal attenuation and redistribution, and determines the abrupt change position along the core axis by gradient identification. It determines the microlayer where the carbon dioxide diffusion front is located. The diffusion distance of dry core can reach 4.25 cm, and the final diffusion distance of wet core with a water saturation of 40% is 2.4 to 2.65 cm. The front position advances towards the extraction end over time and the advancement rate gradually decreases. The diffusion coefficient inversion and water content correction unit is connected to this identification unit. Based on Fick's second law and the concentration distribution relationship of the residual error function, the leading edge position and diffusion time are substituted into the inversion effective diffusion coefficient. Corrections are made according to a water saturation of 40%, a water-to-air viscosity ratio, and temperatures of 60℃, 85℃, and 100℃, and pressures of 4MPa, 10MPa, 20MPa, and 30MPa, yielding dry core diffusion coefficients ranging from 3.46 to 3.92 × 10⁻⁶. -8 m 2 / s, the diffusion coefficient of the water-bearing core is 1.34 to 1.67 × 10⁻⁶. -8 m 2 / s; The numerical simulation coupling and development dynamic output unit is connected to the correction unit, inputting the diffusion coefficients of dry core and water-bearing core into the reservoir numerical simulator, updating the diffusion parameters, simulating the process of carbon dioxide infiltration from the dominant channel to the matrix and methane replenishment from the matrix to the dominant channel, and outputting the mixing zone width, recovery rate, storage capacity and development dynamic curves, providing parameter basis for carbon dioxide displacement and storage in carbonate gas reservoirs.
[0047] A method and system for determining the CO2-CH4 diffusion coefficient in core samples based on nuclear magnetic resonance (NMR) employs multi-sequence NMR scanning for in-situ, non-destructive, and continuous monitoring of the core interior. This eliminates the need for repeated sampling and offline chromatographic analysis, avoiding disturbances to the concentration and pressure fields caused by sampling. Furthermore, it can capture the advance of the carbon dioxide diffusion front in real time, improving both temporal and spatial resolution. Through joint analysis of transverse relaxation spectra, axial proton density, and layered signals, the front location can be accurately identified and the diffusion coefficient inverted, overcoming the limitations of traditional sampling methods in continuously characterizing dynamic diffusion within the core.
[0048] This method eliminates interference from aqueous hydrogen signals by using heavy water-saturated core samples. Combined with corrections based on water saturation, water-to-gas viscosity ratio, and temperature / pressure parameters, it obtains the binary diffusion coefficients of carbon dioxide and methane under water-bearing conditions. The system's various units work together to achieve confining pressure circulation, isobaric injection, multi-sequence acquisition, frontal identification, diffusion coefficient inversion, and numerical simulation coupling. The results from both dry and water-bearing cores are input into the reservoir simulator, providing a reliable basis for dynamic prediction of development in strongly heterogeneous carbonate gas reservoirs.
[0049] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," "connect," "link," and "fix" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0050] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various equivalent changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for determining the CO2-CH4 diffusion coefficient in rock cores based on nuclear magnetic resonance, characterized in that, include: S1. After loading the core sample into the high temperature and high pressure displacement simulation loading device and evacuating and checking the air tightness, establish the confining pressure circulation with fluorinated oil and heat it to the set temperature. Inject CH4 to the target pressure and saturate it, so that the core pores are initially filled with CH4. S2. Pre-pressurize CO2 to compensate for the pressure loss in the injection pipeline, inject CO2 into the core at constant pressure and maintain the system pressure stability, form a CO2-CH4 contact interface at one end of the core and start isobaric diffusion. S3. The core was scanned using CPMG sequence, one-dimensional frequency-coded GR-HSE sequence and static field gradient SFG-CPMG-MS sequence to acquire transverse relaxation T2 spectrum, axial proton density curve and CH4 signal intensity along the axial layer. S4. Identify the CO2 diffusion front based on the attenuation and redistribution of CH4 signal intensity in each layer over diffusion time, and determine the front position and corresponding diffusion time. S5. Based on Fick's second law, a one-dimensional diffusion concentration distribution relationship is constructed. Similarity variables and residual error functions are introduced to characterize the concentration field, and the diffusion coefficient is inverted from the leading edge position, diffusion time, and leading edge concentration. S6. Input the diffusion coefficients obtained from the inversion under dry core and water-bearing core conditions into the reservoir numerical simulator, update the diffusion parameters and output the CO2-EGR development dynamics.
2. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, S2 includes: The core sample, left and right diffusion chambers, sampling chamber and intermediate container were evacuated. After the vacuum valve was closed, the sample was allowed to stand. The airtightness was checked according to the pressure data. The core sample, which had been washed and dried, was then loaded and the confining pressure was kept higher than the injection pressure. The confining pressure was increased to the set value through the confining pressure boosting valve and heated to the target temperature. After the temperature and confining pressure stabilized, CH4 was slowly injected through the left air inlet valve to the target pressure and continued to saturate the sample, so that the core pores were initially filled with CH4. CO2 is pre-pressurized to a certain value higher than the target pressure to compensate for the pressure loss in the injection pipeline. After the CH4 inlet valve is closed, CO2 is injected at constant pressure through the right inlet valve, so that a CO2-CH4 contact interface is formed at one end of the core and isobaric diffusion is initiated. During the diffusion process, the pressure in the left and right diffusion chambers is kept close to the same to reduce pressure difference convection. The sampling chamber and the measurement chamber are evacuated at set time intervals. Gas samples are collected from the left and right diffusion chambers respectively and sent to the gas chromatograph for analysis. The evolution of the components at both ends over time is recorded.
3. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, In S3, axially layered signals are constructed based on nuclear magnetic resonance response. The mapping relationship of molar concentration is adopted. Calculate the effective signal contribution of each layer, where For the first Layer at diffusion time The amplitude of the nuclear magnetic resonance signal, The overall response coefficient of the NMR acquisition system. For the first Layer porosity, For the first Layer water saturation For the first Layer hydrogen nucleus density, For the first layer molar concentration For echo interval, For the first Layer lateral relaxation time; using Calculate the first Layer axial cumulative signal, where For accumulating semaphores, For the first Layer Individual signal amplitude, For the first Axial thickness of individual pixels The total number of voxels; using Inversely determine the concentration.
4. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, The S4 adopts calculate Location of the diffusion front, among which For diffusion time The leading edge position, The axial length of the core. For axial coordinates, Axial position At the moment of NMR signal, It is a step function. A reference signal for leading edge identification is used; Determine the leading edge diffusion time, among which For the leading edge diffusion time, For the arrival time of the preceding edge, The diffusion initiation time; using Calculate the leading edge concentration, where For the front edge concentration, For the touch interface concentration, For the remainder error function, is the apparent diffusion coefficient.
5. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, S3 includes: The core was scanned using the CPMG sequence to acquire transverse relaxation T2 spectra, obtain the distribution of hydrogen-containing fluid signals of CH4 in the core, and record the echo interval and waiting time parameters. The proton density curve of CH4 along the core axis was obtained by using the one-dimensional frequency-coded GR-HSE sequence. The core axis position was correlated with the signal amplitude to form one-dimensional spatial distribution data. The core was divided into microlayers along the axial direction using SFG-CPMG-MS sequence, and T2 spectra were acquired layer by layer to obtain the CH4 signal intensity and transverse relaxation characteristics of each microlayer. The above scan is repeated according to the diffusion time nodes, and the pressure and temperature are recorded simultaneously. The CH4 signal intensity of each layer is arranged in time to form an axial layered signal evolution dataset.
6. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, The S5 adopts Invert the effective diffusion coefficient, where For the effective diffusion coefficient, Location of the diffusion front. For diffusion time, For the front edge concentration, For the touch interface concentration, The inverse function of the covariance error function; using Perform water content correction, among which The diffusion coefficient of the water-bearing core is... For the correction factor of water phase occupation, Water saturation The water-air viscosity coupling coefficient is... The viscosity of the aqueous phase is... The viscosity is the gas phase viscosity; using Perform temperature and pressure correction, among which For the temperature and pressure correction diffusion coefficient, The experimental temperature, For reference temperature, For experimental pressure, For reference pressure, Temperature index This is a stress index.
7. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, S4 includes: The CH4 signal intensity of each layer at the start of diffusion is selected as the reference value. The attenuation of the signal amplitude of each layer relative to the reference value during diffusion is calculated, and the amplitude change caused by signal redistribution is retained. The gradient of the axial proton density curve along the core axis was calculated to identify the locations of abrupt changes in the signal gradient, and these abrupt changes were correlated with the attenuation locations of the layered T2 spectrum signals. Based on the characteristics of CH4 signal attenuation and shift towards longer relaxation time in each layer, the microlayer where the CO2 diffusion front is located is determined, and the axial coordinate of the microlayer is taken as the position of the front. Record the diffusion time corresponding to the leading edge position to form a leading edge position and diffusion time sequence, and transfer this sequence to the diffusion coefficient inversion stage.
8. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, S1 to S6 are performed on the NMI12-110-PM type in-situ CO2 displacement and storage real-time monitoring large-scale physical simulation device, which includes a high-temperature oil bath circulation system, a fluorinated oil confining pressure tracking system, a high-temperature and high-pressure displacement simulation sampler, a gas pressurization injection system, and a nuclear magnetic resonance radio frequency and gradient coil system. The nuclear magnetic resonance radio frequency and gradient coil system is equipped with CPMG, GR-HSE, and SFG-CPMG-MS sequences. CPMG is used for T2 spectrum acquisition, GR-HSE for axial proton density imaging, and SFG-CPMG-MS for axial layered T2 spectrum acquisition. The software control module sets the axial layer thickness to an equal microlayer of the core length, sets the confining pressure tracking value to be higher than the injection pressure and keeps it constant, and links the high-temperature oil bath circulation speed with the temperature closed loop. The data acquisition module synchronously records pressure, temperature, T2 spectrum, proton density, and layered signals according to the diffusion time node, and discards the heavy water saturation signal in the water-bearing core experiment as a zero-hydrogen signal benchmark.
9. The method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance according to claim 1, characterized in that, S5 includes: A one-dimensional diffusion concentration control equation is established based on Fick's second law. The CO2 concentration inside the core is set to be zero at the diffusion initiation time, and the CO2 concentration at the contact interface is set to be constant and the boundary conditions at the far end are set to be undisturbed. Introducing similar variables transforms the concentration control equation from partial differential form to ordinary differential form, allowing the concentration distribution to be expressed as a function of similar variables; By integrating the ordinary differential equation and substituting the inner and outer boundary conditions, the analytical relationship of CO2 concentration distribution expressed by the residual error function is obtained. Substituting the leading edge position and diffusion time obtained from nuclear magnetic resonance into the analytical relationship of concentration distribution, the effective diffusion coefficient is inverted and corrected based on water saturation, water-to-air viscosity ratio, and temperature and pressure parameters.
10. A core CO2-CH4 diffusion coefficient determination system based on nuclear magnetic resonance, characterized in that, This system is used to implement the method for determining the CO2-CH4 diffusion coefficient of rock cores based on nuclear magnetic resonance as described in claim 1, comprising: The high-temperature and high-pressure core clamping and fluorinated oil confining pressure circulation unit is used to load the core and establish an isobaric diffusion environment with controllable temperature, confining pressure and pore pressure. The gas pressurization injection and isobaric diffusion control unit is connected to the high-temperature and high-pressure core clamping and fluorinated oil confining pressure circulation unit, and is used for CH4 saturation, CO2 pre-pressurization, constant pressure injection and pressure balance of the left and right diffusion chambers. The nuclear magnetic resonance multi-sequence scanning acquisition unit is connected to the high-temperature and high-pressure core clamping and fluorinated oil confining pressure circulation unit to perform CPMG, GR-HSE and SFG-CPMG-MS sequences and acquire T2 spectrum, proton density and axial stratification signal; The axial layered signal analysis and leading edge identification unit is connected to the nuclear magnetic resonance multi-sequence scanning acquisition unit to calculate the attenuation, redistribution, and CO2 diffusion leading edge position of each layer. The diffusion coefficient inversion and water content correction unit is connected to the axial stratification signal analysis and leading edge identification unit. It is used to invert the effective diffusion coefficient based on Fick's second law, similar variables and residual error function and perform water content and temperature and pressure correction. The numerical simulation coupling and development dynamic output unit is connected to the diffusion coefficient inversion and water-bearing correction unit. It is used to input the diffusion coefficients of dry core and water-bearing core into the reservoir numerical simulator and output the CO2-EGR development dynamics.
