Oil-gas two-phase multi-component flow simulation method, device, electronic equipment and medium
Through the oil and gas two-phase multi-component flow simulation method, the fluid flow rate is calculated and the phase balance equation is established, which solves the problem that the influence of phase changes is not considered in the pore network flow simulation, and improves the accuracy of the flow simulation, especially in tight sandstone. in the reservoir.
Patent Information
- Application Number
- CN202010974303.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-09-16
AI Technical Summary
The existing pore network flow simulation model has errors in the calculation of fluid phase state. Especially in tight sandstone reservoirs, the quasi-static flow model ignores viscosity, the dynamic flow model is numerically unstable, and it fails to comprehensively consider the impact of phase state changes. Flow effects.
A two-phase oil and gas multi-component flow simulation method is proposed. By calculating the fluid flow rate and establishing a phase balance equation, the phase state and flow mechanism of the multi-component oil and gas two-phase at the microscopic pore scale are simulated, including determining the flow data at the initial moment. Calculate the fluid flow rate, establish a phase balance equation, repeat the steps until the flow data at all times are calculated, and consider the influence of porous media on the fluid phase state.
It overcomes the shortcoming of traditional models that cannot consider the phase changes of multi-component and multi-phase fluids, provides more accurate oil and gas phase states and flow mechanisms, and improves the accuracy of flow simulation, especially under complex unsteady conditions.
Smart Images

Figure CN114429086B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of oil and gas field development, and more specifically, to an oil and gas two-phase multi-component flow simulation method, device, electronic equipment and medium. Background Art
[0002] It is known that the interaction between fluid molecules and the porous medium surface in porous media causes the fluid phase to be significantly different from that under conventional large-space conditions. Among them, adsorption, capillary force, critical parameter shift and pore size have a direct impact on the phase state calculation results.
[0003] The rock pore structure in real reservoirs is very complex and heterogeneous. The effects of factors such as pore connectivity, pore throat size, and pore throat coordination number on fluid phase behavior are still unclear.
[0004] Current flow models are divided into two categories: quasi-static flow models and dynamic flow models. The main difference between the two is whether the pressure drop caused by viscosity is considered during the simulation process. In tight sandstone reservoirs, the fluid flow velocity is low, and the quasi-static flow model is generally used for simulation.
[0005] The existing pore network flow simulation has the following problems:
[0006] (1) In the quasi-static flow model, the flow is considered to be controlled by capillary forces, and the viscous force is ignored, resulting in larger errors when the flow velocity is fast;
[0007] (2) In the quasi-static flow model, it is assumed that the fluid properties are constant, incompressible, and the multiphase fluids are immiscible;
[0008] (3) For complex unsteady flows, dynamic flow models have strong numerical instability and their application is still a big challenge;
[0009] (4) Currently available quasi-static and dynamic models do not comprehensively consider the impact of phase changes on fluid flow simulation.
[0010] Therefore, it is necessary to develop a method, device, electronic equipment and medium for simulating the two-phase multi-component flow of oil and gas in a pore network.
[0011] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0012] The present invention proposes a method, device, electronic equipment and medium for simulating oil and gas two-phase multi-component flow, which simulates the phase state and flow mechanism of multi-component oil and gas two-phases under microscopic pore scale conditions by considering the influence of porous media on the fluid phase state, providing support for understanding the oil and gas phase state and flow mechanism under microscopic pore scale conditions, and overcoming the problem that traditional pore network models cannot consider the phase changes of multi-component multi-phase fluids.
[0013] In a first aspect, an embodiment of the present disclosure provides an oil-gas two-phase multi-component flow simulation method, comprising:
[0014] Determine the flow data at the initial moment;
[0015] Calculate fluid flow rate;
[0016] Establish phase equilibrium equations;
[0017] Calculating flow data at the next moment according to the fluid flow rate and the phase balance equation;
[0018] Repeat the above steps until the flow data at all times are calculated.
[0019] Preferably, the flow data includes the temperature, pressure and composition corresponding to the moment.
[0020] Preferably, the fluid flow rate includes single-phase fluid flow rate and two-phase fluid flow rate.
[0021] Preferably, the single-phase flow rate is calculated by formula (1):
[0022]
[0023] Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, and Δp represents the pressure difference between the two holes.
[0024] Preferably, the gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2):
[0025]
[0026] Among them, q g is the gas phase fluid flow rate.
[0027] Preferably, the oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3):
[0028]
[0029] Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate.
[0030] Preferably, the composition at the next moment is calculated by formula (4):
[0031]
[0032] Among them, Z i , ΔZ i and Respectively represent the original system, fluid migration and the composition of the new system after mixing, n i and Δn i Represent the molar numbers of each component in the original system and fluid migration respectively.
[0033] As a specific implementation method of the embodiment of the present disclosure,
[0034] In a second aspect, the present disclosure also provides an oil-gas two-phase multi-component flow simulation device, comprising:
[0035] Initialization module, determines the flow data at the initial moment;
[0036] A fluid flow calculation module, for calculating fluid flow;
[0037] Phase equilibrium equation building module, building phase equilibrium equation;
[0038] A calculation module, which calculates the flow data at the next moment according to the fluid flow rate and the phase balance equation;
[0039] The iteration module repeats the above steps until the flow data at all times are calculated.
[0040] Preferably, the flow data includes the temperature, pressure and composition corresponding to the moment.
[0041] Preferably, the fluid flow rate includes single-phase fluid flow rate and two-phase fluid flow rate.
[0042] Preferably, the single-phase flow rate is calculated by formula (1):
[0043]
[0044] Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, and Δp represents the pressure difference between the two holes.
[0045] Preferably, the gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2):
[0046]
[0047] Among them, q g is the gas phase fluid flow rate.
[0048] Preferably, the oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3):
[0049]
[0050] Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate.
[0051] Preferably, the composition at the next moment is calculated by formula (4):
[0052]
[0053] Among them, Z i , ΔZ i and Respectively represent the original system, fluid migration and the composition of the new system after mixing, n i and Δn i Represent the molar numbers of each component in the original system and fluid migration respectively.
[0054] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0055] A memory storing executable instructions;
[0056] A processor runs the executable instructions in the memory to implement the oil-gas two-phase multi-component flow simulation method.
[0057] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the oil-gas two-phase multi-component flow simulation method is implemented.
[0058] The methods and apparatus of the present invention have other features and advantages that will be apparent from, or will be described in detail in, the accompanying drawings and subsequent detailed descriptions incorporated herein, which together serve to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0060] Figure 1a and Figure 1b Schematic diagrams of the pore throat flow model when the gas content is low and high according to an embodiment of the present invention are respectively shown.
[0061] Figure 2a and Figure 2b A schematic diagram of the inlet throat flow velocity distribution and the oil-gas two-phase flow according to an embodiment of the present invention is shown.
[0062] Figure 3 A schematic diagram of a multi-throat Jamin effect according to an embodiment of the present invention is shown.
[0063] Figure 4 A schematic diagram showing the piston flow of throat fluid according to an embodiment of the present invention is shown.
[0064] Figure 5 A flow chart showing the steps of a method for simulating oil-gas two-phase multi-component flow according to an embodiment of the present invention.
[0065] Figure 6 A schematic diagram showing a simulation scheme setup according to an embodiment of the present invention is shown.
[0066] Figure 7 FIG. 4 is a schematic diagram showing the variation of fluid pressure in pores with time according to an embodiment of the present invention.
[0067] Figure 8 A schematic diagram showing the cumulative oil / gas production changing with time according to an embodiment of the present invention is shown.
[0068] Fig. 9 A schematic diagram of a 10×10 pore network model according to an embodiment of the present invention is shown.
[0069] Fig.10 A block diagram of an oil-gas two-phase multi-component flow simulation device according to an embodiment of the present invention is shown.
[0070] Description of reference numerals:
[0071] 201. Initialization module; 202. Fluid flow calculation module; 203. Phase equilibrium equation establishment module; 204. Calculation module; 205. Iteration module. DETAILED DESCRIPTION
[0072] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0073] The present invention provides an oil-gas two-phase multi-component flow simulation method, comprising:
[0074] Determine the flow data at the initial moment;
[0075] Calculate fluid flow rate;
[0076] Establish phase equilibrium equations;
[0077] According to the fluid flow rate and phase balance equation, calculate the flow data at the next moment;
[0078] Repeat the above steps until the flow data at all times are calculated.
[0079] In one example, the flow data includes temperature, pressure, and composition corresponding to the time instant.
[0080] In one example, the fluid flow rate includes a single-phase flow fluid flow rate and a two-phase flow fluid flow rate.
[0081] In one example, the single-phase flow rate is calculated by formula (1):
[0082]
[0083] Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, and Δp represents the pressure difference between the two holes.
[0084] In one example, the gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2):
[0085]
[0086] Among them, q g is the gas phase fluid flow rate.
[0087] In one example, the oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3):
[0088]
[0089] Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate.
[0090] In one example, the composition at the next moment is calculated by formula (4):
[0091]
[0092] Among them, Z i , ΔZ i and Respectively represent the original system, fluid migration and the composition of the new system after mixing, n i and Δn i Represent the molar numbers of each component in the original system and fluid migration respectively.
[0093] Figure 1a and Figure 1b Schematic diagrams of the pore throat flow model when the gas content is low and high according to an embodiment of the present invention are respectively shown.
[0094] Figure 2a and Figure 2b A schematic diagram of the inlet-throat flow velocity distribution according to an embodiment of the present invention is shown.
[0095] Figure 3 A schematic diagram of a multi-throat Jamin effect according to an embodiment of the present invention is shown.
[0096] Figure 4 A schematic diagram showing the piston flow of throat fluid according to an embodiment of the present invention is shown.
[0097] Specifically, the basic assumptions include: (1) there are only two phases, oil and gas, in the entire system, of which the oil phase is the main continuous phase and the interface between the two phases is regarded as a sphere; (2) the pores are regarded as spheres, the throats between the pores are regarded as cylinders, and fluid migration occurs between adjacent pores through the throats; (3) a single pressure system (oil phase pressure) is used, the pressure inside the same pore is equal everywhere, the temperature remains unchanged throughout the process, and the phase changes in the pores are considered; (4) due to the dense reservoir and low fluid flow rate, only laminar flow is considered, and the influence of gravity, stress sensitivity, molecular diffusion and other factors are ignored.
[0098] The model diagram is as follows Figure 1a , Figure 1b As shown in Figure 2, the pores and the throats connected to them together constitute the basic unit of pore-throat flow, in which oil and gas migrate through the throats under the action of the pressure difference between the two pores.
[0099] If there is only single-phase flow of oil phase, Poiseuille's law is used to describe the continuous laminar flow of oil phase:
[0100]
[0101] In the formula, v represents the flow velocity of the liquid cylinder at a radius of r, r t and L represent the throat radius and throat length respectively, μ represents the fluid viscosity, and Δp represents the pressure difference between the two holes.
[0102] At this time, the velocity distribution on the throat section is as follows Figure 2a As shown, it can be seen that the fluid velocity is parabolic distribution, where the velocity at the wall is 0, and the velocity at the throat center r = 0 is the largest.
[0103] Integrating formula (5), we can get the cross-sectional area as A = πr 2 The total flow rate in the throat is given by formula (1).
[0104] It is worth mentioning that due to the long throat, the fluid entering the throat from one end needs a certain migration time to be discharged from the other end of the throat and enter the corresponding pores. This flow delay will cause the non-equilibrium effect of phase change. In actual calculations, it is considered that the throat will discharge the same volume of its own fluid as the inflowing fluid in the same period of time, so as to achieve pressure and material balance.
[0105] When gas phase appears in the pores, the flow changes from single-phase flow to oil-gas two-phase flow. At this time, since the gas phase flows fast and is a non-wetting phase, it is located in the middle of the throat when flowing; conversely, since the oil phase flows slowly and is a wetting phase, it is located on the wall of the throat when flowing.
[0106] In the initial stage of two-phase flow, due to the low gas content, the gas phase flows in the throat in the form of bubbles, such as Figure 1a As shown. Without considering the deformation of the bubble during the flow process, it is assumed that the bubble flows in the center of the throat in an integral form, as shown in Figure 2b As shown. Taking the oil phase flow rate at the center of the throat, the gas phase flow rate is obtained as:
[0107]
[0108] For the convenience of calculation, although the pore pressure is assumed to be equal everywhere in the pore throat model, in the actual depletion development process, the pressure at the outlet where the pore is connected to the throat must be the lowest. Therefore, bubbles will appear at this location first and participate in the flow first.
[0109] When the bubble flow rate is slow, part of the bubbles in the pore will flow into the throat within the time Δt, which can be calculated using the spherical volume formula, and the remaining bubbles will remain in the pore. If the bubble flow rate is fast, all the bubbles in the pore will flow into the throat within the time Δt, and some oil phase may also be carried with them. At this time, the gas phase is the dispersed phase and the oil phase is the continuous phase. Due to the fast bubble flow rate, the oil phase in front and behind is pushed and carried. Here, it is considered that under the action of the gas phase, the migration speed of the oil phase in the same layer as the bubble is consistent with the gas phase. Then the gas phase fluid flow rate of the two-phase flow fluid is formula (2), and the oil phase fluid flow rate is formula (3).
[0110] like Figure 2b As shown, at this time, the liquid phase flow near the wall still follows Poiseuille's law, so there is
[0111]
[0112] When the gas content is high, the gas no longer flows in the form of bubbles, but converges into a continuous gas flow from the pores to the throat, e.g. Figure 1b As shown in the figure, when the gas content gradually increases, the area occupied by the gas phase in the throat section gradually increases. However, considering that the pores and throat shapes of real rocks are irregular, the gas phase cannot completely occupy or block the throat. To simplify the calculation, a critical radius r is assumed here. c , which represents the maximum throat radius that the gas phase can occupy.
[0113] r c =δr t (8)
[0114] Where δ represents the ratio of the critical radius to the throat radius.
[0115] At this time, there is an additional resistance in the gas phase under the action of capillary force, which is called Jamin's effect and is calculated using the Laplace equation:
[0116]
[0117] In the formula, σ represents the interfacial tension between oil and gas phases, r g2 The radius of the gas phase sphere in the pore can be expressed by the pore volume fraction occupied by the gas phase:
[0118]
[0119] In the formula, r p represents the radius of the spherical pore, S g Indicates the gas saturation in the pore.
[0120] The gas phase can only enter the throat and participate in the flow if it overcomes the capillary force (Δp>Δpc ), the gas flow rate at this time is:
[0121]
[0122] After obtaining the gas flow rate, the subsequent calculation method refers to equations (2), (3), and (7).
[0123] When the Jamin effect occurs between pores and throats, the special case where a pore contains multiple throats should be considered, such as Figure 3 shown.
[0124] at this time, Figure 3 The reflected pressure distribution is: p2>p1>p4>p3. It should be noted that if p4<p3 before the gas phase appears in the pore, then the bubble will appear in the throat where p4 is located. Once the bubble appears in the pore, the material exchange of each component between the oil and gas phases will occur at the interface of the bubble, causing the bubble to increase or decrease. Therefore, the situation where multiple bubbles appear in the same pore is not considered. Once the Jamin effect shown in the figure appears, as long as the pressure drop direction between the pores does not change (p1>p3), the bubble will always be blocked at the throat and will not move inside the pore.
[0125] The pores in the entire pore network model are treated as independent nodes of the pressure system, and the oil and gas fluids flow under the action of different pore pressure differences. The fluid throat flows out or flows into the pores, causing the pressure to change accordingly.
[0126] According to the principle of conservation of matter, the amount of matter of each component in each pore is conserved:
[0127]
[0128] In the formula, qm i It represents the molar flow rate of each component injected into and produced from the pore; and It represents the number of moles of each component in the pore in two consecutive time steps, with a time step length of Δt.
[0129] The molar flow rate of each component can be calculated using the volume flow rate of the oil and gas phases:
[0130] qm i =ρ mo q o ·x i +ρ mg q g ·y i (13)
[0131] ρ in the formula mo and ρ mg Respectively represent the molar density of oil and gas phases; xi and i Respectively represent the mole fraction of each component in the oil and gas phases. These phase parameters can be obtained by flash evaporation calculation. The volume flow rate of the oil and gas phases is calculated according to the flow equation described in the previous section.
[0132] For each pore, the following equation needs to be satisfied to ensure self-consistency:
[0133]
[0134] V in the formula p represents the volume of the pore; n o and n g Respectively represent the molar numbers of oil and gas phases:
[0135] Formulas (12)-(14) are the phase equilibrium equations.
[0136] There may be multiple throats connected to the same pore, but a throat is only connected to two pores. A simplified model of throat flow is established as follows: Figure 4 shown.
[0137] like Figure 4 As shown, assuming that the volume of a certain throat section is V t At a certain moment, the internal fluid is composed of imax parts, each of which represents the fluid flowing into the throat at different time steps. At this time:
[0138] V 1 +V 2 +...+V imax =V t (15)
[0139] In addition to the volume attribute, each part of the fluid also carries its own saturation attribute (oil saturation S o and gas saturation S g ), the amount of substance (the number of moles of oil and gas in the two phases n), the fluid composition properties (Z i )etc.
[0140] The total volume of oil and gas phases entering the throat from the pores within the time Δt is V + At this time, the corresponding discharge volume at the throat outlet is V + The fluid forms a flow characteristic similar to displacement. Take it parts of the fluid near the outlet:
[0141] V 1 +V 2 +...+f·V it =V + (16)
[0142] Where f represents the proportion taken for the it-th partial fluid.
[0143] At this point, the total volume of the fluid in the throat remains unchanged, but the composition of the fluid has changed: the fluid flowing in from the inlet becomes the imax-th part, and the original 1~it-th part of the fluid near the outlet flows out. Among them, part of the original it-th section of fluid is discharged, and the remaining part ((1-f)·V it ) as the first segment fluid at the outlet of the next time step.
[0144] In addition, in order to ensure the accuracy of numerical calculation, the volume of fluid discharged into the throat within the time Δt is required to be less than the total volume of the throat, that is: V + <V t .
[0145] When defining the pore network model, special treatment is given to the pores located on the rock surface (production end). The same number of surface throats as these surface pores is defined to connect them to the rock external pressure system. Calculations are then performed based on the flow in the throats.
[0146] The parameters that need to be obtained through phase equilibrium calculation in the pore-throat flow model are: oil and gas two-phase viscosity μ o and μ g , the pore volume occupied by the oil phase S o , oil-gas interfacial tension σ.
[0147] Under the action of the pressure difference between pores, a pressure gradient is generated along the throat. The fluid pressure at different positions in the throat is different, and the fluid flows under the pressure difference, which makes the phase change in the throat very complicated and difficult to calculate accurately. Considering that the volume occupied by the throat is smaller than the pore volume, the proportion of the fluid in the throat to the total fluid volume is small, so the phase equilibrium calculation of the fluid in the throat is not performed.
[0148] Formula (4) is used to calculate the changes in the components in the system caused by the fluid in the pores during migration. The temperature is generally a constant temperature process, keeping the initial temperature unchanged; the equilibrium pressure at the next moment is calculated based on the coupling of the flow equation and the phase equilibrium equation.
[0149] The steps of the present invention are:
[0150] Determine the flow data at the initial moment;
[0151] The single-phase fluid flow rate is calculated by formula (1), the gas phase fluid flow rate of the two-phase fluid flow rate is calculated by formula (2), and the oil phase fluid flow rate of the two-phase fluid flow rate is calculated by formulas (3) and (7);
[0152] The phase equilibrium equation is established by equations (12)-(14);
[0153] According to the fluid flow rate and the phase equilibrium equation, the flow data at the next moment is calculated, including the components at the next moment are calculated by formula (4);
[0154] Repeat the above steps until the flow data at all times are calculated.
[0155] The present invention also provides an oil-gas two-phase multi-component flow simulation device, comprising:
[0156] Initialization module, determines the flow data at the initial moment;
[0157] A fluid flow calculation module, for calculating fluid flow;
[0158] Phase equilibrium equation building module, building phase equilibrium equation;
[0159] The calculation module calculates the flow data at the next moment according to the fluid flow and phase balance equation;
[0160] The iteration module repeats the above steps until the flow data at all times are calculated.
[0161] In one example, the flow data includes temperature, pressure, and composition corresponding to the time instant.
[0162] In one example, the fluid flow rate includes a single-phase flow fluid flow rate and a two-phase flow fluid flow rate.
[0163] In one example, the single-phase flow rate is calculated by formula (1):
[0164]
[0165] Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, and Δp represents the pressure difference between the two holes.
[0166] In one example, the gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2):
[0167]
[0168] Among them, q g is the gas phase fluid flow rate.
[0169] In one example, the oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3):
[0170]
[0171] Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate.
[0172] In one example, the composition at the next moment is calculated by formula (4):
[0173]
[0174] Among them, Z i , ΔZ i and Respectively represent the original system, fluid migration and the composition of the new system after mixing, n i and Δn i Represent the molar numbers of each component in the original system and fluid migration respectively.
[0175] Specifically, determining the flow data at the initial moment;
[0176] The single-phase fluid flow rate is calculated by formula (1), the gas phase fluid flow rate of the two-phase fluid flow rate is calculated by formula (2), and the oil phase fluid flow rate of the two-phase fluid flow rate is calculated by formulas (3) and (7);
[0177] The phase equilibrium equation is established by equations (12)-(14);
[0178] According to the fluid flow rate and the phase equilibrium equation, the flow data at the next moment is calculated, including the components at the next moment are calculated by formula (4);
[0179] Repeat the above steps until the flow data at all times are calculated.
[0180] The present invention also provides an electronic device, which includes: a memory storing executable instructions; and a processor, which runs the executable instructions in the memory to implement the above-mentioned oil-gas two-phase multi-component flow simulation method.
[0181] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned oil-gas two-phase multi-component flow simulation method is implemented.
[0182] To facilitate understanding of the solutions and effects of the embodiments of the present invention, four specific application examples are given below. Those skilled in the art should understand that the examples are only for facilitating understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.
[0183] Example 1
[0184] Figure 5 A flow chart showing the steps of a method for simulating oil-gas two-phase multi-component flow according to an embodiment of the present invention.
[0185] like Figure 5 As shown, the oil-gas two-phase multi-component flow simulation method includes: step 101, determining the flow data at the initial moment; step 102, calculating the fluid flow rate; step 103, establishing the phase equilibrium equation; step 104, calculating the flow data at the next moment according to the fluid flow rate and the phase equilibrium equation; step 105, repeating the above steps until the flow data at all moments are calculated.
[0186] Figure 6 A schematic diagram showing a simulation scheme setup according to an embodiment of the present invention is shown.
[0187] Based on the results of the HH oilfield crude oil PVT phase state experiment, i.e. the HH oilfield crude oil components in Table 1, the HH crude oil phase equilibrium calculation model is established. And three pore radius comparison models are set, such as Figure 6 As shown, the effects of different pore size distributions and combinations on oil and gas flow characteristics are simulated and compared. (Pressure difference = 10 kPa, throat radius 20 nm, length 500 nm)
[0188] Table 1
[0189]
[0190]
[0191] Figure 7 FIG. 4 is a schematic diagram showing the variation of fluid pressure in pores with time according to an embodiment of the present invention.
[0192] Figure 8 A schematic diagram showing the cumulative oil / gas production changing with time according to an embodiment of the present invention is shown.
[0193] according to Figure 7-8 , we can conclude that: (1) when the average pore radius is equal, different pore size distribution patterns have an impact on fluid flow; (2) when the pore size distribution is the same, the influence of fluid flow direction cannot be ignored; (3) the greater the difference between the pore radius and the throat radius, the more likely the "Jamien effect" will occur.
[0194] Fig. 9 A schematic diagram of a 10×10 pore network model according to an embodiment of the present invention is shown.
[0195] A CO2 flooding simulation was performed on a regular pore network model with 10×10 pore units: single injection and single production. The pore radius is 100nm, the throat length is 500nm, and the width is 30nm. The model can simulate gas injection displacement of a simple pore network, and also realizes the visualization function of pore network pressure, saturation distribution and flow direction during the simulation process.
[0196] Example 2
[0197] Figure 3 A block diagram of an oil-gas two-phase multi-component flow simulation device according to an embodiment of the present invention is shown.
[0198] like Figure 3 As shown, the oil-gas two-phase multi-component flow simulation device comprises:
[0199] Initialization module, determines the flow data at the initial moment;
[0200] A fluid flow calculation module, for calculating fluid flow;
[0201] Phase equilibrium equation building module, building phase equilibrium equation;
[0202] The calculation module calculates the flow data at the next moment according to the fluid flow and phase balance equation;
[0203] The iteration module repeats the above steps until the flow data at all times are calculated.
[0204] As an option, the flow data includes the temperature, pressure and composition corresponding to the moment.
[0205] As an option, the fluid flow rate includes single-phase flow fluid flow rate and two-phase flow fluid flow rate.
[0206] As an alternative, the single-phase flow rate can be calculated using formula (1):
[0207]
[0208] Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, and Δp represents the pressure difference between the two holes.
[0209] As an alternative, the gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2):
[0210]
[0211] Among them, q g is the gas phase fluid flow rate.
[0212] As an alternative, the oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3):
[0213]
[0214] Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate.
[0215] As an alternative, the composition at the next moment is calculated by formula (4):
[0216]
[0217] Among them, Z i , ΔZ i and Respectively represent the original system, fluid migration and the composition of the new system after mixing, n i and Δn i Represent the molar numbers of each component in the original system and fluid migration respectively.
[0218] Example 3
[0219] The present disclosure provides an electronic device, which includes: a memory storing executable instructions; a processor, which runs the executable instructions in the memory to implement the above-mentioned oil-gas two-phase multi-component flow simulation method.
[0220] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.
[0221] The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc.
[0222] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory.
[0223] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.
[0224] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.
[0225] Example 4
[0226] An embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, which implements the oil-gas two-phase multi-component flow simulation method when executed by a processor.
[0227] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the method of each embodiment of the present disclosure are executed.
[0228] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).
[0229] Those skilled in the art should understand that the purpose of the above description of the embodiments of the present invention is only to exemplarily illustrate the beneficial effects of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to any given examples.
[0230] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A method for simulating oil and gas two-phase multi-component flow, It is characterized in that include: Determine the flow data at the initial moment; wherein the flow data includes the temperature, pressure and composition corresponding to the moment; Calculate the fluid flow rate; wherein the fluid flow rate includes the single-phase flow fluid flow rate and the two-phase flow fluid flow rate; wherein the single-phase flow fluid flow rate is calculated by formula (1): Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, Δp represents the pressure difference between the two holes, and the cross-sectional area A=πr 2 ; The gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2): Among them, q g is the gas phase fluid flow rate, v g is the gas phase flow velocity, Δt is the time step; The oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3): Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate; Establish the phase equilibrium equation; according to the principle of conservation of matter, the amount of matter of each component in each pore is conserved: In the formula, qm i It represents the molar flow rate of each component injected into and produced from the pore; and represents the number of moles of each component in the pore in two consecutive time steps; The molar flow rate of each component is calculated using the volume flow rate of the oil and gas phases: qm i =ρ mo q o ·x i +ρ mg q g ·y i (13) ρ in the formula mo and ρ mg Respectively represent the molar density of oil and gas phases; x i and i They represent the mole fraction of each component in the oil and gas phases, respectively. These phase parameters are obtained by flash evaporation calculation; For each pore, the following equation needs to be satisfied to ensure self-consistency: V in the formula p represents the volume of the pore; n o and n g Respectively represent the molar numbers of oil and gas phases: Formulas (12)-(14) are the phase equilibrium equations; Calculating flow data at the next moment according to the fluid flow rate and the phase balance equation; The components at the next moment are calculated by formula (4): Among them, Z i , ΔZ i and Respectively represent the composition of the original system, fluid migration and the new system after mixing, n i and Δn i Represent the molar number of each component in the original system and fluid migration respectively; Repeat the above steps until the flow data at all times are calculated.
2. An oil-gas two-phase multi-component flow simulation device, It is characterized in that include: An initialization module determines the flow data at an initial moment; wherein the flow data includes the temperature, pressure and composition corresponding to the moment; The fluid flow calculation module calculates the fluid flow; wherein the fluid flow includes the single-phase flow fluid flow and the two-phase flow fluid flow; wherein the single-phase flow fluid flow is calculated by formula (1): Among them, q o is the oil phase fluid flow rate, v o represents the oil phase flow velocity of the liquid cylinder at radius r, r t and L represent the throat radius and throat length respectively, μ o represents the viscosity of the oil phase fluid, Δp represents the pressure difference between the two holes, and the cross-sectional area A=πr 2 ; The gas phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (2): Among them, q g is the gas phase fluid flow rate, v g is the gas phase flow velocity, Δt is the time step; The oil phase fluid flow rate of the two-phase flow fluid flow rate is calculated by formula (3): Among them, q o1 is the oil phase fluid flow rate of the two-phase flow fluid flow rate; Phase equilibrium equation establishment module, establishes the phase equilibrium equation; according to the principle of conservation of matter, the amount of matter of each component in each pore is conserved: In the formula, qm i It represents the molar flow rate of each component injected into and produced from the pore; and represents the number of moles of each component in the pore in two consecutive time steps, with a time step length of Δt; The molar flow rate of each component is calculated using the volume flow rate of the oil and gas phases: qm i =ρ mo q o ·x i +ρ mg q g ·y i (13) ρ in the formula mo and ρ mg Respectively represent the molar density of oil and gas phases; x i and i They represent the mole fraction of each component in the oil and gas phases, respectively. These phase parameters are obtained by flash evaporation calculation; For each pore, the following equation needs to be satisfied to ensure self-consistency: V in the formula p represents the volume of the pore; n o and n g Respectively represent the molar numbers of oil and gas phases: Formulas (12)-(14) are the phase equilibrium equations; A calculation module, which calculates the flow data at the next moment according to the fluid flow rate and the phase balance equation; The components at the next moment are calculated by formula (4): Among them, Z i , ΔZ i and Respectively represent the composition of the original system, fluid migration and the new system after mixing, n i and Δn i Represent the molar number of each component in the original system and fluid migration respectively; The iteration module repeats the above steps until the flow data at all times are calculated.
3. An electronic device, It is characterized in that The electronic device comprises: A memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the oil-gas two-phase multi-component flow simulation method according to claim 1.
4. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the oil-gas two-phase multi-component flow simulation method according to claim 1 is implemented.
Citation Information
Patent Citations
Method and device for simulating black oil reservoir
CN106294282A
Interface-phase-considered supercritical CO2-condensate gas multiphase seepage simulation method
CN110298048A
