A numerical simulation method considering the time-varying seepage of CO2 gas flooding in oil reservoirs

By establishing a reservoir CO2 gas flooding numerical simulation model and updating the residual liquid saturation and relative permeability, the problem of reservoir changes not being captured in the existing technology has been solved, the time-varying simulation of the CO2 gas flooding process has been realized, and the efficiency has been improved. Accuracy of recovery forecasts.

CN118643720BActive Publication Date: 2024-10-22SOUTHWEST PETROLEUM UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411124171.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-10-22
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

Existing reservoir gas injection numerical simulation technologies are mostly based on the constant physical properties of the reservoir, and cannot effectively capture the changes in reservoir structure and fluid distribution during CO2 gas flooding, resulting in simulation results that are inconsistent with actual development conditions and affecting recovery rates. .

Method used

By obtaining the functional relationship between viscosity and residual liquid phase saturation and residual gas phase relative permeability, a reservoir CO2 gas flooding numerical simulation model is established, gridding and initial formation oil viscosity assignment are performed, and the residual liquid phase saturation and residual gas phase relative permeability are updated. permeability, repeat the simulation until the end of the numerical simulation time, and output the cumulative oil production.

Benefits of technology

The time-varying process of the relative permeability of the residual gas phase in the numerical simulation of CO2 gas flooding is realized, the seepage characteristics after CO2 is injected into the formation more realistically, and the reliability and accuracy of the recovery factor prediction are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643720B_ABST
    Figure CN118643720B_ABST
Patent Text Reader

Abstract

The present invention discloses a numerical simulation method considering the time-varying seepage of CO2 gas drive in oil reservoirs, and belongs to the technical field of gas injection development in oil reservoirs. The numerical simulation method comprises the following steps: S1: obtaining a functional relationship 1 between viscosity and residual liquid phase saturation and a functional relationship 2 between viscosity and residual gas phase relative permeability; S2: establishing a numerical simulation model of CO2 gas drive in oil reservoirs, and gridding the oil reservoir and assigning initial formation oil viscosity to each grid unit; S3: performing numerical simulation to obtain the crude oil viscosity of each grid unit in the next time step; S4: determining the residual liquid phase saturation and residual gas phase relative permeability of each grid unit in the next time step; S5: updating the residual liquid phase saturation and residual gas phase relative permeability of the grid unit in the same time step; S6: repeating steps S3-S5 until the numerical simulation time ends, and outputting the cumulative oil production. The present invention can consider the time-varying seepage of CO2 gas drive in oil reservoirs, so that the results of numerical simulation are more in line with actual working conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of oil reservoir gas injection development, and in particular to a method for considering the oil reservoir CO 2 Numerical simulation method for time-varying gas flooding seepage. Background Art

[0002] At present, some domestic oil reservoirs have entered the high water content stage, and it is urgent to explore a means to improve the recovery rate. Gas injection development technology is currently the most promising technology to improve the recovery rate. 2 After entering the formation, it can effectively replenish the formation energy, and for some unconventional oil reservoirs with dense reservoirs, CO 2 It can enter tiny pores and improve the recovery rate of crude oil. Therefore, the use of carbon dioxide flooding technology can achieve the dual goals of increasing oil production and reducing emissions.

[0003] At present, most of the research on numerical simulation technology of reservoir gas injection at home and abroad is based on the situation that reservoir physical properties remain unchanged. 2 During the development process, due to the long-term flushing of injected gas, the macro and micro structures, heterogeneity, fluid composition and fluid distribution of the reservoir have changed to a certain extent compared with the initial development stage. In particular, the main seepage parameters affecting seepage have changed. These parameters have an impact on the distribution of remaining oil, making the changes in reservoir parameters and reservoir flow field more complicated. Therefore, a method is urgently needed to achieve CO2 recovery in oil reservoirs. 2 The time-varying characterization of seepage during the gas drive numerical simulation ensures that the simulation results are consistent with the actual development of the mine. Summary of the invention

[0004] In view of the above problems, the present invention aims to provide a method for 2 Numerical simulation method for time-varying gas flooding seepage.

[0005] The technical solution of the present invention is as follows:

[0006] A method considering reservoir CO 2 The numerical simulation method of time-varying gas drive seepage includes the following steps:

[0007] S1: Obtaining the functional relationship 1 between viscosity and residual liquid phase saturation and the functional relationship 2 between viscosity and residual gas phase relative permeability;

[0008] S2: Establishing Reservoir CO 2 Gas drive numerical simulation model, gridding the reservoir and assigning initial formation oil viscosity to each grid unit;

[0009] S3: Perform numerical simulation to obtain the crude oil viscosity of each grid cell in the next time step;

[0010] S4: determining the residual liquid phase saturation and the residual gas phase relative permeability of each grid cell in the next time step according to the functional relationship 1 and the functional relationship 2;

[0011] S5: Update the reservoir CO according to the calculation result of step S4. 2 The residual liquid saturation and residual gas relative permeability of the grid cells at the same time step in the gas flooding numerical simulation model;

[0012] S6: Repeat steps S3-S5 until the numerical simulation time ends and output CO 2 Cumulative oil production from gas flooding numerical simulation.

[0013] Preferably, step S1 specifically includes the following sub-steps:

[0014] S11: obtaining formation fluid and core of the target oil reservoir, and measuring the original viscosity of the formation fluid;

[0015] S12: saturating the core with formation water to obtain a core saturated with formation water;

[0016] S13: displacing the core saturated with formation water with the formation fluid to establish irreducible water saturation;

[0017] S14: using nitrogen to displace and obtain oil and gas relative permeability curve;

[0018] S15: re-saturating the core with formation water to restore the initial state;

[0019] S16: mixing the formation fluid with different multiples of CO 2 Mixing to obtain a mixed formation fluid, and measuring the viscosity of the mixed formation fluid;

[0020] S17: Repeat steps S13-S15 using the mixed formation fluid to obtain different multiples of CO 2 Oil and gas relative permeability curve under conditions;

[0021] S18: According to the oil-gas relative permeability curve test results of step S14 and step S17, the residual liquid phase saturation and the residual gas phase relative permeability under different crude oil viscosity conditions are obtained;

[0022] S19: Perform regression analysis on the result of step S18 to obtain a first functional relationship between the viscosity and the residual liquid phase saturation and a second functional relationship between the viscosity and the residual gas phase relative permeability.

[0023] Preferably, in step S1, the functional relationship 1 is:

[0024] (1)

[0025] Where: S le is the residual liquid saturation, %; A and B are the correlation coefficients between viscosity and residual liquid saturation, dimensionless; μ x To inject x times CO 2 Viscosity of the post-mixed formation fluid, mPa·s.

[0026] Preferably, in step S1, the second functional relationship is:

[0027] (2)

[0028] Where: K rge is the residual gas phase relative permeability, dimensionless; C and D are the correlation coefficients between viscosity and residual gas phase relative permeability, dimensionless; μ x To inject x times CO 2 Viscosity of the post-mixed formation fluid, mPa·s.

[0029] Preferably, in step S2, the oil reservoir CO 2 The gas drive numerical simulation model includes a numerical simulation motion equation and a numerical simulation seepage equation. The numerical simulation motion equation includes:

[0030] Motion equation for oil phase numerical simulation:

[0031] (3)

[0032] Where: v o is the seepage velocity of the oil phase, cm 3 / s; K is the absolute permeability, D; K ro (S g ) is the gas saturation S g Oil phase relative permeability under the condition, dimensionless; μ o is the oil phase viscosity, mPa·s; p o is the oil phase pressure, 10 -1 MPa; x is the x direction on the coordinate axis; ρ o is the density of the oil phase, g / cm 3 ; g is the acceleration due to gravity, 10 -2 cm / s 2 ; α is the angle between the flow direction and the plane, °;

[0033] Motion equation for gas phase numerical simulation:

[0034] (4)

[0035] Where: v g is the percolation velocity of the gas phase, cm 3 / s; K rg (Sg ) is the gas saturation S g Gas phase relative permeability under conditions, dimensionless; μ g is the gas phase viscosity, mPa·s; p g is the gas phase pressure, 10 -1 MPa; ρ g is the gas phase density, g / cm 3 ;

[0036] Motion equation for numerical simulation of residual gas phase:

[0037] (5)

[0038] Where: v ge is the percolation velocity of the residual gas phase, cm 3 / s; K rge is the residual gas phase relative permeability, dimensionless;

[0039] The numerical simulation seepage equation includes:

[0040] Oil phase numerical simulation seepage equation:

[0041] (6)

[0042] Where: is the Laplace operator; K ro (S o ) is the oil saturation S o Oil phase relative permeability under the condition, dimensionless; μ o (p) is the oil phase viscosity under reservoir pressure p, mPa·s; B o (p) is the oil phase volume coefficient under reservoir pressure p, m 3 / m 3 ; p is the gradient pressure, mPa; is the formation porosity, %; S o is oil saturation, %; t is time, d;

[0043] Gas phase numerical simulation seepage equation:

[0044] (7)

[0045] Where: K rg (S o ) is the oil saturation S o Gas phase relative permeability under conditions, dimensionless; μ g (p) is the gas phase viscosity under reservoir pressure p, mPa·s; B g (p) is the gas phase volume coefficient under reservoir pressure p, m3 / m 3 ; S wc is the bound water saturation, %; R s (p) is the dissolved gas-oil ratio of the gas under reservoir pressure p, m 3 / m 3 ;

[0046] Residual gas phase numerical simulation seepage equation:

[0047] (8)

[0048] Where: S le is the residual liquid phase saturation, %.

[0049] The beneficial effects of the present invention are:

[0050] The present invention can 2 The time-varying process of residual gas phase relative permeability is realized in the gas drive numerical simulation process, which can simulate CO more realistically. 2 Viscosity is used as a bridge to correlate relative permeability. By using the changes in residual gas phase relative permeability and residual liquid phase saturation to characterize the time-varying process of gas drive, the results of predicting recovery are more reliable and reasonable, which can well meet the needs of offshore oil reservoirs for CO 2 Gas drive numerical simulation technology predicts the need for gas drive recovery and provides technical support for offshore oilfield gas drive. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0052] Figure 1 It is a schematic diagram of oil and gas relative permeability curve test results under different formation fluid viscosity conditions in a specific embodiment;

[0053] Figure 2 It is a schematic diagram of residual liquid phase saturation results under different crude oil viscosity conditions in a specific embodiment;

[0054] Figure 3 It is a schematic diagram of the residual gas phase relative permeability results under different crude oil viscosity conditions in a specific embodiment;

[0055] Figure 4 It is a schematic diagram comparing the numerical simulation results of the present invention considering time variation and the prior art not considering time variation in a specific embodiment. DETAILED DESCRIPTION

[0056] The present invention is further described below in conjunction with the accompanying drawings and embodiments. It should be noted that, in the absence of conflict, the embodiments in this application and the technical features in the embodiments can be combined with each other. It should be noted that, unless otherwise specified, all technical and scientific terms used in this application have the same meanings as those generally understood by those of ordinary skill in the art to which this application belongs. The words "including" or "comprising" and the like used in the disclosure of the present invention mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0057] The present invention provides a method for considering oil reservoir CO 2 The numerical simulation method of time-varying gas drive seepage includes the following steps:

[0058] S1: Obtain functional relationship 1 between viscosity and residual liquid phase saturation and functional relationship 2 between viscosity and residual gas phase relative permeability.

[0059] In a specific embodiment, step S1 specifically includes the following sub-steps:

[0060] S11: obtaining formation fluid and core of the target oil reservoir, and measuring the original viscosity of the formation fluid;

[0061] S12: saturating the core with formation water to obtain a core saturated with formation water;

[0062] S13: displacing the core saturated with formation water with the formation fluid to establish irreducible water saturation;

[0063] S14: using nitrogen to displace and obtain oil and gas relative permeability curve;

[0064] S15: re-saturating the core with formation water to restore the initial state;

[0065] S16: mixing the formation fluid with different multiples of CO 2 Mixing to obtain a mixed formation fluid, and measuring the viscosity of the mixed formation fluid;

[0066] S17: Repeat steps S13-S15 using the mixed formation fluid to obtain different multiples of CO 2 Oil and gas relative permeability curve under conditions;

[0067] S18: According to the oil-gas relative permeability curve test results of step S14 and step S17, the residual liquid phase saturation and the residual gas phase relative permeability under different crude oil viscosity conditions are obtained;

[0068] S19: Perform regression analysis on the result of step S18 to obtain a first functional relationship between the viscosity and the residual liquid phase saturation and a second functional relationship between the viscosity and the residual gas phase relative permeability.

[0069] In a specific embodiment, in step S11 and step S16, a fluid viscometer is used to measure the fluid viscosity. It should be noted that viscosity testing is a prior art, and in addition to the method used in this embodiment, other methods in the prior art that can determine fluid viscosity can also be applied to the present invention.

[0070] In a specific embodiment, the functional relationship 1 is:

[0071] (1)

[0072] Where: S le is the residual liquid saturation, %; A and B are the correlation coefficients between viscosity and residual liquid saturation, dimensionless; μ x To inject x times CO 2 viscosity of the post-mixed formation fluid, mPa·s;

[0073] The second functional relationship is:

[0074] (2)

[0075] Where: K rge is the residual gas phase relative permeability, dimensionless; C and D are the correlation coefficients between viscosity and residual gas phase relative permeability, dimensionless; μ x To inject x times CO 2 Viscosity of the post-mixed formation fluid, mPa·s.

[0076] It should be noted that the functional relationship of the above embodiment is only a preferred fitting relationship of the present invention. In addition to the functional relationship of the above embodiment, other fitting formulas that are more consistent with the trend of the regression analysis curve can also be used as the functional relationship.

[0077] S2: Establishing Reservoir CO 2 A gas drive numerical simulation model is built, the reservoir is gridded, and the initial formation oil viscosity is assigned to each grid unit.

[0078] In a specific embodiment, the reservoir CO 2 The gas drive numerical simulation model includes a numerical simulation motion equation and a numerical simulation seepage equation. The numerical simulation motion equation includes:

[0079] Motion equation for oil phase numerical simulation:

[0080] (3)

[0081] Where: v o is the seepage velocity of the oil phase, cm 3 / s; K is the absolute permeability, D; K ro (S g ) is the gas saturation S g Oil phase relative permeability under the condition, dimensionless; μ o is the oil phase viscosity, mPa·s; p o is the oil phase pressure, 10 -1 MPa; x is the x direction on the coordinate axis; ρ o is the density of the oil phase, g / cm 3 ; g is the acceleration due to gravity, 10 -2 cm / s 2 ; α is the angle between the flow direction and the plane, °;

[0082] Motion equation for gas phase numerical simulation:

[0083] (4)

[0084] Where: v g is the percolation velocity of the gas phase, cm 3 / s; K rg (S g ) is the gas saturation S g Gas phase relative permeability under conditions, dimensionless; μ g is the gas phase viscosity, mPa·s; p g is the gas phase pressure, 10 -1 MPa; ρ g is the gas phase density, g / cm 3 ;

[0085] Motion equation for numerical simulation of residual gas phase:

[0086] (5)

[0087] Where: v ge is the percolation velocity of the residual gas phase, cm 3 / s; K rge is the residual gas phase relative permeability, dimensionless;

[0088] The numerical simulation seepage equation includes:

[0089] Oil phase numerical simulation seepage equation:

[0090] (6)

[0091] Where: is the Laplace operator; K ro (S o) is the oil saturation S o Oil phase relative permeability under the condition, dimensionless; μ o (p) is the oil phase viscosity under reservoir pressure p, mPa·s; B o (p) is the oil phase volume coefficient under reservoir pressure p, m 3 / m 3 ; p is the gradient pressure, mPa; is the formation porosity, %; S o is oil saturation, %; t is time, d;

[0092] Gas phase numerical simulation seepage equation:

[0093] (7)

[0094] Where: K rg (S o ) is the oil saturation S o Gas phase relative permeability under conditions, dimensionless; μ g (p) is the gas phase viscosity under reservoir pressure p, mPa·s; B g (p) is the gas phase volume coefficient under reservoir pressure p, m 3 / m 3 ; S wc is the bound water saturation, %; R s (p) is the dissolved gas-oil ratio of the gas under reservoir pressure p, m 3 / m 3 ;

[0095] Residual gas phase numerical simulation seepage equation:

[0096] (8)

[0097] Where: S le is the residual liquid phase saturation, %.

[0098] S3: Perform numerical simulation to obtain the crude oil viscosity of each grid cell in the next time step.

[0099] S4: According to the functional relationship 1 and the functional relationship 2, the residual liquid phase saturation and the residual gas phase relative permeability of each grid unit in the next time step are determined.

[0100] S5: Update the reservoir CO according to the calculation result of step S4. 2 Residual liquid saturation and residual gas relative permeability of grid cells at the same time step in the gas flooding numerical simulation model.

[0101] S6: Repeat steps S3-S5 until the numerical simulation time ends and output CO 2 Cumulative oil production from gas flooding numerical simulation.

[0102] In a specific embodiment, taking a target block as an example, the method of considering the reservoir CO 2 The numerical simulation method of gas flooding seepage time-varying predicts the CO 2 Gas drive effect. The original formation pressure of the target block is 33MPa, the formation temperature is 120℃, the original formation fluid viscosity is 1.8mPa·s, the average reservoir permeability is 9.45md, and the average reservoir porosity is 0.13.

[0103] In this embodiment, the original fluid of the formation is injected with different multiples of CO 2 The measured mixed formation fluid viscosities were 1.48 mPa·s, 0.716 mPa·s, and 0.617 mPa·s, respectively. The test results of the oil and gas relative permeability curves under different formation fluid viscosities are shown in Figure 2. Figure 1 The results of residual liquid saturation and residual gas relative permeability under different crude oil viscosity conditions are shown in Figure 2 and Figure 3 As shown. Figure 2 and Figure 3 The functional relationship between viscosity and residual liquid phase saturation and the functional relationship between viscosity and residual gas phase relative permeability obtained by regression analysis are as follows:

[0104] (9)

[0105] (10)

[0106] The numerical simulation motion equation of the residual gas phase in the numerical simulation process is obtained as follows:

[0107] (11)

[0108] The residual gas phase numerical simulation seepage equation is:

[0109] (12)

[0110] The cumulative oil production obtained at the end of the numerical simulation is shown in Figure 4 In addition, the existing technology (not considering time variation, that is, S le and K rge The numerical simulation is carried out with the result that Figure 4 shown.

[0111] from Figure 4It can be seen that the cumulative oil production of the present invention considering time variation is 3.8% lower than that of the one not considering time variation. The reason is that considering time variation will lead to changes in gas phase relative permeability under residual liquid phase saturation, increase in crude oil viscosity near the wellbore, increase in residual gas phase relative permeability, and improve the gas phase flow capacity of the model when considering time variation, resulting in a faster increase in production gas-oil ratio and serious gas crosstalk, so the cumulative oil production is lower.

[0112] In summary, the present invention can accurately achieve CO 2 During the gas drive simulation process, the time-varying process of the residual liquid phase saturation and the relative permeability of the residual gas phase in the reservoir is analyzed to improve the reservoir prediction accuracy and provide technical support for the time-varying numerical simulation of gas drive in the reservoir. Compared with the prior art, the present invention has significant progress.

[0113] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A numerical simulation method considering the time-varying seepage of CO2 gas drive in oil reservoirs, characterized in that: The following steps are involved: S1: Obtaining a functional relationship 1 between viscosity and residual liquid phase saturation and a functional relationship 2 between viscosity and residual gas phase relative permeability; the functional relationship 1 and the functional relationship 2 are fitting formulas that conform to the trend of the regression analysis curve; S2: Establishing a numerical simulation model of CO2 gas drive in oil reservoirs, gridding the oil reservoirs and assigning initial formation oil viscosity to each grid unit; the numerical simulation model of CO2 gas drive in oil reservoirs includes numerical simulation motion equations and numerical simulation seepage equations, and the numerical simulation motion equations include: Motion equation for oil phase numerical simulation: (3) Where: v o is the seepage velocity of the oil phase, cm 3 / s; K is the absolute permeability, D; K ro (S g ) is the gas saturation S g Oil phase relative permeability under the condition, dimensionless; μ o is the oil phase viscosity, mPa·s; p o is the oil phase pressure, 10 -1 MPa; x is the x direction on the coordinate axis; ρ o is the oil phase density, g / cm 3 ; g is the acceleration due to gravity, 10 -2 cm / s 2 ; α is the angle between the flow direction and the plane, °; Motion equation for gas phase numerical simulation: (4) Where: v g is the percolation velocity of the gas phase, cm 3 / s; K rg (S g ) is the gas saturation S g Gas phase relative permeability under conditions, dimensionless; μ g is the gas phase viscosity, mPa·s; p g is the gas phase pressure, 10 -1 MPa; ρ g is the gas phase density, g / cm 3 ; Motion equation for numerical simulation of residual gas phase: (5) Where: v ge is the percolation velocity of the residual gas phase, cm 3 / s; K rge is the residual gas phase relative permeability, dimensionless; The numerical simulation seepage equation includes: Oil phase numerical simulation seepage equation: (6) Where: is the Laplace operator; K ro (S o ) is the oil saturation S o Oil phase relative permeability under the condition, dimensionless; μ o (p) is the oil phase viscosity under reservoir pressure p, mPa·s; B o (p) is the oil phase volume coefficient under reservoir pressure p, m 3 / m 3 ; p is the gradient pressure, mPa; is the formation porosity, %; S o is oil saturation, %; t is time, d; Gas phase numerical simulation seepage equation: (7) Where: K rg (S o ) is the oil saturation S o Gas phase relative permeability under conditions, dimensionless; μ g (p) is the gas phase viscosity under reservoir pressure p, mPa·s; B g (p) is the gas phase volume coefficient under reservoir pressure p, m 3 / m 3 ; S wc is the bound water saturation, %; R s (p) is the dissolved gas-oil ratio of the gas under reservoir pressure p, m 3 / m 3 ; Residual gas phase numerical simulation seepage equation: (8) Where: S le is the residual liquid saturation, %; S3: Perform numerical simulation to obtain the crude oil viscosity of each grid cell in the next time step; S4: determining the residual liquid phase saturation and the residual gas phase relative permeability of each grid cell in the next time step according to the functional relationship 1 and the functional relationship 2; S5: updating the residual liquid saturation and residual gas relative permeability of the grid cells at the same time step in the CO2 gas flooding numerical simulation model of the oil reservoir according to the calculation result of step S4; S6: Repeat steps S3-S5 until the numerical simulation time ends, and output the cumulative oil production of the CO2 gas drive numerical simulation.

2. The numerical simulation method considering the time-varying seepage of CO2 gas drive in oil reservoirs according to claim 1 is characterized in that: Step S1 specifically includes the following sub-steps: S11: obtaining formation fluid and core of the target oil reservoir, and measuring the original viscosity of the formation fluid; S12: saturating the core with formation water to obtain a core saturated with formation water; S13: displacing the core saturated with formation water with the formation fluid to establish irreducible water saturation; S14: using nitrogen to displace and obtain oil and gas relative permeability curve; S15: re-saturating the core with formation water to restore the initial state; S16: mixing the formation fluid with different multiples of CO2 to obtain a mixed formation fluid, and measuring the viscosity of the mixed formation fluid; S17: Repeat steps S13-S15 using the mixed formation fluid to obtain oil and gas relative permeability curves under different multiples of CO2; S18: According to the oil-gas relative permeability curve test results of step S14 and step S17, the residual liquid phase saturation and the residual gas phase relative permeability under different crude oil viscosity conditions are obtained; S19: Perform regression analysis on the result of step S18 to obtain a first functional relationship between the viscosity and the residual liquid phase saturation and a second functional relationship between the viscosity and the residual gas phase relative permeability.

3. The numerical simulation method considering the time-varying seepage of CO2 gas drive in oil reservoirs according to claim 1 or 2, characterized in that: In step S1, the functional relationship 1 is: (1) Where: S le is the residual liquid saturation, %; A and B are the correlation coefficients between viscosity and residual liquid saturation, dimensionless; μ x is the viscosity of the mixed formation fluid after injecting x times of CO2, mPa·s.

4. The numerical simulation method considering the time-varying seepage of CO2 gas drive in oil reservoirs according to claim 1 or 2, characterized in that: In step S1, the second functional relationship is: (2) Where: K rge is the residual gas phase relative permeability, dimensionless; C and D are the correlation coefficients between viscosity and residual gas phase relative permeability, dimensionless; μ x is the viscosity of the mixed formation fluid after injecting x times of CO2, mPa·s.