Method for quickly simulating micro oil-water movement and water flow path of porous medium

By establishing a pore throat network physical model and a weighted directed graph on the microscopic pore throat scale, using machine learning methods to predict the water flow path and residual oil type distribution, the problems of large calculation volume and low efficiency in the existing technology are solved, and the problem of Fast and fine water flow paths and residual oil distribution prediction have improved the engineering application capabilities of pore throat scale research.

CN118981973AActive Publication Date: 2024-11-19CHINA UNIV OF GEOSCIENCES (BEIJING) +1

Patent Information

Application Number
CN202410997800.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-19
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The prior art has large amounts of prediction and calculation of water flow paths and residual oil distribution on the microporous pore size scale, and is inefficient, so it is impossible to finely characterize the complex residual oil types and distribution states, which limits the development of pore and throat scale research in engineering applications.

Method used

Using microscopic oil-water motion and water flow path rapid simulation method of porous media, the pore throat network physical model is produced, image binarization is carried out, weighted directed graph is established, and the throat weight model and residual oil type saturation are established using machine learning method. Prediction model and pore throat position prediction model, reconstructing water flow path and residual oil type distribution.

Benefits of technology

The calculation speed is improved, the model size is larger, the representativeness is stronger, the prediction results are more realistic and credible, and the water flow path and residual oil type distribution can be quickly obtained, providing the possibility of upgrading for pore throat scale research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981973A_ABST
    Figure CN118981973A_ABST
Patent Text Reader

Abstract

The invention discloses a porous medium microscopic oil-water movement and water flow path rapid simulation method. The method comprises the following steps that a weight model and a remaining oil type saturation and position prediction model are obtained based on an experiment and machine learning method; segmenting the provided pore-throat structure image into pores and a throat; calculating a path weight according to the pore throat attribute and the prediction model; constructing a weighted directed graph of the pore throat topological structure; calculating key data such as a path for communicating the entrance and the exit and a weighted length based on a shortest algorithm; a weighted length threshold value is calculated according to the target recovery ratio, and a water flow path is determined; and obtaining the distribution result of each type of remaining oil in the model based on the remaining oil type saturation and position prediction model. Based on the seepage experiment and the graph theory, the technical thought conforms to the seepage law, the physical meaning is clear, and the result simulation degree is high; a large amount of calculation of traditional iterative numerical solution is eliminated, the prediction speed is improved by thousands of times or more, and engineering-level application of micro-scale research becomes possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of simulation computing technology, and in particular to a method for rapidly simulating microscopic oil-water movement and water flow paths in porous media. Background Art

[0002] As reservoir development enters the later stage, the remaining oil distributed on a macro scale decreases and gradually becomes highly dispersed. Studying the remaining oil distribution problem only at the macro level can no longer meet on-site needs. Therefore, it is necessary to further study the water flow path and the remaining oil occurrence status at the micro pore throat scale to assist in formulating potential tapping measures at this stage.

[0003] Currently, descriptions or predictions of oil-water distribution at the microscopic pore scale are primarily achieved through three methods. The first is physical experimentation, which involves conducting specific water-displacement experiments, observing experimental results, and performing quantitative calculations. The second is the ball-and-stick pore-throat network model, which simplifies the complex microscopic pore network into an idealized ball-and-stick model and performs numerical simulations based on this model. The third is the numerical simulation of two-phase flow within complex microscopic pore-throat network models. Commonly used methods include the lattice Boltzmann method, dissipative particle dynamics, the level set method, and direct solutions to the Navier-Stokes equations.

[0004] The above three methods are suitable for describing oil-water distribution under different conditions, but they all have corresponding shortcomings in specific applications. For the physical simulation experimental method, since it is conducted through actual water-displacement oil experiments, the microscopic pore throat model needs to be replaced for each experiment, which is extremely costly to carry out on a large scale. For the ball-and-stick pore throat network model, it provides an idealized model that abstracts the actual pore structure into an "equivalent" ball-and-stick network model, but it ignores the many complexities of real rocks. For the seepage simulation of complex pore throat network models, due to the limited hardware computing capabilities, it can only be used for small models. Since both of the above methods rely on numerical solutions, they require a lot of calculations during the experiment and are very slow.

[0005] In summary, physical simulation methods produce realistic and precise results, with larger model sizes and better reservoir representation, but they are also expensive. Numerical simulation methods offer low cost and convenient quantitative analysis, but they are computationally intensive and inefficient. Furthermore, they suffer from small model sizes, poor reservoir representation, and difficulty simulating microscopic residual oil types. Consequently, in practical applications, conclusions and methods related to microscopic pore-throat-scale flow paths and residual oil are difficult to effectively connect with macroscopic models, significantly limiting the further development of pore-throat-scale residual oil research in engineering applications. Furthermore, previous numerical simulation algorithms often only reveal the extent of flow paths and the distribution of clustered residual oil, and their numerical simulation results cannot be verified in accordance with the degree of recovery.

[0006] At present, there is a need for a method to predict water flow paths and residual oil distribution at the microscopic pore throat scale, which has a large model size, fast calculation and prediction speed, and conforms to the physical laws of oil-water flow in porous media. This method will lay the foundation for the research and scale upgrading of residual oil at the microscopic pore throat scale, and provide a feasible solution for the development of its application in macroscopic engineering. Summary of the Invention

[0007] The purpose of the present invention is to provide a method for rapid simulation of microscopic oil-water movement and water flow paths in porous media, so as to solve the technical difficulties of existing prediction methods, such as large computational complexity, low efficiency, small model, and inability to accurately characterize complex residual oil types and occurrence states.

[0008] The present invention provides a method for rapidly simulating microscopic oil-water movement and water flow paths in porous media, comprising the following steps:

[0009] Producing a pore-throat network physical model with different physical properties, and conducting an oil displacement simulation experiment under different injection parameters after saturating the pore-throat network physical model with oil to collect experimental data;

[0010] The experimental data were subjected to image binarization processing, and the pore-throat network physical model containing the pore-throat structure was converted into a digital pore-throat structure data volume containing connection relationships and pore-throat attribute parameters;

[0011] A weighted directed graph of the pore-throat network physical model was established, and a throat weight model ρ and a remaining oil type saturation prediction model S were established using machine learning methods. roi and the remaining oil type pore throat location prediction model Z;

[0012] Set the recovery factor α and the saturation prediction model S according to the remaining oil type roi Back-calculate the flow path swept area S way , determine the weighted length threshold L threshold , get the water flow path;

[0013] Reconstruct the remaining oil type on the water flow path, and within the range of the water flow path, predict the remaining oil type saturation according to the remaining oil type saturation prediction model S roi And the remaining oil type pore throat position prediction model Z is used to reconstruct the saturation and occurrence location of each type of remaining oil within the water flow path.

[0014] Furthermore, the pore throat property parameters include equivalent pore radius, equivalent throat radius, coordination number, pore throat ratio, shape factor, relative throat radius, tortuosity, and wettability.

[0015] Furthermore, the method for constructing a weighted directed graph is:

[0016] Abstract the pores and throats into points and lines and number them;

[0017] When calculating the pore throat connectivity, an adjacency matrix is ​​established. If the pore body numbered i is adjacent to the pore body numbered j, then the element a in the i-th row and j-th column of the adjacency matrix is ij =1, otherwise a ij =0, an unweighted directed graph is obtained based on the adjacency matrix;

[0018] Based on the attribute parameters of the throats between adjacent pores, the weight of each throat is calculated according to the throat weight model ρ, and a weight matrix is ​​established. Combined with the adjacency matrix, a weighted directed graph is obtained.

[0019] Furthermore, the specific method for establishing the throat weight model ρ is:

[0020] The weight of the water flow path is proportional to the flow resistance of the water flow path, so the throat weight model ρ is calculated as follows:

[0021]

[0022] Where: τ is the tortuosity of the throat, is the equivalent radius of the throat, l is the length of the throat, and λ is the adjustment coefficient.

[0023] Furthermore, the adjustment coefficient λ is determined as follows:

[0024] Define the fluid inlet and fluid outlet of the pore-throat network physical model, apply the Dijkstra shortest path algorithm to the weighted directed graph, calculate the shortest weighted path pore-throat sequence from the fluid inlet to the fluid outlet and number them in sequence s0 and weighted path length L0, the next shortest weighted path pore-throat sequence s1 and weighted path length L1, ..., until the longest weighted path pore-throat sequence s can be calculated. n and weighted path length L n , and arrange them in ascending order according to the weighted path length, and obtain the path set s from the fluid inlet to the fluid outlet = {s0,s1,s2,...,s n}, and the corresponding weighted path length L={L0,L1,L2,...,L n};

[0025] According to the pore throat numbers and corresponding pore throat attribute parameters in the path set, the percentage of the pore throat coverage area on each path to the total pore throat area is calculated, and the area set PA = {PA0, PA1, PA2, ..., PA n}; where the sum of the area percentages of all pores and pore throats is 1;

[0026] Set a weighted path cutoff value L threshold , we get [L0,L threshold ] The pore and throat numbers of all paths within the interval, and the percentage of the path coverage area to the total pore and throat area Sthreshold , at this time L threshold With S threshold There is a one-to-one correspondence;

[0027] Calculate the displacement fluid sweep percentage S for different experiments lab , and the affected pore throat set PR lab ;

[0028] Let S threshold =S lab , determine L threshold , we get [L0,L threshold The set of pores and throats contained in all paths within the range PR threshold ;

[0029] Assume that the set of overlapping pore throats is PR and calculate the difference function between the two:

[0030]

[0031] In the formula, the “·” above the symbol represents the area of ​​the pore throat with that number;

[0032] The minimum M value is used as the objective function to train the machine learning method to optimize the adjustment coefficient λ.

[0033] Furthermore, a remaining oil type saturation prediction model S roi The specific method is:

[0034] Define the residual oil type based on the residual oil location and form;

[0035] The functional relationship between the remaining oil type saturation and the recovery factor is set as:

[0036] S ro-i =a·α 4 +b·α 3 +c·α 2 +d·α 1 +e;

[0037] Where a, b, c, d, e are unknown coefficients, α is the recovery factor, S ro-i is the saturation of the residual oil type, i represents the residual oil type;

[0038] Calculate the remaining oil saturation S of various types at different recovery rates under stable conditions in different experiments roi_lab ;

[0039] Through machine learning method training to adjust the coefficients a, b, c, d, e, the experimental results S roi_lab and the predicted result S roi The difference between the values ​​is the smallest, and the remaining oil type saturation prediction model S is obtained. roi .

[0040] Furthermore, the specific method for establishing the prediction model Z of the pore throat position of the remaining oil type within the sweep range of the water flow path is as follows:

[0041] definition:

[0042]

[0043] Where:

[0044] θ is the angle between the throat axis and the displacement pressure direction, τ is the tortuosity of the throat, r is the relative throat radius, d T1 is the shortest distance between the throat and the displacement inlet, d T2 The shortest distance from the throat to the displacement outlet;

[0045] R is the pore throat ratio of the pore body, G is the shape factor of the pore body, d B1 is the shortest distance between the pore and the displacement entrance, d B2 The shortest distance between the pore body and the displacement outlet;

[0046] γ1 and γ2 are weight exponents.

[0047] Furthermore, the weight exponents γ1 and γ2 are determined as follows:

[0048] According to different experiments, the locations of various types of residual oil in pores and throats are analyzed;

[0049] Set the throat judgment parameter to R CO , the pore determination parameter is P MPO ;

[0050] The P values ​​of these pores and throats are calculated based on the pore throat position prediction model Z of the remaining oil type. CO_ro and P MPO_ro ;

[0051] According to the remaining oil type, the pore throat location prediction model Z is used to calculate the P of all pores and throats within the displacement range of the model. CO_L and P MPO_L , and sort from largest to smallest;

[0052] P CO_L and P MPO_L The maximum value of the first column and P CO_ro and P MPO_ro The minimum error is used as the objective function to train the machine learning method to optimize the adjustment of weight exponents γ1 and γ2.

[0053] Furthermore, based on the construction of the water flow path, the method for reconstructing the residual oil type is as follows:

[0054] Definition of location according to residual oil classification:

[0055] The residual oil outside the water flow path is judged as continuous residual oil;

[0056] The residual oil in the water flow path is classified into columnar residual oil and porous residual oil.

[0057] Furthermore, the method for reconstructing the saturation and occurrence location of various types of remaining oil within the water flow path is as follows:

[0058] The specific method of adding columnar residual oil and porous residual oil to the water flow path range map is as follows:

[0059] Screen all throats and orifices within the water flow path;

[0060] Calculate R for each throat CO Calculate P for each hole MPO , and according to the calculation results, the R of all throats within the water flow path is calculated. CO and P of all pores MPO Sort and construct vector R way and vector P way ;

[0061] in:

[0062] In R CO Add columnar residual oil in the largest throat, MPO Add porous residual oil into the largest pores;

[0063] The amount of columnar residual oil and porous residual oil added is based on the vector R way and vector P way , fill the corresponding pore throats with columnar remaining oil and porous remaining oil from large to small until each type of remaining oil is reached through the remaining oil type saturation prediction model S roi Calculated saturation.

[0064] Compared with the prior art, the present invention has the following beneficial effects:

[0065] First, the calculation speed is fast. Based on graph theory, the present invention quickly obtains the range of the water flow path, connects the sheet-like residual oil according to the water flow path, and further adds columnar residual oil and porous residual oil within the water flow path through R_CO and P_MPO. The calculation process is mainly forward calculation. Compared with traditional numerical simulation methods, there is no iterative solution process, which greatly speeds up the calculation speed.

[0066] Second, the model is more realistic and detailed, with a larger scale and stronger representativeness. Due to the large computational complexity, traditional numerical simulation methods often modify pore-throat network models. For example, pore-throat network models are simplified to ball-and-stick models, which lose many pore-throat attribute characteristics during the simulation process, making the simulation results difficult to interpret. Alternatively, the model size is compressed, and simulations are performed on a small number of pore-throat models, resulting in information loss at different scales, hindering the cross-scale application of parameters. The new method changes the simulation approach and greatly improves the computational speed. Under this premise, it can obtain water flow paths and residual oil type distribution results for complex, detailed, large-scale pore-throat network models in a relatively short time, opening up the possibility of upscaling pore-throat scale research.

[0067] Third, dual physics-driven predictions make the predictions more realistic and reliable. First, the flow path prediction method based on weighted directed graphs from graph theory conforms to basic seepage laws. Second, the flow path prediction and remaining oil type prediction reconstruction models of the pore-throat network model are both derived from real experimental results. Using machine learning methods to determine specific coefficients and establish a prediction model, the predictions are closer to the real physical world. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are merely exemplary, and those skilled in the art can derive other implementation drawings based on the provided drawings without inventive effort.

[0069] Figure 1 A schematic diagram of a process flow provided by an embodiment of the present invention;

[0070] Figure 2 A diagram showing the experimental results of a microscopic pore-throat network physical model provided by an embodiment of the present invention;

[0071] Figure 3 The original image of the microscopic pore-throat network model provided in the embodiment of the present invention;

[0072] Figure 4 Provided for the embodiment of the present invention are pore throat attribute parameters of a microscopic pore throat network model - a distribution diagram of pore radius and throat radius;

[0073] Figure 5 A digital image of the original microscopic pore-throat network model image after binarization processing is provided for the embodiment of the present invention;

[0074] Figure 6 Provided for the embodiment of the present invention is an image after pore throat identification, segmentation and numbering of a microscopic pore throat network digital model;

[0075] Figure 7is a weighted directed graph according to an embodiment of the present invention;

[0076] Figure 8 This is a schematic diagram of the shortest water flow path and covered pore throats calculated based on the Dijkstra algorithm according to an embodiment of the present invention;

[0077] Figure 9 This is a diagram of the swept volume (swept pore throat) of the water flow path according to an embodiment of the present invention;

[0078] Figure 10 This is a schematic diagram of the rapid prediction and reconstruction results of the water flow path and remaining oil type in the pore throat network according to an embodiment of the present invention. DETAILED DESCRIPTION

[0079] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0080] The technical solution of the present invention includes two major links: pore-throat network physical model experiment and prediction model establishment, as well as pore-throat network digital model water flow path prediction and residual oil type reconstruction.

[0081] In the first stage, the physical model experiment and prediction model of the pore-throat network are established.

[0082] The specific steps are:

[0083] The first step is to create a physical model of the pore-throat network with different physical properties and design the fluid inlets and outlets;

[0084] In the second step, the model was saturated with oil, and flooding simulation experiments were carried out under different injection parameters, and images and data of the experimental process were collected;

[0085] The third step is to binarize the physical model image and analyze it, converting the physical model image containing the pore-throat structure into a digital pore-throat structure data volume containing the connection relationship and pore-throat attribute parameters;

[0086] The fourth step is to obtain parameters such as recovery factor, water flow path sweep range, remaining oil type, and pore throat location at each moment of the experiment based on the experimental process images;

[0087] The fifth step is to establish a weighted directed graph of the pore-throat network physical model. Combined with the experimental analysis results, the machine learning method is used to optimize the parameters to establish the throat weight model ρ and the remaining oil type saturation prediction model S roi And the remaining oil type pore throat position prediction model Z.

[0088] The second step is to predict the water flow path and reconstruct the remaining oil type using the digital model of the pore-throat network.

[0089] The specific steps are:

[0090] The first step is to provide the digital model image file of the pore throat network to be predicted and reconstructed;

[0091] The second step is to binarize the pore-throat network model image. The pores and throats are segmented and numbered using a segmentation algorithm. The pore-throat connectivity and pore-throat attribute parameters are calculated, and the image of the microscopic pore-throat structure is converted into a digital pore-throat structure data volume containing connection relationships and attribute parameters.

[0092] The third step is to establish an abstract point-line topology structure based on the connection relationship between the pores and throats of the original image, as well as the inlet-outlet position relationship, that is, to establish an unweighted directed graph;

[0093] The fourth step is to calculate the pore throat attribute parameters, calculate the throat weight according to the throat weight model ρ, and establish a weighted directed graph;

[0094] The fifth step is to calculate all paths from the entrance to the exit based on the shortest path algorithm such as Dijkstra; calculate the weighted path length, the number of covered pore throats, and the percentage of the area (in this invention, area can also be volume, area reflects 2D features, while volume reflects 3D features) of all paths, that is, to establish a data volume containing key path information;

[0095] Step 6: Set the target recovery factor α, calculate the swept area (volume) Sway of the water flow path based on the remaining oil type saturation prediction model Sroi, determine the weighted length threshold Lthreshold, and obtain the water flow path;

[0096] Step 7: reconstruct the type of residual oil not affected by the displacement fluid outside the range of the water flow path, such as continuous residual oil;

[0097] In the eighth step, within the water flow path, the saturation and occurrence location of each type of remaining oil within the water flow path are reconstructed based on the remaining oil type saturation prediction model Sroi and the remaining oil type pore throat position prediction model Z.

[0098] The above terms are explained. The porous medium is a structure composed of a skeleton composed of solid matter and a large number of densely packed tiny voids separated by the skeleton, wherein the voids are composed of pores and throats; the pore-throat network physical model refers to a porous medium model containing pores and throats, such as a physical pore-throat network physical model of a rock block, a rock slice, a chip, and the like, as well as a virtual pore-throat network image, a numerical simulation model, and other pore-throat network digital models.

[0099] The pore throat refers to pores and throats, the pores refer to the expanded parts in the pore throat network, and the throats are the small parts connecting the pores; the connection relationship refers to the positional relationship, connection order and network connection relationship between the pores and throats; the pore throat attribute parameters include equivalent pore radius, equivalent throat radius, throat length, coordination number, pore throat ratio, shape factor, tortuosity, wettability, etc.

[0100] The recovery factor refers to the ratio of the amount of oil displaced to the original total oil in the model (equal to the total pore throat volume of the model); the saturation refers to the ratio of a certain fluid type present in the model to the total pore throat volume of the model; among them, the ratio of all fluid types present in the model to the total pore throat volume of the model is 1.

[0101] The water flow path refers to the path formed by the front-to-back connections of the pores and throats from the inlet to the outlet. In the experiment, it is the range through which the displacement phase fluid flows (affects) during the oil recovery process; among them, the inlet and outlet can refer to the injection well and production well of the oil field in the physical prototype.

[0102] In the embodiment, Figure 1 As shown, the present invention provides a method for rapid simulation of microscopic oil-water movement and water flow path in porous media, which predicts the quantitative distribution of microscopic residual oil and displacement phase after oil displacement by displacement phase under certain conditions based on the microscopic pore throat model, that is, the specific pore throat structure.

[0103] The experimental results of the microscopic pore-throat network model are as follows: Figure 2 As shown, the red phase is the oil phase and the white phase is the water phase. Through a large number of physical simulation experiments, the throat weight model ρ and the remaining oil type saturation prediction model S were established. roi And the remaining oil type pore throat position prediction model Z.

[0104] Residual oil type refers to the classification of residual oil types based on morphological parameters and positional characteristics such as shape factor, contact ratio, aspect ratio, and Euler number. For the convenience of expression, this method simply divides the residual oil types into columnar residual oil, porous residual oil, and continuous residual oil. The specific classification and definition methods are shown in Table 1:

[0105] Table 1 Quantitative characterization of residual oil characteristic parameters

[0106]

[0107] Among them, columnar residual oil and porous residual oil are the oil that was swept but not displaced by the displacement phase, that is, the residual oil type within the range of the water flow path;

[0108] The continuous sheet-like residual oil is the oil not swept by the displacement phase, that is, the residual oil outside the range of the water flow path.

[0109] The sum of the saturation of all residual oil types and the saturation of the non-oil phase is 1. Based on this principle, the residual oil types can be divided more finely.

[0110] In an embodiment, the pore throat network model to be predicted is as follows: Figure 3 , where white is the pore throat and blue is the rock skeleton; the pore radius distribution and throat radius distribution are as follows Figure 4 , the specific property parameters of each pore and throat are automatically extracted and calculated during the calculation process.

[0111] The simulation experimental conditions are as follows: the model is a water-wet model with a wetting angle of 65°; the crude oil viscosity is 30 mPa·s, and the displacement rate is 0.1 μL / min.

[0112] A method for rapidly predicting and reconstructing water flow paths and remaining oil types within a pore-throat network includes the following steps:

[0113] Input the digital model image of the pore-throat network and binarize the image, such as Figure 5 , where white represents pore throats and black represents rock skeletons;

[0114] The microscopic pore throat network is segmented by a fast pore throat segmentation algorithm, and the pore throat connectivity and pore throat parameter calculations are performed to convert the image of the microscopic pore throat structure into a digital pore throat structure, such as Figure 6 , where white represents pores, gray represents throats, and black represents rock skeleton; the pore-throat parameters that need to be calculated include pore radius, throat radius, coordination number, pore-throat ratio, shape factor, relative throat radius, and tortuosity.

[0115] in:

[0116] Pore-throat ratio

[0117] Relative throat radius

[0118] Form Factor

[0119] Tortuosity

[0120] Where: r B is the pore radius, r T is the throat radius, is the radius of the throat connecting the adjacent pores of the throat, A is the area, P is the perimeter, L t is the curve length of the throat axis, and L0 is the straight-line distance between the two end points of the throat axis.

[0121] A weighted directed graph of the pore-throat network structure is constructed, and the shortest water flow path is calculated based on the weighted directed graph.

[0122] Furthermore, the method for establishing a weighted directed graph based on the pore-throat network model is as follows:

[0123] Based on graph theory, pores and throats are abstracted as points and lines, numbered, and pore-throat connectivity is calculated and an adjacency matrix is ​​established. If the pore numbered i is adjacent to the pore numbered j, then the element a in the i-th row and j-th column of the adjacency matrix is ij =1, otherwise a ij =0, an unweighted directed graph is obtained based on the adjacency matrix;

[0124] Based on the attribute parameters of the throats between adjacent pores, the weight of each throat is calculated according to the throat weight model ρ, and the weight matrix is ​​established. Combined with the adjacency matrix, a weighted directed graph is obtained. Since complex weighted directed graphs are not easy to display in a two-dimensional plane, for ease of understanding, Figure 7 This is a schematic diagram of a weighted directed graph, where pores are abstracted as nodes, throats are abstracted as lines, the numbers on the lines are weights, and arrows indicate the directions of the lines.

[0125] The specific method for establishing the throat weight model ρ is as follows:

[0126] The throat weight model is defined as ρ. The weight ρ is calculated from the pore-throat property parameters that affect the flow resistance. The weight indicates the difficulty of fluid flowing through the throat, that is, it is proportional to the throat flow resistance. In this method, this coefficient is defined as the following formula. However, based on the above principles, the weight calculation formula can be further optimized and enriched:

[0127]

[0128] Where: τ is the tortuosity of the throat, is the throat equivalent radius, l is the throat length, and λ is the adjustment coefficient, which is related to other pore throat attribute parameters and injection parameters. It is determined through experimental results and machine learning methods, and its initial value is 1.

[0129] The specific method for determining λ is:

[0130] Define the fluid inlet and outlet of the pore-throat network model, apply Dijkstra's shortest path algorithm to the weighted directed graph, and calculate the shortest weighted path from the inlet to the outlet, the pore-throat sequence (number) s0 and the weighted path length L0, the next shortest weighted path, the pore-throat sequence s1 and the weighted path length L1, and so on, until the longest weighted path pore-throat sequence s can be calculated. n and weighted path length L n , and arrange them in ascending order according to the weighted path length, and obtain the path set from the entrance to the exit s={s0,s1,s2,...,s n}, and the corresponding weighted path length L={L0,L1,L2,...,L n};

[0131] like Figure 8 , where blue is the entrance (starting point), red is the exit (end point), and yellow is the shortest weighted path (pores and throats on the path).

[0132] According to the pore throat numbers and corresponding pore throat attribute parameters on the path, the percentage of the coverage area (volume) of the pore throats on each path to the total area (volume) of the pore throats is calculated, and the set PA = {PA0, PA1, PA2, ..., PA n}; where the sum of the area (volume) percentages of all pores and pore throats is 1;

[0133] Thus, the paths with different weighted lengths, the pore and throat numbers on the paths, and the percentage of the pore throat area (volume) on the paths to the total pore throat area (volume) can be statistically obtained, providing a data set for subsequent path analysis.

[0134] At this time, given a weighted path cutoff value L threshold , we can get [L0,L threshold ] The number of all path pores and throats in the interval, the percentage of path coverage area (volume) to the total pore throat area (volume) S threshold ; At this time L threshold With S threshold There is a one-to-one correspondence;

[0135] Collect a large number of experimental images under different pore-throat network physical models and different injection parameters, select the stable final displacement state, and calculate the displacement fluid sweep percentage S for each group of experiments. lab , and the affected pore throat set PR lab ;

[0136] Let S threshold =S lab , determine L threshold , we get [L0,L threshold The set of pores and throats contained in all paths within the range PR threshold ;

[0137] Assuming that the set of overlapping pore throats is PR, the difference function between the two is calculated by the following formula:

[0138]

[0139] In the formula, the “·” above the symbol represents the area (volume) of the pore throat with that number;

[0140] During the training process of the machine learning method, the value of λ is continuously optimized until M is minimized, thereby establishing the throat weight model ρ;

[0141] Furthermore, a remaining oil type saturation prediction model Sroi The specific method is:

[0142] Define the residual oil type according to the location and shape of the residual oil, such as columnar residual oil, porous residual oil and continuous residual oil;

[0143] Assuming that the functional relationship between various types of remaining oil saturation and recovery factor is a polynomial relationship, it is recommended to simplify it to a quartic function relationship for the convenience of expression and calculation, that is,

[0144] S roi =a·α 4 +b·α 3 +c·α 2 +d·α 1 +e, (i=1,2,3)

[0145] Where a, b, c, d, and e are unknown coefficients, α is the recovery factor, and i = 1, 2, and 3 represent columnar remaining oil, porous remaining oil, and continuous remaining oil, respectively.

[0146] Collect a large number of experimental images under different pore-throat network physical models and different injection parameters, and analyze the various types of remaining oil saturation S at different recovery rates in the stable state. roi_lab(i=1,2,3) ;

[0147] Through machine learning methods, the coefficients a, b, c, d, and e are continuously optimized to make the experimental results S roi_lab and the predicted result S roi The difference between the values ​​is the smallest, and the remaining oil type saturation prediction model S is obtained. roi ;

[0148] Furthermore, the specific method for establishing the prediction model Z of the pore throat position of the remaining oil type within the sweep range of the water flow path is as follows:

[0149] definition:

[0150]

[0151] Where:

[0152] θ is the angle between the throat axis and the displacement pressure direction, τ is the tortuosity of the throat, r is the equivalent throat radius, d T1 is the shortest distance between the throat and the displacement inlet, d T2 The shortest distance between the throat and the displacement outlet;

[0153] R is the pore-throat ratio, G is the pore shape factor, d B1 is the shortest distance between the pore and the displacement entrance, d B2 is the shortest distance from the pore to the displacement outlet;

[0154] γ1 and γ2 are weight indices, which are related to the injection parameters and are determined based on the results of physical simulation experiments and using machine learning methods.

[0155] Among them, the method for determining γ1 and γ2 is:

[0156] Collect a large number of experimental images under different pore throat network physical models and different injection parameters, analyze the pore throat locations of various types of remaining oil, and calculate the P of these pore throats based on the prediction model Z. CO_ro and P MPO_ro ;

[0157] According to the prediction model Z, the P of all pore throats within the displacement phase of the model is calculated. CO_L and P MPO_L , sorted from large to small; optimize γ1 and γ2 by machine learning methods so that P CO_L and P MPO_L The first large value element and P CO_ro and P MPO_ro The error is minimized, and the prediction model Z of the pore throat position of the remaining oil type within the sweep range of the water flow path is obtained.

[0158] Furthermore, the target recovery factor α is set, and the remaining oil type saturation prediction model S is used. roi , calculate the various types of remaining oil saturation at the target recovery factor α, and determine the flow path sweep volume S according to the remaining oil type saturation outside the flow path way , the specific formula is:

[0159] S way =1-S ro3 (α), i=3 (referring to the flake-like residual oil)

[0160] Determine the weighted path length threshold L threshold , so that the shortest weighted path length to the weighted path length threshold interval [L0,L threshold The percentage of the pore and throat area (volume) passed by the internal path is equal to the swept volume S of the water flow path. way ;

[0161] At this time, [L0,L threshold ]All pores and throats passed by the inner path are the water flow paths under the set target recovery factor α.

[0162] For example, the target recovery factor is set to α = 0.3, and the remaining oil type saturation prediction model S roi , it is calculated that under the pore throat attribute parameters and injection parameters, the flow path swept volume should be S way =0.37, let Get L x =L threshold, at this time {s0,s1,s2,...,s x} is the desired flow path and pore throat, such as Figure 9 As shown, the white part is the predicted water flow path, the black part is the continuous remaining oil, and the gray part is the rock skeleton.

[0163] Furthermore, based on the construction of the water flow path, the method for reconstructing the residual oil type is as follows:

[0164] The location definitions in conjunction with the residual oil classification are:

[0165] The residual oil outside the water flow path is judged as continuous residual oil;

[0166] There are columnar residual oil and porous residual oil in the water flow path;

[0167] Furthermore, the columnar residual oil and porous residual oil types are reconstructed within the water flow path, including the saturation reconstruction and position reconstruction of each residual oil type. The specific determination method is:

[0168] According to the set target recovery factor α, the remaining oil type saturation prediction model S roi(i=1,2,3) Calculate various types of residual oil saturation;

[0169] Screen all throats and pores within the water flow path, apply the remaining oil type pore throat position prediction model Z, and calculate R for each throat within the water flow path. CO Calculate P for each pore MPO , and according to the calculation results, the R CO and pore P MPO Sort them from large to small and construct vector R way and vector P way ;

[0170] Among them, in R CO Add columnar residual oil in the largest throat, MPO Add porous residual oil to the largest pores, and according to the calculated columnar residual oil and porous residual oil saturation, CO Add columnar residual oil in the largest throat, MPO Multi-porous residual oil is added to the largest pores, and the residual oil type is identified and optimized as a whole. The residual oil type that cannot be accurately identified within the water flow path is classified to obtain the final microscopic pore throat water flow path and residual oil type occurrence state results, such as Figure 10 , where white is the water phase, black is the continuous flake residual oil, red is the porous residual oil, and yellow is the columnar residual oil.

[0171] According to vector R way and vector Pway , fill the corresponding pore throats with columnar residual oil and porous residual oil from large to small, until each type of residual oil is reached through the model S roi Calculated saturation.

[0172] The new method, developed in this paper, provides more precise and accurate predictions. It can directly use forward calculations to quickly determine the flow path and various types of remaining oil distribution after water flooding in a microscopic pore-throat model, such as columnar and porous residual oil. New residual oil types can also be defined, resulting in a more detailed match with actual experimental results. Traditional numerical simulation methods, on the other hand, can only determine the extent of the flow path and the distribution of continuous residual oil, and they involve solving numerous flow equations and are extremely slow.

[0173] In the present invention, the new method greatly improves its computational efficiency and reaches the level of engineering-grade application. Comparative simulation experiments have shown that traditional methods are suitable for small-scale models with a small number of pore throats, and the calculation speed is slow. For example, the direct solution method of the Navier-Stokes equation is tested on a model with 621 pores, and the algorithm takes 5-7 days. This technical solution has a faster calculation speed and can be further applied to large-scale models with a large number of pore throats. For example, when tested on the AMD Ryzen7Pro 5850U platform, it only takes 55 seconds to get the result for a small model with 700 pores, and 20 minutes for a large model with 5800 pores, which is nearly 7,000 times faster.

[0174] The present invention is applicable to two-dimensional, three-dimensional, and multi-dimensional situations. The above embodiment is the application of the method to a two-dimensional model. It is only an exemplary embodiment of the present application and is not intended to limit the scope of the present application. The scope of protection of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and scope of protection of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the scope of protection of the present application.

Claims

1. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media, It is characterized in that The steps include: Making a pore-throat network physical model with different physical property characteristics, and carrying out an oil displacement simulation experiment under different injection parameters after saturating the pore-throat network physical model with oil, so as to collect experimental data; The experimental data are subjected to image binarization processing, and the pore-throat network physical model containing the pore-throat structure is converted into a digital pore-throat structure data body containing connection relations and pore-throat attribute parameters; A weighted directed graph of the pore-throat network physical model is established, and the throat weight model ρ and the remaining oil type saturation prediction model S are established using machine learning methods. roi and the remaining oil type pore throat location prediction model Z; Set the recovery factor α, and according to the remaining oil type saturation prediction model S roi Back-calculate the flow path and affected area S way , determine the weighted length threshold L threshold , get the water flow path; The remaining oil type is reconstructed on the water flow path, and within the water flow path, the remaining oil type saturation prediction model S is used to predict the saturation of the remaining oil type. roi And the remaining oil type pore throat position prediction model Z is used to reconstruct the saturation and occurrence location of each type of remaining oil within the water flow path.

2. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 1, It is characterized in that The pore throat property parameters include equivalent pore body radius, equivalent throat radius, coordination number, pore throat ratio, shape factor, relative throat radius, tortuosity, and wettability.

3. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 2, It is characterized in that The method for constructing a weighted directed graph is: Abstract the pores and throats into points and lines and number them; When calculating the pore throat connectivity, an adjacency matrix is ​​established. If the pore body numbered i is adjacent to the pore body numbered j, then the element a in the i-th row and j-th column of the adjacency matrix is ij =1, otherwise a ij =0, an unweighted directed graph is obtained based on the adjacency matrix; Based on the attribute parameters of the throats between adjacent pores, the weight of each throat is calculated according to the throat weight model ρ, and a weight matrix is ​​established. Combined with the adjacency matrix, a weighted directed graph is obtained.

4. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 3, It is characterized in that in, The specific method for establishing the throat weight model ρ is: The weight of the water flow path is proportional to the flow resistance of the water flow path, so the throat weight model ρ is calculated as follows: Where: τ is the tortuosity of the throat, is the equivalent radius of the throat, l is the length of the throat, and λ is the adjustment coefficient.

5. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 4, It is characterized in that The method for determining the adjustment coefficient λ is: Define the fluid inlet and outlet of the pore-throat network physical model, apply the Dijkstra shortest path algorithm to the weighted directed graph, calculate the shortest weighted path from the fluid inlet to the fluid outlet, and number the pore throats in sequence. 0 and the weighted path length L 0 , the pore throat sequence of the second shortest weighted path s 1 and the weighted path length L 1 , ..., until the longest weighted path pore throat order s can be calculated n and the weighted path length L n , and arrange them in ascending order according to the weighted path length, and obtain the path set s from the fluid inlet to the fluid outlet = {s 0 ,s 1 ,s 2 ,...,s n }, and the corresponding weighted path length L = {L 0 ,L 1 ,L 2 ,...,L n }; According to the pore throat numbers and corresponding pore throat attribute parameters in the path set, the percentage of the pore throat coverage area on each path to the total pore throat area is calculated to obtain the area set PA = {PA 0 ,PA 1 ,PA 2 ,...,PA n }; where the sum of the area percentages of all pores and pore throats is 1; Set a weighted path cutoff value L threshold , we get [L 0 ,L threshold ] The number of all path pores and throats in the interval, and the percentage of path coverage area to the total pore throat area S threshold , at this time L threshold With S threshold There is a one-to-one correspondence; Calculate the displacement fluid sweep percentage S for different experiments lab , and the affected pore throat set PR lab ; Let S threshold =S lab , determine L threshold , we get [L 0 ,L threshold The set of pores and throats contained in all paths within the range PR threshold ; Assume that the set of overlapping pore throats is PR, and calculate the difference function between the two: In the formula, the "·" above the symbol represents the area of ​​the pore throat with that number; The minimum M value is used as the objective function to train the machine learning method to optimize the adjustment coefficient λ.

6. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 1, It is characterized in that Establishment of remaining oil type saturation prediction model S roi The specific method is: Define the type of residual oil according to its location and form; The functional relationship between the remaining oil type saturation and the recovery factor is set as: S ro-i =a·a 4 +b·a 3 +c·a 2 +d·a 1 +e; In the formula, a, b, c, d, e are unknown coefficients, α is the recovery factor, S ro-i is the saturation of the remaining oil type, i represents the remaining oil type; Calculate the remaining oil saturation S of various types at different recovery factors under stable conditions in different experiments roi_lab ; Through machine learning methods, we train and adjust the coefficients a, b, c, d, and e so that the experimental results S roi_lab And the prediction result S roi The value difference is the smallest, and the remaining oil type saturation prediction model S is obtained. roi .

7. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 1, It is characterized in that The specific method for establishing the prediction model Z of the pore throat position of the remaining oil type within the range of the water flow path is as follows: definition: Where: θ is the angle between the throat centerline and the displacement pressure direction, τ is the throat tortuosity, r is the relative throat radius, d T1 is the shortest distance from the throat to the displacement inlet, d T2 The shortest distance from the throat to the displacement outlet; R is the pore throat ratio of the pore body, G is the shape factor of the pore body, d B1 is the shortest distance between the pore and the displacement entrance, d B2 The shortest distance from the pore to the displacement outlet; γ 1 and γ 2 is the weight index.

8. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 7, It is characterized in that Weight index γ 1 and γ 2 The method to determine is: According to different experiments, the locations of various types of residual oil in pores and throats are analyzed; Set the throat judgment parameter to R CO , the porosity determination parameter is P MPO ; The P values ​​of these pores and throats are calculated based on the pore-throat location prediction model Z of the remaining oil type. CO_ro and P MPO_ro ; According to the pore throat location prediction model Z of the remaining oil type, the P of all pores and throats within the displacement range of the model is calculated. CO_L and P MPO_L , and sort from largest to smallest; P CO_L and P MPO_L The maximum value of the front column and P CO_ro and P MPO_ro The minimum error is used as the objective function to train the machine learning method to optimize the weight index γ 1 and γ 2 .

9. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 8, It is characterized in that On the basis of constructing the water flow path, the method for reconstructing the residual oil type is: Definition of location according to residual oil classification: The remaining oil outside the water flow path is judged as continuous sheet-like remaining oil; The residual oil in the water flow path is classified into columnar residual oil and porous residual oil.

10. A method for rapid simulation of microscopic oil-water movement and water flow path in porous media according to claim 9, It is characterized in that The method for reconstructing the saturation and location of various types of remaining oil within the water flow path is: The specific method of adding columnar residual oil and porous residual oil to the water flow path range map is: Screen all throats and orifices within the water flow path; Calculate R for each throat CO , calculate P for each hole MPO , and according to the calculation results, the R of all throats within the water flow path is calculated. CO and P of all pores MPO Sort and construct vector R way and vector P way ; in: In R CO Add columnar residual oil in the largest throat, MPO Add porous residual oil in the largest pores; The amount of columnar residual oil and porous residual oil added is based on the vector R way and vector P way , fill the corresponding pore throats with columnar remaining oil and porous remaining oil from large to small until each type of remaining oil is reached through the remaining oil type saturation prediction model S roi Calculated saturation.

Citation Information

Patent Citations

  • Core CT image processing-based remaining oil micro-occurrence representing method

    CN105551004A

  • Method for applying fractal theory to determining substrate-high-seepage band chemical flooding remaining oil distribution and migration law

    CN108868715A

  • Oilfield Reservoir Saturation and Permeability Modeling

    US20180119524A1

Cited By

  • Waste water oil-liquid separation multi-stage filtration treatment method and system based on coalescence material

    CN121020727A

  • Carbon dioxide seepage dominant channel judgment and permeation enhancement effect evaluation method and system

    CN121113793A

  • Priority flow identification and early warning method based on porous medium network and physical driven intrusion

    CN121766184A