An introduction to finite volume methods for diffusion problems
Texte intégral
(2) Short outline 1. Introduction. 2. 1D Finite Volume method for the Poisson problem. 3. The basic FV scheme for the 2D Laplace problem. 4. The DDFV method. 5. A review of some other modern methods. 6. Comparisons : Benchmark from the FVCA 5 conference. The main points that I will not discuss The 3D case : many things can be done ... with some efforts. Parabolic equation. Non-linear problems. 2/ 137 F. Boyer. FV for elliptic problems.
(3) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 3/ 137 F. Boyer. FV for elliptic problems.
(4) Examples of Darcy or Darcy-like models Flow of an incompressible fluid in a porous medium div v = f, mass conservation, f represents sinks/wells, v = −ϕ(x, ∇p), filtration velocity constitutive law. Linear regime Darcy law : v=−. K(x) ∇p, µ. the tensor K(x) is the permeability, µ the viscosity.. 4/ 137 F. Boyer. FV for elliptic problems.
(5) Examples of Darcy or Darcy-like models Flow of an incompressible fluid in a porous medium div v = f, mass conservation, f represents sinks/wells, v = −ϕ(x, ∇p), filtration velocity constitutive law. Non-linear regimes Darcy-Forchheimer law : in case of high pressure gradients −∇p =. −2k∇p 1 p v + β|v|v, ⇐⇒ v = . k 1 + 1 + 4βk2 |∇p|. Power law : Non-newtonian effects. 1. |v|n−1 v = −k∇p, ⇐⇒ v = −|k∇p| n −1 (k∇p). Monotonicity Observe that in each case, ∇p 7→ v = −ϕ(x, ∇p) is monotone.. 4/ 137 F. Boyer. FV for elliptic problems.
(6) Real flows in porous media Heterogeneities, Discontinuities, Anisotropy. Example of the underground structure. Each color represents a different medium −div (ϕ(x, ∇p)) = f. ϕ(x, ·) can be linear in some areas.. ϕ(x, ·) can be non-linear in other areas.. Some rocks are very permeable, other are almost impermeable. Some rocks have an isotropic structure, other are very anisotropic due to the particular structure at the pore scale. Transmission conditions Pressure is continuous at interfaces. Mass flux ϕ(x, ∇p) · ν is continuous across interfaces. 5/ 137 F. Boyer. FV for elliptic problems.
(7) Other models in porous media Multiphase (water/oil) flows Coupling of a Darcy-like equation ( velocity) with an hyperbolic problem ( oil concentration=saturation). In practice, a time splitting scheme can be used : 1) We solve a Darcy problem whose permeability is a function of saturation −div (K(un )∇p) = f, + B.C. 2) We solve the nonlinear conservation law by using the previously computed velocity v n = −K(un )∇p (θu)n+1 − (θu)n + div (f (un )v n ) = 0. δt. Remarks 1 In this course, I will only concentrate on the first step but it is worth mentioning that FV methods have been initially introduced in the hyperbolic framework. 2 We need a good approximation of the mass fluxes (v · ν) at interfaces of the mesh in the second step, with explicit formulas if possible. Additional equation for a pollutant ∂t (θc) + div (cv) − div (D(c, v)∇c) = 0, here D(c, v) is a diffusion/dispersion full tensor depending on the concentration and the Darcy velocity v, typically through the tensor product v ⊗ v. F. Boyer. FV for elliptic problems. 6/ 137.
(8) Other models Electrocardiology (Coudière–Pierre–Turpault ’09). u = ui − ue , C(∂ u + f (u)) = −div (Ge ∇ue ), t div ((Gi + Ge )∇ue ) = −div (Gi ∇u), . div (GT ∇uT ) = 0,. (Gi ∇ue ) · ν = −(Gi ∇u) · ν,. (Ge ∇ue ) · ν = −(GT ∇uT ) · ν,. in the heart, in the heart, in the torso, at the interface heart/torso, at the interface heart/torso.. Drift-diffusion models for semi-conductors (Chainais–Hillairet - Peng ’03,’04). ∂t N − div (∇N − N ∇ψ) = 0, ∂t P − div (∇P + P ∇ψ) = 0, λ2 ∆ψ = N − P.. Maxwell, Stokes, Elasticity .... 7/ 137 F. Boyer. FV for elliptic problems.
(9) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 8/ 137 F. Boyer. FV for elliptic problems.
(10) A 1 slide comparison between three families of methods Finite differences methods Mostly based on Taylor expansions of (smooth) solutions. Cartesian geometry only (at least without any additional tools). “Replace” derivatives by differential quotients ui+1 − 2ui + ui−1 ∂u ui+1 − ui ∂2u . , ∂x ∆x ∂x2 ∆x2 Galerkin methods Based on a variational formulation of the PDE. Solve the formulation on a suitable finite dimensional subspace of the energy space Piecewise polynomials : Finite Elements Fourier-like basis : Spectral Methods. Finite volume methods Based on the conservation form of the PDE : div (something) = source. Integrate the balance equation on each cell K and apply Stokes formula Z X source = Outward flux of something across the edge K. edges of K. Approximate each flux and write the discrete balance equation obtained from this approximation.. 9/ 137 F. Boyer. FV for elliptic problems.
(11) The quest of an ideal scheme Geometry : FE : 4, FV : 4, FD : 6. Weak constraints on the meshes FE : 4/6, FV : 4, FD : 6 Non conforming meshes. Local refinement. Very stretched cells. Expected properties of the scheme Local mass conservativity, and mass flux consistency. FE : 6, FV : 4 Preservation of basic properties of the PDEs (well-posedness,...). FE : 4, FV : 4 Preservation of physical bounds on solutions. FE : 6/4, FV : 6/4 Accuracy on coarse meshes with high anisotropies and heterogeneities. FE : 6, FV : 6/4 Here, we restrict ourselves to low order schemes For higher order methods Discontinuous Galerkin 10/ 137 F. Boyer. FV for elliptic problems.
(12) Some academic meshes. 11/ 137 F. Boyer. FV for elliptic problems.
(13) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 12/ 137 F. Boyer. FV for elliptic problems.
(14) Notations The PDE under study ( −∂x (k(x)∂x u) = f (x), in Ω =]0, 1[, u(0) = u(1) = 0.. f is an integrable function (let say continuous ...). k is bounded, smooth, and inf k > 0. A FV mesh T of ]0, 1[. Control volumes : Compact (∼ disjoint) intervals (Ki )1≤i≤N that cover [0, 1] = Ω Ki = [xi−1/2 , xi+1/2 ],. hi+1/2. xi xi−1/2. Ki. xi+1/2. xi+1 Ki+1. xi+3/2. Centers : A set of points xi ∈ Ki , ∀i. Not necessarily mass centers Boundary : To ease presentation, we set x0 = 0 and xN +1 = 1. We set hi = |Ki | = xi+1/2 − xi−1/2 the measure (=length) of Ki . We set hi+1/2 = xi+1 − xi the distance between neighboring centers. 13/ 137 F. Boyer. FV for elliptic problems.
(15) Construction of the Finite Volume scheme 1/2. Cell-centered Finite Volume philosophy A cell-centered scheme Concerns one single unknown ui per control volume, supposed to be an approximation of the exact solution at the center xi . Consists in writing a (discrete) flux balance equation on each control volume. Assume the solution is smooth Z Z ∂x (−k∂x u) dx = Ki. Ki. f (x) dx, ∀i = 1, ..., N.. 14/ 137 F. Boyer. FV for elliptic problems.
(16) Construction of the Finite Volume scheme 1/2. Cell-centered Finite Volume philosophy A cell-centered scheme Concerns one single unknown ui per control volume, supposed to be an approximation of the exact solution at the center xi . Consists in writing a (discrete) flux balance equation on each control volume. Assume the solution is smooth . Z − (k∂x u)(xi+1/2 ) − − (k∂x u)(xi−1/2 ) =. Ki. f (x) dx, ∀i = 1, ..., N.. 14/ 137 F. Boyer. FV for elliptic problems.
(17) Construction of the Finite Volume scheme 1/2. Cell-centered Finite Volume philosophy A cell-centered scheme Concerns one single unknown ui per control volume, supposed to be an approximation of the exact solution at the center xi . Consists in writing a (discrete) flux balance equation on each control volume. Assume the solution is smooth . Z − (k∂x u)(xi+1/2 ) − − (k∂x u)(xi−1/2 ) =. Ki. f (x) dx, ∀i = 1, ..., N.. Flux approximation −(k∂x u)(xi+1/2 ) ≈ − k(xi+1/2 ). u(xi+1 ) − u(xi ) . hi+1/2. 14/ 137 F. Boyer. FV for elliptic problems.
(18) Construction of the Finite Volume scheme 1/2. Cell-centered Finite Volume philosophy A cell-centered scheme Concerns one single unknown ui per control volume, supposed to be an approximation of the exact solution at the center xi . Consists in writing a (discrete) flux balance equation on each control volume. Assume the solution is smooth . −k(xi+1/2 ). u(xi+1 ) − u(xi ) u(xi ) − u(xi−1 ) − −k(xi−1/2 ) hi+1/2 hi−1/2 Z ≈ f (x) dx = hi fi , Ki. where fi is the mean-value of f on. Ki .. 14/ 137 F. Boyer. FV for elliptic problems.
(19) Construction of the Finite Volume 2/2. The FV scheme - version #1 We look for uT = (ui )1≤i≤N ∈ RT satisfying −ki+1/2. ui+1 − ui ui − ui−1 + ki−1/2 = hi fi , ∀i ∈ {1, . . . , N }, hi+1/2 hi−1/2. with u0 = uN +1 = 0 (homogeneous Dirichlet BC).. 15/ 137 F. Boyer. FV for elliptic problems.
(20) Construction of the Finite Volume 2/2. The FV scheme - version #1 We look for uT = (ui )1≤i≤N ∈ RT satisfying −ki+1/2. ui+1 − ui ui − ui−1 + ki−1/2 = hi fi , ∀i ∈ {1, . . . , N }, hi+1/2 hi−1/2. with u0 = uN +1 = 0 (homogeneous Dirichlet BC). The FV scheme - version #2 We look for uT = (ui )1≤i≤N ∈ RT satisfying Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀i ∈ {1, . . . , N }, with ui+1 − ui , i = 1, . . . , N − 1, hi+1/2 u1 − 0 def F1/2 (uT ) = −k1/2 , h1/2 0 − uN def FN +1/2 (uT ) = −kN +1/2 . hN +1/2 def. Fi+1/2 (uT ) = −ki+1/2. 15/ 137 F. Boyer. FV for elliptic problems.
(21) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 16/ 137 F. Boyer. FV for elliptic problems.
(22) First step of the analysis Matrix form of the scheme AuT = B with uT = (ui )1≤i≤N , B = (hi fi )1≤i≤N , where A is tridiagonal and given by ki−1/2 ki+1/2 ki+1/2 + , ai,i+1 = − , ai,i = hi+1/2 hi−1/2 hi+1/2. ai,i−1 = −. ki−1/2 . hi−1/2. 17/ 137 F. Boyer. FV for elliptic problems.
(23) First step of the analysis Matrix form of the scheme AuT = B with uT = (ui )1≤i≤N , B = (hi fi )1≤i≤N , where A is tridiagonal and given by ki−1/2 ki+1/2 ki+1/2 + , ai,i+1 = − , ai,i = hi+1/2 hi−1/2 hi+1/2. ai,i−1 = −. ki−1/2 . hi−1/2. • Observe that A is symmetric and positive definite. of byFi+1/2 parts BC for v. (AuT , v T ) =. N X. (Fi+1/2 (uT ) − Fi−1/2 (uT ))vi. i=1. = − F1/2 (uT )v1 + FN +1/2 (uT )vN +. N −1 X. Fi+1/2 (uT )(vi − vi+1 ). i=1. = −. N X. Fi+1/2 (uT )(vi+1 − vi ). i=0 N X. ui+1 − ui (vi+1 − vi ) hi+1/2 i=0 ! ! N X ui+1 − ui vi+1 − vi hi+1/2 ki+1/2 = hi+1/2 hi+1/2 i=0 =. ki+1/2. 17/ 137 F. Boyer. FV for elliptic problems.
(24) First step of the analysis Matrix form of the scheme AuT = B with uT = (ui )1≤i≤N , B = (hi fi )1≤i≤N , where A is tridiagonal and given by ki−1/2 ki+1/2 ki+1/2 + , ai,i+1 = − , ai,i = hi+1/2 hi−1/2 hi+1/2. ai,i−1 = −. ki−1/2 . hi−1/2. “Variationnal” formulation of the FV scheme To find uT ∈ RT such that N N X X ui+1 − ui vi+1 − vi = hi fi vi , ∀v T ∈ RT . hi+1/2 ki+1/2 h h i+1/2 i+1/2 i=1 i=0 {z } | {z } | sum the interfaces sum on the volumes Z on Z control 1 1 ≈ k ∂x u ∂x v dx ≈ f v dx 0. 0. Comments Matrix assembly for FV schemes is done by interfaces/edges. Variationnal formulation is useful in the analysis.. 17/ 137 F. Boyer. FV for elliptic problems.
(25) Stability. Maximum principle. L∞ -stability. Let uT be the solution to AuT = (hi fi )1≤i≤N . Theorem (Discrete maximum principle) fi ≥ 0, ∀i =⇒ ui ≥ 0, ∀i . Proof. Theorem (L∞ -stability) There exists C > 0 depending only on k such that kuT k∞ ≤ Ckf k∞ . Proof. 18/ 137 F. Boyer. FV for elliptic problems.
(26) Stabilité. Discrete Poincaré inequality. L2 stability. Lemma (Discrete Poincaré inequality) For any uT ∈ RT , we have T. def. ku k2 =. N X i=1. hi |ui |. 2. ! 21. T. ≤ ku k∞ ≤. |. N X. hi+1/2. i=0. ui+1 − ui hi+1/2 {z. discrete H01 norm. Proof : Telescoping summation + Cauchy-Schwarz. 2. ! 21. .. }. ui = (ui − ui−1 ) + (ui−1 − ui−2 ) + · · · + (u1 − 0). Theorem (L2 -stability) For any uT ∈ RT solution of AuT = (hi fi )1≤i≤N , we have the estimate kuT k2 ≤. kf k2 . inf k. In fact, we have a much better estimate : a discrete H 1 estimate. 19/ 137 F. Boyer. FV for elliptic problems.
(27) Comparison with Finite Differences First case : Uniform mesh. We assume k(x) = 1 ; the PDE is then −∂x2 u = f . x +x We choose mass centers xi = i−1/2 2 i+1/2 . Inside the domain : FV ⇔ FD ⇔. −ui+1 + 2ui − ui−1 = fi , h2. the schemes are identical (except possibly the source term discretisation).. 20/ 137 F. Boyer. FV for elliptic problems.
(28) Comparison with Finite Differences First case : Uniform mesh. We assume k(x) = 1 ; the PDE is then −∂x2 u = f . x +x We choose mass centers xi = i−1/2 2 i+1/2 . Inside the domain : FV ⇔ FD ⇔. −ui+1 + 2ui − ui−1 = fi , h2. the schemes are identical (except possibly the source term discretisation). On the boundary : FV ⇔. u1 − 0 u2 − u1 − = hf1 . h h/2. FD ⇔. u2 −u1 h. −. u1 −0 h/2. 3h/4. = f1 .. Here the two schemes are not exactly the same.. 20/ 137 F. Boyer. FV for elliptic problems.
(29) Comparison with Finite Differences Second case : general mesh 1/2. The FV scheme inside the domain writes ui+1 −ui u −u Z − hi i−1 hi+1/2 1 i−1/2 − = fi = (−∂x2 u) dx = −∂x2 u(xi ) + O(h) . hi hi Ki Is the scheme consistent in the usual FD sense ? Let u ∈ C 2 ∂x2 u(xi ). −. u(xi+1 )−u(xi ) hi+1/2. −. u(xi )−u(xi−1 ) hi−1/2. hi =. hi−1/2 + hi+1/2 ∂x2 u(xi ) + O(h) 1− 2hi | {z } =ri. hi−1/2. hi+1/2. hi+3/2. Example :. hi. hi+1. We find that : ri = 1/4, or ri = −1/2. The FV scheme is not consistent in the FD sense ... however the scheme is L∞ stable and convergent !21/ 137 F. Boyer. FV for elliptic problems.
(30) Comparison with Finite Differences Second case : general mesh 2/2. The FV scheme inside the domain reads −. ui+1 −ui hi+1/2. −. ui −ui−1 hi−1/2. hi. = fi .. An alternate consistency property Assume that u ∈ C 3 . We set def. ūi = u(xi ) + We find that ∂x2 u(xi ) −. h2i 2 ∂x u(xi ) = u(xi ) + O(h2 ). 8. ūi+1 −ūi hi+1/2. − hi. ūi −ūi−1 hi−1/2. = O(h) !!. ⇒ This proves (in a quite non-natural way) the first order convergence of the scheme sup |u(xi ) − ui | ≤ sup |u(xi ) − ūi | + sup |ūi − ui | ≤ Ch. i. i. i. 22/ 137 F. Boyer. FV for elliptic problems.
(31) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 23/ 137 F. Boyer. FV for elliptic problems.
(32) Summary of the differences FV / FD. The flux notion is crucial in the Finite Volume framework but it does not enter the game in the previous proof. Consistency in the FD sense is not adapted to FV. The previous convergence proof is not natural and does not have a simple generalisation to more complex problems.. Conclusion We need new tools and proofs.. 24/ 137 F. Boyer. FV for elliptic problems.
(33) Flux consistency Recall the scheme under flux balance form : Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀i ∈ {1, . . . , N }, Fi+1/2 (uT ) = −ki+1/2. ui+1 − ui , 0 = 1, . . . , N. hi+1/2. 25/ 137 F. Boyer. FV for elliptic problems.
(34) Flux consistency Recall the scheme under flux balance form : Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀i ∈ {1, . . . , N }, Fi+1/2 (uT ) = −ki+1/2. ui+1 − ui , 0 = 1, . . . , N. hi+1/2. The exact solution u satisfies : F i+1/2 (u) − F i−1/2 (u) = hi fi , ∀i ∈ {1, . . . , N }, where the exact fluxes are defined by F i+1/2 (u) = −ki+1/2 (∂x u)(xi+1/2 ).. 25/ 137 F. Boyer. FV for elliptic problems.
(35) Flux consistency Recall the scheme under flux balance form : Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀i ∈ {1, . . . , N }, Fi+1/2 (uT ) = −ki+1/2. ui+1 − ui , 0 = 1, . . . , N. hi+1/2. The exact solution u satisfies : F i+1/2 (u) − F i−1/2 (u) = hi fi , ∀i ∈ {1, . . . , N }, where the exact fluxes are defined by F i+1/2 (u) = −ki+1/2 (∂x u)(xi+1/2 ). “Projection” of the exact solution on T : PT u = (u(xi ))1≤i≤N ∈ RT . Flux consistency error terms def. Ri+1/2 (u) =. . |. −ki+1/2. u(xi+1 ) − u(xi ) − − ki+1/2 (∂x u)(xi+1/2 ) . hi+1/2 {z } {z } |. =Fi+1/2 (PT u). F. Boyer. =F i+1/2 (u). FV for elliptic problems. 25/ 137.
(36) FV error estimate The strategy T. T. T. We define the error e = u − P u. Recall Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀i ∈ {1, . . . , N },. (1). F i+1/2 (u) − F i−1/2 (u) = hi fi , ∀i ∈ {1, . . . , N },. (2). Ri+1/2 (u) = Fi+1/2 (P u) − F i+1/2 (u), ∀i ∈ {0, . . . , N }.. (3). T. 26/ 137 F. Boyer. FV for elliptic problems.
(37) FV error estimate The strategy T. T. T. We define the error e = u − P u. Recall Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀i ∈ {1, . . . , N },. (1). F i+1/2 (u) − F i−1/2 (u) = hi fi , ∀i ∈ {1, . . . , N },. (2). Ri+1/2 (u) = Fi+1/2 (P u) − F i+1/2 (u), ∀i ∈ {0, . . . , N }.. (3). T. The Finite Volume computation We subtract (1) and (2), and we use (3) Fi+1/2 (uT − PT u) − Fi−1/2 (uT − PT u) = −Ri+1/2 (u) + Ri−1/2 (u). We multiply the equations by ei and make the sum N X. hi+1/2 ki+1/2. i=0. . ei+1 − ei hi+1/2. 2. =−. N X. hi+1/2 Ri+1/2 (u). i=0. . ei+1 − ei hi+1/2. . .. We use Cauchy-Schwarz inequality T. ke k∞ ≤. N X i=0. hi+1/2. . ei+1 − ei hi+1/2. 2 ! 12. 1 ≤ C. N X i=0. 2. hi+1/2 |Ri+1/2 (u)|. ! 12. .. 26/ 137 F. Boyer. FV for elliptic problems.
(38) Finite Volume error estimate The final estimate. It remains to estimate the terms Ri+1/2 (u) Assume that u ∈ C 2 , then Taylor formulas lead to u(xi+1 ) − u(xi ) Ri+1/2 (u) = −ki+1/2 − − ki+1/2 (∂x u)(xi+1/2 ) . hi+1/2 ≤ kkk∞ k∂x2 uk∞ h.. We conclude sup |ui − u(xi )| = keT k∞ ≤ kkk∞ k∂x2 uk∞ h i. 27/ 137 F. Boyer. FV for elliptic problems.
(39) Finite Volume error estimate The final estimate. It remains to estimate the terms Ri+1/2 (u) Assume that u ∈ C 2 , then Taylor formulas lead to u(xi+1 ) − u(xi ) Ri+1/2 (u) = −ki+1/2 − − ki+1/2 (∂x u)(xi+1/2 ) . hi+1/2 ≤ kkk∞ k∂x2 uk∞ h.. We conclude sup |ui − u(xi )| = keT k∞ ≤ kkk∞ k∂x2 uk∞ h i. Remarks : x +x. If we have xi+1/2 = i 2 i+1 , then the scheme is second order. However, in general, this is not true, since we have more naturally xi =. xi−1/2 + xi+1/2 . 2. Observe that, if there one single interface such that Ri+1/2 (u) = O(1), then the scheme is only of order 1/2. 27/ 137 F. Boyer. FV for elliptic problems.
(40) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 28/ 137 F. Boyer. FV for elliptic problems.
(41) Discontinuous coefficients Definition of the scheme. Assumption : the diffusion coefficient k is piecewise constant and the mesh is assumed to be compatible with the jumps of k (i.e. k is constant on each control volume).. 29/ 137 F. Boyer. FV for elliptic problems.
(42) Discontinuous coefficients Definition of the scheme. Assumption : the diffusion coefficient k is piecewise constant and the mesh is assumed to be compatible with the jumps of k (i.e. k is constant on each control volume). Remarks The diffusion coefficient ki+1/2 = k(xi+1/2 ) is not defined anymore. The solution u has no chance to be C 2 ! Indeed, if f is C 0 , we only have k(∂x u) ∈ C 1 .. Therefore, it is the total flux which is smooth Exact total flux : F i+1/2 (u) = − k(∂x u) (xi+1/2 ).. 29/ 137 F. Boyer. FV for elliptic problems.
(43) Discontinuous coefficients Definition of the scheme. Assumption : the diffusion coefficient k is piecewise constant and the mesh is assumed to be compatible with the jumps of k (i.e. k is constant on each control volume). Remarks The diffusion coefficient ki+1/2 = k(xi+1/2 ) is not defined anymore. The solution u has no chance to be C 2 ! Indeed, if f is C 0 , we only have k(∂x u) ∈ C 1 .. Therefore, it is the total flux which is smooth Exact total flux : F i+1/2 (u) = − k(∂x u) (xi+1/2 ). Definition of the numerical flux We still consider the two-point formula Fi+1/2 (uT ) = −ki+1/2. ui+1 − ui , hi+1/2. but how do we choose the diffusion coefficient ki+1/2 ? ki+1/2 = ki ? ki+1/2 = ki+1 ? ki+1/2 = (ki + ki+1 )/2? 29/ 137 F. Boyer. FV for elliptic problems.
(44) Discontinuous coefficients Definition of the numerical flux. In the control volume Ki • x 7→ k(x) is a constant = ki thus u ∈ C 2 in. Ki .. u(xi+1/2 ) − u(xi ) ⇒ (k∂x u)(x− . i+1/2 ) ≈ ki xi+1/2 − xi. In the control volume Ki+1 • x 7→ k(x) is a constant = ki+1 thus u ∈ C 2 in. Ki+1 .. u(xi+1 ) − u(xi+1/2 ) ⇒ (k∂x u)(x+ . i+1/2 ) ≈ ki+1 xi+1 − xi+1/2. 30/ 137 F. Boyer. FV for elliptic problems.
(45) Discontinuous coefficients Definition of the numerical flux. In the control volume Ki • x 7→ k(x) is a constant = ki thus u ∈ C 2 in. Ki .. u(xi+1/2 ) − u(xi ) ⇒ (k∂x u)(x− . i+1/2 ) ≈ ki xi+1/2 − xi. In the control volume Ki+1 • x 7→ k(x) is a constant = ki+1 thus u ∈ C 2 in. Ki+1 .. u(xi+1 ) − u(xi+1/2 ) ⇒ (k∂x u)(x+ . i+1/2 ) ≈ ki+1 xi+1 − xi+1/2. We write the total flux continuity at xi+1/2. − F i+1/2 (u) = −(k∂x u)(x+ i+1/2 ) = −(k∂x u)(xi+1/2 ).. 30/ 137 F. Boyer. FV for elliptic problems.
(46) Discontinuous coefficients Definition of the numerical flux. In the control volume Ki • x 7→ k(x) is a constant = ki thus u ∈ C 2 in. Ki .. u(xi+1/2 ) − u(xi ) ⇒ (k∂x u)(x− . i+1/2 ) ≈ ki xi+1/2 − xi. In the control volume Ki+1 • x 7→ k(x) is a constant = ki+1 thus u ∈ C 2 in. Ki+1 .. u(xi+1 ) − u(xi+1/2 ) ⇒ (k∂x u)(x+ . i+1/2 ) ≈ ki+1 xi+1 − xi+1/2. We write the total flux continuity at xi+1/2. − F i+1/2 (u) = −(k∂x u)(x+ i+1/2 ) = −(k∂x u)(xi+1/2 ).. We try to eliminate the interface value F i+1/2 (u) = −. xi+1 −xi+1/2 (k∂x u)(x+ i+1/2 ) ki+1 xi+1 −xi+1/2 ki+1. + +. xi+1/2 −xi (k∂x u)(x− i+1/2 ) ki xi+1/2 −xi ki. 30/ 137 F. Boyer. FV for elliptic problems.
(47) Discontinuous coefficients Definition of the numerical flux. In the control volume Ki • x 7→ k(x) is a constant = ki thus u ∈ C 2 in. Ki .. u(xi+1/2 ) − u(xi ) ⇒ (k∂x u)(x− . i+1/2 ) ≈ ki xi+1/2 − xi. In the control volume Ki+1 • x 7→ k(x) is a constant = ki+1 thus u ∈ C 2 in. Ki+1 .. u(xi+1 ) − u(xi+1/2 ) ⇒ (k∂x u)(x+ . i+1/2 ) ≈ ki+1 xi+1 − xi+1/2. We write the total flux continuity at xi+1/2. − F i+1/2 (u) = −(k∂x u)(x+ i+1/2 ) = −(k∂x u)(xi+1/2 ).. We try to eliminate the interface value u(xi+1 ) − u(xi ) F i+1/2 (u) ≈ − xi+1 −x x −xi i+1/2 + i+1/2 ki+1 ki. 30/ 137 F. Boyer. FV for elliptic problems.
(48) Discontinuous coefficients Definition of the numerical flux. In the control volume Ki • x 7→ k(x) is a constant = ki thus u ∈ C 2 in. Ki .. u(xi+1/2 ) − u(xi ) ⇒ (k∂x u)(x− . i+1/2 ) ≈ ki xi+1/2 − xi. In the control volume Ki+1 • x 7→ k(x) is a constant = ki+1 thus u ∈ C 2 in. Ki+1 .. u(xi+1 ) − u(xi+1/2 ) ⇒ (k∂x u)(x+ . i+1/2 ) ≈ ki+1 xi+1 − xi+1/2. We write the total flux continuity at xi+1/2. − F i+1/2 (u) = −(k∂x u)(x+ i+1/2 ) = −(k∂x u)(xi+1/2 ).. We try to eliminate the interface value hi+1/2 u(xi+1 ) − u(xi ) F i+1/2 (u) ≈ − xi+1 −x xi+1/2 −xi i+1/2 hi+1/2 + ki+1 ki | {z } def. = ki+1/2 , harmonic mean. 30/ 137 F. Boyer. FV for elliptic problems.
(49) Discontinuous coefficients Summary and results. The FV scheme is thus the following : To find uT ∈ RT such that Fi+1/2 (uT ) − Fi−1/2 (uT ) = hi fi , ∀1 ≤ i ≤ N, with Fi+1/2 (uT ) = −ki+1/2. ki+1/2 =. ui+1 − ui , hi+1/2. hi+1/2 ki ki+1 . (xi+1 − xi+1/2 )ki + (xi+1/2 − xi )ki+1. Theoretical results Existence and uniqueness of the solution. L∞ and L2 stability. First order H 1 -convergence for any source term in f ∈ L2 (Ω).. We observe (without proof) a second order convergence in L∞ . The other choices of ki+1/2 lead to a poor convergence rate. 31/ 137 F. Boyer. FV for elliptic problems.
(50) Discontinuous coefficients Numerical example. 2.5 · 10−2. Exact solution Harmonic mean Arithmetic mean. 2 · 10−2 1.5 · 10−2 1 · 10−2 5 · 10−3 0. 0. 0.2. 0.4. 0.6. 0.8. 1. 1 . 2. ki+1/2 = arithmetic mean. convergence rate. ki+1/2 = harmonic mean. convergence rate 1.. 32/ 137 F. Boyer. FV for elliptic problems.
(51) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 33/ 137 F. Boyer. FV for elliptic problems.
(52) Admissible orthogonal meshes (Eymard, Gallouët, Herbin, ’00→ ’09). Definition in 2D Ω a connected bounded polygonal domain in R2 . An admissible orthogonal mesh T is made of. a finite set of non empty compact convex polygonal subdomains of Ω refered to as K, called control volumes such that If K 6= S L, then Ω = K∈T K.. ◦ K. ◦. ∩ L = ∅.. A set of points, called centers, (xK )K∈T such that ◦. For any K ∈ T , xK ∈ K. For any K, L ∈ T , K 6= L such that K ∩ L is a segment, then it is an edge of K and an edge of L is denoted K|L and satisfies the orthogonality condition [xK , xL ] ⊥ K|L.. Notations. Mesh size : size(T ) = maxK∈T diam(K) . Set of edges : E, Eext , Eint , EK Unit normals : ν K , ν Kσ , ν KL Volumes/Areas/Measures : |K|, |σ| Distances : dKσ , dLσ , dKL , dσ 34/ 137 F. Boyer. FV for elliptic problems.
(53) The Two-Point Flux Approximation Scheme (TPFA) Notations. Generalities.. Consider the following problem ( −∆u = f, in Ω u = 0, on ∂Ω.. and an admissible orthogonal mesh T. xK. xL σ=. K|L. Flux balance equation on the control volume K Z Z X Z def f= −∆u = − ∇u · ν Kσ |K|fK = K K σ σ∈EK | {z } def. = F K,σ (u). F. Boyer. FV for elliptic problems. 35/ 137.
(54) The Two-Point Flux Approximation Scheme (TPFA) Notations. Generalities.. xK. xL σ=. |K|fK =. K|L. X. F K,σ (u).. σ∈EK. Local conservativity property for the initial problem F K,σ (u) = −F L,σ (u),. for σ = K|L.. 36/ 137 F. Boyer. FV for elliptic problems.
(55) The Two-Point Flux Approximation Scheme (TPFA) Notations. Generalities.. xK. xL σ=. |K|fK =. K|L. X. F K,σ (u).. σ∈EK. Local conservativity property for the initial problem F K,σ (u) = −F L,σ (u),. for σ = K|L.. Cell-centered unknowns We are looking for uK ∼ u(xK ) Notation : uT = (uK )K∈T ∈ RT .. 36/ 137 F. Boyer. FV for elliptic problems.
(56) The Two-Point Flux Approximation Scheme (TPFA) Notations. Generalities.. xK. xL σ=. |K|fK =. K|L. X. F K,σ (u).. σ∈EK. Local conservativity property for the initial problem F K,σ (u) = −F L,σ (u),. for σ = K|L.. Cell-centered unknowns We are looking for uK ∼ u(xK ) Notation : uT = (uK )K∈T ∈ RT . Numerical fluxes A family of maps uT 7→ FK,σ (uT ) in order to approximate F K,σ (u) Numerical scheme We look for uT ∈ RT such that |K|fK =. X. FK,σ (uT ) for any. σ∈EK. K. ∈T. 36/ 137. F. Boyer. FV for elliptic problems.
(57) The Two-Point Flux Approximation Scheme (TPFA) Construction of numerical fluxes.. σ ∈ Eint , σ = K|L.. Case of an interior edge xL − xK = dKL ν KL . For x ∈ σ,. (∇u(x)) · ν KL =. =⇒ F K,σ (u) = −|σ|. u(xL ) − u(xK ) + O(size(T )) dKL. u(xL ) − u(xK ) + O(size(T )2 ) dKL. 37/ 137 F. Boyer. FV for elliptic problems.
(58) The Two-Point Flux Approximation Scheme (TPFA) Construction of numerical fluxes.. σ ∈ Eint , σ = K|L.. Case of an interior edge xL − xK = dKL ν KL . For x ∈ σ,. (∇u(x)) · ν KL =. =⇒ F K,σ (u) = −|σ|. u(xL ) − u(xK ) + O(size(T )) dKL. u(xL ) − u(xK ) + O(size(T )2 ) dKL. Thus, we define def. FK,σ (uT ) = −|σ|. uL − uK . dKL. Remark and definition The scheme is built so as to be conservative FK,σ (uT ) = −FL,σ (uT ) We set. def. FK,L (uT ) = FK,σ (uT ) = −FL,σ (uT ). 37/ 137 F. Boyer. FV for elliptic problems.
(59) The Two-Point Flux Approximation Scheme (TPFA) Construction of numerical fluxes.. σ ∈ Eext .. Case of a boundary edge xσ − xK = dKσ ν Kσ . (∇u(x)) · ν Kσ ∼. u(xσ ) − u(xK ) 0 − u(xK ) = ⇐ Boundary data dKσ dKσ. =⇒ F K,σ (u) = −|σ|. −u(xK ) + O(size(T )2 ) dKσ. Thus we define def. FK,σ (uT ) = −|σ|. −uK . dKσ. 38/ 137 F. Boyer. FV for elliptic problems.
(60) The Two-Point Flux Approximation Scheme (TPFA) Construction of the scheme.. Definition of the TPFA scheme We look for uT = (uK )K∈T ∈ RT such that X FK,σ (uT ) = |K|fK , ∀K ∈ T , σ∈EK uL − uK FK,σ (uT ) = −|σ| , for σ = K|L ∈ Eint , dKL −uK , for σ ∈ Eext . FK,σ (uT ) = −|σ| dKσ. (TPFA). It is a linear system of N equations with N unknowns (N =nb of control volumes in T ). The scheme is also known as VF4/FV4 : 4-point stencil for a triangle 2D mesh. On a 2D uniform Cartesian mesh : we recover the usual 5-point scheme.. 39/ 137 F. Boyer. FV for elliptic problems.
(61) The Two-Point Flux Approximation Scheme (TPFA) Construction of the scheme.. Definition of the TPFA scheme We look for uT = (uK )K∈T ∈ RT such that X FK,σ (uT ) = |K|fK , ∀K ∈ T , σ∈EK uL − uK FK,σ (uT ) = −|σ| , for σ = K|L ∈ Eint , dKL −uK , for σ ∈ Eext . FK,σ (uT ) = −|σ| dKσ. (TPFA). Notations - Piecewise constant approximation We define f T = (fK )K∈T ∈ RT . With each set of unknowns v T ∈ RT , we associate the piecewise constant function X v T (x) = vK 1K (x). K∈T. T. Natural norms kv k. L∞. T. = sup |vK |, kv kL2 = K∈T. X. K∈T. FV methods are non-conforming methods F. Boyer. !1 2. |K||vK |. FV for elliptic problems. 2. . 39/ 137.
(62) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 40/ 137 F. Boyer. FV for elliptic problems.
(63) Analysis of the TPFA scheme Existence. Uniqueness. Stability. Notations : Oriented difference quotients For any couple of neighboring control volumes (K, L) we set def. DKL (uT ) =. uL − uK ν KL . dKL. For any interior edge σ ∈ Eint we set def. Dσ (uT ) = DKL (uT ) = DLK (uT ). def. For any exterior edge σ ∈ Eext we set Dσ (uT ) =. 0−uK ν Kσ . dKσ. Lemma (Discrete integration by parts) Let uT ∈ RT be a solution of (TPFA) if it exists, then for any v T ∈ RT X X |K|vK fK = (v T , f T )L2 . dσ |σ|Dσ (uT ) · Dσ (v T ) = σ∈E. |. def. {z. = [uT ,v T ]1,T. }. K∈T. Local conservativity of the scheme is crucial here. 41/ 137 F. Boyer. FV for elliptic problems.
(64) Analysis of the TPFA scheme Existence. Uniqueness. Stability. Lemma (Discrete integration by parts) Let uT ∈ RT be a solution of (TPFA) if it exists, then for any v T ∈ RT X X |K|vK fK = (v T , f T )L2 . dσ |σ|Dσ (uT ) · Dσ (v T ) = σ∈E. |. def. {z. = [uT ,v T ]1,T. }. K∈T. Local conservativity of the scheme is crucial here. Proposition The bilinear form (uT , v T ) ∈ RT × RT 7→ [uT , v T ]1,T , is an inner product in RT that we call discrete H01 inner product. The associated norm k · k1,T is called discrete H01 norm. 41/ 137 F. Boyer. FV for elliptic problems.
(65) Analysis of the TPFA scheme Existence. Uniqueness. Stability. Theorem For any source term f ∈ L2 (Ω), the scheme (TPFA) has a unique solution uT ∈ RT and we have kuT k21,T ≤ kuT kL2 kf T kL2 ≤ kuT kL2 kf kL2 . In order to get a useful discrete-H 1 estimate, we need Theorem (Discrete Poincaré inequality) For any orthogonal admissible mesh T , we have kv T kL2 ≤ diam(Ω)kv T k1,T , ∀v T ∈ RT . Proof. 42/ 137 F. Boyer. FV for elliptic problems.
(66) Analysis of the TPFA scheme Qualitative properties. Discrete maximum principle. Matrix of the system : A is symmetric definite positive (See : Discrete integration by parts). A is a M -matrix ⇒ Discrete maximum principle f T ≥ 0 =⇒ uT ≥ 0. Indeed, the line of the system AuT = f T corresponding to the control volume K reads X τKL (uK − uL ) = |K|fK . |{z} L∈VK. ≥0. 43/ 137 F. Boyer. FV for elliptic problems.
(67) Analysis of the TPFA scheme Discrete gradient. Compactness. Convergence. Diamond cells. xK. σ. D. xL. Discrete gradient For any v T ∈ RT , and any D ∈ D, we set u − uK d L ν KL = dDσ (uT ), for σ ∈ Eint , T T def d KL ∇D v = 0 − uK d ν Kσ = dDσ (uT ), for σ ∈ Eext , dKL X def ∇T v T = 1D ∇TD v T ∈ (L2 (Ω))2 . D∈D. Link with the discrete H01 norm kv T k21,T =. 1 k∇T v T k2L2 . d 44/ 137. F. Boyer. FV for elliptic problems.
(68) Analysis of the TPFA scheme Discrete gradient. Compactness. Convergence. Theorem (Weak compactness) Let (Tn )n be a sequence of admissible orthogonal meshes such that size(Tn ) → 0 and (uT n )n a familly of discrete functions defined on each of these meshes and such that sup kuT n k1,Tn < +∞. n. Then There exists a function u ∈ L2 (Ω) and a subsequence (uT ϕ(n) )n that strongly converges towards u in L2 (Ω).. 45/ 137 F. Boyer. FV for elliptic problems.
(69) Analysis of the TPFA scheme Discrete gradient. Compactness. Convergence. Theorem (Weak compactness) Let (Tn )n be a sequence of admissible orthogonal meshes such that size(Tn ) → 0 and (uT n )n a familly of discrete functions defined on each of these meshes and such that sup kuT n k1,Tn < +∞. n. Then There exists a function u ∈ L2 (Ω) and a subsequence (uT ϕ(n) )n that strongly converges towards u in L2 (Ω). Moreover, The function u belongs to H01 (Ω). The sequence of discrete gradients (∇T ϕ(n) uT ϕ(n) )n weakly converges towards ∇u in (L2 (Ω))d . Proof. 45/ 137 F. Boyer. FV for elliptic problems.
(70) Analysis of the TPFA scheme Discrete gradient. Compactness. Convergence. Theorem (Convergence of the TPFA scheme) Let f ∈ L2 (Ω) and u ∈ H01 (Ω) be the unique solution to the PDE. Let (Tn )n be a family of admissible orthogonal meshes such that size(Tn ) → 0. For any n, let uT n ∈ RT n be the unique solution of the TPFA scheme on the mesh Tn associated with the source term f .. 46/ 137 F. Boyer. FV for elliptic problems.
(71) Analysis of the TPFA scheme Discrete gradient. Compactness. Convergence. Theorem (Convergence of the TPFA scheme) Let f ∈ L2 (Ω) and u ∈ H01 (Ω) be the unique solution to the PDE. Let (Tn )n be a family of admissible orthogonal meshes such that size(Tn ) → 0. For any n, let uT n ∈ RT n be the unique solution of the TPFA scheme on the mesh Tn associated with the source term f . Then, we have 1 2 3. The sequence (uT n )n strongly converges towards u in L2 (Ω). The sequence (∇T n uT n )n weakly converges towards ∇u in (L2 (Ω))d .. Strong convergence of the gradients DOES NOT HOLD (excepted for f = u = 0).. Proof. 46/ 137 F. Boyer. FV for elliptic problems.
(72) Analysis of the TPFA scheme Error estimate. First remarks Convergence of the scheme : no need of any regularity assumption on u. For error estimates we will assume that u ∈ H 2 (Ω).. 47/ 137 F. Boyer. FV for elliptic problems.
(73) Analysis of the TPFA scheme Error estimate. First remarks Convergence of the scheme : no need of any regularity assumption on u. For error estimates we will assume that u ∈ H 2 (Ω). Principle of the analysis We want to compare uT with the projection PT u = (u(xK ))K of the exact solution on the mesh. The error is thus defined by def. eT = PT u − uT .. 47/ 137 F. Boyer. FV for elliptic problems.
(74) Analysis of the TPFA scheme Error estimate. First remarks Convergence of the scheme : no need of any regularity assumption on u. For error estimates we will assume that u ∈ H 2 (Ω). Principle of the analysis We want to compare uT with the projection PT u = (u(xK ))K of the exact solution on the mesh. The error is thus defined by def. eT = PT u − uT . We compare the numerical fluxes computed on PT u with exact fluxes def. |σ|RK,σ (u) = FK,σ (PT u) − F K,σ (u), that is u(xL ) − u(xK ) 1 RK,σ (u) = − dKL |σ|. Z. σ. ∇u · ν KL dx, ∀σ ∈ Eint .. 47/ 137 F. Boyer. FV for elliptic problems.
(75) Analysis of the TPFA scheme Error estimate. def. |σ|RK,σ (u) = FK,σ (PT u) − F K,σ (u).. We subtract the exact fluxes balance equation (that is the PDE integrated on K) X X X |K|fK = F K,σ = FK,σ (PT u) − |σ|RK,σ (u), σ∈EK. σ∈EK. and the numerical scheme. |K|fK = We get. X. FK,σ (eT ) =. σ∈EK. σ∈EK. X. FK,σ (uT ).. σ∈EK. X. σ∈EK. |σ|RK,σ (u), ∀K ∈ T .. (?). 48/ 137 F. Boyer. FV for elliptic problems.
(76) Analysis of the TPFA scheme Error estimate. def. |σ|RK,σ (u) = FK,σ (PT u) − F K,σ (u). We get. X. FK,σ (eT ) =. σ∈EK. X. σ∈EK. |σ|RK,σ (u), ∀K ∈ T .. (?). 48/ 137 F. Boyer. FV for elliptic problems.
(77) Analysis of the TPFA scheme Error estimate. def. |σ|RK,σ (u) = FK,σ (PT u) − F K,σ (u). We get. X. X. FK,σ (eT ) =. σ∈EK. σ∈EK. |σ|RK,σ (u), ∀K ∈ T .. (?). We multiply (?) by eK and we sum over K. We Notice that the flux consistency error terms are conservative RK,σ (u) = −RL,σ (u), thus we get X X keT k21,T = [eT , eT ]1,T = dσ |σ|Dσ (eT )2 = dσ |σ|Rσ (u)Dσ (eT ). σ∈E. σ∈E. We use the Cauchy-Schwarz inequality T. ke k1,T ≤. X. σ∈E. !1 2. 2. dσ |σ||Rσ (u)|. .. 48/ 137 F. Boyer. FV for elliptic problems.
(78) Analysis of the TPFA scheme Error estimate. Recall T. ke k1,T ≤ |Rσ (u)| =. X. σ∈E. !1 2. dσ |σ||Rσ (u)|. u(xL ) − u(xK ) 1 − dKL |σ|. Z. σ. 2. .. ∇u · ν KL dx , ∀σ ∈ Eint .. Theorem (Error estimate - Version 1) Assume u ∈ C 2 (Ω), there exists C > 0 depending only on Ω s.t. kPT u − uT kL2 = keT kL2 ≤ diam(Ω)keT k1,T ≤ Csize(T )kD2 ukL∞ , ku − uT kL2 ≤ Csize(T )kD2 ukL∞ .. Main tool : Consistency error terms estimate For u ∈ C 2 (Ω), |Rσ (u)| ≤ CkD2 uk∞ size(T ).. 49/ 137 F. Boyer. FV for elliptic problems.
(79) Analysis of the TPFA scheme Error estimate. Recall T. ke k1,T ≤ |Rσ (u)| =. X. σ∈E. !1 2. dσ |σ||Rσ (u)|. u(xL ) − u(xK ) 1 − dKL |σ|. Z. σ. 2. .. ∇u · ν KL dx , ∀σ ∈ Eint .. Theorem (Error estimate - Version 2) Assume u ∈ H 2 (Ω), there exists C > 0 depending only on Ω and reg(T ) s.t. kPT u − uT kL2 = keT kL2 ≤ diam(Ω)keT k1,T ≤ Csize(T )kD2 ukL2 , ku − uT kL2 ≤ Csize(T )kD2 ukL2 .. Main tool : Consistency error terms estimate 1 Z 2 1 For u ∈ H 2 (Ω), |Rσ (u)| ≤ Csize(T ) |D2 u|2 dx , |D | D def where C > 0 only depends on reg(T ) = sup |σ|/dKσ + |σ|/dLσ . σ∈E. F. Boyer. FV for elliptic problems. Proof. 49/ 137.
(80) Analysis of the TPFA scheme Remarks and open problems. In practice, we observe a super-convergence phenomenon keT kL2 (Ω) ∼ Csize(T )2 , the same as for P1 finite element approximation (Aubin–Nitschze trick). Still an open problem up to now. Discrete functional analysis Discrete Poincaré inequalities. (Eymard-Gallouët-Herbin, ’00) (Omnes-Le, ’13). Discrete Gagliardo-Nirenberg-Sobolev embeddings (Bessemoulin–Chatard - Chainais–Hillairet - Filbet, ’12) (Andreianov -B. - Hubert,’07) (Gallouët-Latché, ’12). Discrete Besov estimates Discrete Aubin–Lions–Simon lemma. 50/ 137 F. Boyer. FV for elliptic problems.
(81) Implementation We need to build the linear system AuT = b to be solved. General philosophy : loop over edges def. If σ = K|L is an interior edge, we define the transmissivity τσ = and we assemble the contributions of the flux uL − uK = τσ (uK − uL ). FKL (uT ) = −|σ| dKL. xK. D K σ D Lσ. xL |σ|. dKL. Required data structure :. |σ| , dKL. A(K, K) ←[ A(K, K) + τσ , A(K, L) ←[ A(K, L) − τσ , A(L, L) ←[ A(L, L) + τσ , A(L, K) ←[ A(L, K) − τσ .. Connectivity informations for each edge Positions of centers and vertices of the mesh. 51/ 137 F. Boyer. FV for elliptic problems.
(82) Implementation We need to build the linear system AuT = b to be solved. General philosophy : loop over edges def. If σ = K|L is an interior edge, we define the transmissivity τσ = and we assemble the contributions of the flux uL − uK FKL (uT ) = −|σ| = τσ (uK − uL ). dKL. xK. D K σ D Lσ. xL |σ|. dKL. |σ| , dKL. Z f (x) dx, b(K) ←[ b(K) + D Z Kσ b(L) ←[ b(L) + f (x) dx. D Lσ. or any quadrature approximation, e.g. ( b(K) ←[ b(K) + |DKσ |f (xK ), b(L) ←[ b(L) + |DLσ |f (xL ).. Required data structure : Connectivity informations for each edge Positions of centers and vertices of the mesh. 51/ 137 F. Boyer. FV for elliptic problems.
(83) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 52/ 137 F. Boyer. FV for elliptic problems.
(84) TPFA for heterogeneous isotropic diffusion The problem under study ( −div (k(x)∇u) = f, in Ω, u = 0, on ∂Ω.. ∞. with k ∈ L (Ω, R) and inf Ω k > 0. TPFA scheme General structure unchanged ∀K ∈ T , |K|fK =. X. FK,σ (uT ),. σ∈EK. but we need to adapt the numerical flux definitions FK,σ (uT ) = |σ|kσ. uL − uK . dKL. Question How to choose the coefficient kσ ?. 53/ 137 F. Boyer. FV for elliptic problems.
(85) TPFA for heterogeneous isotropic diffusion Error estimate. Same strategy as in 1D The solution u is “continuous” (in the trace sense on edges). The gradient of u is not continuous. However, the total flux k(x)∇u(x) · ν is (weakly) continuous across edges. We introduce an artificial unknown on each edge uσ . We define the fluxes across σ coming from K and from uσ − uK FK,σ (uT ) = |σ|kK , dKσ. L. uσ − uL FL,σ (uT ) = |σ|kL . dLσ. We impose local conservativity (= total flux continuity) FK,σ (uT ) = −FL,σ (uT ). We deduce the value of uσ and then the formula for the numerical flux =⇒ uσ =. =⇒ FKL (uT ) = |σ|. kK u dKσ K kK dKσ. dKL dKσ + dkLσ kK L. !. + +. kL dLσ kL dLσ. uL. uL − uK dKL. ,. Consistency estimate. 54/ 137 F. Boyer. FV for elliptic problems.
(86) A slightly more complex problem Modeling fractures and barriers in a Darcy flow (Jaffré - Roberts, ’05) (Angot - B. - Hubert, ’09). Framework A 2D porous matrix (constant, isotropic permeability k = 1). Small thickness (= b) fractures/barriers inside the domain for which permeability is very different from the one in the ambient medium. The model We “replace” the fractures/barriers by hypersurfaces, neglecting their thickness b. We account for the flow inside fractures through an asymptotic model Assumption 1 : The flow is mostly transverse to the fracture/barrier direction. Assumption 2 : Pressure is essentially linear in the transverse direction.. We arrive to the following transmission conditions [[∇u · n]] = 0,. k ∇u · n = − [[u]]. b 55/ 137. F. Boyer. FV for elliptic problems.
(87) A slightly more complex problem Darcy flow in a fractured porous medium. [[∇u · n]] = 0,. (S). ∇u · n = −k [[u]] . b Recall the flux definitions. uK uK,σ − uK , dKσ uL,σ − uL def = |σ| . dLσ. uK,σ. def. FK,σ = |σ| FL,σ. uL,σ uL. uL,σ − uK,σ def Conditions (S) lead to FK,L = FK,σ = −FL,σ = −|σ|k . b We can then eliminate uK,σ and uL,σ , and finally obtain FK,L = −|σ| with β =. βdKL uL − uK 1 + βdKL dKL. k . b 56/ 137 F. Boyer. FV for elliptic problems.
(88) A slightly more complex problem Darcy flow in a fractured porous medium. Numerical results : Dirichlet BC (given pressure) on top and bottom sides. Neumann BC (impermeable walls) elsewhere.. β=0 Impermeable barriers. β = +∞. β=1 Intermediate properties. No fracture/barrier limit. 57/ 137 F. Boyer. FV for elliptic problems.
(89) Outline. 1. Introduction Complex flows in porous media Very short battle : FV / FE /FD. 2. 1D Finite Volume method for the Poisson problem Notations. Construction Analysis of the scheme in the FD spirit Analysis of the scheme in the FV spirit Extensions. 3. The basic FV scheme for the 2D Laplace problem Notations. Construction Analysis of the TPFA scheme Extensions of the TPFA scheme TPFA drawbacks. 58/ 137 F. Boyer. FV for elliptic problems.
(90) TPFA drawbacks How to find orthogonal admissible meshes ?. Cartesian meshes : Control volumes are rectangular parallelepipeds thus choosing xK as the mass center is OK. 59/ 137 F. Boyer. FV for elliptic problems.
(91) TPFA drawbacks How to find orthogonal admissible meshes ?. Cartesian meshes : Conforming triangular meshes : We take xK =circumcenter ; BUT :. It is not guaranteed that xK ∈ K (even xK ∈ Ω is not sure). We can have xK = xL for K 6= L ⇒ dKL = 0 ! However, the scheme still works if (xL − xK ) · ν KL > 0 ⇔ Delaunay condition. For almost any point distribution in Ω, there exists a unique corresponding Delaunay triangulation. 59/ 137 F. Boyer. FV for elliptic problems.
(92) TPFA drawbacks How to find orthogonal admissible meshes ?. Dual construction : Voronoı̈ diagram of a set of point.. There exists efficient algorithms for Delaunay triangulation and Voronoi diagrams.. 60/ 137 F. Boyer. FV for elliptic problems.
(93) TPFA drawbacks In many cases .... For a non conforming triangle mesh : orthogonality condition is impossible to fulfill. For a non Cartesian quadrangle mesh : orthogonality condition is impossible to fulfill. The homogeneous anisotropic case : −div(A∇u) = f, the admissibility condition becomes A-orthogonality xL − xK. Aν KL ⇐⇒ A−1 (xL − xK ) ⊥ σ.. thus the mesh needs to be adapted to the PDE under study. The heterogeneous anisotropic case : −div(A(x)∇u) = f, the orthogonality condition will depend on x ... Nonlinear problems : −div(ϕ(x, ∇u)) = f, it is impossible to approximate fluxes by using only two points since a complete gradient approximation is necessary. 61/ 137 F. Boyer. FV for elliptic problems.
(94) TPFA drawbacks Gradient reconstruction. The discrete gradient given by TPFA is not useful It is only an approximation of the gradient in the normal direction at each edge. Gradient convergence is always weak. Summary We need more than 2 unknowns to build suitable flux approximations. Approximation of the gradient of the solution in all directions is necessary. Cells-centered schemes : We use unknowns in the neighboring control volumes. Primal/dual schemes : We use new unknowns on vertices (dual mesh). Mimetic/hybrid/mixed schemes : We use new unknowns on edges/faces.. 62/ 137 F. Boyer. FV for elliptic problems.
(95) Outline. 4. The DDFV method Derivation of the scheme Analysis of the DDFV scheme Implementation The m-DDFV scheme. 5. A review of some other modern methods General presentation MPFA schemes Diamond schemes Nonlinear monotone FV schemes Mimetic schemes Mixed finite volume methods SUCCES / SUSHI schemes. 63/ 137 F. Boyer. FV for elliptic problems.
(96) Framework. (Hermeline ’00) (Domelevo-Omnes ’05) (Andreianov-Boyer-Hubert ’07). Scalar elliptic problem −div(A(x)∇u) = f, in Ω, with homogeneous Dirichlet boundary conditions and x 7→ A(x) ∈ M2 (R) be a bounded, uniformly coercive matrix-valued function. General meshes Possibly non conforming meshes Without the orthogonality condition. Basic ideas To consider unknowns at the center of each control volume but also on vertices. To add new discrete balance equations associated with each vertex.. It is more expensive than TPFA # unknowns (≈ ×2) but much more robust and efficient.. 64/ 137 F. Boyer. FV for elliptic problems.
(97) The DDFV meshes and unknowns Notation. 65/ 137 F. Boyer. FV for elliptic problems.
(98) The DDFV meshes and unknowns Notation. Primal unknown uK Primal control vol.. K. ∈M. Dual unknown uK∗. Approximate solution : uT =. ∗ K. Diamond cells. ∈D. D. ∗ (uK )K , (uK∗ )K∗ ∈ RT = RM × RM. F. Boyer. ∈ M∗. Dual control vol.. FV for elliptic problems. 65/ 137.
(99) The DDFV meshes and unknowns Notation. Primal unknown uK Primal control vol.. K. ∈M. Dual unknown uK∗. Approximate solution : uT =. ∗ K. Diamond cells. ∈D. D. ∗ (uK )K , (uK∗ )K∗ ∈ RT = RM × RM. F. Boyer. ∈ M∗. Dual control vol.. FV for elliptic problems. 65/ 137.
(100) The DDFV meshes and unknowns Notation. Primal unknown uK Primal control vol.. K. ∈M. Dual unknown uK∗. Approximate solution : uT =. ∗ K. Diamond cells. ∈D. D. ∗ (uK )K , (uK∗ )K∗ ∈ RT = RM × RM. F. Boyer. ∈ M∗. Dual control vol.. FV for elliptic problems. 65/ 137.
(101) The DDFV meshes and unknowns Notation. Primal unknown uK Primal control vol.. K. ∈M. Dual unknown uK∗. Approximate solution : uT =. ∗ K. Diamond cells. ∈D. D. ∗ (uK )K , (uK∗ )K∗ ∈ RT = RM × RM. F. Boyer. ∈ M∗. Dual control vol.. FV for elliptic problems. 65/ 137.
(102) The DDFV meshes and unknowns A non conforming example. 66/ 137 F. Boyer. FV for elliptic problems.
(103) The DDFV meshes and unknowns A non conforming example. Primal unknown uK Primal control vol. K ∈ M. Dual unknown uK∗. ∈ M∗. Dual control vol.. ∗ K. Diamond cells. ∈D. D. 66/ 137 F. Boyer. FV for elliptic problems.
(104) The DDFV meshes and unknowns A non conforming example. Primal unknown uK Primal control vol. K ∈ M. Dual unknown uK∗. ∈ M∗. Dual control vol.. ∗ K. Diamond cells. ∈D. D. 66/ 137 F. Boyer. FV for elliptic problems.
(105) The DDFV meshes and unknowns A non conforming example. Primal unknown uK Primal control vol. K ∈ M. Dual unknown uK∗. ∈ M∗. Dual control vol.. ∗ K. Diamond cells. ∈D. D. 66/ 137 F. Boyer. FV for elliptic problems.
(106) The DDFV meshes and unknowns A non conforming example. Primal unknown uK Primal control vol. K ∈ M. Dual unknown uK∗. ∈ M∗. Dual control vol.. ∗ K. Diamond cells. ∈D. D. 66/ 137 F. Boyer. FV for elliptic problems.
(107) Notations in each diamond cell x L∗ ν∗. τ τ∗. ν αD. |σ ∗|. =d. KL. xL. |σ| = dK∗ L∗. xK. xK∗. Mesh regularity measurement def. sin αT = min | sin αD |, D∈D diam(K) diam(K∗ ) 1 def reg(T ) = max , max , max , . . . . αT DK∈M diam(D) K∗ ∈M∗ diam(D) ∈D K. D ∈DK∗. 67/ 137 F. Boyer. FV for elliptic problems.
(108) Notations in each diamond cell x L∗ ν∗. τ τ∗. ν αD. |σ ∗|. =d. KL. xK∗. Discrete Gradient def. ∇TD uT =. 1 sin αD. Comes from. xL. |σ| = dK∗ L∗. xK. (. . uL − uK uL∗ − uK∗ ∗ ν + ν . |σ ∗ | |σ|. ∇TD uT · (xL − xK ) = uL − uK ,. T D. ∇ uT · (xL∗ − xK∗ ) = uL∗ − uK∗ . 67/ 137. F. Boyer. FV for elliptic problems.
(109) Notations in each diamond cell x L∗ ν∗. τ τ∗. ν αD. |σ ∗|. =d. KL. xK∗. Discrete Gradient def. ∇TD uT =. xL. |σ| = dK∗ L∗. xK. 1 sin αD. . uL − uK uL∗ − uK∗ ∗ ν + ν . |σ ∗ | |σ|. Equivalent definition ∇TD uT =. 1 |σ|(uL −uK )ν+|σ ∗ |(uL∗ −uK∗ )ν ∗ , 2|D| 67/ 137. F. Boyer. FV for elliptic problems.
(110) Notations in each diamond cell uK +uL∗ 2. x L∗. xK. uL +uL∗ 2. xL. uK +uK∗ 2. xK∗. Discrete Gradient def. ∇TD uT =. 1 sin αD. Still another definition. . uL +uK∗ 2. uL − uK uL∗ − uK∗ ∗ ν + ν . |σ ∗ | |σ|. ∇TD uT = ∇ ΠD uT , with ΠD uT affine in 67/ 137 F. Boyer. FV for elliptic problems.
(111) Notations in each diamond cell x L∗ xK ν∗. τ τ∗. ν. xL xK∗. Discrete Gradient def. ∇TD uT =. 1 sin αD. . uL − uK uL∗ − uK∗ ∗ ν + ν . |σ ∗ | |σ|. DDFV fluxes Across the primal edge σ : FKL (uT ) = −|σ| AD ∇TD uT , ν , Across the dual edge σ ∗ : FK∗ L∗ (uT ) = −|σ ∗ | AD ∇TD uT , ν ∗ . F. Boyer. FV for elliptic problems. 67/ 137.
(112) DDFV scheme for −div(A(x)∇u) = f ∗. Finite Volume Formulation : Find uT ∈ RT = RM × RM such that X |σ| AD ∇TD uT , ν K = |K|fK , ∀K ∈ M, − σ∈EK (DDFV) X |σ ∗ | AD ∇TD uT , ν K∗ = |K∗ |fK∗ , ∀K∗ ∈ M∗ , − σ ∗ ∈EK∗ R 1 with AD = |D| A(x) dx. D. 68/ 137 F. Boyer. FV for elliptic problems.
(113) DDFV scheme for −div(A(x)∇u) = f ∗. Finite Volume Formulation : Find uT ∈ RT = RM × RM such that X |σ| AD ∇TD uT , ν K = |K|fK , ∀K ∈ M, − σ∈EK (DDFV) X |σ ∗ | AD ∇TD uT , ν K∗ = |K∗ |fK∗ , ∀K∗ ∈ M∗ , − σ ∗ ∈EK∗ R 1 with AD = |D| A(x) dx. D Discrete divergence operator. Given a discrete vector field ξ D = (ξ D )D∈D ∈ (R2 )D , we set def. divK ξ D =. 1 X |σ| ξ D , ν K , ∀K ∈ M, |K| σ∈E K. ∗. def. divK ξ D =. 1 |K∗ |. X. σ ∗ ∈EK∗. which defines an operator. |σ ∗ | ξ D , ν K∗ , ∀K∗ ∈ M∗ ,. ∗ divT : ξ D ∈ (R2 )D 7→ (divK ξ D )K∈M , (divK ξ D )K∗ ∈M∗ ∈ RT . F. Boyer. FV for elliptic problems. 68/ 137.
(114) DDFV scheme for −div(A(x)∇u) = f ∗. Finite Volume Formulation : Find uT ∈ RT = RM × RM such that X |σ| AD ∇TD uT , ν K = |K|fK , ∀K ∈ M, − σ∈EK (DDFV) X |σ ∗ | AD ∇TD uT , ν K∗ = |K∗ |fK∗ , ∀K∗ ∈ M∗ , − σ ∗ ∈EK∗ R 1 with AD = |D| A(x) dx. D (DDFV) ⇐⇒ Find uT ∈ RT such that − divT (AD ∇D uT ) = f T .. 68/ 137 F. Boyer. FV for elliptic problems.
(115) DDFV scheme for −div(A(x)∇u) = f ∗. Finite Volume Formulation : Find uT ∈ RT = RM × RM such that X |σ| AD ∇TD uT , ν K = |K|fK , ∀K ∈ M, − σ∈EK (DDFV) X |σ ∗ | AD ∇TD uT , ν K∗ = |K∗ |fK∗ , ∀K∗ ∈ M∗ , − σ ∗ ∈EK∗ R 1 with AD = |D| A(x) dx. D (DDFV) ⇐⇒ Find uT ∈ RT such that − divT (AD ∇D uT ) = f T .. Proposition (Discrete Duality formula / Stokes Formula) For any ξ D ∈ (R2 )D v T ∈ RT , we have X X X ∗ |K|divK (ξ D )vK + |D| ξ D , ∇TD v T . |K∗ |divK (ξ D )vK∗ = −2 K∗ ∈M∗. K∈M. D ∈D. Equivalent formulation of DDFV Find uT ∈ RT such that, for any test function v T ∈ RT , we have X X X 2 |D| AD ∇TD uT , ∇TD v T = |K|fK vK + |K∗ |fK∗ vK∗ . D ∈D. K∈M. F. Boyer. K∗ ∈M∗. FV for elliptic problems. 68/ 137.
(116) Outline. 4. The DDFV method Derivation of the scheme Analysis of the DDFV scheme Implementation The m-DDFV scheme. 5. A review of some other modern methods General presentation MPFA schemes Diamond schemes Nonlinear monotone FV schemes Mimetic schemes Mixed finite volume methods SUCCES / SUSHI schemes. 69/ 137 F. Boyer. FV for elliptic problems.
(117) Analysis of DDFV Stability. Use the discrete integration by parts formula with v T = uT X X X 2 |D| AD ∇TD uT , ∇TD uT = |K|fK uK + |K∗ |fK∗ uK∗ . D ∈D. It follows. K∗ ∈M∗. K∈M. ∗. αkuT k21,T ≤ kf kL2 (kuM kL2 + kuM kL2 ).. Theorem (Discrete Poincaré inequality. Proof. ). There exists a C > 0 depending only on Ω and reg(T ) such that ∗. kuM kL2 + kuM kL2 ≤ CkuT k1,T , ∀uT ∈ RT . Conclusion : The approximate solution satisfies kuT k1,T ≤ Ckf kL2 .. 70/ 137 F. Boyer. FV for elliptic problems.
(118) Analysis of DDFV Convergence. Theorem Let (Tn )n be a family of DDFV meshes, such that size(Tn ) −−−−→ 0 and n→∞. (reg(Tn ))n is bounded. Then, the sequence of approximate solutions uT n converges towards the exact solution in the following sense uMn −−−−→ u in L2 (Ω), n→∞. u Tn. ∇. ∗ Mn. u. −−−−→ u in L2 (Ω), n→∞. Tn. −−−−→ ∇u in (L2 (Ω))2 . n→∞. Remark : We have strong convergence of the gradients. Proof. 71/ 137 F. Boyer. FV for elliptic problems.
(119) Analysis of DDFV Error estimate. Assume that A is smooth with respect to x Laplace equation First order convergence for uT and ∇T uT. Some super-convergence results of uT in L2. (Domelevo - Omnès, 05) (Omnes, 10). General case (even for nonlinear Leray-Lions operator) (Andreianov - B. - Hubert, ’07). Theorem Assume that u ∈ H 2 (Ω) and x 7→ A(x) is Lipschitz continuous, then there exists C(reg(T )) > 0 such that ∗. ku − uM kL2 + ku − uM kL2 + k∇u − ∇T uT kL2 ≤ C size(T ). Stokes problem The DDFV method applied to the Stokes problem is (almost) inf-sup stable and first-order convergent (in L2 for the pressure, in H 1 for the velocity). (Delcourte, ’07) (Krell,’10) (Krell-Manzini, ’12) (B.-Krell-Nabet, ’13) 72/ 137 F. Boyer. FV for elliptic problems.
(120) Outline. 4. The DDFV method Derivation of the scheme Analysis of the DDFV scheme Implementation The m-DDFV scheme. 5. A review of some other modern methods General presentation MPFA schemes Diamond schemes Nonlinear monotone FV schemes Mimetic schemes Mixed finite volume methods SUCCES / SUSHI schemes. 73/ 137 F. Boyer. FV for elliptic problems.
(121) Implementation. The matrix is built through a loop over primal edges (that is diamond cells). For each such edge/diamond, we compute 4 × 4 terms. Stencil : does not depend on the permeability tensor. The row corresponding to the unknown uK has at most 2N + 1 non zero entries, where N is the number of edges of K.. The matrix is symmetric positive definite. In the case of an orthogonal admissible mesh, DDFV ⇐⇒ TPFA on the primal mesh + TPFA on the dual mesh. In the nonlinear case −div(ϕ(x, ∇u)) = f , we can adapt the decomposition-coordination method of Glowinski to obtain a suitable nonlinear solver that can be proved to be convergent. (B.-Hubert ’08). 74/ 137 F. Boyer. FV for elliptic problems.
(122) Outline. 4. The DDFV method Derivation of the scheme Analysis of the DDFV scheme Implementation The m-DDFV scheme. 5. A review of some other modern methods General presentation MPFA schemes Diamond schemes Nonlinear monotone FV schemes Mimetic schemes Mixed finite volume methods SUCCES / SUSHI schemes. 75/ 137 F. Boyer. FV for elliptic problems.
(123) The m-DDFV scheme Introduction. (B. - Hubert, ’08). Goals To take into account possible permeability discontinuities in the problem without loss of accuracy. We allow (full tensor) permeability jumps across Primal edges. Dual edges. Both primal and dual edges.. Same stencil as for the standard DDFV method.. 76/ 137 F. Boyer. FV for elliptic problems.
(124) The m-DDFV scheme Introduction. (B. - Hubert, ’08). Goals To take into account possible permeability discontinuities in the problem without loss of accuracy. We allow (full tensor) permeability jumps across Primal edges. Dual edges. Both primal and dual edges.. Same stencil as for the standard DDFV method. General principle We want to mimick the harmonic mean-value formula that we obtained for TPFA. We need to introduce artificial edges unknowns. We impose local conservativity of some well-chosen numerical fluxes. We eliminate those additional unknowns so that we finally get suitable numerical fluxes formulas. The coupling between primal and dual unknowns and equations needs a particular care. 76/ 137 F. Boyer. FV for elliptic problems.
(125) Derivation of the scheme 1/3 uK +uL∗ 2. x L∗. xK. +δLD∗ uL +uL∗ 2. QKL∗. QLL∗. QKK∗. QLK∗. +δLD D +δK. xL. uK +uK∗ 2. xK∗ D +δK ∗. def. AQ =. 1 |Q|. Z. A(x) dx Q. uL +uK∗ 2. Strategy We add a value δ•D to the value of ΠD uT at the points . With these new values at hand, we build affine functions on each quarter diamond. The gradients of these new functions are used as new discrete gradients in DDFV. D D D 4 We eventually eliminate the values δ D = t(δK , δLD , δK ∗ , δL∗ ) ∈ R by imposing suitable conservativity conditions. 77/ 137 F. Boyer. FV for elliptic problems.
(126) Derivation of the scheme 1/3 uK +uL∗ 2. x L∗. xK. +δLD∗ uL +uL∗ 2. QKL∗. QLL∗. QKK∗. QLK∗. +δLD D +δK. xL. uK +uK∗ 2. xK∗ D +δK ∗. def. AQ =. 1 |Q|. Z. A(x) dx Q. uL +uK∗ 2. New gradients on each quarter diamond def. with. T ∇N = ∇TD uT + BQK,K∗ δ D , QK,K∗ u def. BQK,K∗ =. 1 (|σK |ν ∗ , 0, |σK∗ |ν, 0) . |QK,K∗ |. 77/ 137 F. Boyer. FV for elliptic problems.
(127) Derivation of the scheme 1/3 uK +uL∗ 2. x L∗. xK. +δLD∗ uL +uL∗ 2. QKL∗. QLL∗. QKK∗. QLK∗. +δLD D +δK. xL. uK +uK∗ 2. xK∗ D +δK ∗. def. AQ =. 1 |Q|. Z. A(x) dx Q. uL +uK∗ 2. Write local conservativity between quarter diamonds AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν ∗ = AQK,L∗ (∇TD uT + BQK,L∗ δ D ), ν ∗. 77/ 137 F. Boyer. FV for elliptic problems.
(128) Derivation of the scheme 1/3 uK +uL∗ 2. x L∗. xK. +δLD∗ uL +uL∗ 2. QKL∗. QLL∗. QKK∗. QLK∗. +δLD D +δK. xL. uK +uK∗ 2. xK∗ D +δK ∗. def. AQ =. 1 |Q|. Z. A(x) dx Q. uL +uK∗ 2. Write local conservativity between quarter diamonds AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν ∗ = AQK,L∗ (∇TD uT + BQK,L∗ δ D ), ν ∗ AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν = AQL,K∗ (∇TD uT + BQL,K∗ δ D ), ν. 77/ 137 F. Boyer. FV for elliptic problems.
(129) Derivation of the scheme 1/3 uK +uL∗ 2. x L∗. xK. +δLD∗ uL +uL∗ 2. QKL∗. QLL∗. QKK∗. QLK∗. +δLD D +δK. xL. uK +uK∗ 2. xK∗ D +δK ∗. def. AQ =. 1 |Q|. Z. A(x) dx Q. uL +uK∗ 2. Write local conservativity between quarter diamonds AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν ∗ = AQK,L∗ (∇TD uT + BQK,L∗ δ D ), ν ∗ AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν = AQL,K∗ (∇TD uT + BQL,K∗ δ D ), ν AQL,K∗ (∇TD uT + BQL,K∗ δ D ), ν ∗ = AQL,L∗ (∇TD uT + BQL,L∗ δ D ), ν ∗. 77/ 137 F. Boyer. FV for elliptic problems.
(130) Derivation of the scheme 1/3 uK +uL∗ 2. x L∗. xK. +δLD∗ uL +uL∗ 2. QKL∗. QLL∗. QKK∗. QLK∗. +δLD D +δK. xL. uK +uK∗ 2. xK∗ D +δK ∗. def. AQ =. 1 |Q|. Z. A(x) dx Q. uL +uK∗ 2. Write local conservativity between quarter diamonds AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν ∗ = AQK,L∗ (∇TD uT + BQK,L∗ δ D ), ν ∗ AQK,K∗ (∇TD uT + BQK,K∗ δ D ), ν = AQL,K∗ (∇TD uT + BQL,K∗ δ D ), ν AQL,K∗ (∇TD uT + BQL,K∗ δ D ), ν ∗ = AQL,L∗ (∇TD uT + BQL,L∗ δ D ), ν ∗ AQL,L∗ (∇TD uT + BQL,L∗ δ D ), ν = AQK,L∗ (∇TD uT + BQK,L∗ δ D ), ν 77/ 137 F. Boyer. FV for elliptic problems.
Documents relatifs
Pour (A.20), les problèmes d’existence et de régularité de la solution extrémale sont à peu près les mêmes (tout se ramène à obtenir une borne L ∞ uniforme sur les
In this study we extend the framework of the finite volume methods to dispersive water wave models, in particular to Boussinesq type systems.. We focus mainly on the application of
Under a simple geometrical assumption for the clusters, we obtain that the pair of discrete spaces associating the classical cell-centered approximation for the velocities
We now show that, under one of its three forms and according to the choice of its parameters, a scheme from the HMMF (Hybrid Mimetic Mixed Family) may be interpreted as a
We present the numerical analysis on the Poisson problem of two mixed Petrov-Galerkin finite volume schemes for équations in divergence form div c/?(ti, Vit) = ƒ.. The first
Abstract — We introducé a finite volume box scheme for équations in divergence form — div ((p(u)) = f which is a generahzation of the box scheme of Keiler As in Keiler's scheme,
Latch´ e, Convergence analysis of a colocated finite volume scheme for the incompressible Navier-Stokes equations on general 2D or 3D meshes, SIAM J. Piar, On the stability of
However, the discrete finite volume Laplace operator involved in the weak formulation for the biharmonic problem (on both solution and test function) is known to be non-consistent