A rapid rock permeability analysis method based on throat characteristics of scanning images

Through the analysis of the throat feature of the scanned image, binarization processing and fractal dimension calculation, the problem of time-consuming and low accuracy of rock permeability testing is solved, and the rapid and accurate analysis of rock permeability is achieved, providing a basis for oil and gas development. .

CN114299098BActive Publication Date: 2024-11-15CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210031937.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2024-11-15
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

The existing rock permeability testing methods are large in calculation, time-consuming, and have low analysis accuracy, making it difficult to accurately predict the flow capacity of oil and gas in underground rocks.

Method used

Based on the throat characteristics of the scanned image, the throat fractal dimension is calculated by binarization, removing the void phase boundary, calculating the European distance matrix, watershed algorithm segmentation, and number box method, establishing the rock sample permeability analysis expression to accurately predict the rock sample Permeability.

Benefits of technology

It improves the accuracy and calculation speed of rock permeability analysis, provides an accurate representation of the flow capacity of oil and gas in underground rocks, and overcomes the problems of large calculation volume and low accuracy of existing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114299098B_ABST
    Figure CN114299098B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for rapid analysis of rock permeability based on throat features of scanning images. The present invention obtains rock pore phase and solid skeleton phase by image scanning of rock samples, identifies pore and throat distribution in the void phase by combining the central axis of the pore phase and the Euclidean distance matrix of the void phase; calculates the maximum and minimum throat diameters based on the throat distribution in the void phase, and calculates the throat fractal dimension by using the box method; finally, establishes the minimum throat diameter, the maximum throat diameter and the fractal dimension of the throat system, establishes a rock sample permeability analysis expression, and accurately predicts the rock sample permeability. The present invention solves the problem of large amount of calculation and long time consumption of rock digital imaging permeability analysis at present, and provides a basis for accurate characterization of the flow capacity of oil and gas in rocks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of oil and gas development, and in particular relates to a rock permeability rapid analysis method for throat features of scanning images. Background Art

[0002] Rock permeability is an important parameter for accurately predicting the ability of oil and gas to flow in underground rocks and guiding the efficient development of oil and gas.

[0003] At present, rock permeability is generally measured through laboratory physical experiments. However, laboratory physical experimental methods take a long time to test low-porosity rock samples and have low accuracy, which greatly limits the promotion and application of physical experimental methods for testing rock sample permeability.

[0004] Rock scanning imaging methods provide a platform for digital analysis of rock flow properties. At present, rock permeability testing methods mainly focus on analyzing rock permeability through rock scanning imaging, and the methods mainly include direct solution of the Navierstock equation, the lattice Boltzmann method, and the pore network model method. Direct solution of the Navierstock equation and the lattice Boltzmann method requires high-precision grid division of the rock digital imaging void phase area for calculation, and requires high-performance supercomputing equipment to carry out flow simulation, which requires huge calculation and takes a long time. The pore network model method is faster than the direct solution of the Navierstock equation and the lattice Boltzmann method, but because the pore structure of the rock void phase is characterized in a regular manner, the rock permeability analysis accuracy of this method is low.

[0005] Since the rock void space consists of open pores and narrow throats, the rock permeability is mainly controlled by the narrow throat structural characteristics. Based on this, the present invention establishes a rock permeability rapid analysis method based on the throat characteristics of the scanned image, which is convenient for promotion and application. Summary of the invention

[0006] Based on this, the present invention provides a rapid analysis method for rock permeability based on throat features of scanning images, comprising scanning a rock sample and performing binarization processing to identify rock voids and solid skeleton phases; obtaining a central axis of the void phase by continuously removing boundary voxels of the void phase, marking the coordinate position of a connection point on the central axis of the void phase representing the pore center; calculating the distance between each point in the void phase and the skeleton wall to obtain a void phase Euclidean distance matrix; using a watershed algorithm to segment the void phase Euclidean distance matrix to obtain the void phase distribution after the local area is divided; finding the connection point position on the central axis representing the pore center on the void phase after the local area is divided by the watershed algorithm, and identifying the pores and throat distribution in the void phase; based on the throat distribution in the void phase, calculating the maximum and minimum throat diameters, and using a box counting method to calculate the throat fractal dimension; establishing a rock sample permeability analysis expression based on the minimum throat diameter, the maximum throat diameter and the fractal dimension of the throat system to accurately predict the rock sample permeability. The present invention solves the problem that the current permeability analysis based on rock digital imaging has large amount of calculation and long time consumption. It accurately and quickly analyzes the rock permeability based on the throat characteristics of the scanning image, and provides a basis for accurately characterizing the flow ability of oil and gas in underground rocks.

[0007] Specifically, the rock permeability rapid analysis method of the present invention comprises the following steps:

[0008] S1. Scan the rock sample and perform binarization on the three-dimensional image of the rock sample to identify the rock void phase and solid skeleton phase;

[0009] S2. By continuously removing the boundary voxels of the rock void phase, the central axis of the void phase is obtained, and the coordinate positions of the connection points on the central axis of the void phase representing the pore center are marked;

[0010] S3, calculating the distance between each point in the rock void phase and the wall of the solid skeleton phase, and obtaining the void phase Euclidean distance matrix;

[0011] S4. Use the watershed algorithm to segment the void phase Euclidean distance matrix to obtain the void phase distribution after the local area is divided; find the connection point position on the central axis representing the pore center on the void phase after the local area is divided by the watershed algorithm, and identify the pore and throat distribution in the void phase;

[0012] S5. Based on the throat distribution in the void phase, the maximum and minimum throat diameters are calculated, and the throat fractal dimension is calculated using the box counting method;

[0013] S6. Establish the minimum throat diameter, maximum throat diameter and fractal dimension of the throat system, establish the rock sample permeability analysis expression, and accurately predict the rock sample permeability.

[0014] Preferably, the voxel size of the three-dimensional image after the rock sample is scanned in step S1 is L x ×Ly ×L z For each voxel point on the rock sample scan, the x-coordinate range is 1-L x , the y coordinate range is 1-L y , the z coordinate range is 1-L z ; The rock sample three-dimensional image binarization method is as follows:

[0015] (1) The initial value of the threshold T is given by the original scanned rock sample V s The minimum gray value of (x, y, z) is binarized using formula (1).

[0016]

[0017] Where V s (x, y, z) is the gray value corresponding to the coordinate point (x, y, z) of the scanned rock sample image, G c is a given threshold for segmenting the void phase, V seg (x, y, z) is the 01 value corresponding to the coordinate point (x, y, z) of the binary rock sample image. The solid skeleton phase region is 1, the void phase region is 0, and the coordinate point corresponding to the void phase region is marked as x b ,y b ,z b ;

[0018] (2) Calculate the porosity φ of the rock sample after segmentation using formula (2):

[0019]

[0020] In the above formula, V p Represents the voxel value V of each coordinate point of the rock sample image after binarization seg The sum of (x,y,z);

[0021] (3) Compare the porosity calculated by equation (2) with the porosity measured in the rock sample laboratory. If they do not match, gradually increase the threshold T and repeat processes (1) and (2) until the porosity calculated by equation (2) matches the porosity measured in the rock sample laboratory.

[0022] Preferably, the method for extracting the central axis of the void phase in step S2 is as follows:

[0023] (1) For each coordinate point on the boundary between the pore phase and the solid skeleton phase, find the neighboring coordinate points connected to it. According to the spatial position affiliation of the neighboring coordinate points, the neighboring coordinate points are divided into six categories: front, back, top, bottom, left, and right.

[0024] (2) In the order of front, back, up, down, left, and right, search for points that meet the following conditions in each direction, and convert the neighboring coordinate points into the solid skeleton region in turn, that is, the coordinate points are converted from the 0 value of the void phase region to the 1 value of the solid skeleton phase region, and the conditions are as follows:

[0025] ① The neighboring points in the six directions that all belong to the void phase region are connected to each other;

[0026] ② After the neighbor coordinate points are converted to the solid skeleton region, the void phase region contains at least 2 neighbor points among the 6 directional neighbor points;

[0027] If there are no points that meet the conditions in the six directions, it means that the central axis of the void phase has been generated;

[0028] (3) Based on the void phase after deleting the boundary points in step (2), repeatedly mark each coordinate point on the boundary between the void phase and the solid skeleton phase region, classify the neighboring coordinate points according to step (1), and delete the boundary points according to step (2) until the output requirement of the center axis in step (2) is met;

[0029] (4) Mark the generated set of spatial coordinate positions of the center axis connection points, marked as U p (x p ,y p ,z p ), the set of connection point locations characterizes the center position of each pore.

[0030] Preferably, the method for calculating the void phase Euclidean distance matrix in step S3 is as follows:

[0031]

[0032] x c ,y c ,z c is the coordinate point x of each voxel in the void phase at the boundary between the void phase region and the skeleton phase region. b ,y b ,z b The nearest solid wall coordinate point;

[0033] According to formula (3)(3), the shortest distance between each point in the void phase region and the solid wall can be obtained, that is, the Euclidean distance matrix E of the void phase, where the size of the distance matrix E is Lx×Ly×Lz, and the Euclidean distance value of the skeleton phase region is 0.

[0034] Preferably, the method for identifying the distribution of pores and throats in the void phase in step S4 is as follows:

[0035] (1) The watershed algorithm is used to segment the void phase Euclidean distance matrix. The principle of the watershed algorithm image segmentation can be found in [IEEE Transactions on Pattern Analysis & Machine Intelligence, 13(06), 583-598]. The minimum value in the void phase Euclidean distance matrix is ​​found as the initial threshold, marked as the starting point, and the initial threshold is gradually increased. During the threshold increase process, the threshold will gradually become larger than the surrounding Euclidean distance value. As the threshold gradually increases, the regions with Euclidean distance values ​​less than the threshold will gradually contact each other. The contact line that records the boundaries of different adjacent regions is the watershed. Through the above steps, the void phase Euclidean distance matrix can be divided into different local regions. The void phase can be expressed as:

[0036] U total ={U1(x,y,z),U2(x,y,z),L,U n (x,y,z)} (19)

[0037] Where U i (i=1,2,…,n) represents the subset of x,y,z coordinate positions in each segmented area, n represents the number of local regions of the void phase after segmentation, U t represents the overall void phase;

[0038] (2) There are both pore regions and throat regions in the segmented pore phase. By comparing the spatial coordinate position set U of the central axis connection point p (x p ,y p ,z p ) and each segmented area U i The spatial coordinate position set of the central axis connection point spatial coordinate position set U p (x p ,y p ,z p ) has a coordinate point in the segmented area U i , then the region is the pore phase, otherwise the region is the throat phase;

[0039] According to the spatial coordinate position set U of the point connected with the central axis p (x p ,y p ,z p ) After comparison, formula (4) can be rearranged as:

[0040]

[0041] Where n1 represents the number of pores after segmentation, n2 represents the number of throats after segmentation, and U pore(i)(x, y, z) (i = 1, 2, ..., n1) represents the set of spatial coordinate positions of voxels in each pore phase, U throat(i) (x, y, z) (i = 1, 2, ..., n2) represents the spatial coordinate position set of voxels in each laryngeal phase. The spatial coordinate position set of voxels in all laryngeal phases can be expressed as:

[0042] U throat_total = {U throat1 (x,y,z),U throat2 (x,y,z),L,U thoratn2 (x,y,z)} (21)

[0043] When only the throat distribution is considered, the binary image of the rock sample can be expressed as:

[0044]

[0045] Preferably, in step S5, the maximum and minimum throat diameters and the throat fractal dimension are calculated by:

[0046] (1) For each region of the throat phase, the spherical volume is used to calculate the equivalent throat diameter.

[0047]

[0048] Where, d t (i) is the i-th throat diameter, R es is the rock sample scanning image resolution, N s (i) is the spatial coordinate position set U of the laryngeal phase voxels throat(i) The number of internal space coordinates, based on the calculated throat diameter, can be used to obtain the minimum throat diameter d tmin and maximum throat diameter d tmax ;

[0049] (2) Based on the binary image V of the rock sample considering the throat distribution throat , the number box method is used to calculate the throat fractal dimension. The specific process is as follows:

[0050] A series of cubes with different side lengths are used to fill the throat space. The side length of the cube is l b The sizes are given as an evenly spaced array as follows:

[0051]

[0052] In the above formula, n step Represents the cube side length spacing, given the cube side length l b (i)(i=1,2,…,n step ) case, the side length l is used bThe number of cubes required to completely fill the throat space (the area with a value of 1) is N. s (i) By plotting N on a double logarithmic coordinate graph s With l b The data points are then regressed using formula (10) to obtain the throat fractal dimension D f_throat ,

[0053] ln(N s )=-D f_throat lnl b +C (25)

[0054] In the above formula, C is the intercept, a constant.

[0055] Preferably, in step S6, based on the minimum throat diameter, the maximum throat diameter and the fractal dimension of the throat system, the rock sample permeability analysis method is:

[0056] The flow rate of fluid in a single throat is:

[0057]

[0058] In the formula, △p is the pressure difference between the two ends of the throat, μ is the viscosity, L(d t ) is the throat bend length, which can be expressed as:

[0059]

[0060] Where L0 is the length of the rock sample in the flow direction, D tor is the fractal dimension of throat tortuosity, based on the fractal dimension of rock throat f_throat , the throat size distribution can be expressed as:

[0061]

[0062] N(d t ) indicates that the throat diameter is greater than d t The number of pores, by differentiating both sides of equation (13), we can obtain:

[0063]

[0064] In the formula, -dN means the throat size at d t to d t +ddt number of pores, the fluid flow in all throats can pass through the minimum throat diameter d tmin and maximum throat diameter d tmax Integrating between them gives:

[0065]

[0066] According to Darcy's formula:

[0067]

[0068] Where A is the cross-sectional area of ​​the rock sample in the flow direction. According to equations (14) and (15), the core permeability can be expressed as:

[0069]

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

[0071] (1) The rapid rock permeability analysis method based on scanning image throat characteristics proposed in the present invention can accurately consider the rock throat structure characteristics, and characterize the scale invariance of the rock sample throat system structure through the throat fractal dimension, thereby overcoming the limitation of the existing digital imaging rock permeability analysis method that is limited to a single scale resolution, and improving the accuracy of the permeability analysis results.

[0072] (2) The present invention establishes a rapid rock permeability analysis method based on scanning image throat characteristics. By establishing an analytical expression for rock sample permeability based on throat system size parameters and fractal dimension, compared with the existing permeability analysis method based on rock scanning images for numerical calculation, while ensuring the analysis accuracy, the calculation speed has been greatly improved, which is convenient for promotion and application. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 It is a schematic diagram of the process of the rapid analysis method of rock permeability of the present invention;

[0074] Figure 2 This is a CT scan image of a sandstone sample. The color bar represents the grayscale value. The overall voxel size is 400×400×400, and the physical size is 10 -3 m×10 -3 m×10 -3 m, resolution 2.5 μm;

[0075] Figure 3 This is a binary image of a sandstone sample CT scan image. The overall voxel size is 550×550×500, and the physical size is 10 -3 m×10 -3 m×10 -3 m, resolution 12.559 μm, black represents the void phase, and white represents the solid skeleton phase;

[0076] Figure 4 The binary image of the sandstone sample CT scan image has the gap phase centered on the axis of the space layout;

[0077] Figure 5It is the Euclidean distance matrix of the void phase in the binary image of the CT scan image of the sandstone rock sample, with a voxel size of 400×400×400. The color bar value represents the distance from the solid skeleton wall, and the unit is expressed in the number of voxels;

[0078] Figure 6 The void phase of the sandstone 3D image after segmentation by the watershed algorithm. The color bar value represents the local area label value of the void phase of the sandstone 3D image after segmentation, ranging from 1 to 1081;

[0079] Figure 7 Visualize the void phase of the binary image of the sandstone sample CT scan, including pores and throats;

[0080] Figure 8 To visualize the distribution of throats in the void phase in the binary image of the CT scanned image of the sandstone rock sample;

[0081] Fig. 9 This is the calculation result of the fractal dimension fitting of the sandstone throat. DETAILED DESCRIPTION

[0082] The present invention will be further described below in conjunction with specific embodiments.

[0083] Reference Figure 1 As shown, this embodiment takes the rock permeability analysis of a sandstone oil and gas reservoir block in my country as an example to provide a rapid rock permeability analysis method based on the throat characteristics of a scanning image, including the following steps:

[0084] S1. Scan the rock sample and perform binarization processing to identify rock voids and solid skeleton phases;

[0085] In this embodiment, the three-dimensional image ( Figure 2 ) The voxel size is 400×400×400 and the physical size is 10 -3 m×10 -3 m×10 -3 m.

[0086] For each voxel point on the rock sample scan, the x coordinate range is 1-400, the y coordinate range is 1-400, and the z coordinate range is 1-400. The method for binarizing the rock sample 3D image is as follows:

[0087] (1) The initial value of the threshold T is given by the original scanned rock sample V s The minimum gray value of (x, y, z) is 0, and the binary processing is performed using formula (1).

[0088]

[0089] Where V s(x, y, z) is the gray value corresponding to the coordinate point (x, y, z) of the scanned rock sample image, G c is a given threshold for segmenting the void phase, V seg (x, y, z) is the 01 value corresponding to the coordinate point (x, y, z) of the binary rock sample image. The solid skeleton phase region is 1, and the void phase region is 0. The coordinate point corresponding to the void phase region is marked as x b ,y b ,z b .

[0090] (2) Calculate the porosity φ of the rock sample after segmentation using formula (2):

[0091]

[0092] In the above formula, V p Represents the voxel value V of each coordinate point of the rock sample image after binarization seg The sum of (x,y,z).

[0093] (3) Compare the porosity calculated by formula (2) with the porosity of 0.26 measured by the rock sample laboratory. If they do not match, gradually increase the threshold T and repeat the processes (1) and (2) until the porosity calculated by formula (2) matches the porosity measured by the rock sample laboratory. The final threshold T is 66. The three-dimensional scanning image of the sandstone sample after binarization is shown in the figure. Figure 3 shown.

[0094] S2. The central axis of the void phase is obtained by continuously removing the boundary voxels of the void phase, and the coordinate positions of the connection points on the central axis of the void phase representing the pore center are marked;

[0095] In this embodiment, the central axis of the void phase is extracted from the three-dimensional image of the sandstone after S1 binarization. The specific operation is as follows:

[0096] (1) For each coordinate point on the boundary between the pore phase and the solid skeleton phase, find the neighboring coordinate points connected to it. According to the spatial position affiliation of the neighboring coordinate points, the neighboring coordinate points are divided into six categories: front, back, top, bottom, left, and right.

[0097] (2) In the order of front, back, up, down, left, and right, search for points that meet the following conditions in each direction, and convert the neighboring coordinate points to the solid skeleton region in turn, that is, the coordinate point is converted from the void phase region 0 value to the solid skeleton region 1 value. If there are no points that meet the conditions in all six directions, it means that the central axis of the void phase has been generated.

[0098] The conditions are as follows:

[0099] ① The neighboring points in the six directions that all belong to the void phase region are connected to each other;

[0100] ② After the neighbor coordinate points are converted into the solid skeleton region, the void phase region contains at least 2 neighbor points out of the 6 directional neighbor points.

[0101] (3) Based on the void phase after deleting the boundary points in step (2), repeatedly mark each coordinate point on the boundary between the void phase and the solid skeleton phase region, classify the neighboring coordinate points according to step (1), and delete the boundary points according to step (2) until the output requirements of the center axis in step (2) are met.

[0102] (4) Mark the generated set of spatial coordinate positions of the center axis connection points, marked as U p (x p ,y p ,z p ). This set of connection point positions represents the center position of each pore.

[0103] According to the above steps, the generated gap is centered on the axis. Figure 4 .

[0104] S3, calculating the distance between each point in the void phase and the skeleton wall, and obtaining the void phase Euclidean distance matrix;

[0105] In this embodiment, the calculation method of the Euclidean distance matrix of the interstitial phase of the binarized sandstone three-dimensional image is as follows:

[0106]

[0107] x c ,y c ,z c is the coordinate point x of each voxel in the void phase at the boundary between the void phase region and the skeleton phase region. b ,y b ,z b The nearest solid wall coordinate point. According to formula (3), the closest distance between each point in the void phase region and the solid wall can be obtained, that is, the Euclidean distance matrix E of the void phase. The size of the distance matrix E is 400×400×400, and the Euclidean distance value of the skeleton phase region is 0, such as Figure 5 shown.

[0108] S4. Use the watershed algorithm to segment the Euclidean distance matrix of the void phase to obtain the void phase distribution after the local area is divided; find the connection point position on the central axis representing the pore center on the void phase after the local area is divided by the watershed algorithm, and identify the pore and throat distribution in the void phase.

[0109] In this embodiment, the method for identifying the distribution of pores and throats in the interstitial phase of the binary sandstone three-dimensional image is as follows:

[0110] (1) The watershed algorithm is used to segment the Euclidean distance matrix of the void phase of the sandstone three-dimensional image. The principle of the watershed algorithm image segmentation can be found in [IEEE Transactions on Pattern Analysis & Machine Intelligence, 13 (06), 583-598]. The minimum value 1 in the void phase Euclidean distance matrix is ​​found as the initial threshold, marked as the starting point, and the initial threshold is gradually increased. During the threshold increase process, the threshold will gradually become larger than the surrounding Euclidean distance value. As the threshold gradually increases, the various regions with Euclidean distance values ​​less than the threshold will gradually contact each other, and the contact line recording the boundaries of different adjacent regions is the watershed. Through the above steps, the void phase Euclidean distance matrix can be divided into different local regions. The void phase can be expressed as:

[0111] U total ={U1(x,y,z),U2(x,y,z),L,U n (x,y,z)} (34)

[0112] Where U i (i=1,2,…,n) represents the subset of x,y,z coordinate positions in each segmented area, n represents the number of local areas of interstitial phase in the segmented sandstone 3D image, and its value is 1081. t Represents the overall void phase. The void phase of the three-dimensional image of sandstone after segmentation by the watershed algorithm is shown in Figure 6 .

[0113] (2) There are both pore areas and throat areas in the interstitial phase of the segmented sandstone sample, such as Figure 7 By comparing the spatial coordinate position set U of the central axis connection point p (x p ,y p ,z p ) and each segmented area U i The spatial coordinate position set of the central axis connection point spatial coordinate position set U p (x p ,y p ,z p ) has a coordinate point in the segmented area U i , then the region is a pore phase, otherwise the region is a throat phase. Therefore, according to the spatial coordinate position set U of the point connected to the central axis p (x p ,y p ,z p ) After comparison, formula (4) can be rearranged as:

[0114]

[0115] Where n1 represents the number of pores after segmentation, and its value is 833; n2 represents the number of throats after segmentation, and its value is 248. pore(i) (x, y, z) (i = 1, 2, ..., n1) represents the set of spatial coordinate positions of voxels in each pore phase, U throat(i) (x, y, z) (i = 1, 2, ..., n2) represents the set of spatial coordinate positions of voxels in each laryngeal phase. The set of spatial coordinate positions of voxels in all laryngeal phases can be expressed as:

[0116] U throat_total = {U throat1 (x,y,z),U throat2 (x,y,z),L,U thoratn2 (x,y,z)} (36)

[0117] Therefore, the binary image of the sandstone sample considering only the throat distribution can be expressed as formula (7), and the result is as follows Figure 8 shown.

[0118]

[0119] S5. Based on the throat distribution in the void phase, the maximum and minimum throat diameters are calculated, and the throat fractal dimension is calculated using the box counting method;

[0120] (1) In this embodiment, the equivalent throat diameter is calculated by using the spherical volume equivalent for each region of the throat phase of the sandstone sample.

[0121]

[0122] Where, d t (i) is the i-th throat diameter, R es The image resolution of the rock sample scan is 2.5×10 -6 m,N s (i) is the spatial coordinate position set U of the laryngeal phase voxels throat(i) The number of internal space coordinates. Based on the calculated throat diameter, the minimum throat diameter d can be obtained. tmin 2.5×10 -6 m and maximum throat diameter d tmax 112×10 -6 m.

[0123] (2) Based on the binary image V of the rock sample considering the throat distribution throat , the number box method is used to calculate the throat fractal dimension. The specific process is as follows:

[0124] ① Use a series of cubes with different side lengths to fill the throat space. The side length of the cube is l b The sizes are given as an evenly spaced array as follows:

[0125]

[0126] In the above formula, n step Indicates the cube side length spacing, the value is 10. Given the cube side length l b (i)(i=1,2,…,n step ) case, the side length l is used b The number of cubes required to completely fill the throat space (the area with a value of 1) is N. s (i) By plotting N on a double logarithmic coordinate graph s With l b Data points, and regression fitting is performed using formula (10) ( Fig. 9 ), we can get the throat fractal dimension D f_throat .

[0127] In(N s )=-D f_throat Inl b +C (40)

[0128] In the above formula, C is the intercept and constant. According to formula (40), the throat fractal dimension D is obtained f_throat is 1.5759, the intercept C is 10.723, and the goodness of fit R2 is 0.97.

[0129] S6. Establish the minimum throat diameter, maximum throat diameter and fractal dimension of the throat system, establish the rock sample permeability analysis expression, and accurately predict the rock sample permeability

[0130] In this embodiment, the flow rate of the fluid in a single throat is:

[0131]

[0132] In the formula, △p is the pressure difference between the two ends of the throat 0.1Pa, μ is the viscosity 10 -3 Pa·S,L(d t ) is the throat bend length, which can be expressed as:

[0133]

[0134] Where L0 is the length of the rock sample in the flow direction, and the physical size of the three-dimensional sandstone rock sample image in the x direction is selected, with a value of 10 -3 m. D tor is the fractal dimension of throat tortuosity, 1.1. Based on the fractal dimension of rock throat D f_throat 1.5759, the throat size distribution can be expressed as:

[0135]

[0136] N(dt ) indicates that the throat diameter is greater than d t The number of pores. Differentiating both sides of equation (13) yields:

[0137]

[0138] In the formula, -dN means the throat size at d t to d t +ddt pore number. The flow rate of fluid in all throats can be through the minimum throat diameter d tmin 2.5×10 -6 m and maximum throat diameter d tmax 112×10 -6 Integrating between m gives:

[0139]

[0140] According to Darcy's formula:

[0141]

[0142] Where A is the cross-sectional area of ​​the rock sample in the flow direction, A = L y L z , with a value of 10 -6 m 2 According to equations (14) and (15), the core permeability can be expressed as:

[0143]

[0144] According to formula (16), the permeability of the scanned sandstone sample is 1.937×10 -12 m 2 , which is consistent with the permeability value of 1.97×10 -12 m 2 The agreement is good, indicating that the proposed rapid rock permeability analysis method based on throat characteristics of scanning images can accurately predict the permeability of rock samples.

[0145] It should be noted that the above are only some specific embodiments of the present invention. Obviously, the present invention is not limited to the above embodiments, and other variations are possible. All variations directly or indirectly derived from the disclosure of the present invention by those skilled in the art should be considered as the protection scope of the present invention.

Claims

1. A rapid rock permeability analysis method based on throat characteristics of scanning images, characterized in that: The following steps are involved: S1. Scan the rock sample and perform binarization on the three-dimensional image of the rock sample to identify the rock void phase and solid skeleton phase; S2. By continuously removing the boundary voxels of the rock void phase, the central axis of the void phase is obtained, and the coordinate positions of the connection points on the central axis of the void phase representing the pore center are marked; S3, calculating the distance between each point in the rock void phase and the wall of the solid skeleton phase, and obtaining the void phase Euclidean distance matrix; S4. Use the watershed algorithm to segment the void phase Euclidean distance matrix to obtain the void phase distribution after the local area is divided; find the connection point position on the central axis representing the pore center on the void phase after the local area is divided by the watershed algorithm, and identify the pore and throat distribution in the void phase; S5. Based on the throat distribution in the void phase, the maximum and minimum throat diameters are calculated, and the throat fractal dimension is calculated using the box counting method; S6. Establish the minimum throat diameter, maximum throat diameter and fractal dimension of the throat system, establish the rock sample permeability analysis expression, and accurately predict the rock sample permeability.

2. The rock permeability rapid analysis method based on scanning image throat characteristics according to claim 1 is characterized in that: The voxel size of the three-dimensional image after the rock sample is scanned in step S1 is L x ×L y ×L z For each voxel point on the rock sample scan, the x-coordinate range is 1-L x , the y coordinate range is 1-L y , the z coordinate range is 1-L z ; The rock sample three-dimensional image binarization method is as follows: (1) The initial value of the threshold T is given by the original scanned rock sample V s The minimum gray value of (x, y, z) is binarized using formula (1). Where V s (x, y, z) is the gray value corresponding to the coordinate point (x, y, z) of the scanned rock sample image, G c is a given threshold for segmenting the void phase, V seg (x, y, z) is the 01 value corresponding to the coordinate point (x, y, z) of the binary rock sample image. The solid skeleton phase region is 1, the void phase region is 0, and the coordinate point corresponding to the void phase region is marked as x b ,y b ,z b ; (2) Calculate the porosity φ of the rock sample after segmentation using formula (2): In the above formula, V p Represents the voxel value V of each coordinate point of the rock sample image after binarization seg The sum of (x,y,z); (3) Compare the porosity calculated by equation (2) with the porosity measured in the rock sample laboratory. If they do not match, gradually increase the threshold T and repeat processes (1) and (2) until the porosity calculated by equation (2) matches the porosity measured in the rock sample laboratory.

3. The rock permeability rapid analysis method based on scanning image throat characteristics according to claim 1 is characterized in that: The method for extracting the central axis of the void phase in step S2 is as follows: (1) For each coordinate point on the boundary between the pore phase and the solid skeleton phase, find the neighboring coordinate points connected to it, and divide the neighboring coordinate points into six categories: front, back, top, bottom, left, and right according to the spatial position affiliation of the neighboring coordinate points; (2) In the order of front, back, up, down, left, and right, search for points that meet the following conditions in each direction, and convert the neighboring coordinate points into the solid skeleton region in turn, that is, the coordinate points are converted from the 0 value of the void phase region to the 1 value of the solid skeleton phase region, and the conditions are as follows: ① The neighboring points in the six directions that all belong to the void phase region are connected to each other; ② After the neighbor coordinate points are converted to the solid skeleton region, the void phase region contains at least 2 neighbor points among the 6 directional neighbor points; If there are no points that meet the conditions in the six directions, it means that the central axis of the void phase has been generated; (3) Based on the void phase after deleting the boundary points in step (2), repeatedly mark each coordinate point on the boundary between the void phase and the solid skeleton phase region, classify the neighboring coordinate points according to step (1), and delete the boundary points according to step (2) until the output requirement of the center axis in step (2) is met; (4) Mark the generated set of spatial coordinate positions of the center axis connection points, marked as U p (x p ,y p ,z p ), the set of connection point locations characterizes the center position of each pore.

4. The rock permeability rapid analysis method based on scanning image throat characteristics according to claim 1 is characterized in that: The calculation method of the void phase Euclidean distance matrix in step S3 is as follows: x c ,y c ,z c is the coordinate point x of each voxel in the void phase at the boundary between the void phase region and the skeleton phase region. b ,y b ,z b The nearest solid wall coordinate point; According to formula (3) (3), the shortest distance between each point in the void phase region and the solid wall can be obtained, that is, the Euclidean distance matrix E of the void phase.

5. The rock permeability rapid analysis method based on scanning image throat characteristics according to claim 1 is characterized in that: The method for identifying the distribution of pores and throats in the void phase in step S4 is as follows: (1) The watershed algorithm is used to segment the void phase Euclidean distance matrix. The minimum value in the void phase Euclidean distance matrix is ​​found as the initial threshold, marked as the starting point, and the initial threshold is gradually increased. During the threshold increase process, the threshold will gradually become larger than the surrounding Euclidean distance value. As the threshold gradually increases, the regions with Euclidean distance values ​​less than the threshold will gradually contact each other. The contact line that records the boundaries of different adjacent regions is the watershed. Through the above steps, the void phase Euclidean distance matrix can be divided into different local regions of the void phase, which can be expressed as: U total ={U1(x,y,z),U2(x,y,z),L,U n (x,y,z)} (4) Where U i (i=1,2,…,n) represents the subset of x,y,z coordinate positions in each segmented area, n represents the number of local regions of the void phase after segmentation, U t represents the overall void phase; (2) There are both pore regions and throat regions in the segmented pore phase. By comparing the spatial coordinate position set U of the central axis connection point p (x p ,y p ,z p ) and each segmented area U i The spatial coordinate position set of the central axis connection point spatial coordinate position set U p (x p ,y p ,z p ) has a coordinate point in the segmented area U i , then the region is the pore phase, otherwise the region is the throat phase; According to the spatial coordinate position set U of the point connected with the central axis p (x p ,y p ,z p ) After comparison, formula (4) can be rearranged as: Where n1 represents the number of pores after segmentation, n2 represents the number of throats after segmentation, and U pore(i) (x, y, z) (i = 1, 2, ..., n1) represents the set of spatial coordinate positions of voxels in each pore phase, U throat(i) (x, y, z) (i = 1, 2, ..., n2) represents the spatial coordinate position set of voxels in each laryngeal phase. The spatial coordinate position set of voxels in all laryngeal phases can be expressed as: U throat_total ={U throat1 (x,y,z),U throat2 (x,y,z),L,U thoratn2 (x,y,z)} (6) When only the throat distribution is considered, the binary image of the rock sample can be expressed as: 。 6. The rock permeability rapid analysis method based on scanning image throat characteristics according to claim 1 is characterized in that: In step S5, the maximum and minimum throat diameters and the throat fractal dimension are calculated as follows: (1) For each region of the throat phase, the spherical volume is used to calculate the equivalent throat diameter. Where, d t (i) is the i-th throat diameter, R es is the rock sample scanning image resolution, N s (i) is the spatial coordinate position set U of the laryngeal phase voxels throat(i) The number of internal space coordinates, based on the calculated throat diameter, can be used to obtain the minimum throat diameter d tmin and maximum throat diameter d tmax ; (2) Based on the binary image V of the rock sample considering the throat distribution throat , the number box method is used to calculate the throat fractal dimension. The specific process is as follows: A series of cubes with different side lengths are used to fill the throat space. The side length of the cube is l b The sizes are given as an evenly spaced array as follows: In the above formula, n step Represents the cube side length spacing, given the cube side length l b (i)(i=1,2,…,n step ) case, the side length l is used b The number of cubes required to completely fill the throat space is N. s (i) By plotting N on a double logarithmic coordinate graph s With l b The data points are then regressed using formula (10) to obtain the throat fractal dimension D f_throat , ln(N s )=-D f_throat ln l b +C (10) In the above formula, C is the intercept, a constant.

7. The rock permeability rapid analysis method based on scanning image throat characteristics according to claim 1 is characterized in that: In step S6, based on the minimum throat diameter, the maximum throat diameter and the fractal dimension of the throat system, the rock sample permeability analysis method is: The flow rate of fluid in a single throat is: In the formula, △p is the pressure difference between the two ends of the throat, μ is the viscosity, L(d t ) is the throat bend length, which can be expressed as: Where L0 is the length of the rock sample in the flow direction, D tor is the fractal dimension of throat tortuosity, based on the fractal dimension of rock throat f_throat , the throat size distribution can be expressed as: N(d t ) indicates that the throat diameter is greater than d t The number of pores, by differentiating both sides of equation (13), we can obtain: In the formula, -dN means the throat size at d t to d t +ddt number of pores, the fluid flow in all throats can pass through the minimum throat diameter d tmin and maximum throat diameter d tmax Integrating between them gives: According to Darcy's formula: Where A is the cross-sectional area of ​​the rock sample in the flow direction. According to equations (14) and (15), the core permeability can be expressed as: