Projection-based embedded discrete fracture model using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method

Information

  • Patent Grant
  • 12174331
  • Patent Number
    12,174,331
  • Date Filed
    Wednesday, March 27, 2024
    9 months ago
  • Date Issued
    Tuesday, December 24, 2024
    20 days ago
  • Inventors
    • Rao; Xiang
    • He; Xupeng
    • Du; Kou
    • Cheng; Mengna
    • Guo; Shuqing
  • Original Assignees
  • Examiners
    • Saxena; Akash
Abstract
This invention presents a projection embedded discrete fracture model integrating a TPFA and MFD hybrid approach, creating a pEDFM framework for various anisotropic two-phase flow situations. It specifies the distribution of extra pressure freedoms on matrix grids for MFD implementation, maintains f-f connections in TPFA through a standard pEDFM workflow, and introduces a low-conductivity fracture treatment for MFD. It also outlines the derivation of numerical flux calculation formulas for effective m-m and m-f connections. The mixed TPFA-MFD design applies to numerical flux estimation across both K-orthogonal and non-K-orthogonal grids, enhancing computational efficiency and facilitating the spatial discretization of continuity equations for matrix and fracture grids under anisotropic permeability conditions. A global equation system is formulated based on the continuity of effective connections, with time discretization via the implicit backward Euler method and pressure and water saturation distributions determined by a Newton-Raphson based nonlinear solver.
Description
TECHNICAL FIELD

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.


BACKGROUND ART

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.


SUMMARY

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:

    • s1. constructing a treatment method suitable for low-conductivity fractures when using MFD;
    • s2. constructing a numerical flux calculation method for effective m-f and m-m connections, the hybrid TPFA-MFD method is used to estimate the numerical flux on each effective connection related to K-orthogonal and non-K-orthogonal grids by TPFA and MFD, respectively, and the spatial discretization of the continuity equation of the matrix grid and the fracture grid in the case of anisotropic full permeability tensor is realized;
    • s3. constructing global equations by combining the flux continuity conditions of effective m-f and m-m connections, the time discretization scheme of implicit backward Euler scheme is adopted, and the nonlinear solver based on Newton-Raphson method is used to calculate the distribution of pressure and water saturation.


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:

Tfifj=(Tfi−1+Tfj−1)−1  (1)

wherein, Tfi is a transmissibility of fracture grid fi, Tfj is a transmissibility of fracture grid fj;

    • a transmissibility of (fi, fj) affected by f1 is:










T


f
i



f
j



=




(


T


f
i



f
j



-
1


+

T

f
l


-
1



)


-
1




T

f
l



=



k

f
l




A

(


f
i

,

f
j


)





w

f
l


/
2







(
2
)









    • wherein, kfi is a permeability of fracture grid f1, wfi is an opening of fracture grid f1, A(fi, fj) is a flow area of (fi, fj);

    • if other low-conductivity fractures that affect the f-f connections exist, using the Eq. (1) to continue updating;

    • (2) for m-f connections, set to mi and fi, suppose that a transmissibility of fj in mi-fj connections not affected by fl is based on the Tfj, the effect of fl is applied to fj, which is equivalent to the series connection of low-conductivity fractures fl and fj, that is, the transmissibility of fj is updated as:

      Tfj=(Tfj−1+Tfi−1)  (3)

    • if other low-conductivity fractures that affect the m-f connections exist, using Eq. (3) to continue updating Tfj;

    • (3) for m-m connections, set to mi and mj, the mi-mj connections are split into mi-fl connections and mj-fl connections, the flow area of mi-fj connections and mj-fl connections are the flow area A(mi, mj) of (mi, mj), wherein a transmissibility of fl is:













T

f
l


=



k

f
l




A

(


m
i

,

m
j


)





w

f
l


/
2






(
4
)









    • wherein, A(mi, mj) is a flow area of (mi, mj);

    • if other low-conductivity fractures fk that affect (mi, mj) exist, a transmissibility of fl is updated by using a transmissibility of fk in Eq. (3):













T

f
l


=




(


T

f
l


-
1


+

T

f
k


-
1



)


-
1




T

f
k



=



k

f
k




A

(


m
i

,

m
j


)





w

f
k


/
2







(
5
)







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)

    • wherein, Cont1 is a inter-grid connection set obtained by ignoring the low-conductivity fractures when using the generic pEDFM to treat the low-conductivity fractures with the non-projection transmissibility multiplier method; Cont10 is a set of connections with a flow area of 0 in Cont1; and Cont1eff is the efficient set in Cont1.


Preferably, in step S2, let a number set of the matrix grid which is adjacent to the matrix grid mi be neighmi, then the set of effective connections on each mi-side face of mi is:








C

o

n



t
2
eff

(

m
i

)


=


U

j


neigh

m
i







Cont
2
eff

(

1
ij

m
i


)



,





according to Eq. (7):











p
¯


1
ij


m
i


=





ξ


Co

n



t
2
eff

(

1
ij

m
i


)






p
ξ



A
ξ







ξ


Con



t
2
eff

(

1
ij

m
i


)





A
ξ







(
7
)









    • wherein p1ijmi is an average pressure of the side near mi of intersecting face of mi and mj, pζ is a pressure degree of freedom added by the ζ connection in Cont2eff(1ijmi), pζ is a flow area of the ζ connection in Cont2eff(1ijmi);

    • the conversion formula between the average pressure of mi-side of mi-side faces and the value of the pressure degree of freedom added by each connection in Cont2eff(mi) is obtained:

      pmi=Apmi  (8)

    • wherein pmi is a column vector composed of pijmi, (j∈neighmi), pmi is a column vector composed of pj(j∈Cont2eff(mi)), each j-line of A represents the area weight when using Eq. (7) to calculate the average pressure on the j-th mi-side face of mi.





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=ATfluxi  (9)

    • firstly, it is judged whether the matrix grid mi is K orthogonal, if yes, then the transmissibility matrix Tmi in mi is calculated by using the Eq. (10) based on TPFA;










T

β
,
γ


m
i


=

{








T

i

β




if


β

=







0


if


β


γ






T

i

β



=




"\[LeftBracketingBar]"




Ω

i

β





"\[RightBracketingBar]"







K
i



r

i

β







"\[LeftBracketingBar]"


r

i

β




"\[RightBracketingBar]"


2


·

n

i

β










(
10
)









    • wherein Tβ,γmi represents β row and η column of matrix Tmi, r is a vector from grid i-center to grid ∂Ω-center, n is the unit outward normal vector of ∂Ω, p is the pressure value at the center of ∂Ω;

    • if not, then the transmissibility matrix Tmi in mi is calculated by using Eq. (11) based on MFD;













T

i

1


=



1



"\[LeftBracketingBar]"


Ω
i



"\[RightBracketingBar]"





N
i



K
i



N
i
T



T

i

2



=


6
d


t


r

(

K
i

)




A
i

(


I
i

-


Q
i



Q
i
T



)



A
i







(
11
)









    • wherein, Ωi is a control region of matrix grid mi, |Ωi| is a volume of matrix grid T mi, Ki is a permeability tensor of matrix grid mi, Xi=(xi1−xi, L, x−xi, L, xini−xi)T, xi is a vector of the center of grid i, x is a vector of ∂Ω center, Ni=(|Ωi1|ni1, L, |∂Ω, n, L, |∂Ωini|nini)T, d is a grid dimension, Ai=diag(|Ωi1, L, |∂Ω, L, |∂Ωini), Qi=orth(AiXi).

    • then, the average pressure is used to participate in the calculation of the numerical flux on each surface of the matrix grid, and it is obtained that:

      fluxi=Tmipmi=TmiApmi=TmiA(pmiI=pmi)  (12)

    • wherein, fluxi is a column vector composed of numerical flux on each surface of the matrix grid, each j-line of A represents the area weight when the average pressure of the j-th surface of mi side calculated by Eq. (28), meanwhile, AT is the distribution matrix of the numerical flux on each surface of mi to the flux on each connection in Contz (ma) and I is a column vector wherein one of elements is 1 and the length is the effective connection number of the matrix grid;

    • furthermore, by combining Eq. (9) and Eq. (12), get:

      fluxi=ATTmiA(pmiI-pmi)  (13)

    • for the matrix grid mi, the actual transmissibility matrix is:

      custom character=ATTmiA  (14).





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.











β



Cont
1
eff

(

m
i

)






k

ra
,

i

β





μ

a
,

i

β





B

a
,

i

β










γ



Cont
1
eff

(

m
i

)





(


p

m
i


t
+

Δ

t



-

p
γ

t
+

Δ

t




)





+

Q
a


=





"\[LeftBracketingBar]"


Ω
i



"\[RightBracketingBar]"



Δ

t


[



(


ϕ


S
a



B
a


)


m
i


t
+

Δ

t



-


(


ϕ


S
a



B
a


)


m
i

t


]







    • wherein, krα,ij is a relative permeability of the α-th phase between the matrix grid mi and the matrix grid mj according to the single-point upwind scheme, μα,ij ij and Bα,ij are the viscosity and volume coefficient of the ith phase calculated by the arithmetic average scheme between the matrix grid mi and the matrix grid mj, respectively, subscript β refers to the serial number of the intersection surface of matrix grid mi and matrix grid mj in all surfaces of matrix grid mi, F is the outward normal flux of matrix grid mi on the β-th plane, custom character is the β-th row and γ-th column of the transmissibility matrix Tmi, and p is the surface center pressure of the γ-th plane of the matrix grid mi, pi is the body center pressure of matrix grid pi, Δt is the time stepping, ϕi, Sα,i and Bα,i are the porosity of matrix grid mi, the saturation of a phase and the volume coefficient of a phase, respectively, and the superscripts t+Δt and t represent the time;





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 Contfjf-f and m-f connection Contfjm-f, the set of fracture grids adjacent to fj reflected from Contfjf-f is denoted as neighfj, then the discrete scheme of the continuity equation in fj is:












β


C

o

n


t

f
j


m
-
f






,





k

ra
,

i

β





μ

a
,

i

β





B

a
,

i

β










γ


C

o

n


t

f
j


m
-
f







(


p

f
j


t
+

Δ

t



-

p
γ

t
+

Δ

t




)




+




β


n

e

i

g


h

f
j








k

ra
,

i

β





μ

a
,

i

β





B

a
,

i

β








T


f
j


β


(


p

f
j


t
+

Δ

t



-

p
β

t
+

Δ

t




)



+

Q
a


=





"\[LeftBracketingBar]"


Ω

f
j




"\[RightBracketingBar]"



Δ

t


[



(


ϕ


S
a



B
a


)


f
j


t
+

Δ

t



-


(


ϕ


S
a



B
a


)


f
j

t


]







(
16
)







Preferably, when each matrix grid custom characteris 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-m connections, suppose mi and mk, then:

      fluxmi→mk=custom character(pmiI−pmi)fluxmk→mi=custom character(pmiI−pmi)  (17)
    • the corresponding flux continuity conditions are:

      custom character(pmiI-pmi)+custom character(pmiI−pmi)=0  (18)


For m-f connections, suppose mi and fj, then:

fluxmi→fj=custom character(pmiI−pmi)fluxfj→mi=Tfj(pfj−p(mi,fj))  (19)


The corresponding flux continuity conditions are:

custom character(pmiI−pmi)+Tfj(pfj−p(mi,fj))  (20)


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:

    • (1) The concepts of effective connection and average pressure on the matrix grid surface are defined, and the distribution of additional pressure degrees of freedom is clarified. A low-conductivity fracture treatment method suitable for MFD is proposed. The numerical flux calculation formula of each effective connection is derived, and the flux conservation conditions of each effective connection are given, and the implementation of MFD or TPFA-MFD in pEDFM is realized.
    • (2) The novel pEDFM of the present invention essentially includes pEDFM using MFD and pEDFM using TPFA, the present invention demonstrates through theory and implementation examples that pEDFM using TPFA-MFD can achieve almost the same calculation accuracy as pEDFM using MFD, but pEDFM using TPFA-MFD can use TPFA to estimate the numerical flux of K-orthogonal grids, not all using MFD, which improves the structure of the Jacobian matrix when solving global equations and improves the calculation efficiency.
    • (3) The novel pEDFM can achieve the same calculation accuracy as DFM, and can avoid the difficulty of generating matching grids by DFM and the additional computational cost caused by the over-density of local grids caused by the narrow area between fractures, and has good convergence.
    • (4) Compared with several commonly used numerical simulation frameworks for fractured reservoirs, the new pEDFM has better comprehensive performance and has very significant field application potential.


The following is a further detailed description of the technical scheme of the invention through the drawings and embodiments.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a model diagram;



FIG. 2 is a sketch of some cases;



FIG. 3 is a Cartesian background grid corresponding to the reservoir model and the reservoir model of example 1;



FIG. 4 shows a water saturation distribution at 200 days calculated by different methods in case 1 of the example 1;



FIG. 5 shows a water saturation distribution at 200 days calculated by different methods in case 2 of the example 1;



FIG. 6 is a pressure distribution of 200 days calculated by different methods in case 2 of the example 1;



FIG. 7 is a water cut curve of production wells in case 1 and case 2 of the example 1;



FIG. 8 is a distribution of water saturation at 200 days calculated by different methods in case 2 of the example 2;



FIG. 9 shows a pressure distribution at 200 days calculated by different methods of the example 2;



FIG. 10 is a water cut curve of production wells calculated by different methods of the example 2;



FIG. 11 is a reservoir model and grid of the new pEDFM and DFM of the example 5;



FIG. 12 shows a water saturation and pressure distribution after 400 days and 600 days obtained by different calculation methods of the example 5; and



FIG. 13 is a comparison of water saturation and pressure distribution after 200 days and 600 days obtained by different calculation methods in case 2 of the example 5.





DETAILED DESCRIPTION OF THE 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:












-


·

v
a



+

q

a
,
sc



=





t



(


ϕ


S
a



B
a


)



,

a
=


o

(
oil
)



or


w



(
water
)







(
1
)







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:










v
a

=



-

λ
a



K




p
a




λ
a


=


k

r

a




B
a



μ
a








(
2
)







Wherein K is the permeability tensor, λα is the mobility of phase α, pα, k, μα and Bα are the pressure, relative permeability, viscosity and volume coefficient of phase α, respectively.


Taking Eq. (2) into Eq. (1), get:












·

(



k
a



μ
a



B
a




K




p
a



)


+

q

a
,
sc



=





t



(


ϕ


S
a



B
a


)






(
3
)








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:













t

t
+

Δ

t







Ω
i





·

(



k
a



μ
a



B
a




K




p
a



)



d

Ω

dt



+

Q
a


=





Ω
i




(


ϕ


S
a



B
a


)


t
+

Δ

t




-



(


ϕ


S
a



B
a


)

t


d

Ω






(
4
)








wherein ∫Ωiqα,scdA=Qα,sc


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:














Ω
i





·

(



k
a



μ
a



B
a




K




p
a



)



d

Ω


+

Q
a


=





"\[LeftBracketingBar]"


Ω
i



"\[RightBracketingBar]"



Δ

t


[



(


ϕ


S
a



B
a


)

i

t
+

Δ

t



-


(


ϕ


S
a



B
a


)

i
t


]





(
5
)







By using the divergence theorem, the first term on the left side of (5) can be rewritten as follows:













Ω
i





·

(



k
a



μ
a



B
a




K



p


)



d

Ω


=





β
=
1


n
i








Ω

i

β







k
ra



μ
a



B
a




K




p

·
ndA




=

-




β
=
1


n
i



F

i

β









(
6
)









    • wherein, subscript iβ represents the βth edge of grid i (if it is three-dimensional, it is the βth surface of grid i), and F is the outward normal flux on ∂Ω.





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., ∂Ω=∂Ω=eij. In Eq. (5), the single-point upstream weight scheme in (6) is generally used in k, and μα and Bα generally adopt the arithmetic average scheme in Eq. (7).










k

ra
,
ij


=

{






k
ra

(

S

a
,
j


)







if



F

i

β



<
0








k
ra

(

S

a
,
i


)







if



F

i

β




0









(
7
)















μ

a
,
ij


=





μ

a
,
i


+

μ

a
,
j



2



B

a
,
ij



=



B

a
,
i


+

B

a
,
j



2






(
8
)








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:










F

i

β


=



k

ra
,
ij




μ

a
,

i

j





B

a
,

i

j








T

i

β


(


p
i

-

p

i

β



)






(
9
)









    • wherein











T

i

β


=




"\[LeftBracketingBar]"




Ω

i

β





"\[RightBracketingBar]"







K
i



r

i

β







"\[LeftBracketingBar]"


r

i

β




"\[RightBracketingBar]"


2


·

n

i

β





,





r is a vector from grid i-center to grid, ∂Ω-center, nis the unit outward normal vector of ∂Ω, and pis the pressure value at the center of ∂Ω.


According to Eq. (8), the expression of the outward normal flux of ∂Ω expressed by the transmissibility matrix Ti can be obtained:










F

i

β


=




k

ra
,
ij




μ

a
,

i

j





B

a
,

i

j










γ
=
1


n
i





T

β
,
γ

i

(


p
i

-

p

i

γ



)



T

β
,
γ

i




=

{




T

i

β






if


β

=
γ






0






if


β


γ










(
10
)









    • wherein, T denotes the β row and η columns of matrix Ti.


      2.2 Simulating Finite Difference





Generally, TPFA can only achieve high-precision flux approximation in K-orthogonal grids, and K-orthogonal meets that:

Kir×n,=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:










T
i

=



T

i

1


+


T

i

2




T

i

1




=



1



"\[LeftBracketingBar]"


Ω
i



"\[RightBracketingBar]"





N
i



K
i



N
i
T



T

i

2



=


6
d


t


r

(

K
i

)




A
i

(


I
i

-


Q
i



Q
i
T



)



A
i








(
12
)







Wherein Xi=(xi1−xi, L, x−xi, L, xini−xi)T xi is the vector of the center of grid i, x is the position vector of ∂Ω center, Ni=(|∂Ωi1|ni1, L, |∂Ω|n, L, |∂Ωini|nini)T, d is the grid dimension, Ai=diag(|∂Ωi1|, L, |∂Ω|, L, |∂Ωini|)) Qi=orth(AiXi)


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 F and F on the intersection eij, respectively, the flux continuity condition should be satisfied, that is, the algebraic sum of F and F should be equal to 0.











F

i

β


+

F

j

η



=






γ
=
1


n
i




T

β
,
γ

i

(


p
i

t
+

Δ

t



-

p

i

γ


t
+

Δ

t




)


+




ξ
=
1


n
j




T

η
,
ξ

j

(


p
j

t
+

Δ

t



-

p

j

ξ


t
+

Δ

t




)



=
0





(
13
)







In fact, when using TPFA, p 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.










F

i

j


=




k

ra
,
ij




μ

a
,

i

j





B

a
,

i

j








T
ij

(


p
i

-

p
j


)



T
ij


=


(


T

i

β


-
1


+

T

j

γ


-
1



)


-
1







(
14
)







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:













k

ra
,
ij




μ

a
,

i

j





B

a
,

i

j










β
=
1


n
i






γ
=
1


n
i



[


T

β
,
γ

i

(


p

i

γ


t
+

Δ

t



-

p
i

t
+

Δ

t




)

]




+

Q
a


=





"\[LeftBracketingBar]"


Ω
i



"\[RightBracketingBar]"



Δ

t


[



(


ϕ


S
a



B
a


)


t
+

Δ

t



-


(


ϕ


S
a



B
a


)

t


]





(
15
)







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 FIG. 1(a), the first type of connection includes (mi, mj) and (mi, mk), the second type of connection includes (mi, fi), (mj, fj) and (mk, fk), and the third type of connection includes (fi, fk).


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:










T


m
i

,

m
j



=




(


T

m
i



-
1


+

T

m
j



-
1



)


-
1




T

m
i




=





k

m
i




A

(

1
ij

)



d

m
i





T

m
j




=



k

m
j




A

(

1
ij

)



d

m
j









(
16
)









    • wherein A(·) denotes the area operator and 1ij is the interface of mi and mj.





Similarly, for the second type of connection,










T


f
i

,

m
i



=




(


T

f
i


-
1


+

T

m
i


-
1



)


-
1




T

f
i



=





k

f
i




A

f
i





w

f
i


/
2




T

m
i



=




2


k

m
i




A

f
i






d


f
i



m
i










d


f
i



m
i






=





Ω

m
i







"\[LeftBracketingBar]"


x
·
n



"\[RightBracketingBar]"



dV



V

m
i










(
17
)







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:











T


f
i



f
k



=


(


T

f
i


-
1


+

T

f
k


-
1



)


-
1



,


T

f
i


=



k

f
i




w

f
i




h

f
i




d

f
i




,


T

f
k


=



k

f
k




w

f
k




h

f
k




d

f
k








(
18
)







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 FIG. 1(b), taking f; as an example, pEDFM projects fi along the x and y directions to 1ij and 1ik, respectively, at this time, pEDFM transforms the original model in FIG. 1(a) into the model in FIG. 1(c). At this point, compared with EDFM, fi needs to be connected to mj and mk, the corresponding flow area is the projection area of fi meanwhile, since the connection of (mj, fi) and (mk, fi) occupies the area of 1ij and 1ik, the flow area of the original (mj, fi) and (mk, fi) is weakened. Meanwhile, because fi and fj are projected onto 1ij, there is also a connection between fi and fj.


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 FIG. 1 is:











T


f
i



m
i



=


(


T

f
i


-
1


+

T

m
j


-
1



)


-
1



,


T

f
i


=



k

f
j




A

(

f

j
,

1
ij


p

)




w

f
j


/
2



,


T

m
j


=



k

m
j




A

(

f

j
,

1
ij


p

)



d


m
j

,

1
ij









(
19
)
















T


f
j



m
i



=


(


T

f
j


-
1


+

T

m
i


-
1



)


-
1



,


T

f
j


=



k

f
j




A

(

f

j
,

1
ij


p

)




w

f
j


/
2



,


T

m
j


=



k

m
j




A

(

f

j
,

1
ij


p

)



d


m
j

,

1
ij









(
20
)









    • wherein fi,1ijp and fj,1ijp are the projections of fi and fj on 1ij.





The transmissibility of the original m-m connections is reduced to:








T


m
i

,

m
j



=


(


T

m
i



-
1


+

T

m
j



-
1



)


-
1



,


T

m
i



=



k

m
i


(


A

(

1

ij



)

-

A

(

f

i
,

1
ij


p

)


)


d


m
i

,

1
ij





,


T

m
j



=



k

m
j


(


A

(

1

ij



)

-

A

(

f

j
,

1
ij


p

)


)


d


m
j

,

1
ij















T


m
i

,

m
k



=


(


T

m
i



-
1


+

T

m
k



-
1



)


-
1



,


T

m
i



=



k

m
i


(


A

(

1

ij



)

-

A

(

f

i
,

1
ik


p

)


)


d


m
i

,

1
ik





,


T

m
k



=



k

m
k


(


A

(

1

ij



)

-

A

(

f

j
,

1
ik


p

)


)


d


m
k

,

1
ik









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:











T


f
i

,

m
i



=


(


T

f
i


-
1


+

T

m
i


-
1



)


-
1



,


T

f
i


=



k

f
i




A

f
i





w

f
i


/
2



,


T

m
i


=



k

m
i




A

f
i






d


f
i



m
i







,




d


f
i



m
i





=





Ω

m
i







"\[LeftBracketingBar]"


x
·
n



"\[RightBracketingBar]"



dV



V

m
i








(
23
)







Added transmissibility (fi, fi):











T


f
i



f
j



=


(


T

f
i


-
1


+

T

f
j


-
1



)


-
1



,


T

f
i


=



k

f
i




A

f
i

p




w

f
i


/
2



,


T

f
j


=



k

f
j




A

f
j

p




w

f
j


/
2







(
24
)







Then, the generic pEDFM gives a non-projection method to model low-conductivity fractures, as shown below: the updated transmissibility of the connection is:











T
ij


=


(


T
ij

-
1


+

T
f

-
1



)


-
1



,


T
f

=



k
f



A
ij



w
f







(
25
)







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 FIG. 2(a), m, contains a fracture unit fi, mi and mj are adjacent, in EDFM, the pressure is continuous on the intersection Iij of mi and mj, this facilitates the application of the aforementioned MFD theory to construct flux continuity conditions at Iij. However, because the essence of pEDFM is to project fractures onto the interface of matrix grids, the original embedded discrete scheme is transformed into an approximate DFM to deal with. In pEDFM, as shown in FIG. 2(b), the fi in the matrix grid mi needs to be projected on Iij, but not fully covered Iij, the area covered by the fracture projection is denoted as Iij1, the remaining region on the Iij plane is Iij2, the pressure is continuous only on the mi-side and mj-side of Iij2, the pressure on the mi-side and mi-side of Iij1 may be discontinuous, for example, if the permeability of the fracture is only slightly higher than that of the matrix grid, at this time, fluid is displaced to mj, from mi, and there is a pressure difference that cannot be ignored on both sides of Iij1. Therefore, the pressure values on different connections may be distributed on the intersection of the matrix grids that undertake the fracture projection in pEDFM, and it is necessary to distinguish the possible discontinuous pressures on the left and right sides on the intersection of the matrix grids.


The above analysis gives the following important inspirations:


i) The concept of effective connectivity needs to be introduced. As shown in FIG. 2(c), the projection of fracture fj on Iij will completely cover Iij, at this time, there will be no need to define additional pressure degrees of freedom between mi and mj. If the additional definition is given, the global equations will not have the flow continuity equation related to the pressure degree of freedom, so that the global equations can not be solved in closed form. Therefore, it is necessary to introduce the definition of effective connection, that is, the connection whose actual flow area is not 0. Only such a connection can define an additional pressure degree of freedom.


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 FIG. 2(b), the projection area of fracture fj on Iij is not 0, therefore, there are two effective connections of (mi, fi) and (mj, fi). Then the pressure degree of freedom added for (mi, fi) is actually located on the side of Iij near m, side, the pressure degree of freedom added for (mj, fi) is actually located on the side of Iij near mj side, and the values of these two pressure degrees of freedom are generally different. Therefore, for an effective m-f connection, if the fracture f is projected on the interface 1 of the matrix grid, the additional degree of freedom added for the connection is judged to be located on the m side of 1. For an effective (mi, mj) connection, the pressure degree of freedom is located on both sides of Iij. In general, it is based on the matrix grid in the connection to solve the pressure degree of freedom added to the connection on which side of the corresponding matrix grid surface is located.


(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 FIG. 2(b), the average pressure p1ijmi of the side near mi of 1ij and the average pressure p1ijmi of the side near m, of 1 are calculated as follows:












p
¯


1
ij


m
i


=




p

(


m
i

,

f
i


)




A

(


m
i

,

f
i


)



+


p

(


m
i

,

m
j


)




A

(


m
i

,

m
j


)






A

(


m
i

,

f
i


)


+

A

(


m
i

,

m
j


)





,



p
¯


1
ij


m
j


=




p

(


m
i

,

f
i


)




A

(


m
i

,

f
i


)



+


p

(


m
i

,

m
j


)




A

(


m
i

,

m
j


)






A

(


m
i

,

f
i


)


+

A

(


m
i

,

m
j


)









(
26
)









    • wherein, p(mi, fi), p(mj, fi) and p(mi, mj), and are the pressure degrees of freedom added for (mi, fi), (mj, fi) and (mi, mj), respectively, A(mi, fi), A(mj, fi) and A(mi, mj) are the corresponding flow areas of (mi, fi), (mj, fi) and (mi, mj), respectively. It can be seen that the pressure on the left and right sides of 1ij1. is discontinuous, the average pressure on the left and right sides of 1ij is no longer continuous. Of course, if there is no fracture projection on the matrix grid surface, the average pressure on both sides of 1ij can be calculated to be continuous, which degenerates into the case in EDFM.


      4.2 Basic Concepts


      Concept 1: effective connection





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 FIG. 2 as an example, C(mi, mj)∈Cont10, therefore, the effective set in definition Cont1 is Cont1eff.

Cont1eff=Cont1−Cont10  (27)


Concept 2: Cont1eff (1ijmi) and the corresponding pressure degree of freedom


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 FIG. 2(b), The additional pressure degree of freedom p(mi, fi) is considered to be on the side of 1ij near mi. Let 1ijmi be the side of 1ij near mi, 1ijmj is the side of 1ij near mj. Then, it is possible to define the effective connection set associated with 1ijmi as a set of connections in which the added pressure degree of freedom in Cont1eff is located in 1ijmi, noting Cont1eff (1ijmi), the flow area of the corresponding connection and the increased pressure degree of freedom are Aζ and pζ, respectively, ζ∈Cont1eff (1ijmi). It should be pointed out that the increased pressure degree of freedom of the original m-f connection may fall on two substrate grids, such as fi in FIG. 2(c), it is due to the projection in the x direction and they direction, respectively, therefore, (fi, mi)∈Cont1eff (1ijmi) and (fi, mi)∈Cont1eff (1ikmi), the corresponding flow area should not be fracture area, but A(fi,1ijp) and A(fi,1ikp), respectively.


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 piji on one side of the matrix grid is defined to participate in the calculation of the outward normal flux on the side of the matrix grid based on MFD and the calculation is as follows:











p
¯


1
ij


m
i


=





ξ



Cont
1
eff

(

1
ij
mj

)





p
ξ



A
ξ







ξ



Cont
1
eff

(

1
ij
mj

)




A
ξ







(
28
)








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:

    • i) for f-f connections, it may be set to fi and fj, and the fi-fj transmissibility before being affected by fl is:

      Tfifj=(Tfi−1+Tfj−1)−1  (29)
    • then the transmissibility affected by fl is:











T


f
i



f
j



=

(


T


f
i



f
j



-
1


+

T

f
l


-
1



)


,


T

f
l


=



k

f
l




A

(


f
i

,

f
j


)





w

f
l


/
2







(
30
)









    • wherein, A(fi, fj) is the flow area of (fi, fj).

    • if there are other low-conductivity fractures that affect the connection, then the Eq. (29) continues to be updated.

    • ii) For m-f connections, it may be set to mi and fj, suppose that a transmissibility off in the mi-fj connections is not affected by fl, the original transmissibility of fj is based on the TPFA's Tfj, the influence of fl is applied to fj, which is equivalent to connecting the low-conductivity fracture fl with fj in series, that is, the transmissibility off is updated as:

      Tfj=(Tfj−1+Tfl−1)−1  (31)

    • if there are other low-conductivity fractures that affect the mi-fj connections, then use Eq. (31) to continue to update Tfj.

    • iii) for m-m connections, it may be set to mi and fj, since there is no fracture grid available for the harmonic averaging scheme, it is necessary to split the mi-mj connections into two m-f connections, they are mi-fl and mj-fl respectively, and the flow area of these two connections is (mi, mj) flow area A(mi, mj), wherein the transmissibility off is:













T

f
l


=



k

f
l




A

(


m
i

,

m
j


)





w

f
l


/
2






(
32
)







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:











T

f
l


=


(


T

f
l


-
1



+

T

f
k


-
1



)


-
1



,


T

f
k


=



k

f
k




A

(


m
i

,

m
j


)





w

f
k


/
2







(
33
)







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 neighmi, then the set of effective connections on each side of mi near mi is:









Cont
2

eff



(

m
i

)

=


U

j


neigh

m
i







Cont
2

eff



(

1
ij

m
i


)



,





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:

pmi=Apmi  (34)

    • wherein pmi is a column vector composed of pijmi (j∈neighmi), pmi is a column vector composed of pj(j∈Cont2eff (mi)), each j row of A represents the area weight when the average pressure of the jth surface of mi near mi is calculated by Eq. (28), meanwhile, AT is the distribution matrix of the numerical flux on each surface of mi to the flow on each connection in Cont1eff(mi):

      fluxi=AT√{square root over (fluxi)}  (35)


Firstly, it is judged whether the matrix grid mi is K orthogonal, if yes, then the transmissibility matrix Tmi in mi is calculated by using the Eq. (9) based on TPFA, if not, then the transmissibility matrix Tmi in mi is calculated by using the MFD-based Eq. (12). As mentioned above, the average pressure is used to participate in the calculation of the numerical flow on each surface of the matrix grid, so it can be obtained that:

fluxi=Tmipmi=TmiApmi=TmiA(pmiI−pmi)  (36)

    • wherein, I is a column vector, wherein one of the elements is 1 and the length is the number of effective connections of the matrix grid.


Furthermore, combining Eq. (35) and Eq. (36), it is obtained that:

fluxi=ATTmiA(pmiI−pmi)  (37)


Therefore, for the matrix grid, the actual transmissibility matrix is:

custom character=ATTmiA  (38)

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 custom character into Eq. (15), the discrete scheme of the continuity equation in m; can be obtained:














β



Cont
1
eff

(

m
i

)






k

ra
,

i

β





μ

a
,

i

β





B

a
,

i

β










γ



Cont
1
eff

(

m
i

)





(


p
γ

t
+

Δ

t



-

p

m
i


t
+

Δ

t




)





+

Q
a


=





"\[LeftBracketingBar]"


Ω
i



"\[RightBracketingBar]"



Δ

t


[



(


ϕ


S
a



B
a


)


m
i


t
+

Δ

t



-


(


ϕ


S
a



B
a


)


m
i

t


]





(
39
)







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 neighfj, then the discrete scheme of the continuity equation in fj can be written as Eq. (40). It should be emphasized that the reason why the form of the mass transfer part corresponding to the f-f connections in Eq. (40) is different from the form of the mass transfer part corresponding to the m-f connections is that: in this work, in order to reduce the computational cost and algorithm complexity, no additional pressure degree of freedom is added to the f-f connections. Therefore, the mass transfer corresponding to the f-f connections is directly expressed in a numerical flux expression similar to that in Eq. (14) using grid average pressure and TPFA.












β


C

o

n


t

f
j


m
-
f






,





k

ra
,

i

β





μ

a
,

i

β





B

a
,

i

β










γ


C

o

n


t

f
j


m
-
f







(


p
γ

t
+

Δ

t



-

p

f
j


t
+

Δ

t




)




+




β


n

e

i

g


h

f
j








k

ra
,

i

β





μ

a
,

i

β





B

a
,








T


f
j


β


(


p
β

t
+

Δ

t



-

p

f
j


t
+

Δ

t




)



+

Q
a


=





"\[LeftBracketingBar]"


Ω

f
j




"\[RightBracketingBar]"



Δ

t


[



(


ϕ


S
a



B
a


)


f
j


t
+

Δ

t



-


(


ϕ


S
a



B
a


)


f
j

t


]







(
40
)







Meanwhile, when custom characterof 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:

fluxmi→mk=custom character(pmiI−pmi),fluxmk→mi=custom character(pmiI−pmi)  (41)


The corresponding flux continuity condition is: custom character(pmiI−pmi)+custom character(pmiI−pmi)=0 (42)


For m-f connections, suppose that is mi and fj, then:











flux


m
i



f
j



=


(



p

m
i



I

-

p

m
i



)



,


flux


f
j



m
i



=


T

f
j


(


p

f
j


-

p

(


m
i

,

f
j


)



)






(
43
)







The corresponding flux continuity condition is:

custom character(pmiI−pmi)+Tfj(pfj−p(mi,fj))=0  (44)


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.


Example 1


FIGS. 3(a) and (b) show two reservoir models in this case, in which the first model contains only one high-conductivity fracture consistent with the coordinate line, and the second model has an additional flow barrier. There is a water injection well and a production well in the lower left corner and the upper right corner of the reservoir respectively. FIGS. 3(c) and (d) show the Cartesian background grid of the two models. The reservoir permeability is the anisotropic permeability tensor of the principal axis in the x and y directions in Eq. (45). The relative permeability function is shown in Eq. (46), and the other physical parameters are shown in table 1.









K
=


[




8

0



0




0



1

0




]


m

D





(
45
)
















k
rw

=


0
.
8




(



S
w

-

0
.
2



1
-

0
.
2

-

0
.
2



)

2



,


k

r

o


=


0
.
5


5

2



(


1
-

0
.
2

-

S
w



1
-

0
.
2

-

0
.
2



)

2







(
46
)








Table 1 Physical Parameters of Reservoir Model















Physical parameters
The value
Physical parameters
The value



















Original formation
15
MPa
Water phase viscosity
0.6 mPa · s










pressure





Initial water saturation
0.2
Reference pressure
15 MPa











Thickness
5
m
Oil phase compressibility
1 × 10−3 MPa1












coefficient



Matrix porosity
0.12
Water phase compressibility
5 × 10−4 MPa1




coefficient



Fracture porosity
0.4
Matrix compressibility
1 × 10−4 MPa1




coefficient












Fracture permeability
100000
mD
Fracture compressibility
1 × 10−4 MPa1












coefficient












Fracture aperture
0.01
m
Oil phase volume coefficient
1.0












under reference pressure












Fracture permeability of
0
mD
Water phase volume coefficient
1.0










blocking fracture

under reference pressure



Oil phase viscosity
2 mPa · s









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. FIG. 4 compares the water saturation distribution at 200 days calculated by LGR, new pEDFM, EDFM and DFM at case 1. FIG. 5 and FIG. 6 compare the water saturation and pressure distribution at 200 days calculated by LGR, new pEDFM, EDFM and DFM at case 2, respectively. FIG. 7 compares the water cut curves of production wells in case 1 and case 2. It can be seen that the new pEDFM can achieve almost the same saturation, pressure distribution and well response results as LGR and DFM. However, EDFM produces significant errors when simulating two-phase flow across high-conductivity fractures in case 1. The flow barrier in case 2 did not prevent the flow of injected water in EDFM, and the pressure distribution calculated by EDFM did not reflect the discontinuity of pressure on both sides of the flow barrier. The dynamic data of oil wells calculated by EDFM are also significantly different from the reference solution. The analysis of the results of this example shows that the new pEDFM can effectively solve the limitations of EDFM in the applicability of flow scenarios.


Example 2

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, FIG. 8 and FIG. 9 compare the water saturation and pressure distribution at 200 days calculated by pEDFM using TPFA, new pEDFM, and EDFM using MFD, respectively. FIG. 10 compares the water cut curves of production wells calculated by different methods. It can be seen that: (i) the new pEDFM can obtain almost the same calculation results as the reference solution, and the calculated water flooding front and pressure distribution accurately reflect the principal axis direction of the permeability tensor in Eq. (47) (i.e., the angle with the coordinate axis is 30 degrees). (ii) Although the pEDFM using TPFA can simulate the blocking effect of the flow barrier on the flow, the difference with the reference solution is still very obvious. From the calculated water drive front and pressure distribution, it can be seen that the use of TPFA to estimate the numerical flux leads to its failure to accurately grasp the principal axis direction of the permeability tensor in Eq. (47), and mistakenly believe that the principal axis direction of the permeability tensor is x direction and y direction. (iii) The EDFM using MFD fails to effectively characterize the role of the flow barrier, which is also reflected in case 2 of the first case, but the numerical flux approximation based on MFD enables EDFM to simulate a water flooding front with an inclination of about 30 degrees on the left side of the high-conductivity fracture.









K
=


[




6


2
.
5





3


0
.
3


1

0

9






3


0
.
3


1

0

9




2


7
.
5





]


m

D





(
47
)







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.


Example 3

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 FIG. 11, the reservoir model of this implementation case contains 36 high-conductivity fractures marked with solid lines and 4 flow barriers marked with dotted lines. The permeability of anisotropic reservoir is the full permeability tensor in Eq. (47). The initial pressure and reference pressure of the reservoir are both 20 MPa. The other physical parameters are the same as those in table 1, and the relative permeability data are the same as that in Eq. (46). Wherein, the injection-production wells in case1 are located in the lower left corner and the upper right corner of the reservoir, and the injection-production wells in case2 are located in the upper left corner and the lower right corner of the reservoir. FIGS. 13(c) and (d) show the matching grid used by DFM and the non-matching grid used by the new pEDFM, respectively. It can be seen that when generating the matching grid for the complex fracture network, a large number of small grids will be generated in the narrow area between the fractures, so that the number of generated grids is large and the generation of grids is difficult. Practice shows that in the case of more complex fracture grids, even some mature triangular (tetrahedral) grid generation software cannot generate grids that match the geometric structure of the fracture network.



FIG. 12 and FIG. 13 compare the water saturation and pressure distribution after 400 days and 600 days calculated by DFM and new pEDFM in case1 and case 2, respectively. It can be seen intuitively that the new pEDFM can achieve the same calculation accuracy as DFM in case1 and case 2. It is shown that the new pEDFM is more practical than the DFM for implementations with complex grids.


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.

Claims
  • 1. A method for generating flow simulation of fracture formation, for an anisotropic media with full permeability tensor, by a projection-based embedded discrete fracture model (pEDFM) using a hybrid of two-point flux approximation (TPFA) method and mimetic finite difference (MFD) method, i.e., (TPFA-MFD) method, the method comprising: discretizing of a generic fracture model of the anisotropic media, by a data processing system, for: identifying a plurality of grids comprising matrix grids and fracture grids based on a location of each grid in the generic fracture model;identifying three types of connections in a fracture network based on the location of each grid in the generic fracture model, wherein the three types of connections comprises: m-m connection corresponding to connection between two matrix grids;m-f connection corresponding to connection between a matrix grid and a fracture grid; andf-f connection corresponding to a connection between two fracture grids; andidentifying effective m-m connections and/or effective m-f connections, wherein each effective m-m connection and/or each effective m-f connection comprises at least one low-conductivity fracture fl;constructing a treatment method for each low-conductivity fracture by the data processing system, for: identifying an inter-grid connection set Cont1 comprising a set of connections obtained from a generic pEDFM to treat the low-conductivity fractures with a non-projection transmissibility multiplier method is used that provides a flow area between adjacent grids, wherein the low-conductivity fractures are ignored;identifying an efficient set of connections Cont1eff based on the inter-grid connection set Cont1 as follows: Cont1eff=Cont1−Cont10  (6)wherein Cont10 is a set of connections with a flow area 0 in the inter-grid connection set Cont1;constructing a numerical flux calculation method for effective m-f and m-m connections, by the data processing system, for: determining flux continuity conditions of effective m-f and m-m connections using the hybrid TPFA-MFD method, wherein the hybrid TPFA-MFD method comprises: estimating a numerical flux on each effective m-f connection and/or effective m-m connection related to K-orthogonal grids using TPFA method; andestimating a numerical flux on each effective m-f connection and/or effective m-m connection related to non-K-orthogonal grids using MFD method; andperforming a spatial discretization of a continuity equation of each matrix grid and each fracture grid in the effective m-m and m-f connections; andconstructing global equations, by the data processing system, by combining the flux continuity conditions of the effective m-f and m-m connections and a time discretization scheme of implicit backward Euler scheme, and calculating distribution of pressure and water saturation by solving the global equations using a nonlinear solver based on Newton-Raphson method.
  • 2. The method for generating the flow simulation of fracture formation, for the anisotropic media with full permeability tensor, by the projection-based embedded discrete fracture model (pEDFM) using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method according to claim 1, wherein the method for constructing the treatment method for each of the low-conductivity fractures by the data processing system comprises, determining a transmissibility of each fracture grid in pEDFM based on TPFA method, wherein the at least one low-conductivity fracture fl has a permeability kf and a fracture width wf, wherein determining transmissibility of fracture grids in the pEDFM includes determining the transmissibility in three types of connections that are affected by low-conductivity fractures, wherein the transmissibility based on low-conductivity fractures for the three types of connections are as follows: (1) for f-f connections, set to connect between i-th fracture grid fi and j-th fracture grid fj, determining a transmissibility of fracture grids in fi-fj connection that is affected by low-conductivity fracture fl comprises: determining a first transmissibility of fi-fj connection before being affected by the low-conductivity fracture grid fl as: Tfifj=(Tfi−1+Tfj−1)  (1)wherein, Tfi is a transmissibility of fracture grid fi, Tfj is a transmissibility of fracture grid fj; anddetermining a transmissibility of fi-fj connection after being affected by low-conductivity fracture f1 as:
  • 3. The method for generating flow simulation of fracture formation, for the anisotropic media with full permeability tensor, by the projection-based embedded discrete fracture model (pEDFM) using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method according to claim 1, wherein constructing the numerical flux calculation method for the effective m-f and m-m connections, by the data processing system comprises: identifying a number set of a matrix grid which is adjacent to a matrix grid mi to be neighmi, wherein a set of effective connections on each mi-side face of matrix grid mi is: Cont2eff(mi)=j∈neighmi∪ Cont2eff(lijmi) according to Eq. (7):
  • 4. The method for generating flow simulation of fracture formation, for the anisotropic media with full permeability tensor, by the projection-based embedded discrete fracture model (pEDFM) using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method according to claim 3, wherein, constructing the numerical flux calculation method for the effective m-f and m-m connections, by the data processing system comprises: using a distribution matrix AT to relate a numerical flux on each surface of mi denoted by fluxi to a numerical flux fluxi on each effective connection in Cont2eff(mi) as follows: fluxi=ATfluxi  (9),wherein: if the matrix grid mi is K orthogonal, then a transmissibility matrix Tmi in the i-th matrix grid mi is calculated by using Eq. (10) based on TPFA as follows:
  • 5. The method for generating flow simulation of fracture formation, for the anisotropic media with full permeability tensor, by the projection-based embedded discrete fracture model (pEDFM) using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method according to claim 4, wherein constructing global equations by the data processing system comprises: calculating the flow on each connection related to mi by using the actual transmissibility matrix given in Eq. (14), and obtaining a discrete scheme of the continuity equation in matrix grid mi as;
  • 6. The method for generating flow simulation of fracture formation, for the anisotropic media with full permeability tensor, by the projection-based embedded discrete fracture model using hybrid of two-point flux approximation and mimetic finite difference (TPFA-MFD) method according to claim 5, wherein when actual transmissibility of each matrix grid {tilde over (T)}mi is obtained, the transmissibility of all matrix grids in effective m-m connections and m-f connections is known, while a transmissibility of fracture grids in m-f connections still adopts a simple scheme based on TPFA wherein: for m-m connections, suppose mi and mk are matrix grids corresponding to i-th surface and k-th surface respectively, then,the corresponding numerical flux is: fluxmi→mk={tilde over (T)}mimk(pmiI−pmi)fluxmk→mi={tilde over (T)}mimk(pmiI−pmi)  (17)the corresponding flux continuity condition is: {tilde over (T)}mimk(pmiI−pmi)+{tilde over (T)}mimk(pmiI-pmi)=0  (18)for m-f connections, suppose mi and fj are the matrix grid corresponding to i-th surface and the fracture grid corresponding to i-th surface respectively, then,the corresponding numerical flux is: fluxmi→fj={tilde over (T)}mifj(pmiI−pmi)fluxfj→mi=Tfj(pfj−p(mi,fj))  (19), andthe corresponding flux continuity condition is: {tilde over (T)}mifj(pmiI−pmi)+Tfj(pfj−p(mi,fj))=0  (20); andfor f-f connections, the transmissibility is obtained using the generic pEDFM without defining additional pressure degrees of freedom is adopted.
Priority Claims (1)
Number Date Country Kind
202310879050.0 Jul 2023 CN national
US Referenced Citations (24)
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
Non-Patent Literature Citations (4)
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).