The present invention relates to the field of reservoir numerical simulation technology, especially to a novel projection-based embedded discrete fracture model using hybrid of TPFA and MFD method.
In the past 20 years, the flow simulation of fractured formation has been a hot topic. Since the flow is usually dominated by fracture systems with complex geometries, a clear geometric description of the large-scale fracture network is required to ensure the simulation accuracy. So far, there are two widely used modeling methods. One is the discrete-fracture model (DFM) based on conforming grids. The model uses unstructured grids to match the fracture geometry, so that the fracture is located on the intersection surface between the matrix grids. Various DFMs have been developed using different numerical methods to discretize the governing equations. The DFMs constructed by different numerical methods have differences in accuracy, efficiency and adaptability of flow types.
However, as of now, an efficient and robust pEDFM framework applicable to general anisotropic two-phase flow scenarios has not yet been proposed. In practice, when using a generic pEDFM workflow that can be applied to a wide range of flow scenarios, the details of the inter-grid connections and the treatment of low-conductivity fractures in pEDFM will become much more complex than in the original pEDFM, which also brings challenges to the development of a pEDFM framework that can be applied to a wide range of anisotropic two-phase flow scenarios. In cases of non-K-orthogonal grids caused by anisotropy, the mixed finite element method (MFE) and the mimetic finite difference method (MFD) are allowed to directly use the pressure of the centroid of the grid surface to approximate the gird-surface flux it is more suitable for fractured reservoirs where there may be discontinuous distribution of physical quantities in space, and has been widely studied in recent years. Since MFE generally uses Raviart-Thomas (RTO) basis function, in the case of poor grid quality, the calculation accuracy will decrease, but it has been proved that MFD can achieve higher accuracy than MFE in the case of irregular grid distribution and poor grid quality. In 2016, Yan et al. constructed an MFD-based EDFM, demonstrating the effect of implementing MFD in EDFM to process full permeability tensors, but due to the inherent limitations of EDFM, the MFD-based EDFM will have significant errors in common actual flow scenarios such as blocking fractures or multiphase flow crossing fractures. In 2017, Zhang et al. developed a multi-scale MFD-based EDFM. Abushaikha and Terekhov in 2020, Zhang and Abushaikha in 2021, Li and Abushaikha in 2021 developed a fully implicit reservoir simulation framework based on MFD, applied and improved the framework to DFM and complex reservoir compositional models, respectively. However, compared with TPFA, MFD increases the density of the Jacobian matrix of the global equations, which increases the computational cost and reduces the computational efficiency. Therefore, in 2023, Dong et al. constructed a hybrid method of TPFA and MFD (TPFA-MFD) for fault block reservoirs, the hybrid method uses TPFA to estimate the numerical flux for K-orthogonal grids in the MFD framework, to reduce the density of Jacobian matrix and improving the computational efficiency. Previous pEDFMs requires extra manual treatments to achieve its theoretical computational advantage due to the lack of generic algorithm to construct fracture projection configurations and various inter-grid connections. Rao et al., (2023) proposed a first easy-programming generic pEDFM workflow to achieve its computational superior than DFM and EDFM in general cases without manual treatments, which laid the algorithm foundation for its commercialization. However, there is no method to combine the generic pEDFM workflow with TPFA-MFD.
The purpose of the present invention is to provide a novel projection-based embedded discrete fracture model (DFM) using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method, the novel pEDFM constructed by this model can deal with anisotropic reservoirs with full permeability tensor, TPFA-MFD (or MFD) is implemented in the pEDFM framework for the first time, which significantly extends the original generic pEDFM using TPFA to become a special case of the new pEDFM in the case of K-orthogonal grids, and significantly expands the application scope of the pEDFM framework.
To achieve the above purpose, the present invention provides a novel projection-based embedded discrete fracture model using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method, which includes the following steps:
Preferably, in step s1, letf1 be a low-conductivity fracture, its permeability and fracture width are kf and wf, respectively, the fracture grid in pEDFM adopts the transmissibility based on TPFA, and three types of connections are affected by low-conductivity fractures:
(1) for f-f connections, set to fi and fi, a transmissibility of fi-fj before being affected by f is:
Tf
wherein, Tfi is a transmissibility of fracture grid fi, Tfj is a transmissibility of fracture grid fj;
Preferably, a treatment of low-conductivity fractures will add new connections in Cont1eff, and an updated Cont1eff is recorded as Cont2eff.
Cont1eff=Cont1−Cont10 (6)
Preferably, in step S2, let a number set of the matrix grid which is adjacent to the matrix grid mi be neighm
according to Eq. (7):
Preferably, in step S2, AT is a distribution matrix of the numerical flux on each surface of mi to the flux on each connection in Cont2eff(mi).
fluxi=AT
Preferably, in step S3, the flux on each connection related to mi, is calculated by using the transmissibility matrix given in Eq. (14), and the discrete scheme of the continuity equation in mi is obtained.
For a fracture grid fj, a transmissibility is in a simple scheme based on TPFA, the effective connection Cont2eff(fj) related to fj includes f-f connection Contf
Preferably, when each matrix grid is obtained, the transmissibility of all effective m-m-connections and m-f-connections matrix grids is known, while a transmissibility of fracture grids in m-f connections still adopts a simple scheme based on TPFA.
For m-f connections, suppose mi and fj, then:
fluxm
The corresponding flux continuity conditions are:
(pm
For f-f connections, the transmissibility formula in generic pEDFM without defining additional pressure degrees of freedom is adopted.
Therefore, the present invention adopts a novel projection embedded DFM using the hybrid method of TPFA and MFD, and its technical effects are as follows:
The following is a further detailed description of the technical scheme of the invention through the drawings and embodiments.
In order to illustrate the technical effect of the invention, the existing technology and the improvement of the invention are explained first.
1.1 Reservoir Two-Phase Flow Control Equation
Continuity equation of each phase:
Wherein vα is the flow velocity, qα,sc is the source and sink term of phase a under the ground condition, Sα and Bα are the saturation and volume coefficient of phase a, respectively, t is time, ϕ is porosity.
The flow velocity satisfies the Darcy's law:
Wherein K is the permeability tensor, λα is the mobility of phase α, pα, krα, μα and Bα are the pressure, relative permeability, viscosity and volume coefficient of phase α, respectively.
Taking Eq. (2) into Eq. (1), get:
1.2 Discretization of Control Equations
Integrating both sides of Eq. (3) in grid i control volume Ωi and time period [t, t+Vt], get:
wherein ∫Ω
The rectangular formula is used to estimate the time integral on the left side and the space integral on the right side of Eq. (4), get:
By using the divergence theorem, the first term on the left side of (5) can be rewritten as follows:
For two adjacent grids, it may be written as grid i and grid j, and the intersection of grid i and grid j is written as eij, ∃β, η s.t., ∂Ωiβ=∂Ωjη=eij. In Eq. (5), the single-point upstream weight scheme in (6) is generally used in krα, and μα and Bα generally adopt the arithmetic average scheme in Eq. (7).
2.1 Two-Point Flux Approximation (TPFA)
In the finite volume method with two-point flux approximation, the numerical flux of grid i on eij is calculated as:
riβ is a vector from grid i-center to grid, ∂Ωiβ-center, niβ is the unit outward normal vector of ∂Ωiβ, and piβ is the pressure value at the center of ∂Ωiβ.
According to Eq. (8), the expression of the outward normal flux of ∂Ωiβ expressed by the transmissibility matrix Ti can be obtained:
Generally, TPFA can only achieve high-precision flux approximation in K-orthogonal grids, and K-orthogonal meets that:
Kiriβ×niβ,=0 (11)
MFD can be applied to both K-orthogonal and non-K-orthogonal grids, the transmissibility matrix Ti given by MFD is generally more denser than that given by TPFA, which is different from the diagonal transmissibility matrix in (10).
In MFD, the calculation expression of Ti is:
Wherein Xi=(xi1−xi, L, xiβ−xi, L, xin
2.3 Flux Continuity Conditions
It can be seen from 2.1 and 2.2 that grid i and grid j have an outward normal flux Fiβ and Fjη on the intersection eij, respectively, the flux continuity condition should be satisfied, that is, the algebraic sum of Fiβ and Fjη should be equal to 0.
In fact, when using TPFA, piβ can be eliminated according to Eqs. (9) and (13), the numerical flux based on TPFA can be calculated as Eq. (14), that is, the transmissibility formula based on the harmonic average scheme in the common TPFA, in essence, there is no need to add additional pressure degrees of freedom between grid i and grid j.
It can be considered that TPFA is a form of MFD in the case of K-orthogonality without adding additional pressure degrees of freedom to the connection between grids, however, in the case of non-K orthogonal, the definition of additional pressure degree of freedom is difficult to avoid. With the additional pressure degree of freedom, there will be a flux continuity condition, so that the global equations can still be solved in a closed form.
2.4 Hybrid of TPFA and MFD
TPFA can be used to estimate the numerical flux on K-orthogonal grids, for example, it has a regular grid of isotropic permeability, while MFD-based flux approximation is used only in the remaining grids that do not satisfy K-orthogonality. According to Eq. (5), Eq. (6), Eq. (10) and Eq. (12), the discrete scheme of Eq. (3) can be obtained as follows:
The Eq. (13) and Eq. (15) constitute the global equations, and the Newton-Raphson (NR) iteration method is used to solve the equations to obtain the pressure, saturation distribution and production dynamic data.
(3) EDFM and Generic pEDFM Workflow
3.1 EDFM
EDFM mainly includes three types of connections, namely, the connections between two adjacent matrix grids, the connections between the matrix grid and the inter-grid fracture it contains, and the connection between inter-grid fractures. In order to facilitate the description, the connections between two grids are denoted by (·, ·). As shown in
For the first type of connection, taking (mi, mj) as an example, when TPFA is used, similar to Eq. (14), it can be calculated that the transmissibility of (mi, mj) is half of the harmonic mean of the transmissibility of mi and the transmissibility of mj:
Similarly, for the second type of connection,
For the third type of connection, it is generally necessary to subdivide it into two cases. The first case is the connection between inter-grid fractures on the same fracture surface. For example (fi, fk), the transmissibility is calculated as:
The second case is the connection between multiple fracture grids that may exist in the same matrix grid, which is generally calculated by star-delta transformation.
3.2 Generic pEDFM Process
pEDFM is a model between EDFM and DFM, as shown in
The core idea of the generic pEDFM workflow is to use the micro-translation projection method to deal with high-conductivity fracture units, and to use the non-projection transmissibility multiplier method to model low-conductivity fractures.
When the matrix permeability is isotropic, the permeability of the m-f connections added to the pEDFM in
The transmissibility of the original m-m connections is reduced to:
By halving the transmissibility of the matrix grid, the transmissibility of the original m-f connections is weakened. Taking (mi, fi) as an example, the transmissibility is calculated as:
Added transmissibility (fi, fi):
Then, the generic pEDFM gives a non-projection method to model low-conductivity fractures, as shown below: the updated transmissibility of the connection is:
Wherein Tij′ and Ti are the updated and original transmissibility of the connection; connected updated and original transmissive semi-transmissibility of low-conductivity fractures; kf and wf are the permeability and pore size of low-conductivity fractures, respectively; Aij is the flow cross-sectional area corresponding to the connection; if kf=0, the updated transmissibility in Eq. (25) will become zero, so the flow barrier can block the flow. It should be noted that if multiple low-conductivity fractures intersect with the same connection, the transportability of the connection will be updated multiple times by using Eq. (25).
4.1 the Basic Idea of the Present Invention
The connection between the matrix and the fracture in EDFM is very simple, and only the connection between the matrix grid and the fracture grid contained in the matrix grid is established, it is essentially a local dual-medium model, which makes the m-f connections in EDFM not affect the original m-m connections between adjacent matrix inter-grid. Therefore, when using MFD to deal with the full tensor permeability of the matrix grid in EDFM, it is only necessary to use the transfer matrix based on dense MFD in the structured background matrix grid to replace the diagonal transmissibility matrix obtained by TPFA in the original matrix grid. Of course, it can be further considered that the permeability of the matrix grid is the influence of the full tensor case on the m-f transmissibility in EDFM. In general, due to the simplicity of the grid connection structure in EDFM, it is a simple task to construct an EDFM based on MFD. However, pEDFM, which performs better than EDFM, has a much more complex connection relationship than EDFM. The most important point is that the m-f connections in pEDFM will weaken the original m-m connections, or even directly cover the original m-m connections and make them disappear, which makes the above strategies that can work in EDFM not directly work in pEDFM. The specific explanation is as follows:
As shown in
The above analysis gives the following important inspirations:
i) The concept of effective connectivity needs to be introduced. As shown in
ii) The pressure degree of freedom is only added to the effective connection related to the matrix grid. Since TPFA can still be used to calculate the numerical flux in the fracture. Therefore, the transmissibility information of the f-f connections in the generic pEDFM workflow can be kept unchanged without the need to define additional pressure degrees of freedom on the original f-f connections to carry out MFD. In other words, by obtaining effective m-m connections and m-f connections, an additional pressure degree of freedom is defined only on these effective connections related to the matrix grid.
iii) The distribution of the pressure degree of freedom on which side of the matrix grid surface should be solved. As mentioned above, the essence of pEDFM is to project the fracture onto the interface of the matrix grid, and transform the original embedded discrete scheme into an approximate DFM to deal with. Therefore, the added pressure degrees of freedom can be considered to be distributed on the matrix grid surface. Meanwhile, because the pressure on both sides of the fracture projection area on the matrix grid surface may no longer be continuous, the pressure degrees of freedom added by different connections need to be distinguished to which side of the matrix grid surface is located. As shown in
(iv) The concept of average pressure on the matrix grid surface needs to be introduced. Since the pressure on the grid surface is needed to obtain the MFD flow operator in the matrix grid, pEDFM is different from EDFM as mentioned above. It may have multiple connections on the matrix grid surface, not only the m-m connections in EDFM, but also the original m-m connections may be completely replaced by other m-f connections. At this time, if the value of the pressure degree of freedom added to the different connections is subdivided on each grid surface to participate in the construction of the transmissibility matrix based on MFD in the matrix grid, the complexity of the algorithm will be significantly increased and the robustness and practicability of the algorithm will be reduced. Therefore, when constructing the transmissibility matrix based on MFD in the matrix grid, the average pressure on the side of the matrix grid surface close to the matrix grid surface should be used (it should be noted that, as mentioned above, the matrix grid surface may have different average pressures on two sides of the matrix grid surface). The average pressure is a weighted average of the additional pressure degrees of freedom added by each effective connection on the side of the matrix grid surface near the matrix grid with the corresponding flow area as the weight. As shown in
Since the generic pEDFM workflow adopts the non-projection processing method of transmissibility multiplier for low-conductivity fractures, this section first ignores low-conductivity fractures, and at this time, the connection set between grids Cont1 can be obtained, the transmissibility of the corresponding connection is calculated according to Eq. (19) to Eq. (25), and the corresponding flow area is also reflected in these transmissibility calculation formulas. In Cont1, the set of connections with flow area of 0 is Cont10, it can be seen that the transmissibility of the connection in Cont10 must be 0, and it has no effect on the results of simulation calculation. Taking
Cont1eff=Cont1−Cont10 (27)
Concept 2: Cont1eff (1i
It can be seen from the basic theory of MFD in 2.2, since the permeability of fracture grip is generally isotropic, when pEDFM is constructed based on MFD, there is no need to change the original f-f connections and the corresponding transmissibility in Cont1eff. However, the permeability of the matrix grid may be in the full tensor form, so it is necessary to construct an additional pressure degree of freedom for each m-m and f-m connection in Cont1eff. As mentioned above, pEDFM essentially projects the fracture grid in the matrix grid to the intersection surface of the matrix grid to form an approximate DFM to deal with. It can be considered that each m-m and f-m effective connection increases. A pressure degree of freedom is located on the matrix grid surface associated with the connection. For example, (mi, fi) in
Concept 3: Average Pressure of Matrix Grid Surface
From the MFD theory of 2.2, it can be seen that in the case of full permeability tensor, the outward normal flux on one side of the grid is also related to the pressure on other sides of the grid. Therefore, the average pressure
4.3 Treatment of Low-Conductivity Fractures
As described in 3.2, the generic pEDFM uses the transmissibility multiplier method to deal with low-conductivity fractures, so that pEDFM can generally model various low-conductivity fractures. The transmissibility multipliers are based on the harmonic average scheme in TPFA, and the transmissibility of each connection affected by the low-conductivity fractures is updated with the transmissibility of the low-conductivity fractures. Let fl be a low-conductivity fracture, and its permeability and fracture width are kf and wf, respectively. Considering that the fracture grid in the pEDFM of the invention still adopts the transmissibility based on TPFA, the connection affected by low-conductivity fractures is divided into the following three treatment methods according to different connection types:
If there are other low-conductivity fractures (such as fk), then the transmissibility off is updated with the transmissibility of fk by Eq. (31), that is:
It can be seen that the treatment of low-conductivity fractures in this section will add new connections in Cont1eff, and the updated Cont1eff is recorded as Cont2eff.
4.4 Numerical Flux Calculation of Effective Connection
Let the number set of the matrix grid which is adjacent to the matrix grid mi be neighm
according to Eq. (28), the conversion formula between the average pressure of each side of mi near mi and the value of pressure degree of freedom added by each connection in Cont1eff (mi) can be obtained as follows:
Firstly, it is judged whether the matrix grid mi is K orthogonal, if yes, then the transmissibility matrix Tm
Furthermore, combining Eq. (35) and Eq. (36), it is obtained that:
fluxi=ATTm
Therefore, for the matrix grid, the actual transmissibility matrix is:
=ATTm
4.4 Global Equation
By using the transmissibility matrix given in Eq. (38), the flux on each connection related to mi can be calculated, by taking into Eq. (15), the discrete scheme of the continuity equation in m; can be obtained:
For a fracture grid fj, its transmissibility still adopts a simple TPFA scheme, the efficient connections Cont2eff (fj) related to fj include f-f connections (Contfjf-f) and m-f connections (Contfjm-f), the set of fracture grids adjacent to fj reflected from Contfjf-f is denoted as neighf
Meanwhile, when of each matrix grid is obtained, the transmissibility of all effective m-m connections and m-f connections matrix grids is known, and the transmissibility of the fracture grid in the m-f connections is still based on the TPFA scheme. Therefore, the continuity conditions of each m-m connection and m-f connection in Cont2eff can be given.
For m-m connections, suppose that is mi and mk, then:
fluxm
The corresponding flux continuity condition is: (pm
For m-f connections, suppose that is mi and fj, then:
The corresponding flux continuity condition is:
(pm
For f-f connections, because the present invention still uses the transmissibility formula in Eq. (18) and Eq. (24) without defining additional pressure degrees of freedom in the generic pEDFM, there is no additional flow continuity condition for f-f connections.
In general, let the reservoir calculation domain contain nm matrix grids and nf fracture grids, the number of m-m and m-f connections contained in Cont2eff is nc. The pressure degrees of freedom of the new pEDFM include nm matrix grid center pressure, nf fracture grid average pressure, and nc additional pressure degrees of freedom, a total of nm+nf+nc, the degree of freedom of water saturation includes nm matrix grid average saturation and nf fracture grid average saturation, a total of nm+nf, therefore, the global degree of freedom is 2(nm+nf)+nc. The global equations include a continuity equation of 2nm matrix grids (including oil phase and water phase, and therefore 2nm, not nm), that is also the Eq. (39), the continuity equation of nf fracture grids (including oil phase and water phase), namely Eq. (40), and nc flux continuity conditions composed of Eq. (42) and Eq. (44), Therefore, the global equations are also 2(nm+nf)+nc, and it can be closed solution. The nonlinear solver based on Newton-Raphson (NR) iteration is used to solve the global equations to obtain the pressure and water saturation distribution at each time.
Table 1 Physical Parameters of Reservoir Model
At this time, the Cartesian grids are K-orthogonal, and the reference solution can be obtained by local grid refinement (LGR) and the finite volume method based on TPFA.
Keeping the reservoir model and physical parameters of case 2 in case 1 unchanged, only the permeability tensor in Eq. (46) is rotated by 30 degrees to obtain the full permeability tensor in Eq. (47). Theoretically, TPFA will not be able to obtain high-precision numerical flux approximation at this time. Taking the DFM solution based on MFD as the reference solution,
The above results demonstrate that the new pEDFM can achieve high-precision simulation results for the case with full permeability tensor, while the pEDFM using TPFA and the EDFM using MFD will have significant errors.
In this example, a more complex implementation example will be used to show the application effect of the new pEDFM, and to test that the new pEDFM can achieve the same calculation accuracy as DFM in the case of more complex slit network, and to show the advantages of the new pEDFM in grid generation compared with DFM. As shown in
Therefore, the present invention adopts a projection embedded DFM based on the hybrid method of TPFA and MFD, wherein the new pEDFM can deal with anisotropic reservoirs with full permeability tensor. For the first time, the implementation of TPFA-MFD (or MFD) is realized in the pEDFM framework, which significantly expands the original generic pEDFM using TPFA as a special case of the new pEDFM in the case of K-orthogonal grids, and significantly expands the application scope of the pEDFM framework.
Finally, it should be noted that the above implementation examples are only used to illustrate the technical scheme of the invention rather than to restrict it, although the invention is described in detail with reference to the better implementation example. The ordinary technical personnel in this field should understand that they can still modify or replace the technical scheme of the invention, and these modifications or equivalent substitutions can not make the modified technical scheme out of the spirit and scope of the technical scheme of the invention.
Number | Date | Country | Kind |
---|---|---|---|
202310879050.0 | Jul 2023 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
9026416 | Mallison | May 2015 | B2 |
9068448 | Hui | Jun 2015 | B2 |
11294095 | Mustapha | Apr 2022 | B2 |
20020013687 | Ortoleva | Jan 2002 | A1 |
20040015295 | Bratvedt | Jan 2004 | A1 |
20080133186 | Li | Jun 2008 | A1 |
20090281776 | Cheng | Nov 2009 | A1 |
20100138202 | Mallison | Jun 2010 | A1 |
20100286968 | Parashkevov | Nov 2010 | A1 |
20110082676 | Bratvedt | Apr 2011 | A1 |
20120179436 | Fung | Jul 2012 | A1 |
20130231907 | Yang | Sep 2013 | A1 |
20140046636 | Mustapha | Feb 2014 | A1 |
20140136171 | Sword, Jr. | May 2014 | A1 |
20170074770 | Fourno | Mar 2017 | A1 |
20170316128 | Huang | Nov 2017 | A1 |
20180232950 | Brewer | Aug 2018 | A1 |
20190212469 | Jonsthovel | Jul 2019 | A1 |
20190309603 | Sepehrnoori | Oct 2019 | A1 |
20190353825 | Tene | Nov 2019 | A1 |
20200200929 | Sepehrnoori | Jun 2020 | A1 |
20210382193 | Miao | Dec 2021 | A1 |
20230097859 | AlSinan | Mar 2023 | A1 |
20230125944 | Abushaika | Apr 2023 | A1 |
Entry |
---|
Li, Longlong; Abushaikha, Ahmad., A fully-implicit parallel framework for complex reservoir simulation with mimetic finite difference discretization and operator-based linearization, Computational Geosciences26.4: 915-931. Springer Nature B.V. ; Aug. 2022 (Year: 2022). |
Antonietti, Paola F; Formaggia, Luca; Scotti, Anna; Verani, Marco; Verzott, Nicola. ESAIM. Mimetic finite difference approximation of flows in fractured porous media, Mathematical Modelling and Numerical Analysis 50.3 EDP Sciences. (Year: 2016). |
Zhiming Chen and Thomas Y. Hou. 2003. A mixed multiscale finite element method for elliptic problems with oscillating coefficients. Math. Comput. 72, 242 (Apr. 1, 2003), 541-576. https://doi.org/10.1090/S0025-5718-02-01441-2 (Year: 2003). |
Xiang Rao et al, A Novel Projection-based Embedded Discrete Fracture Model (pEDFM) for Anisotropic Two-phase Flow Simulation Using Hybrid of Two-point Flux Approximation and Mimetic Finite Difference (TPFA-MFD) Methods, Journal of Computational Physics 499 (2024) 112736, pp. 39 (Year: 2024). |