CN115081210A - A method for constrained walk simulation to calculate flow tortuosity in porous media - Google Patents

A method for constrained walk simulation to calculate flow tortuosity in porous media Download PDF

Info

Publication number
CN115081210A
CN115081210A CN202210693931.9A CN202210693931A CN115081210A CN 115081210 A CN115081210 A CN 115081210A CN 202210693931 A CN202210693931 A CN 202210693931A CN 115081210 A CN115081210 A CN 115081210A
Authority
CN
China
Prior art keywords
tortuosity
matrix
digital core
migration
walk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210693931.9A
Other languages
Chinese (zh)
Inventor
张启辉
李海涛
王文星
王科
陆宽
马欣
高素娟
聂松
马寒松
代晶晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southwest Petroleum University
Original Assignee
Southwest Petroleum University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southwest Petroleum University filed Critical Southwest Petroleum University
Priority to CN202210693931.9A priority Critical patent/CN115081210A/en
Publication of CN115081210A publication Critical patent/CN115081210A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/08Investigating permeability, pore-volume, or surface area of porous materials
    • G01N15/088Investigating volume, surface area, size or distribution of pores; Porosimetry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A10/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
    • Y02A10/40Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Chemical & Material Sciences (AREA)
  • Computational Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biochemistry (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Pathology (AREA)
  • Immunology (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Analytical Chemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Algebra (AREA)
  • Dispersion Chemistry (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开一种受限制游走模拟以计算多孔介质内流动迂曲度的方法,包括基于分水岭算法简化修正样品数字岩心;包括结合数字岩心灰度值表征的微观尺度连续相粒子在不同区域不同运移方向的碰撞概率;包括针对不同数字岩心分辨率的连续相算子运移方向以及数字岩心镜面拓展映射方法;通过模拟在无限大镜像映射下稳定扩散系数,结合上文中真实情况下的算子运移方式来量化不同状态下的迂曲度。本发明基于数字岩心,通过对多孔介质内随机游走模拟的方法获取的迂曲度数据,相较于现有的koponen、sousa以及barrande等理想数学模型的方法,引入了运移中复杂的孔隙结构以及受力影响,新方法获取的迂曲度进行模拟计算,相较于传统方法的迂曲度,结果符合率提高了11%。

Figure 202210693931

The invention discloses a method for calculating flow tortuosity in a porous medium by constrained walk simulation, which includes simplifying and correcting sample digital cores based on a watershed algorithm; including microscopic-scale continuous phase particles characterized by grayscale values of digital cores in different regions. Collision probability of moving direction; including continuous phase operator migration direction for different digital core resolutions and digital core mirror expansion mapping method; by simulating the stable diffusion coefficient under infinite mirror mapping, combined with the above operators in the real situation transport mode to quantify the tortuosity in different states. Based on the digital core, the present invention introduces the complex pore structure in the migration, compared with the existing methods of ideal mathematical models such as koponen, sousa and barrande, by simulating the tortuosity data obtained by the random walk simulation method in the porous medium. And under the influence of force, the tortuosity obtained by the new method is simulated and calculated, and the coincidence rate of the result is increased by 11% compared with the tortuosity of the traditional method.

Figure 202210693931

Description

一种受限制游走模拟以计算多孔介质内流动迂曲度的方法A method for constrained walk simulation to calculate flow tortuosity in porous media

技术领域technical field

本发明涉及气藏开发技术领域,特别涉及非常规油气开发领域,具体是一种受限制游走模拟以计算多孔介质内流动迂曲度的方法。The invention relates to the technical field of gas reservoir development, in particular to the field of unconventional oil and gas development, in particular to a method for calculating flow tortuosity in porous media through restricted walk simulation.

背景技术Background technique

作为描述渗流通道的一个重要参数,孔道迂曲度定义为渗流过程中指定运移的实际长度与渗流通道的宏观长度的比值。随着近年来对非常规油气藏的开发,油气渗流过程愈加复杂,常规的通过孔隙结构进行简单计算获取的迂曲度方法所获得的迂曲度用以解释渗流过程存在较大误差。As an important parameter to describe the seepage channel, the pore tortuosity is defined as the ratio of the actual length of the specified migration to the macroscopic length of the seepage channel during the seepage process. With the development of unconventional oil and gas reservoirs in recent years, the process of oil and gas seepage has become more and more complicated. The tortuosity obtained by the conventional tortuosity method obtained by simple calculation of pore structure has large errors in explaining the seepage process.

近年来专家及学者们趋向于使用高精度CT反演制成数字岩心以模拟复杂非常规油气藏中的运移,但对迂曲度的解释则仅仅停留在孔介质矿物的不同平均粒径量化上,忽略了真实渗流过程中粒子间作用力以及储层岩石的各向异性影响。In recent years, experts and scholars tend to use high-precision CT inversion to make digital cores to simulate migration in complex unconventional oil and gas reservoirs, but the interpretation of tortuosity only stays on the quantification of different average particle sizes of minerals in porous media , ignoring the inter-particle force and the anisotropy of the reservoir rock during the real seepage process.

发明内容SUMMARY OF THE INVENTION

针对上述问题,本发明旨在提供一种技术以精确的表征复杂多孔介质的迂曲度方法,使其结果上更接近于真实渗流情况。In view of the above problems, the present invention aims to provide a technique to accurately characterize the tortuosity of complex porous media, so that the results are closer to the real seepage situation.

本发明的技术方案如下:The technical scheme of the present invention is as follows:

一种受限制游走模拟以计算多孔介质内流动迂曲度的方法,其特点在于,包括以下步骤:A method for constrained walk simulation to calculate flow tortuosity in porous media, characterized by the following steps:

Step1:对岩样进行360度扫描,基于岩样多角度图像进行三维修正处理;Step1: Scan the rock sample in 360 degrees, and perform three-dimensional correction processing based on the multi-angle image of the rock sample;

Step2:对处理后的岩样三维灰度数据通过图像阈值分割分离岩样孔隙与岩样骨架。对比矩阵统计孔隙与实际测试孔隙度调整阈值数据,获取表征真实岩样骨架与孔隙的数据;Step 2: The processed three-dimensional grayscale data of the rock sample is segmented by image threshold to separate the pores and the skeleton of the rock sample. Compare the matrix statistical porosity with the actual test porosity adjustment threshold data to obtain the data characterizing the real rock sample skeleton and pores;

Step3:结合现场实验,使用分水岭算法分割空隙相欧式距离矩阵,将复杂矩阵转化为较为简单的对应样品空间连接点集合,设定该矩阵区域为随机游走中无碰撞区域。Step3: Combined with the field experiment, use the watershed algorithm to divide the Euclidean distance matrix of the void phase, convert the complex matrix into a relatively simple set of corresponding sample space connection points, and set the matrix area as the collision-free area in the random walk.

Step4:通过不断去除岩石空隙相边界体素,结合现场实验将对应获取对应岩样在对应扫描分辨率下单个体素的碰撞与反弹概率。Step4: By continuously removing the boundary voxels of the rock void facies, combined with the field experiment, the collision and rebound probability of a single voxel of the corresponding rock sample at the corresponding scanning resolution will be obtained correspondingly.

Step5:选取样品数字岩心矩阵中孔隙内任意一点,进行随机游走模拟,游走过程中记录对应步数对应游走距离,对游走过程中矩阵边界进行镜像映射。随机游走模拟坐标在接触数字岩心骨架采取不同措施限制步数或游走距离。Step5: Select any point in the pores of the sample digital core matrix to perform random walk simulation, record the corresponding number of steps corresponding to the walk distance during the walk, and mirror the matrix boundary during the walk. The random walk simulation coordinates take different measures to limit the number of steps or walk distance in contact with the digital core skeleton.

Step6:通过随机游走步数与距离的关系表征样品储层迂曲度。Step6: Characterize the tortuosity of the sample reservoir through the relationship between the number of random walk steps and the distance.

进一步地,所述Step1具体过程为:Further, the specific process of Step1 is:

使用计算机遍历重构后的三维数字岩心矩阵,以灰度数据量为标准,将灰度数据划分为两个频段,对频段划分后的数据,在较难区分的部分基于对应灰度值与密度的重构算法,转化灰度值为密度数据,并代替其灰度值数据。Use the computer to traverse the reconstructed three-dimensional digital core matrix, and divide the grayscale data into two frequency bands with the amount of grayscale data as the standard. The reconstruction algorithm converts the gray value to the density data and replaces its gray value data.

进一步地,所述Step2具体过程为:Further, the specific process of the Step2 is:

Step201:通过液体饱和排液法或氦气法等岩样孔隙度实验测定方法测定样品孔隙度。Step 201: Determine the porosity of the sample by the liquid saturation drainage method or the helium method and other rock sample porosity test methods.

Step202:基于修正后的三维数字岩心数据,通过设定灰度或密度阈值划分骨架与孔隙,遍历划分后的二值化孔隙,对矩阵内标记为孔隙的坐标进行bwlabel算法计算其独立性,标记并计算调整阈值后不连通孔隙所占体积。对比Step201中实验所获的孔隙度φ1,调整阈值后统计孔隙度φ2以及不连通孔隙φu。通过不断调整阈值使得φ1=φ2u,从而确定能够反应真实岩心孔隙与骨架结构的数据。Step202: Based on the corrected 3D digital core data, divide the skeleton and the pores by setting the grayscale or density threshold, traverse the divided binarized pores, and perform the bwlabel algorithm on the coordinates marked as pores in the matrix to calculate their independence, and mark the pores. And calculate the volume occupied by the disconnected pores after adjusting the threshold. Compared with the porosity φ 1 obtained in the experiment in Step 201, the porosity φ 2 and the disconnected pores φ u are calculated after adjusting the threshold. By continuously adjusting the threshold to make φ 12u , the data that can reflect the real core pore and framework structure can be determined.

进一步地,所述Step3具体过程为:Further, the specific process of the Step3 is:

对数字岩心中根据Step2过程中划分为孔隙的区域中灰度值进行高斯平滑操作,抹除极小值后调整分水岭算法中孔隙灰度阈值,根据数字岩心中灰度划分为多个相似小区间并根据其灰度值大小进行编号,编号,体素半径R以及其对应阈值Th储存在对应数字岩心对应[x,y,z]位置矩阵中。Perform Gaussian smoothing operation on the gray value in the area divided into pores in the process of Step2 in the digital core. After erasing the minimum value, adjust the grayscale threshold of the pores in the watershed algorithm, and divide the digital core into multiple similar cells according to the grayscale. And according to the size of its gray value, number, number, voxel radius R and its corresponding threshold Th are stored in the corresponding [x, y, z] position matrix of the corresponding digital core.

基于波尔茨曼方程中对于连续相速度对碰撞相的影响:Based on the Boltzmann equation for the effect of the continuous phase velocity on the collision phase:

Figure BDA0003701699410000031
Figure BDA0003701699410000031

其中:f为无量纲外力,Xα为对应位置,ξα为无量纲粒子扩散速度Where: f is the dimensionless external force, X α is the corresponding position, ξ α is the diffusion velocity of the dimensionless particle

考虑多孔介质中迂曲度计算忽略外力作用,结合玻尔兹曼方程中对于速度场于碰撞相的方程,数字岩心中某一孔隙点的扩散分布概率可以等效为:Considering that the calculation of tortuosity in porous media ignores the external force, combined with the Boltzmann equation for the velocity field and the collision phase equation, the diffusion distribution probability of a pore point in the digital core can be equivalent to:

Figure BDA0003701699410000032
Figure BDA0003701699410000032

考虑数字岩心中孔隙网络可以等效为长圆管,因此结合流动过程中泊肃叶方程以及Step3过程中分水岭算法分隔的独立孔隙,则岩样流动过程中各体素分布概率可以通过如下方程表示:Considering that the pore network in the digital core can be equivalent to an oblong tube, combining the Poiseuille equation in the flow process and the independent pores separated by the watershed algorithm in the Step3 process, the distribution probability of each voxel in the rock sample flow process can be expressed by the following equation:

Figure BDA0003701699410000033
Figure BDA0003701699410000033

化简,则微观尺度中岩心孔隙中单个体素在进行自由扩散流动时各方向概率为:Simplified, the probabilities of each direction of a single voxel in the core pores at the microscale during free diffusion flow are:

Figure BDA0003701699410000034
Figure BDA0003701699410000034

进一步地,所述Step5具体过程为:Further, the specific process of the Step5 is:

Step501:基于Step2步骤中获取的孔隙网络模型,在孔隙网络中随机生成一个算子,读取Step3过程中获取的数据矩阵,结合Step4过程计算该算子在下一迭代时间步长内的周边N个体素的运移概率,若数字岩心分辨率较低,即单个体素尺寸较大,限于精度限制,该模型无法精细表达孔隙结构,因此可能存在低于精度的孔隙结构,考虑周边27个体素作为运移方向;若数字岩心分辨率较高,能够表征精细孔隙结构,则取单个体素周边14或6个方向。对应体素运移概率为:Step501: Based on the pore network model obtained in Step 2, randomly generate an operator in the pore network, read the data matrix obtained in the process of Step 3, and combine the process of Step 4 to calculate the surrounding N individuals of the operator in the next iteration time step The migration probability of voxels, if the resolution of the digital core is low, that is, the size of a single voxel is large, due to the limitation of accuracy, the model cannot express the pore structure finely, so there may be a pore structure with lower accuracy, considering the surrounding 27 voxels as Migration direction; if the resolution of the digital core is high and can characterize the fine pore structure, then take 14 or 6 directions around a single voxel. The corresponding voxel transport probability is:

Figure BDA0003701699410000041
Figure BDA0003701699410000041

当算子在随机游走过程中运移到数字岩心矩阵中骨架位置时,则算子位置保持不动,下一次迭代运移过程中忽略当前运移位置概率。When the operator moves to the skeleton position in the digital core matrix during the random walk, the operator position remains unchanged, and the current migration position probability is ignored in the next iterative migration process.

Step502:经过Step501过程获取数字岩心矩阵中获取的不同方向概率,调用编程软件中自带随机数库,使算子在数字岩心矩阵对应孔隙位置内进行带有对应方向概率的随机游走;对数字岩心矩阵进行横向以及纵向的镜像映射,用以扩充边界,对应边界镜面映射的过程为:Step502: Obtain the probabilities of different directions obtained in the digital core matrix through the process of Step501, call the random number library in the programming software, and make the operator perform random walks with corresponding direction probabilities in the corresponding pore positions of the digital core matrix; The core matrix performs horizontal and vertical mirror mapping to expand the boundary. The process of mirror mapping corresponding to the boundary is as follows:

Figure BDA0003701699410000042
Figure BDA0003701699410000042

其中:xi+1,yi+1代表映射前的算子所处矩阵内坐标;REF(x,y)代表映射后的数字岩心矩阵坐标;b为矩阵边界大小。Among them: x i+1 , y i+1 represent the coordinates in the matrix where the operator before mapping is located; REF(x, y) represent the digital core matrix coordinates after mapping; b is the size of the matrix boundary.

Step503:使用编程软件重复迭代Step501-Step502过程。同时运行一次无限制空间下的运移模拟,即矩阵内全部为孔隙;根据不同需要设计并记录不同时间步长下算子所处位置。Step503: Repeat the iterative process of Step501-Step502 using the programming software. Simultaneously run a migration simulation in an unrestricted space, that is, all pores in the matrix; design and record the positions of the operators at different time steps according to different needs.

进一步地,所述Step503过程中根据不同需要选取不同步长以获取不同算子的具体位置分过程可以解释为:若研究过程为平面二维运移,则根据迭代过程记录记录不同迭代步数下对应二维坐标下的距离r;若考虑整体迂曲度,则据迭代过程记录记录不同迭代步数下对应三维坐标下的距离r。若考虑不同运移尺度下的迂曲度,则结合对应数字岩心分辨率记录算子达到规定运移距离的对应步数。Further, in the described Step503 process, according to different needs, different steps are selected to obtain the specific positions of different operators. The sub-process can be explained as: if the research process is a plane two-dimensional movement, then record and record different iteration steps according to the iterative process. Corresponds to the distance r in two-dimensional coordinates; if the overall tortuosity is considered, the distance r in the corresponding three-dimensional coordinates under different iteration steps is recorded according to the iterative process. If the tortuosity under different migration scales is considered, the corresponding number of steps for the operator to reach the specified migration distance is recorded in combination with the corresponding digital core resolution.

本发明在保证易于实施的基础上,相比现有方法在筛选影响致密气产量的主控因素上更切合实际,对后续致密气产量预测研究有着极其深远的意义。On the basis of ensuring easy implementation, the present invention is more practical in screening the main control factors affecting the production of tight gas than the existing method, and has extremely far-reaching significance for the subsequent research on the production of tight gas.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明一种受限制游走模拟以计算多孔介质内流动迂曲度的方法流程示意图;1 is a schematic flowchart of a method for calculating the flow tortuosity in a porous medium by simulating a restricted walk of the present invention;

图2为实施例1计算得到的经Avizo可视化后的数字岩心矩阵;Fig. 2 is the digital core matrix after Avizo visualization obtained by embodiment 1 calculation;

图3为实施例1计算得到的基于分水岭算法计算处理后的矩阵数据(Avizo可视化);Fig. 3 is the matrix data (Avizo visualization) after calculating and processing based on the watershed algorithm that embodiment 1 calculates;

图4为实施例1计算得到不同时间步长下的扩散系数;Fig. 4 calculates and obtains the diffusion coefficient under different time steps in embodiment 1;

具体实施方式Detailed ways

下面结合附图和实施例对本发明进一步说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的技术特征可以相互结合。需要指出的是,除非另有指明,本申请使用的所有技术和科学术语具有与本申请所属技术领域的普通技术人员通常理解的相同含义。本发明公开使用的“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。The present invention will be further described below in conjunction with the accompanying drawings and embodiments. It should be noted that the embodiments in the present application and the technical features in the embodiments may be combined with each other under the condition of no conflict. It should be noted that, unless otherwise specified, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of "comprising" or "comprising" and similar words in the present disclosure means that the elements or items appearing before the word encompass the elements or items listed after the word and their equivalents, but do not exclude other elements or items.

实施例1Example 1

如附图1所示,一种基于随机游走精确测定多孔介质内渗流动态迂曲度的方法,包括以下步骤:As shown in FIG. 1, a method for accurately measuring the dynamic tortuosity of seepage flow in porous media based on random walk, including the following steps:

Step1:对岩样进行360度扫描,基于岩样多角度图像进行三维修正处理;转化后的三维数字岩心矩阵如表1所示,经Avizo可视化读取的数据如说明书附图2所示。Step1: Perform 360-degree scanning on the rock sample, and perform three-dimensional correction processing based on the multi-angle image of the rock sample; the transformed three-dimensional digital core matrix is shown in Table 1, and the data read visually by Avizo is shown in Figure 2 of the manual.

表1转化后的三维数字岩心数据矩阵Table 1 Converted 3D digital core data matrix

Figure BDA0003701699410000061
Figure BDA0003701699410000061

Figure BDA0003701699410000071
Figure BDA0003701699410000071

Step2:对处理后的岩样三维灰度数据通过图像阈值分割分离岩样孔隙与岩样骨架。对比矩阵统计孔隙与实际测试孔隙度调整阈值数据,获取表征真实岩样骨架与孔隙的数据;Step 2: The processed three-dimensional grayscale data of the rock sample is segmented by image threshold to separate the pores and the skeleton of the rock sample. Compare the matrix statistical porosity with the actual test porosity adjustment threshold data to obtain the data characterizing the real rock sample skeleton and pores;

经过调整阈值,以阈值设定4817获得的孔隙度0.143与试验结果最相近,则以该阈值划分孔隙,图2为处理后的矩阵数据经Avizo可视化后的结果。After adjusting the threshold, the porosity of 0.143 obtained by setting the threshold value 4817 is the closest to the test result, so the porosity is divided by this threshold value. Figure 2 shows the result of the processed matrix data visualized by Avizo.

Step3:结合现场实验,使用分水岭算法分割空隙相欧式距离矩阵,将复杂矩阵转化为较为简单的对应样品空间连接点集合,设定该矩阵区域为随机游走中无碰撞区域。Step3: Combined with the field experiment, use the watershed algorithm to divide the Euclidean distance matrix of the void phase, convert the complex matrix into a relatively simple set of corresponding sample space connection points, and set the matrix area as the collision-free area in the random walk.

经分水岭算法及修正后的随机游走无碰撞区域如图3三种蓝色位置所示。The collision-free area of random walk after the watershed algorithm and correction is shown in the three blue positions in Figure 3.

Step4:通过不断去除岩石空隙相边界体素,结合现场实验将对应获取对应岩样在对应扫描分辨率下单个体素的碰撞与反弹概率。Step4: By continuously removing the boundary voxels of the rock void facies, combined with the field experiment, the collision and rebound probability of a single voxel of the corresponding rock sample at the corresponding scanning resolution will be obtained correspondingly.

以数字岩心矩阵坐标[77,77,77]为例,基于其灰度值计算其在9个方向的运移概率为163/814,5/906,16/103,49/370,5/56,25/222,24/299,50/841,35/213。Taking the digital core matrix coordinates [77, 77, 77] as an example, based on its gray value, the migration probabilities in 9 directions are calculated as 163/814, 5/906, 16/103, 49/370, 5/56 , 25/222, 24/299, 50/841, 35/213.

Step5:选取样品数字岩心矩阵中孔隙内任意一点,进行随机游走模拟,游走过程中记录对应步数对应游走距离,对游走过程中矩阵边界进行镜像映射。随机游走模拟坐标在接触数字岩心骨架采取不同措施限制步数或游走距离。Step5: Select any point in the pores of the sample digital core matrix to perform random walk simulation, record the corresponding number of steps corresponding to the walk distance during the walk, and mirror the matrix boundary during the walk. The random walk simulation coordinates take different measures to limit the number of steps or walk distance in contact with the digital core skeleton.

数字岩心样品中存在不同粒径,将数字岩心样品分为大粒径,小粒径总体以及按照无制约空间分别进行10000次*100000步游走,记录不同情况下运移距离。There are different particle sizes in the digital core samples, and the digital core samples are divided into large particle size, small particle size overall, and 10,000 times*100,000 steps in an unconstrained space, respectively, and the migration distance under different conditions is recorded.

Step6:通过随机游走步数与距离的关系表征样品储层迂曲度。Step6: Characterize the tortuosity of the sample reservoir through the relationship between the number of random walk steps and the distance.

如图4所示,游走步数高于70000次时,四种不同情况下的扩散系数均趋于定值,因此,该样品中大粒径区域,小粒径区域以及整体迂曲度分别为,1.7,2.1以及1.9.将此值带入泊肃叶方程进行流动模拟,模拟结果与真实结果相差8%,相比孔隙度计算的迂曲度值,模拟误差降低了11%。As shown in Figure 4, when the number of walking steps is higher than 70,000 times, the diffusion coefficients in the four different cases tend to be constant. Therefore, the large particle size area, the small particle size area and the overall tortuosity in this sample are respectively , 1.7, 2.1 and 1.9. Bring this value into the Poiseuille equation for flow simulation, the simulation result differs by 8% from the real result, and the simulation error is reduced by 11% compared with the tortuosity value calculated by porosity.

以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制,虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的技术内容作出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本发明技术方案的范围内。The above are only preferred embodiments of the present invention, and do not limit the present invention in any form. Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Technical personnel, within the scope of the technical solution of the present invention, can make some changes or modifications to equivalent embodiments of equivalent changes by using the technical content disclosed above, but any content that does not depart from the technical solution of the present invention, according to the present invention Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solutions of the present invention.

Claims (8)

1. A method of constrained migration simulation to calculate flow tortuosity in a porous medium, comprising the steps of:
step 1: scanning the rock sample by 360 degrees, and performing three-dimensional correction processing based on the multi-angle image of the rock sample;
step 2: separating rock sample pores and rock sample frameworks from the processed three-dimensional gray data of the rock sample through image threshold segmentation, and comparing matrix statistics on the pores and actual test porosity adjustment threshold data to obtain data representing real rock sample frameworks and pores;
step 3: in combination with a field experiment, a watershed algorithm is used for segmenting a space phase Euclidean distance matrix, a complex matrix is converted into a simpler corresponding sample space connection point set, and the matrix area is set as a random walk non-collision area;
step 4: continuously removing rock gap phase boundary voxels, and correspondingly acquiring the collision and rebound probability of a single voxel of a corresponding rock sample under the corresponding scanning resolution by combining a field experiment;
step 5: selecting any point in a pore in a sample digital core matrix, performing random walk simulation, recording a corresponding step number and a corresponding walk distance in the walk process, performing mirror image mapping on a matrix boundary in the walk process, and taking different measures to limit the step number or the walk distance when a random walk simulation coordinate is in contact with a digital core framework;
step 6: and characterizing the reservoir tortuosity of the sample through the relation between the random walk step number and the distance.
2. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation is characterized in that Step1 is specifically processed by the following steps: and traversing the reconstructed three-dimensional digital core matrix by using a computer, dividing the gray data into two frequency bands by taking the gray data amount as a standard, and converting the gray value into density data on the part which is difficult to distinguish based on a reconstruction algorithm of the corresponding gray value and the density for the data after the frequency bands are divided, and replacing the gray value data.
3. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation is characterized in that Step2 is specifically processed by the following steps:
step 201: measuring the porosity of the sample by a rock sample porosity experimental measurement method such as a liquid saturation drainage method or a helium method;
step 202: based on the corrected three-dimensional digital core data, a framework and pores are divided by setting a gray level or density threshold value, divided binary pores are traversed, coordinates marked as pores in a matrix are subjected to a bwlabel algorithm to calculate the independence of the coordinates, the volumes of the unconnected pores are marked and calculated after the threshold value is adjusted, and the porosity phi obtained in the experiment in Step201 is compared 1 After adjusting the threshold, the porosity phi is counted 2 And a disconnected pore phi u By continuously adjusting the threshold value to phi 1 =φ 2u And determining data capable of reflecting the pore and skeleton structure of the real core.
4. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation is characterized in that Step3 is specifically processed by the following steps: and performing Gaussian smoothing operation on gray values in the region divided into pores in the digital core according to Step2, adjusting a pore gray threshold in a watershed algorithm after erasing a minimum value, dividing the region into a plurality of similar cells according to the gray values in the digital core, and numbering according to the gray values, wherein the voxel radius R and the corresponding threshold Th are stored in a corresponding [ x, y, z ] position matrix of the corresponding digital core.
5. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation is characterized in that Step4 is specifically processed by the following steps: based on the effect of continuous phase velocity on the collision phase in the Boltzmann equation:
Figure FDA0003701699400000011
wherein: f is a dimensionless external force, X α Is corresponding to the position, xi α To a dimensionless particle diffusion velocity
Considering the influence of the external force neglected by the tortuosity calculation in the porous medium, and combining the equation of the boltzmann equation for the velocity field in the collision phase, the diffusion distribution probability of a certain pore point in the digital core can be equivalent to:
Figure FDA0003701699400000021
considering that the pore network in the digital core can be equivalent to a long circular tube, and therefore, in combination with the poisson equation in the flow process and the independent pores separated by the watershed algorithm in the Step3 process, the distribution probability of each voxel in the rock sample flow process can be expressed by the following equation:
Figure FDA0003701699400000022
simplifying, the probability of each direction of a single voxel in the core pore in the microscopic scale during free diffusion flow is as follows:
Figure FDA0003701699400000023
wherein: th N The value is the grey value in the digital rock core; r i Calculating an equivalent radius for the watershed algorithm; theta.theta. * Is the contact angle; μ is the fluid viscosity.
6. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation, which is characterized in that the Step5 comprises the following specific processes:
step501, randomly generating an operator in a pore network based on the pore network model obtained in the Step2, reading a data matrix obtained in the Step3 process, calculating the migration probability of N surrounding voxels of the random voxel in the next iteration time Step by combining the Step4 process, and if the resolution of the digital core is low, namely the size of a single voxel is large and is limited to the precision limit, the model cannot finely express the pore structure, so that a pore structure lower than the precision possibly exists, and the 27 surrounding voxels are considered as the migration direction; if the resolution of the digital core is high and the fine pore structure can be represented, taking 14 or 6 directions around a single voxel, wherein the corresponding voxel migration probability is as follows:
Figure FDA0003701699400000024
when the operator is transported to the skeleton position in the digital core matrix in the random migration process, the operator position is kept still, and the current migration position probability is ignored in the next iterative migration process;
step 502: acquiring the probabilities in different directions acquired in the digital core matrix through the Step501 process, and calling a random number library in programming software to enable operators to randomly walk in the positions of the corresponding holes of the digital core matrix with the probabilities in the corresponding directions; performing transverse and longitudinal mirror mapping on the digital core matrix to expand the boundary, wherein the process corresponding to the mirror mapping of the boundary is as follows:
Figure FDA0003701699400000031
wherein: x is the number of i+1 ,y i+1 Representing coordinates in a matrix where an operator before mapping is located; REF (x, y) represents the matrix coordinates of the mapped digital core; b is the matrix boundary size;
step 503: repeatedly iterating the Step501-Step502 process by using programming software, and simultaneously running migration simulation in an unlimited space, namely all pores are in the matrix; and designing and recording the positions of operators under different time step lengths according to different requirements.
7. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation is characterized in that the specific positions of different operators obtained by selecting different Step lengths according to different requirements in the Step503 process can be interpreted as follows: if the research process is planar two-dimensional migration, recording the distance r under the corresponding two-dimensional coordinates under different iteration steps according to the records of the iteration process; and if the integral tortuosity is considered, recording the distance r under the corresponding three-dimensional coordinates under different iteration steps according to the iteration process, and if the tortuosity under different migration scales is considered, combining the corresponding digital core resolution recording operator to reach the corresponding step number of the specified migration distance.
8. A method for calculating the flow tortuosity in a porous medium by using a limited walk simulation is characterized in that Step6 is specifically processed by the following steps: counting the operator average moving distance variance under the corresponding Step length acquired in the Step5 process, calculating the diffusion coefficient in the digital core matrix and the unlimited space, judging the tortuosity through the slope of the image of the average moving distance variance and the Step number, and judging the corresponding tortuosity as follows:
Figure FDA0003701699400000032
wherein: d diff Diffusion parameter for free migration, d lmtd In order to limit the diffusion coefficient of the migration,
Figure FDA0003701699400000033
corresponding to the image slope.
CN202210693931.9A 2022-06-19 2022-06-19 A method for constrained walk simulation to calculate flow tortuosity in porous media Pending CN115081210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210693931.9A CN115081210A (en) 2022-06-19 2022-06-19 A method for constrained walk simulation to calculate flow tortuosity in porous media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210693931.9A CN115081210A (en) 2022-06-19 2022-06-19 A method for constrained walk simulation to calculate flow tortuosity in porous media

Publications (1)

Publication Number Publication Date
CN115081210A true CN115081210A (en) 2022-09-20

Family

ID=83253826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210693931.9A Pending CN115081210A (en) 2022-06-19 2022-06-19 A method for constrained walk simulation to calculate flow tortuosity in porous media

Country Status (1)

Country Link
CN (1) CN115081210A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115078438A (en) * 2022-06-19 2022-09-20 西南石油大学 A method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores
CN117451582A (en) * 2023-10-26 2024-01-26 中国科学院武汉岩土力学研究所 A simulation and calculation method for core hydrogen diffusion coefficient and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107808049A (en) * 2017-10-26 2018-03-16 南京大学 DNAPL migration method for numerical simulation based on porous media three-dimensional microstructures model
CN110210460A (en) * 2019-06-26 2019-09-06 中国石油大学(华东) A kind of shale gas apparent permeability calculation method for considering multiple factors and influencing
CN111563927A (en) * 2020-05-14 2020-08-21 西南石油大学 A calculation method of pore tortuosity based on rock micro-CT images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107808049A (en) * 2017-10-26 2018-03-16 南京大学 DNAPL migration method for numerical simulation based on porous media three-dimensional microstructures model
CN110210460A (en) * 2019-06-26 2019-09-06 中国石油大学(华东) A kind of shale gas apparent permeability calculation method for considering multiple factors and influencing
CN111563927A (en) * 2020-05-14 2020-08-21 西南石油大学 A calculation method of pore tortuosity based on rock micro-CT images

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李滔;李闽;荆雪琪;肖文联;崔庆武;: "孔隙尺度各向异性与孔隙分布非均质性对多孔介质渗透率的影响机理", 石油勘探与开发, no. 03, 20 December 2018 (2018-12-20) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115078438A (en) * 2022-06-19 2022-09-20 西南石油大学 A method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores
CN115078438B (en) * 2022-06-19 2024-09-24 西南石油大学 A method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores
CN117451582A (en) * 2023-10-26 2024-01-26 中国科学院武汉岩土力学研究所 A simulation and calculation method for core hydrogen diffusion coefficient and related equipment
CN117451582B (en) * 2023-10-26 2024-05-28 中国科学院武汉岩土力学研究所 Core hydrogen diffusion coefficient simulation calculation method and related equipment

Similar Documents

Publication Publication Date Title
CN108763711B (en) Permeability prediction method based on rock core scanning image block numerical simulation
CN105115874B (en) Multi-component three-dimensional digital core construction method based on multi-source information fusion
Ishutov et al. 3D printing sandstone porosity models
CN106600553B (en) A DEM super-resolution method based on convolutional neural network
US11590708B2 (en) Three-dimensional fluid micromodels
AU2013289017B2 (en) Digital rock analysis systems and methods with reliable multiphase permeability determination
CN115081210A (en) A method for constrained walk simulation to calculate flow tortuosity in porous media
CN107655908A (en) Method and device for constructing digital core
CN107817199A (en) A kind of construction method of tight sand multi-scale porosity model and application
EA032063B1 (en) Systems and methods for improving direct numerical simulation of material properties from rock samples and determining uncertainty in the material properties
CN113888531A (en) Concrete surface defect detection method and device, electronic equipment and storage medium
CN110441209A (en) A method of rock permeability is calculated based on compact reservoir digital cores
CN113167713B (en) Method for digitally characterizing rock permeability
CN102012964B (en) Method and device for processing sampling data of laser scanning
CN110018108A (en) The measuring method and equipment in blowhole aperture
CN115078438B (en) A method for establishing a pore network model based on nuclear magnetic resonance testing of digital cores
CN113129275B (en) Three-dimensional structure characterization method based on rock-soil mass material digital image
AU2019406629A1 (en) Method for characterizing the porosity of rock
CN114705606B (en) Blocking method of key seepage nodes in rock based on networked analysis
CN114818408B (en) A macroscopic modeling method based on the pore structure of porous media
CN116680988A (en) A Prediction Method of Porous Media Permeability Based on Transformer Network
Adalsteinsson et al. Accurate and efficient implementation of pore-morphology-based drainage modeling in two-dimensional porous media
WO2019151889A1 (en) A method for determining a three-dimensional spatial distribution of porosity in a sample of a heterogeneous porous medium
CN118095021B (en) A method for calculating the permeability of large-scale digital cores
CN117853902B (en) Slope stability analysis method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination