CN114818408A - Macroscopic angle modeling method based on porous medium pore structure - Google Patents
Macroscopic angle modeling method based on porous medium pore structure Download PDFInfo
- Publication number
- CN114818408A CN114818408A CN202210235422.1A CN202210235422A CN114818408A CN 114818408 A CN114818408 A CN 114818408A CN 202210235422 A CN202210235422 A CN 202210235422A CN 114818408 A CN114818408 A CN 114818408A
- Authority
- CN
- China
- Prior art keywords
- pore
- simulation
- image
- function
- pore structure
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/28—Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/003—Reconstruction from projections, e.g. tomography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A10/00—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
- Y02A10/40—Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- Algebra (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Fluid Mechanics (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明涉及多孔介质孔隙尺度流动模拟领域,具体涉及一种基于多孔介质孔隙结构的宏观角度建模方法。该方法包括以下步骤:S1:针对储层岩心样品,利用CT扫描创建二维灰图像;S2:基于灰度图像获取孔隙结构几何信息,构建灰度图像数值函数f(x,y);S3:利用有限元方法建立与CT图像相同尺寸的二维模拟区域;S4:初始化孔隙尺度流动模拟所需的参数值;S5:从宏观角度构建离散化参数函数;S6:对整个模拟区域基于灰度图像数值函数f(x,y)辅助剖分网格;S7:对模拟区域施加Brinkman方程,在S6剖分的网格内求解流动过程的速度场及压力场。本发明提供了一种合理有效、能准确模拟多孔介质孔隙尺度流动过程,并且从宏观角度建模的方法。
The invention relates to the field of pore-scale flow simulation of porous media, in particular to a macro-angle modeling method based on the pore structure of porous media. The method includes the following steps: S1: for the reservoir core sample, use CT scanning to create a two-dimensional gray image; S2: obtain pore structure geometric information based on the gray image, and construct a gray image numerical function f(x, y); S3: Use the finite element method to establish a two-dimensional simulation area with the same size as the CT image; S4: Initialize the parameter values required for pore-scale flow simulation; S5: Construct the discretized parameter function from a macroscopic perspective; S6: The entire simulation area is based on grayscale images The numerical function f(x,y) assists in meshing; S7: Apply the Brinkman equation to the simulation area, and solve the velocity field and pressure field of the flow process in the mesh meshed by S6. The invention provides a reasonable and effective method that can accurately simulate the pore scale flow process of a porous medium and model from a macroscopic point of view.
Description
技术领域technical field
本发明涉及一种基于多孔介质孔隙结构的宏观角度建模方法,属于多孔介质孔隙尺度流动模拟技术领域。The invention relates to a macro-angle modeling method based on a porous medium pore structure, and belongs to the technical field of porous medium pore scale flow simulation.
背景技术Background technique
石油、天然气是我国能源体系的重要组成部分,高效合理地开发利用油气资源至关重要。油气在地下储层里的流动可以等效为多孔介质流动。且近年来兴起的水合物开采、地热开采等也都可以认为是在多孔介质内的流动过程。因此,越来越多的学者针对多孔介质进行了大量的研究。不仅通过物理实验手段观察多孔介质流动特征,而且通过数值模拟手段研究流动机理。Oil and natural gas are an important part of my country's energy system, and it is very important to develop and utilize oil and gas resources efficiently and rationally. The flow of oil and gas in underground reservoirs can be equivalent to the flow of porous media. Moreover, hydrate mining and geothermal mining, which have emerged in recent years, can also be considered as flow processes in porous media. Therefore, more and more scholars have done a lot of research on porous media. The flow characteristics of porous media are not only observed by physical experiments, but also the flow mechanism is studied by numerical simulation.
随着计算机科学的广泛运用,数值模拟技术已经被广泛运用到多孔介质的流动模拟研究中。利用数值模拟技术,可以有效地模拟流体在多孔介质内,孔隙尺度下的流动规律。且随着电子计算机断层成像即CT(Computed Tomography)技术的发展,可以轻而易举地通过扫描储层岩心获取高分辨率的孔隙结构。许多学者基于CT扫描的孔隙结构,模拟开采过程中的流体相流动。目前多孔介质孔隙尺度的流动模拟方法主要有孔隙网络模型、非结构网格有限元模拟以及格子-玻尔兹曼方法等。但是这些模拟方法大都基于储层岩心真实的孔隙结构,不可避免地处理复杂的边界问题,计算量巨大。With the widespread application of computer science, numerical simulation technology has been widely used in the study of flow simulation of porous media. Using numerical simulation technology, the flow law of fluid in porous media at the pore scale can be effectively simulated. And with the development of computer tomography (Computed Tomography) technology, high-resolution pore structure can be easily obtained by scanning reservoir cores. Many scholars simulate the fluid phase flow during the production process based on the pore structure of CT scanning. At present, the flow simulation methods at the pore scale of porous media mainly include pore network model, unstructured mesh finite element simulation and lattice-Boltzmann method. However, most of these simulation methods are based on the real pore structure of the reservoir core, which inevitably deals with complex boundary problems and requires a huge amount of calculation.
有限元模拟方法需要基于岩心CT扫描获得孔隙结构灰度图,处理复杂的颗粒孔隙边界问题。这需要在剖分网格过程中,对孔隙与颗粒的边界进行局部加密甚至边界层处理,不仅增加了求解域内的网格数量,而且大量的孔隙颗粒边界加剧了求解偏微分方程的复杂性。一方面增大了计算量,对计算机性能要求过高;另一方面很有可能模型难以收敛,求解结果不精确。而孔隙网络模型首先通过CT扫描获得岩心电镜图片,提取多孔介质孔隙空间信息。随后通过相应的数学方法重构数字岩心,获得数字岩心的几何结构数据,包括岩石孔隙和岩石骨架。再提取数字岩心孔隙结构的关键信息,用简单的孔隙网络模型代替岩心的孔隙与吼道。但是该方法没有考虑流体在微尺度通道内流动的特点,且是一个理想化的模型,依靠简化的孔隙网络模型并不能准确描述孔隙尺度下流体在多孔介质的流动。相比之下,格子-玻尔兹曼方法更适合于孔隙尺度流动模拟,格子-玻尔兹曼方法可以直接在数字孔隙结构上模拟,且不用求解任何偏微分方程。该方法假设流体以颗粒的形式存在,以颗粒的分布函数表示流体,且流体流动过程包含了颗粒的碰撞与流动两个过程,原理相对简单。但是格子-玻尔兹曼的孔隙与岩石颗粒的边界处理相对繁琐,默认为流体颗粒与岩石骨架发生碰撞,需要对每一个流体颗粒施加碰撞边界条件,计算量较大。如中国专利文件(申请号CN201510173922.7)公开了碳酸盐岩微观流动模拟方法及装置,主要是利用格子玻尔兹曼方法,模拟碳酸盐岩的微观流动。The finite element simulation method needs to obtain the grayscale image of the pore structure based on the CT scan of the core, and deal with the complex particle pore boundary problem. This requires local refinement of the boundary between pores and particles or even boundary layer processing during the meshing process, which not only increases the number of meshes in the solution domain, but also aggravates the complexity of solving partial differential equations due to a large number of pores and particle boundaries. On the one hand, the amount of calculation is increased, and the computer performance requirements are too high; on the other hand, it is very likely that the model is difficult to converge and the solution results are inaccurate. The pore network model first obtains the core electron microscope image through CT scanning, and extracts the pore space information of the porous medium. The digital core is then reconstructed by corresponding mathematical methods to obtain the geometric structure data of the digital core, including rock pores and rock skeleton. Then, the key information of the pore structure of the digital core is extracted, and the pores and roars of the core are replaced by a simple pore network model. However, this method does not consider the characteristics of fluid flow in micro-scale channels, and is an idealized model. Relying on a simplified pore network model cannot accurately describe the flow of fluid in porous media at the pore scale. In contrast, the Lattice-Boltzmann method is more suitable for pore-scale flow simulation, and the Lattice-Boltzmann method can be directly simulated on the digital pore structure without solving any partial differential equations. This method assumes that the fluid exists in the form of particles, the fluid is represented by the distribution function of the particles, and the fluid flow process includes two processes of particle collision and flow, and the principle is relatively simple. However, the boundary processing between the pores and rock particles of Lattice-Boltzmann is relatively cumbersome. The default is that the fluid particles collide with the rock skeleton. It is necessary to apply collision boundary conditions to each fluid particle, which requires a large amount of calculation. For example, a Chinese patent document (application number CN201510173922.7) discloses a method and device for simulating the microscopic flow of carbonate rock, mainly using the lattice Boltzmann method to simulate the microscopic flow of carbonate rock.
上述讨论的几种孔隙尺度流动模拟方法,均需处理真实的数字孔隙结构,无法避免处理复杂的孔隙-颗粒边界条件。而且孔隙尺度模拟需要对网格进行极细化的剖分,每个网格节点求解的方程数目多,因此计算量大,模拟时间长,对计算机性能要求较高。Several pore-scale flow simulation methods discussed above all need to deal with the real digital pore structure, and cannot avoid dealing with complex pore-particle boundary conditions. Moreover, pore-scale simulation requires extremely fine mesh division, and the number of equations to be solved for each mesh node is large, so the calculation amount is large, the simulation time is long, and the computer performance is required to be high.
但是如果考虑从宏观角度建模,则能有效地避免孔隙颗粒的边界处理问题。只需要对整个区域赋予所需的参数值,区域内不同的点所需的参数值不同。比如,流动模拟需要对整个区域赋上孔隙度、渗透率等参数值,但是区域内不同的点,孔隙度渗透率一般不同。具体来说,颗粒所在的部分,其渗透率应当赋予一个极小的值,甚至可以为0。通过这种离散化赋值方法,只需对整个求解域赋予不同的参数值,就可以有效处理孔隙与骨架之间的关系。However, if the modeling is considered from a macroscopic point of view, the problem of boundary processing of pore particles can be effectively avoided. It is only necessary to assign the required parameter values to the entire area, and different points in the area require different parameter values. For example, flow simulation needs to assign parameter values such as porosity and permeability to the entire region, but different points in the region generally have different porosity and permeability. Specifically, the permeability of the part where the particles are located should be given a very small value, even zero. Through this discretization assignment method, the relationship between pores and skeleton can be effectively dealt with by assigning different parameter values to the entire solution domain.
因此,本发明针对多孔介质孔隙尺度流动模拟,提出了离散化函数赋值的方法,可以从宏观的角度,给区域内不同的点赋上不同的参数值。既能实现与孔隙尺度流动模拟相同的结果,又能避免孔隙尺度模拟的边界处理问题以及巨大的计算量。Therefore, the present invention proposes a method for assigning discrete functions for pore-scale flow simulation of porous media, which can assign different parameter values to different points in a region from a macroscopic perspective. It can not only achieve the same results as pore-scale flow simulation, but also avoid the boundary processing problems and huge calculation amount of pore-scale simulation.
发明内容SUMMARY OF THE INVENTION
针对现有技术的不足,本发明提供一种合理有效、能准确模拟多孔介质孔隙尺度流动过程,并且从宏观角度建模的方法。Aiming at the deficiencies of the prior art, the present invention provides a method that is reasonable and effective, can accurately simulate the flow process at the pore scale of a porous medium, and model from a macroscopic perspective.
本发明的技术方案如下:The technical scheme of the present invention is as follows:
一种用于多孔介质孔隙尺度流动模拟的宏观角度建模方法,包括如下步骤:A macro-angle modeling method for pore-scale flow simulation in porous media, comprising the following steps:
S1:通过对储层进行岩心取样,获得岩心样品;利用CT扫描岩心薄片,创建二维岩石灰度图像;其中,黑色以数值0表示,白色以数值1表示;0代表孔隙吼道,1代表岩石骨架颗粒;S1: Obtain core samples by sampling the cores of the reservoir; use CT to scan the core slices to create a two-dimensional rock grayscale image; in which, black is represented by a value of 0, and white is represented by a value of 1; 0 represents pore roars, and 1 represents rock skeleton particles;
S2:基于S1中的岩石灰度图像,获取孔隙结构的空间信息。构建图像数值函数f(x,y),其中(x,y)是几何位置坐标;S2: Based on the rock grayscale image in S1, the spatial information of the pore structure is obtained. Construct the image numerical function f(x,y), Where (x, y) is the geometric position coordinate;
S3:根据S1中CT扫描的二维岩石灰度图像尺寸大小,利用有限元方法建立与CT图像相同尺寸的二维模拟区域,以进行流动模拟;S3: According to the size of the two-dimensional rock grayscale image scanned by the CT scan in S1, a two-dimensional simulation area with the same size as the CT image is established by the finite element method for flow simulation;
S4:设置孔隙尺度流动模拟所需的全局参数值,以孔隙度与渗透率为例,假设全局孔隙度为φ0、全局渗透率为k0;S4: Set the global parameter values required for pore-scale flow simulation, taking porosity and permeability as an example, assuming that the global porosity is φ 0 and the global permeability is k 0 ;
S5:为了避免考虑孔隙-颗粒的复杂边界问题,从宏观的角度构建离散化参数函数。将这个多孔介质区域默认为是一个完整的区域,忽视孔隙结构的存在。假定这个区域不存在孔隙颗粒复杂的位置关系,仅仅是区域不同位置具有不同的参数值,以参数值的不同来区分孔隙与颗粒。以孔隙度、渗透率为例,区域的不同位置,其孔隙度渗透率不同。因此,构建孔隙度离散化函数为φ(x,y)=φ0(1-f(x,y)·a),即颗粒所在位置孔隙度为接近0的极小值,孔隙所在位置孔隙度为φ0;渗透率离散化函数为即颗粒所在位置其渗透率为一个较小值,而孔隙所在位置其渗透率极大,以渗透率的大小区分孔隙与颗粒;S5: In order to avoid considering the complex boundary problem of pores-particles, a discretized parameter function is constructed from a macroscopic point of view. The porous media region is assumed to be a complete region by default, ignoring the existence of pore structure. It is assumed that there is no complex positional relationship between pores and particles in this region, but only that different positions in the region have different parameter values, and the pores and particles are distinguished by the different parameter values. Taking porosity and permeability as an example, different positions of the region have different porosity and permeability. Therefore, the porosity discretization function is constructed as φ(x,y)=φ 0 (1-f(x,y)·a), that is, the porosity at the location of the particle is a minimum value close to 0, and the porosity at the location of the pore is is φ 0 ; the permeability discretization function is That is, the permeability of the particle location is a small value, while the permeability of the pore location is extremely large, and the pores and particles are distinguished by the size of the permeability;
其中,a、c是一个常数,为了避免φ=0或k=∞,引入常数a、c;这使得孔隙度是一个接近零且非零的值,渗透率是接近无穷大且是一个可计算的值。这两个常数可以确保在数值计算中避免产生数值错误。b为常数,另外,常数b是为了保证颗粒所处渗透率是一个较小值,可以通过调整b的大小,确定该处渗透率的取值。Among them, a and c are constants. In order to avoid φ=0 or k=∞, constants a and c are introduced; this makes the porosity a value close to zero and non-zero, and the permeability close to infinity and a computable value. value. These two constants ensure that numerical errors are avoided in numerical calculations. b is a constant, in addition, the constant b is to ensure the permeability of the particles is a small value, and the value of the permeability can be determined by adjusting the size of b.
优选的,a是为了避免φ=0,故a取φ0的百分之九十九,c是避免k=∞,故c取k0的万分之一,b是为了保证颗粒处的渗透率是一个较小值,故b取k0的百分之十。Preferably, a is to avoid φ=0, so a is 99% of φ 0 , c is to avoid k=∞, so c is 1/10,000 of k 0 , b is to ensure the penetration of particles The rate is a small value, so b takes ten percent of k 0 .
S6:通过S5已成功区分孔隙与颗粒的位置关系,以离散化赋值函数的方式确定了孔隙结构的几何位置信息;然后,对模型所在的整个二维岩石灰度图像区域进行网格剖分,基于灰度图像的数值函数辅助剖分网格,f(x,y)为0的区域需要细化网格,而f(x,y)为1处为颗粒区域,并不参与计算,可以粗化网格。这样可以大大节省区域内的网格数量以及模拟计算的时间,同时有效地避免了孔隙-颗粒边界上网格剖分的复杂问题。S6: The positional relationship between pores and particles has been successfully distinguished through S5, and the geometrical position information of the pore structure is determined by means of a discretized assignment function; The gray-scale image-based numerical function assists the mesh division. The area where f(x,y) is 0 needs to refine the grid, while the area where f(x,y) is 1 is the particle area, which does not participate in the calculation and can be coarsened. grid. In this way, the number of meshes in the region and the time of simulation calculation can be greatly saved, and the complex problem of meshing on the pore-particle boundary can be effectively avoided.
粗化模型的网格、细化网格是流体力学计算机模拟领域的一个基本概念,指的是用于表征所构建的模型参与计算的网格的多少。考虑到不同的模型的尺寸大小都不同,本申请的粗化、细化是在同一个模型中,同一个场景下提出来的一个相对的概念,在本发明这一步指的是,f(x,y)为0的区域剖分的网格数量多于f(x,y)为1的位置剖分的网格数量。Roughening the mesh of the model and refining the mesh is a basic concept in the field of fluid mechanics computer simulation, which refers to the number of meshes used to characterize the constructed model participating in the calculation. Considering that the sizes of different models are different, the coarsening and refining of this application are a relative concept proposed in the same model and in the same scene. In this step of the present invention, it refers to, f(x , y) is 0 and the number of meshes is more than that where f(x, y) is 1.
S7:对S3建立的模拟区域施加流动模拟的Brinkman方程,设置初始边界条件,在S6剖分的网格内求解流动过程的速度场、压力场;通过S1-S7即从宏观角度建模实现孔隙尺度流动模拟方程。注S7中提到的Brinkman流动方程是一个成熟的理论方程,不属于本发明的内容,这里不加赘述。S7: Apply the Brinkman equation for flow simulation to the simulation area established by S3, set the initial boundary conditions, and solve the velocity field and pressure field of the flow process in the mesh divided by S6; Scale flow simulation equations. Note that the Brinkman flow equation mentioned in S7 is a mature theoretical equation, which does not belong to the content of the present invention, and will not be repeated here.
优选的,S7中初始边界条件分别为:入口边界P=P0,出口边界P=0,其它两边界设置u·n=0,u为速度矢量,n为法向量,u·n=0意为没有垂直于该边界的流速,即无流动边界。Preferably, the initial boundary conditions in S7 are: the inlet boundary P=P 0 , the outlet boundary P=0, the other two boundaries are set to u·n=0, u is the velocity vector, n is the normal vector, and u·n=0 means is no flow velocity perpendicular to the boundary, that is, no flow boundary.
进一步优选的,其中P0数值为0.715Pa。More preferably, the P 0 value is 0.715Pa.
本发明在模拟微观流动时,没有进行颗粒-孔隙复杂边界关系的处理,而是利用离散化的数值函数在不同区域赋不同的值,从宏观建模角度实现了微观边界处理。When simulating microscopic flow, the present invention does not process the complex boundary relationship between particles and pores, but uses discrete numerical functions to assign different values in different regions, and realizes microscopic boundary processing from the perspective of macroscopic modeling.
本发明的有益效果在于:The beneficial effects of the present invention are:
1.本发明提出的用于多孔介质孔隙尺度流动模拟的宏观角度建模方法,包括构建岩石切片CT扫描图像的图像数值函数、整个区域的离散化参数赋值函数以及图像数值函数辅助剖分区域网格方法等。该发明基于CT扫描图像能真实地还原岩石颗粒孔隙吼道的分布,获取真实的多孔介质物理模型,并在真实的多孔介质区域内离散化赋予模拟参数。相比孔隙尺度模拟的复杂性,本发明提出的宏观建模方法,避免了孔隙尺度对颗粒-孔隙的边界处理问题,大大消除了该边界问题在数值计算中带来的不确定性。而且,宏观角度建模,减少了对模型剖分的网格数量,避免了孔隙-颗粒边界处,局部加密精细化网格剖分问题。即本发明涉及的多孔介质宏观角度建模方法可以大大减少计算量,缩减数值模拟时间。既可以实现孔隙尺度流动模拟的结果,又能避免孔隙尺度模拟的不足之处。1. The macro-angle modeling method for pore-scale flow simulation in porous media proposed by the present invention includes constructing an image numerical function of a CT scan image of a rock slice, a discretized parameter assignment function of the entire area, and an image numerical function-assisted subdivision area network. method, etc. Based on CT scanning images, the invention can truly restore the distribution of pore roars of rock particles, obtain a real physical model of porous media, and discretize and assign simulation parameters in the real porous media area. Compared with the complexity of pore scale simulation, the macro modeling method proposed in the present invention avoids the problem of particle-pore boundary processing by pore scale, and greatly eliminates the uncertainty caused by the boundary problem in numerical calculation. Moreover, the macro-angle modeling reduces the number of meshes for the model, and avoids the problem of local refinement and fine meshing at the pore-particle boundary. That is, the macro-angle modeling method for porous media involved in the present invention can greatly reduce the amount of calculation and reduce the time of numerical simulation. The results of pore-scale flow simulation can be achieved while avoiding the inadequacies of pore-scale simulation.
2.本发明提出的宏观角度建模方法,可以用来研究多孔介质微观尺度的流动模拟,研究孔隙尺度下孔隙吼道的分布对流动过程速度场的影响,亦可以进一步研究流动过程中微观流线分布、计算迂曲度及渗透率等参数值。2. The macro-angle modeling method proposed by the present invention can be used to study the flow simulation of porous media at the micro-scale, to study the influence of the distribution of pore roars on the velocity field of the flow process at the pore scale, and to further study the micro-flow in the flow process. Line distribution, calculation of tortuosity and permeability and other parameters.
3.本发明涉及的宏观角度建模方法,大大缩减孔隙流动数值模拟的计算量,具有数值计算速度快,精度高等优点。且提出的参数离散化函数能有效地根据多孔介质实际孔隙吼道分布为模型赋予相应参数原理简单,易于操作。故该方法可以有效的运用到多孔介质流动模拟的研究,从数值模拟的角度多孔介质流动研究提供技术支撑。3. The macro-angle modeling method involved in the present invention greatly reduces the calculation amount of pore flow numerical simulation, and has the advantages of fast numerical calculation speed and high precision. And the proposed parameter discretization function can effectively assign corresponding parameters to the model according to the actual pore roar distribution of porous media. The principle is simple and easy to operate. Therefore, this method can be effectively applied to the research of porous media flow simulation, and provides technical support for porous media flow research from the perspective of numerical simulation.
附图说明Description of drawings
图1为本发明的技术流程图。FIG. 1 is a technical flow chart of the present invention.
图2岩心样品CT扫描二维灰度图像。Figure 2. Two-dimensional grayscale image of CT scan of core sample.
图3a、图3b为孔隙度、渗透率离散化参数函数赋值图。图3a为模型区域孔隙度的离散化值;图3b为模型区域内渗透率的离散化值。Fig. 3a and Fig. 3b are the porosity and permeability discretization parameter function assignment diagrams. Figure 3a is the discretized value of porosity in the model area; Figure 3b is the discretized value of permeability in the model area.
图4为本发明设置的初始边界条件。FIG. 4 is the initial boundary condition set by the present invention.
图5为发明多孔介质宏观角度建模方法模拟的流动结果。Figure 5 shows the flow results simulated by the macro-angle modeling method for porous media of the invention.
具体实施方式Detailed ways
为了使本领域的技术人员可以更好地理解本发明,下面通过实施例并结合附图对本发明做进一步说明,但不限于此。In order to enable those skilled in the art to better understand the present invention, the present invention will be further described below with reference to the embodiments and accompanying drawings, but not limited thereto.
本发明先通过岩心取样获得储层岩心样品,利用CT扫描技术获得岩心样品的灰度图像。获取孔隙结构的几何位置信心后,构建图像数值函数。为了避免考虑孔隙-颗粒复杂的边界问题,从宏观角度构建离散化参数函数。默认整个区域不存在孔隙、岩石骨架的区分,仅仅是相应参数值的不同。最后根据灰度图像的数值函数辅助剖分求解区域网格,计算流动方程。即可从宏观角度建模实现多孔介质孔隙尺度流动模拟,亦可在该方法的基础上进行下一步的研究。In the present invention, the reservoir core sample is first obtained by core sampling, and the grayscale image of the core sample is obtained by using the CT scanning technology. After obtaining confidence in the geometrical position of the pore structure, a numerical function of the image is constructed. In order to avoid considering the complex boundary problem between pores and particles, a discretized parameter function is constructed from a macroscopic point of view. By default, there is no distinction between pores and rock skeletons in the entire area, only the difference in the corresponding parameter values. Finally, according to the numerical function of the gray image, the subdivision is used to solve the area grid, and the flow equation is calculated. It is possible to model the pore-scale flow simulation of porous media from a macroscopic point of view, and to carry out further research on the basis of this method.
实施例1Example 1
为了进一步说明该技术方法的有效性,以真实的岩心样品CT扫描图像为例,对本发明提出的多孔介质宏观角度建模方法进一步说明,由图1技术路线流程图可知,本发明的具体步骤如下:In order to further illustrate the effectiveness of this technical method, the CT scan image of a real core sample is taken as an example to further illustrate the macro-angle modeling method of porous media proposed by the present invention. It can be seen from the flow chart of the technical route in Fig. 1 that the specific steps of the present invention are as follows :
S01:对真实的储层岩心样品进行CT扫描,获取二维岩石扫描灰度图像(见图2)。S01: CT scan is performed on the real reservoir core sample to obtain a two-dimensional rock scan grayscale image (see Figure 2).
S02:基于S01中的岩心扫描灰度图像,获取孔隙结构的空间信息。构建图像数值函数f(x,y),其中(x,y)是几何位置坐标。S02: Based on the core scanning grayscale image in S01, the spatial information of the pore structure is obtained. Construct the image numerical function f(x,y), where (x, y) are the geometric position coordinates.
S03:根据CT图像尺寸大小(360μm×360μm),利用常规有限元方法建立与CT图像相同尺寸的二维模拟区域(360μm×360μm),以进行流动模拟。S03: According to the size of the CT image (360 μm×360 μm), use the conventional finite element method to establish a two-dimensional simulation area (360 μm×360 μm) of the same size as the CT image for flow simulation.
S04:初始化设置孔隙尺度流动模拟所需的全局参数值,为了便于说明,这里以孔隙度、渗透率两个基本参数为例。假设初始化孔隙度φ0=1、渗透率k0=1000毫达西;S04: Initialize and set the global parameter values required for pore-scale flow simulation. For the convenience of explanation, two basic parameters, porosity and permeability, are used as examples here. Suppose initial porosity φ 0 =1, permeability k 0 =1000 millidarcy;
S05:为了避免孔隙-颗粒的复杂边界问题,从宏观角度构建离散化参数函数。假定模型的整个区域不存在孔隙-颗粒复杂的位置关系,仅仅是区域不同位置具有不同的参数值,以参数值的不同来区分孔隙与颗粒。以孔隙度、渗透率为例,这里仅仅以孔隙度、渗透率为例,实际操作中可以对所涉及的参数选择性地采用离散化参数函数;S05: In order to avoid the complex boundary problem of pores-particles, a discretized parameter function is constructed from a macroscopic perspective. It is assumed that there is no complex positional relationship between pores and particles in the entire region of the model, only that different positions in the region have different parameter values, and the pores and particles are distinguished by the different parameter values. Taking porosity and permeability as an example, here we only take porosity and permeability as an example. In actual operation, a discretized parameter function can be selectively used for the parameters involved;
假设模型求解区域内孔隙度、渗透率因位置不同而不同,构建的孔隙度离散化函数为φ(x,y)=1-0.99×f(x,y),即颗粒所处位置孔隙度为0.01,孔隙所处位置孔隙度为1(见图3a);构建的渗透率离散化函数为即颗粒所处位置渗透率约等于10毫达西,孔隙所处位置渗透率为10000毫达西(见图3b);模型的整个区域内以孔隙度、渗透率参数值的大小区分颗粒与孔隙。注:本步骤对a、b所设定的具体常数值并不是固定的,这里仅作为参考,可根据实际物理背景赋予更贴切真实的值。Assuming that the porosity and permeability in the model solution area are different due to different positions, the constructed porosity discretization function is φ(x,y)=1-0.99×f(x,y), that is, the porosity of the particle position is 0.01, the porosity of the pore position is 1 (see Figure 3a); the constructed permeability discretization function is That is, the permeability of the particle location is about 10 millidarcy, and the permeability of the pore location is 10000 millidarcy (see Figure 3b); in the whole area of the model, the size of the porosity and permeability parameters are used to distinguish the particle and the pore . Note: The specific constant values set for a and b in this step are not fixed, and are only used for reference here, and more appropriate and real values can be given according to the actual physical background.
S06:通过S05已成功区分孔隙与颗粒的位置关系,以离散化参数赋值函数的方式确定了孔隙结构的几何位置信息。然后基于灰度图像数值函数f(x,y)辅助剖分网格,f(x,y)=0的位置细化剖分网格,f(x,y)=1的部分不参数模型计算,可以粗化网格。这样可以大大减少模型区域内的网格数量以及数值计算时间,同时也避免了对颗粒-孔隙边界的处理过程。S06: Through S05, the positional relationship between pores and particles has been successfully distinguished, and the geometrical position information of the pore structure is determined by means of discretized parameter assignment function. Then, based on the gray image numerical function f(x, y), the auxiliary grid is divided, the position of f(x, y) = 0 is refined, and the partial non-parametric model of f(x, y) = 1 is calculated. , the mesh can be coarsened. This can greatly reduce the number of meshes in the model area and the numerical computation time, while also avoiding the processing of particle-pore boundaries.
S07:对S03建立的模拟区域施加流动模拟的Brinkman方程,设置初始边界条件(如图4所示),入口边界P=P0,出口边界P=0,其它两边界设置u·n=0,u为速度矢量,n为法向量,u·n=0意为没有垂直于该边界的流速,即无流动边界,其中P0数值为0.715Pa,在S06剖分的网格内求解流动过程的速度场、压力场。通过S01-S07求解的速度场分布见图5。由图5可以看出,流动过程发生在孔隙吼道内,图中可以清晰地看见流动通道。S07: Apply the Brinkman equation of flow simulation to the simulation area established in S03, set the initial boundary conditions (as shown in Figure 4), the inlet boundary P=P 0 , the outlet boundary P=0, and the other two boundaries are set to u·n=0, u is the velocity vector, n is the normal vector, u·n=0 means that there is no flow velocity perpendicular to the boundary, that is, no flow boundary, where the value of P 0 is 0.715Pa, and the flow process is solved in the grid divided by S06. Velocity field and pressure field. The velocity field distribution solved by S01-S07 is shown in Figure 5. It can be seen from Figure 5 that the flow process occurs in the pore roar, and the flow channel can be clearly seen in the figure.
通过本实施案例,进一步验证了本发明提出离散化参数赋值函数从宏观角度建模实现了多孔介质孔隙尺度的流动模拟过程。这种方法适用于多孔介质孔隙尺度流动模拟,不仅能巧妙地避免处理孔隙-颗粒复杂的边界问题,又能减少模型剖分的网格数量,减少运算时间。Through this implementation case, it is further verified that the discrete parameter assignment function proposed by the present invention realizes the flow simulation process of the pore scale of the porous medium by modeling from the macroscopic point of view. This method is suitable for pore-scale flow simulation in porous media, which can not only subtly avoid dealing with complex pore-particle boundary problems, but also reduce the number of meshes for model division and the computation time.
在本发明提供的宏观角度建模方法基础之上,可以开展进一步研究。在实现孔隙尺度流动模拟后,可以绘制该模型的流线,计算迂曲度、渗透率等参数。因此,本发明提供的方法具有优良的普适性。On the basis of the macro-angle modeling method provided by the present invention, further research can be carried out. After the pore-scale flow simulation is realized, the streamline of the model can be drawn, and parameters such as tortuosity and permeability can be calculated. Therefore, the method provided by the present invention has excellent generality.
需要说明的是,以上实例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解;鉴于本发明提出的离散化参数函数以及宏观角度建模方法操作简单,本领域相关人员依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。It should be noted that the above examples are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand; The discretization parameter function and the macro-angle modeling method are simple to operate, and those related in the art can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements , does not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210235422.1A CN114818408B (en) | 2022-03-11 | 2022-03-11 | A macroscopic modeling method based on the pore structure of porous media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210235422.1A CN114818408B (en) | 2022-03-11 | 2022-03-11 | A macroscopic modeling method based on the pore structure of porous media |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114818408A true CN114818408A (en) | 2022-07-29 |
CN114818408B CN114818408B (en) | 2024-11-19 |
Family
ID=82527999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210235422.1A Active CN114818408B (en) | 2022-03-11 | 2022-03-11 | A macroscopic modeling method based on the pore structure of porous media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114818408B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116882255A (en) * | 2023-06-02 | 2023-10-13 | 哈尔滨工业大学 | Method and system for randomly generating porous medium model based on Fourier series |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331579A (en) * | 2014-11-19 | 2015-02-04 | 中国石油大学(华东) | Simulation method of low-permeability reservoir crude oil boundary layer |
CN108280275A (en) * | 2018-01-09 | 2018-07-13 | 中国石油大学(华东) | A kind of high prediction technique of tight sand hydraulic fracturing seam |
US20180321127A1 (en) * | 2015-10-02 | 2018-11-08 | Repsol, S.A. | Method for Providing a Numerical Model of a Sample of Rock |
CN113826099A (en) * | 2019-05-06 | 2021-12-21 | 西安华线石油科技有限公司 | Flow simulation and transient well analysis method based on generalized pipe flow seepage coupling |
-
2022
- 2022-03-11 CN CN202210235422.1A patent/CN114818408B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331579A (en) * | 2014-11-19 | 2015-02-04 | 中国石油大学(华东) | Simulation method of low-permeability reservoir crude oil boundary layer |
US20180321127A1 (en) * | 2015-10-02 | 2018-11-08 | Repsol, S.A. | Method for Providing a Numerical Model of a Sample of Rock |
CN108280275A (en) * | 2018-01-09 | 2018-07-13 | 中国石油大学(华东) | A kind of high prediction technique of tight sand hydraulic fracturing seam |
CN113826099A (en) * | 2019-05-06 | 2021-12-21 | 西安华线石油科技有限公司 | Flow simulation and transient well analysis method based on generalized pipe flow seepage coupling |
Non-Patent Citations (1)
Title |
---|
齐宁;陈国彬;李振亮;梁冲;何龙;: "基于分步算法的裂缝性碳酸盐岩油藏大尺度酸化数值模拟", 石油学报, no. 03, 15 March 2020 (2020-03-15) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116882255A (en) * | 2023-06-02 | 2023-10-13 | 哈尔滨工业大学 | Method and system for randomly generating porous medium model based on Fourier series |
CN116882255B (en) * | 2023-06-02 | 2024-04-19 | 哈尔滨工业大学 | A method and system for randomly generating porous medium models based on Fourier series |
Also Published As
Publication number | Publication date |
---|---|
CN114818408B (en) | 2024-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022007398A1 (en) | Unstructured grid flood simulation system based on gpu acceleration thechnology | |
CN110136249A (en) | A method for 3D visualization of reservoir rock pores and fractures and simulation of gas flow | |
CN111402266A (en) | A method and system for constructing digital core | |
CN111028335B (en) | A deep learning-based patch reconstruction method for point cloud data | |
Spettl et al. | Stochastic 3D modeling of Ostwald ripening at ultra-high volume fractions of the coarsening phase | |
US10247852B2 (en) | Conditioning of expanded porosity | |
US9811941B1 (en) | High resolution simulation of liquids | |
CN112069704A (en) | Method for constructing multi-degree-of-freedom lattice model of real concrete specimen | |
CN114818408A (en) | Macroscopic angle modeling method based on porous medium pore structure | |
CN112233231B (en) | A method and system for roaming city 3D real scene based on cloud computing | |
Song et al. | Construction of pore structure geometry model from digital images of porous media and its application in pore-scale flow simulation | |
Garimella et al. | Interface reconstruction in multi-fluid, multi-phase flow simulations | |
Wang et al. | A novel virtual cutting method for deformable objects using high‐order elements combined with mesh optimisation | |
Chen et al. | Parallel realistic visualization of particle‐based fluid | |
Braun et al. | HPC predictions of primary atomization with SPH: challenges and lessons learned | |
Labsik et al. | Hierarchical iso-surface extraction | |
JP4653538B2 (en) | 3D data management device, 3D data management program, and 3D data management method | |
Paiva et al. | Fluid-based hatching for tone mapping in line illustrations | |
Batuhan Arisoy et al. | Free form surface skinning of 3d curve clouds for conceptual shape design | |
CN115147539A (en) | Indication-kriging-based pore structure residual oil characterization method | |
Zhang et al. | SPH-based fluid simulation: a survey | |
Guan et al. | Efficient smoothed particle hydrodynamics modeling of airtanker water dropping: From basic validations to practical applications | |
US20240403518A1 (en) | Method and system for randomly generating porous medium model | |
CN113361160B (en) | Single-phase flow simulation method, device and storage medium for shale oil based on digital core | |
CN113281238A (en) | Multi-mineral phase digital core construction and pore category distinguishing method based on two-dimensional image |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |