• Aucun résultat trouvé

A new colocated finite volume scheme for the incompressible Navier-Stokes equations on general non matching grids

N/A
N/A
Protected

Academic year: 2021

Partager "A new colocated finite volume scheme for the incompressible Navier-Stokes equations on general non matching grids"

Copied!
5
0
0

Texte intégral

(1)

HAL Id: hal-02505888

https://hal.archives-ouvertes.fr/hal-02505888

Submitted on 11 Mar 2020

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

A new colocated finite volume scheme for the

incompressible Navier-Stokes equations on general non matching grids

Robert Eymard, Raphaele Herbin

To cite this version:

Robert Eymard, Raphaele Herbin. A new colocated finite volume scheme for the incompressible

Navier-Stokes equations on general non matching grids. Comptes Rendus. Mathématique, Académie

des sciences (Paris), 2007, �10.1016/j.crma.2007.03.025�. �hal-02505888�

(2)

A new colocated finite volume scheme for the incompressible Navier-Stokes equations on general non matching grids

Robert Eymard

a

, Rapha` ele Herbin

b

aUniversit´e de Marne-la-Vall´ee, 77454 Marne-la-Vall´ee cedex 2, France

bUniversit´e de Provence, 39 rue Joliot-Curie, 13453 Marseille, France

Received *****; accepted after revision +++++

Presented by Philippe G. Ciarlet

Abstract

A new finite volume scheme is used for the approximation of the Navier-Stokes equations on general grids, including non matching grids. It is based on a discrete approximation of the weak form and on the definition of discrete gradient and divergence operators on each control volume. A sketch of the convergence proof is given, and the results of a numerical implementation on a non matching grids are shown. A byproduct is a finite volume scheme that is convergent for diffusion problems on general grids. To cite this article: R. Eymard, R. Herbin, C. R. Acad.

Sci. Paris, Ser. I .... .

R´ esum´ e

Un nouveau sch´ ema de volumes finis colocalis´ es pour les ´ equations de Navier-Stokes incompressibles sur des maillages g´ en´ eraux non conformes. Un nouveau sch´ ema volumes finis permet l’approximation des

´

equations de Navier-Stokes sur des grilles g´ en´ erales. Ce sch´ ema est bas´ e sur une approximation de la formulation faible, et sur la d´ efinition d’op´ erateurs de gradient et divergence discrets consistants. On donne les grandes lignes de la preuve de convergence, ainsi que des r´ esultats num´ eriques obtenus pour un maillage non conforme. Un r´ esultat auxiliaire est l’obtention d’un sch´ ema de volumes finis convergent pour des probl` emes de diffusion sur des grilles g´ en´ erales. Pour citer cet article : R. Eymard, R. Herbin,C. R. Acad. Sci. Paris, ...

Let d = 2 or d = 3, and Ω ⊂ R

d

be a polygonal connected domain. We focus here on the approximation of the pair (u, p) where u = (u

(1)

, u

(2)

) if d = 2, u = (u

(1)

, u

(2)

, u

(3)

) if d = 3, stands for the velocity and p for the pressure, solution of the incompressible steady Navier-Stokes equations

−ν∆u + ∇p + (u · ∇)u = f in Ω divu = 0 in Ω

Email addresses:Robert.Eymard@univ-mlv.fr(Robert Eymard),Raphaele.Herbin@latp.univ-mrs.fr(Rapha`ele Herbin).

(3)

with the usual notation u·∇u = P

d

i=1

u

(i)

i

u, together with a homogeneous Dirichlet boundary condition for u. A classical weak formulation of this problem is the following:

 

 

 

 

 

 

 

 

u ∈ H

01

(Ω)

d

, p ∈ L

2

(Ω) with Z

p(x)dx = 0,

ν Z

∇u : ∇vdx − Z

p divvdx + b(u, u, v) = Z

f · vdx ∀v ∈ H

01

(Ω)

d

,

divu(x) = 0 for a.e. x ∈ Ω,

(1)

where ν ∈]0, +∞[ and f ∈ L

2

(Ω)

d

, ∇u(x) : ∇v(x) = P

d

i=1

∇u

(i)

· ∇v

(i)

, and b is the trilinear form over H

01

(Ω)

d

defined by: b(u, v, w) = P

d

k=1

P

d i=1

R

u

(i)

(x)∂

i

v

(k)

(x)w

(k)

(x) dx.

In [3], we proposed a colocated finite volume scheme on grids satisfying a so-called orthogonality condition, such as for instance triangular, rectangular and Vorono¨ı meshes, allowing for a consistent approximation of diffusion fluxes by two-point fluxes. Colocated schemes are used in commercial codes (Fluent, CFX) or industrial codes [1] because they are easier to implement and allow for more general meshes than staggered schemes, even though the latter are known to be inherently stable. We extend here the study of [3] to general finite volume discretizations which do not have to respect the orthogonality condition and which may be non matching.

1. Finite volume mesh and scheme

We denote by D = (M, E, P) a finite volume mesh, where:

(i) M is a finite family of non empty connected open disjoint subsets of Ω (the “control volumes”) such that Ω = ∪

K∈M

K. For any K ∈ M, let ∂K = K \ K, m

K

> 0 and h

K

respectively denote the boundary, the measure and the diameter of K.

(ii) E is a finite family of disjoint subsets of Ω (the “edges” of the mesh), such that, for all σ ∈ E , σ is a non empty closed subset of a hyperplane of R

d

, whose (d-1)-dimensional measure m

σ

is strictly positive. We assume that, for all K ∈ M, there exists a subset E

K

of E such that ∂K = ∪

σ∈EK

σ. We then denote by M

σ

= {K ∈ M, σ ∈ E

K

}. We then assume that E is partitionned into E = E

int

∪E

ext

, such that, for all σ ∈ E

ext

(boundary edge), M

σ

has exactly one element and σ ⊂ ∂Ω, and for all σ ∈ E

int

(interior edge), M

σ

has exactly two elements. For all σ ∈ E, we denote by x

σ

the barycenter of σ. For all K ∈ M and σ ∈ E

K

, we denote by n

K,σ

the unit vector normal to σ outward to K.

(iii) P is a family of points of Ω indexed by M, denoted by P = (x

K

)

K∈M

, such that for all K ∈ M, K is assumed to be x

K

-star-shaped, i.e. for all x ∈ K, the property [x

K

, x] ⊂ K holds. Denoting by d

K,σ

the Euclidean distance between x

K

and the hyperplane including σ, one assumes that d

K,σ

> 0.

The above definition applies to a large variety of meshes. Non matching meshes such as the one depicted in the final figure may be used, so that in particular, the common boundary of two neighbouring control volumes can include more than one edge. Note also that no hypothesis is made on the convexity of the control volumes, which enables that “hexahedra” with non planar faces can be used (such sets may have up to 12 faces if each non planar face consists in two triangles).

We introduce the set H

D

(Ω) of functions which are constant in each K ∈ M, and for all regular function ψ : Ω → R (resp. Ψ : Ω → R

d

), we denote by P

D

ψ (resp. P

D

Ψ) the element of H

D

(Ω) (resp. H

D

(Ω)

d

) such that (P

D

ψ)

K

= ψ(x

K

) (resp. (P

D

Ψ)

K

= Ψ(x

K

)) for all K ∈ M. Let us write an approximation scheme for (1) in the following way: find (u

D

, p

D

) ∈ H

D

(Ω)

d

× H

D

(Ω) such that

2

(4)

 

 

 

 

ν hu

D

, vi

D

− Z

p

D

div

D

(v)dx + b

D

(u

D

, u

D

, v, p

D

) = Z

f · vdx, ∀v ∈ H

D

(Ω)

d

, Z

div

D

(u

D

)qdx + S(p

D

, q) = 0, ∀q ∈ H

D

(Ω) and Z

p

D

dx = 0.

(2)

Let us first give the expression of h·, ·i

D

. For any edge σ ∈ E of the mesh, we define a linear mapping U

σ

on H

D

(Ω), such that for all regular function ψ, U

σ

(P

D

ψ) is an order 2 consistent approximation of ψ(x

σ

).

Since we consider Dirichlet boundary conditions, we set U

σ

(u) = 0 for all u ∈ H

D

(Ω) and σ ∈ E

ext

. This allows to define a consistent approximate gradient of the elements of H

D

(Ω) by

(∇

D

u)

K

= 1 m

K

X

σ∈EK

m

σ

(U

σ

(u) − u

K

)n

K,σ

(= 1 m

K

X

σ∈EK

m

σ

U

σ

(u)n

K,σ

) ∀u ∈ H

D

(Ω), (3)

We then define the linear mappings (R

K,σ

)

K∈M,σ∈EK

on H

D

(Ω) by

R

K,σ

u = U

σ

(u) − u

K

− (∇

D

u)

K

· (x

σ

− x

K

), ∀u ∈ H

D

(Ω), ∀K ∈ M, ∀σ ∈ E

K

, (4) For a given family (α

K

)

K∈M

of positive real numbers, let us define the following inner product on H

D

(Ω):

hu, vi

D

:=

Z

D

u(x) · ∇

D

v(x)dx + X

K∈M

α

K

X

σ∈EK

m

σ

d

K,σ

R

K,σ

u R

K,σ

v, ∀u, v ∈ H

D

(Ω). (5) Note that the bilinear form defined by R

D

u(x) · ∇

D

v(x)dx does not define an inner product; the bilinear form h·, ·i

D

is definite thanks to the parameters α

K

> 0. For u, v ∈ H

D

(Ω)

d

, we set hu, vi

D

= P

d

i=1

hu

(i)

, v

(i)

i

D

, and U

σ

(u) = (U

σ

(u

(1)

), . . . , U

σ

(u

(d)

)). We can now define div

D

v by (div

D

v)

K

= 1

m

K

X

σ∈EK

m

σ

U

σ

(v) · n

K,σ

=

d

X

i=1

(∇

D

v

(i)

)

(i)

, ∀v ∈ H

D

(Ω)

d

. (6)

Because of the colocated nature of the scheme, the approximation of the mass conservation (second equation of (2)) includes a stabilization term S(·, ·), which is defined in the following way. Let (λ

σ

)

σ∈Eint

be a given family of positive real numbers; we define:

S(p, q) = X

σ,Mσ={K,L}

λ

σ

m

σ

(h

K

+ h

L

)(p

K

− p

L

)(q

K

− q

L

), ∀p, q ∈ H

D

(Ω). (7)

At least two methods can be considered for the definition of (λ

σ

)

σ∈Eint

. We can take all λ

σ

equal to the same value; this yields a stabilization term inspired by [2]. Alternately, we can define a partition of M, denoted C, and set λ

σ

= λ if there exists G ∈ C (such G ⊂ M is called ”a cluster”) with M

σ

⊂ G, otherwise we set λ

σ

= 0 (see [4]). Both methods show good results. For σ ∈ E

int

, with M

σ

= {K, L}, defining Φ

K,σ

(u, p) = m

σ

(U

σ

(u) · n

K,σ

+ λ

σ

(h

K

+ h

L

)(p

K

− p

L

)) , the second equation of (2) also reads:

P

σ∈EK∩Eint

Φ

K,σ

(u, p) = 0. Finally, we define the centred approximation b

D

(u

D

, u

D

, v, p

D

) of the trilinear form b by

b

D

(u, v, w, p) = X

K∈M

w

K

·

X

σ∈EK,Mσ={K,L}

Φ

K,σ

(v, p) u

K

+ u

L

2

 , (8)

which allows for the property b

D

(u

D

, u

D

, u

D

, p

D

) = 0. Note that this approximation depends on the

pressure through the stabilisation term in the discrete mass flux Φ

K,σ

(u

D

, p

D

). An upstream weighted

approximation, satisfying the same property, could as well be defined.

(5)

2. Convergence analysis

As in [3], the convergence of the scheme is proven, in the case of constant value for all λ

σ

, thanks to the following arguments:

(i) Setting v = u

D

and q = p

D

in (2), we can get, thanks to the property b

D

(u

D

, u

D

, u

D

, p

D

) = 0, some bounds on hu

D

, u

D

i

D

and S(p

D

, p

D

). These bounds yield the existence of a solution to the scheme thanks to a topological degree argument, and allow to apply a compactness result on the set of approximate velocities.

(ii) We derive a bound on kp

D

k

L2(Ω)

, following Neˇ cas results, hence proving the weak convergence in L

2

(Ω) of the approximate pressure.

(iii) Let (D

n

)

n∈N

be a sequence of meshes with mesh size tending to 0 as n tends to +∞, let (w

n

)

n∈N

⊂ (H

Dn

(Ω))

d

be a sequence of functions such that the term hw

n

, w

n

i

Dn

remains bounded, and which converges in L

2

(Ω) to some function w ∈ H

01

(Ω), as n tends to +∞; it may then be shown that, for any regular function Ψ : Ω → R

d

vanishing at the boundary, the term hw

n

, P

Dn

Ψi

Dn

tends to R

∇w : ∇Ψdx, as n tends to +∞. The proof uses the order 2 consistency property of U

σ

(P

Dn

Ψ) with Ψ(x

σ

). During the course of this proof, we get that the approximate solution for the following diffusion problem: find u ∈ H

D

(Ω) such that hu

(D)

, vi

D

= R

f (x)v(x)dx, for all v ∈ H

D

(Ω), converges to the weak solution u ∈ H

01

(Ω) of −∆u = f with u = 0 on ∂Ω.

(iv) We finally get the convergence of any approximate finite volume solution (that is a solution of (2), and up to a subsequence) to a weak solution of (1), by passing to the limit, taking, for any regular function Ψ, P

Dn

Ψ as a test function in (2), and concluding by density. This step again uses the order 2 consistency property of functions U

σ

and the bound on S(p

D

, p

D

).

3. Numerical results

Let us conclude this paper with some numerical re- sults: we consider the classical lid driven cavity, with Re = 1000, taking α

K

= 1 for all K ∈ M. The following figure presents on the left the grid used for the computation of the approximate solution, which shows that there is no need that the mesh be conforming in the usual finite element sense, nor suited for two-points fluxes; the right side of the fig- ure shows the streamlines obtained on this grid.

References

[1] F. Archambeau, N. Mehitoua, and M. Sakiz. Code saturne: A finite volume code for turbulent flows. Int. J. Finite Volumes, 1(1), 2004. http://www.latp.univ-mrs.fr/IJFV.

[2] F. Brezzi and J. Pitk¨aranta. On the stabilization of finite element approximations of the Stokes equations. InEfficient solutions of elliptic systems (Kiel, 1984), volume 10 ofNotes Numer. Fluid Mech., pages 11–19. Vieweg, Braunschweig, 1984.

[3] R. Eymard, R. Herbin, and J.C. Latch´e. Convergence analysis of a colocated finite volume scheme for the incompressible navier-stokes equations on general 2 or 3d meshes. SIAM J. Numer. Anal., 45(1):1–36, 2007.

[4] R. Eymard, R. Herbin, J.C. Latch´e, and B. Piar. On colocated finite volume scheme for the incompressible flow problems. submitted, http://hal.archives-ouvertes.fr/, 2006.

4

Références

Documents relatifs

In both cases (nonlinear centered and upstream weighting schemes), we prove the convergence of a penalized version of the scheme to a weak solution of the problem... As we noted in

On one hand, the dis- cretization of the pressure gradient term is built as the discrete transposed of the velocity divergence term, the latter being evaluated using a natural

In Sections 4 and 5, we study the mixed finite volume approximation respectively for Stokes and Navier-Stokes equations: we show that this method leads to systems (linear in the case

Abstract We propose a sixth-order staggered finite volume scheme based on polynomial reconstructions to achieve high accurate numerical solutions for the incompressible Navier-

A finite volume method to solve the Navier-Stokes equations for incompressible flows on unstructured meshes. Cayré,

In [3,11], a collocated finite volume scheme for incompressible flows is devel- oped on so called “admissible” unstructured meshes, that are meshes satisfy- ing the two

The predictor velocity is solved through an extension of the ADER method for a nonlinear convective-diffusive system on a Chimera mesh with a compact data transmission condition

Section 3 is devoted to secfvslin the linear steady problem (Stokes problem), for which the finite volume scheme is given and convergence analysis and error estimates are detailed..