• Aucun résultat trouvé

A BSTRACT B UBBLE V IBRATION M ODEL A PPLICATIONOFAN AMR TECHNIQUETOAN

N/A
N/A
Protected

Academic year: 2022

Partager "A BSTRACT B UBBLE V IBRATION M ODEL A PPLICATIONOFAN AMR TECHNIQUETOAN"

Copied!
59
0
0

Texte intégral

(1)

A PPLICATION OF AN AMR TECHNIQUE TO AN A BSTRACT B UBBLE V IBRATION M ODEL

Yohan PENEL1,2, Anouar Mekkas1,3, St ´ephane Dellacherie1, Juliet Ryan2,3, M. Borrel3

1DEN/DANS/DM2S/SFME/LETR, CEA Saclay, France

2LAGA, Institut Galil ´ee, University of Paris 13, France

3DTIM/CHP, ONERA Ch ˆatillon, France

19THAIAA COMPUTATIONALFLUIDDYNAMICSCONFERENCE San Antonio, Texas June, 23rd, 2009

(2)

I NTRODUCTION

Modeling of the evolution of bubblesin a nuclear reactor at the scale of bubbles (DNS)

GOAL

(3)

I NTRODUCTION

Modeling of the evolution of bubblesin a nuclear reactor at the scale of bubbles (DNS)

GOAL

Navier-Stokes equationsfor a diphasic compressible im- miscible flow

Mach Number supposed to be small (still compressible flow but without acoustic wave effects)

Diphasic Low Mach Number system (DLMN)

Simplification but keeping a similar mathematical struc- ture

Abstract Bubble Vibration model (ABV)

Numerical representation of bubble interfaces

Numerical scheme for a transport equation

(4)

I NTRODUCTION

Modeling of the evolution of bubblesin a nuclear reactor at the scale of bubbles (DNS)

GOAL

Navier-Stokes equationsfor a diphasic compressible im- miscible flow

Mach Number supposed to be small (still compressible flow but without acoustic wave effects)

Diphasic Low Mach Number system (DLMN)

Simplification but keeping a similar mathematical struc- ture

Abstract Bubble Vibration model (ABV)

Numerical representation of bubble interfaces

Numerical scheme for a transport equation

AMR

(5)

I NTRODUCTION

Modeling of the evolution of bubblesin a nuclear reactor at the scale of bubbles (DNS)

GOAL

Navier-Stokes equationsfor a diphasic compressible im- miscible flow

Mach Number supposed to be small (still compressible flow but without acoustic wave effects)

Diphasic Low Mach Number system (DLMN)

Simplification but keeping a similar mathematical struc- ture

Abstract Bubble Vibration model (ABV)

Numerical representation of bubble interfaces

Numerical scheme for a transport equation

AMR

(6)

O UTLINE

1 Derivation of the model

2 Theoretical results

3 Interfaces: Numerical resolution of a transport equation

4 Numerical Results for the ABV model

5 Conclusion

(7)

P ARTIAL O UTLINE

1 Derivation of the model

2 Theoretical results

3 Interfaces: Numerical resolution of a transport equation

4 Numerical Results for the ABV model

5 Conclusion

(8)

C OMPRESSIBLE D IPHASIC N AVIER -S TOKES S YSTEM

Starting point

DIPHASIC COMPRESSIBLE NAVIER-STOKES









t(ρY1) +∇·(ρY1u) =0,

tρ+∇·(ρu) =0,

tu) +∇·(ρuu) =−∇P+∇·σ+ρg,

t(ρE) +∇·(ρuE) =−∇·(Pu) +∇·(κ∇T) +∇·(σu) +ρg·u,

together with transmission and boundary conditions.

Nomenclature

• Y1: mass fraction of Fluid 1

• T : temperature

• P: pressure

u: global velocity

• E: total energy

• ρ : density

g: gravity field

• σ : Cauchy stress tensor

• κ : thermal conductivity

• θ= (Y1,T,P)

(9)

M ODELING BUBBLES

Initial Condition

Y1(t=0,x) =Y0(x) =

(1, six∈Ω1(0), 0, six∈Ω2(0).

AsY1is solution of the equation∂t(ρY1) +∇·(ρY1u) =0⇐⇒∂tY1+u·∇Y1=0,the interface of the bubble coincides with its discontinuity. The resolution of this equation with that initial condition amounts to determining for a domainΩ1(t).

(10)

H YPOTHESES AND T OOLS

PHYSICS MATHEMATICS

Bounded domain (reactor) Ω = [−1,1]d,d∈ {2,3}

No void ρ>0

Linear elasticity Linearized Cauchy tensor Common physical properties for both fluids Single nondimensioned system

Low Mach Number Asymptotic expansion w.r.t.M1 Based on earlier Majda’s & Embid’s works on combustion (’84).

(11)

DLMN S YSTEM

Diphasic Low Mach Number System: At order 0 in the asymptotic expansion, the system reads:

















tY1+u·∇Y1=0,

∇·u=Gθ,

ρ(∂tu+ (u·∇)u) =−∇Π +2∇·[µD(u)] +ρg, ρcp(∂tT+u·∇T) =αTP0(t) +∇·(κ∇T), P0(t) =Hθ(t),

wherePis the thermodynamic pressure,Πthe dynamic pressure and:

Gθ(t,x) :=−Dtρ ρ =−1

Γ P0(t)

P(t) +β∇·(κ∇T) P(t) ,

Hθ(t) :=

Z

β(θ)∇·

κ(θ)∇T dx Z

1 Γ(θ)dx

.

(12)

DLMN S YSTEM

Diphasic Low Mach Number System: At order 0 in the asymptotic expansion, the system reads:

















tY1+u·∇Y1=0,

∇·u=Gθ, =6=0 compressibility, elliptic contribution

ρ(∂tu+ (u·∇)u) =−∇Π +2∇·[µD(u)] +ρg, ρcp(∂tT+u·∇T) =αTP0(t) +∇·(κ∇T), P0(t) =Hθ(t),

wherePis the thermodynamic pressure,Πthe dynamic pressure and:

Gθ(t,x) :=−Dtρ ρ =−1

Γ P0(t)

P(t) +β∇·(κ∇T) P(t) ,

Hθ(t) :=

Z

β(θ)∇·

κ(θ)∇T dx Z

1 Γ(θ)dx

.

(13)

D ERIVED S YSTEMS FOR PRELIMARY STUDIES

Hodge Decomposition:u=∇φ+wwith∇·w=0 and boundary conditions.

Potential DLMN System w→0









tY1+∇φ·∇Y1=0,

∆φ=Gθ,

ρcp(∂tT+∇φ·∇T) =αTP0(t) +∇·(κ∇T), P0(t) =Hθ(t).

Abstract Bubble Vibration Model Gθ→GY





tY1+∇φ·∇Y1=0,

∆φ(t,x) =ψ(t)

Y1(t,x)− 1

|Ω|

Z

Y1(t,y)dy

.

(14)

P ARTIAL O UTLINE

1 Derivation of the model

2 Theoretical results

3 Interfaces: Numerical resolution of a transport equation

4 Numerical Results for the ABV model

5 Conclusion

(15)

E XISTENCE AND U NIQUENESS FOR DLMN

DIPHASICLOWMACHNUMBER

tY1+u·Y1=0,

∇·u=Gθ,

ρ(∂tu+ (u·∇)u) =−∇Π +2∇·D(u)] +ρg, ρcp(∂tT+u·T) =αTP0(t) +∇·(κ∇T), P0(t) =Hθ(t).

(16)

E XISTENCE AND U NIQUENESS FOR DLMN

DIPHASICLOWMACHNUMBER

tY1+u·Y1=0,

∇·u=Gθ,

ρ(∂tu+ (u·∇)u) =−∇Π +2∇·D(u)] +ρg, ρcp(∂tT+u·T) =αTP0(t) +∇·(κ∇T), P0(t) =Hθ(t). THEOREM(PENEL, ’09)

Assumings>d 2

+4,θ0Hssuch that, for allxTd,θ0(x)G0 withG0Θ, andu0Hs−1, there existsT =T(kθ0ks,ku0ks)>0 such that there exists a unique classical solution,u,∇π)to the DLMN system:

T,PXs,T(Td),Y1Xs−1,T(Td),∂ θ

t Xs−2,T(Td);

uXs−1,T(Td),u

t Xs−3,T(Td);

∇πXs−3,T(Td).

(17)

E XISTENCE AND U NIQUENESS FOR DLMN

DIPHASICLOWMACHNUMBER

tY1+u·Y1=0,

∇·u=Gθ,

ρ(∂tu+ (u·∇)u) =−∇Π +2∇·D(u)] +ρg, ρcp(∂tT+u·T) =αTP0(t) +∇·(κ∇T), P0(t) =Hθ(t). THEOREM(PENEL, ’09)

Assumings>d 2

+4,θ0Hssuch that, for allxTd,θ0(x)G0 withG0Θ, andu0Hs−1, there existsT =T(kθ0ks,ku0ks)>0 such that there exists a unique classical solution,u,∇π)to the DLMN system:

T,PXs,T(Td),Y1Xs−1,T(Td),∂ θ

t Xs−2,T(Td);

uXs−1,T(Td),u

t Xs−3,T(Td);

∇πXs−3,T(Td). Xs,T(Td) =C0 [0,T],L2(Td)

L [0,T],Hs(Td)

L2 [0,T],Hs+1(Td)

(18)

E XISTENCE AND U NIQUENESS FOR ABV

ABSTRACTBUBBLEVIBRATIONMODEL

tY1+∇φ·Y1=0, Y1(0,x) =Y0(x),

∆φ(t,x) =ψ(t)

Y1(t,x) 1

|Ω|

Z

Y1(t,y)dy

,

∇φ·n|∂=0.

(19)

E XISTENCE AND U NIQUENESS FOR ABV

ABSTRACTBUBBLEVIBRATIONMODEL

tY1+∇φ·Y1=0, Y1(0,x) =Y0(x),

∆φ(t,x) =ψ(t)

Y1(t,x) 1

|Ω|

Z

Y1(t,y)dy

,

∇φ·n|∂=0. THEOREM(LAFITTE& DELLACHERIE, ’05) Assumings>d

2

+2,Y0Hs. There existsT =T(kY0ks)>0 such that there exists a unique classical solution(Y1,∇φ)to the ABV system, withY1C0 [0,T],L2(Td)

L [0,T],Hs(Td) .

(20)

E XISTENCE AND U NIQUENESS FOR ABV

ABSTRACTBUBBLEVIBRATIONMODEL

tY1+∇φ·Y1=0, Y1(0,x) =Y0(x),

∆φ(t,x) =ψ(t)

Y1(t,x) 1

|Ω|

Z

Y1(t,y)dy

,

∇φ·n|∂=0.

LEMMA

Assuming there exists a weak solution of the formY1(t,x) =1

1(t)(x) where1(t)is a smooth open set in, andψC0(0,+∞), then the volume of the bubble is given by:

|Ω1(t)|=|Ω|

|Ω1(0)|exp Zt

0

ψ(τ)dτ

|Ω2(0)|+|Ω1(0)|exp Zt

0

ψ(τ)dτ . THEOREM(LAFITTE& DELLACHERIE, ’05) Assumings>d

2

+2,Y0Hs. There existsT =T(kY0ks)>0 such that there exists a unique classical solution(Y1,∇φ)to the ABV system, withY1C0 [0,T],L2(Td)

L [0,T],Hs(Td) .

(21)

P ARTIAL O UTLINE

1 Derivation of the model

2 Theoretical results

3 Interfaces: Numerical resolution of a transport equation Representation of interfaces

AMR

Numerical results

4 Numerical Results for the ABV model

5 Conclusion

(22)

I NTERFACES

DL

Numerical handling of interfaces

Interface Capturing

Front Tracking

Level Set

Volume Of Fluid

Antidiffusive schemes

(23)

I NTERFACES

DL

Antidiffusive schemes Resolution of the transport equation∂tY1+u·∇Y1=0

by means of theDespr ´es-Lagouti `ere Scheme

B. Despr ´es, F. Lagouti `ere, Contact Discontinuity Capturing Schemes for Linear Advection and Compressible Gas Dynamics.J. of Sc. Comp., ’01.

Idea: combining stability properties of the upwind scheme and non-diffusive properties of the downwind scheme.

Properties:

L-stable under CFL TVD

uniform control of the number of diffusion cells

(24)

F UNDAMENTAL TEST (K OTHE & R IDER )

Data

Resolution of∂tY1+u·∇Y1=0with a periodic rotational prescribed velocity in 2D and 3D cases. The velocity is such that one should recover the initial condition after one period.

Improving accuracy requires additional techniques likeAMR.

(25)

S OME REFERENCES

General concept of AMR(Grouping-Clustering Algorithm)

M. Berger and J. Oliger,Adaptive methods for hyperbolic partial differential equations. JCP, ’84.

M. Berger and P. Colella,Local adaptive mesh refinement for shock hydrodynamics. JCP, ’89.

M. Berger and I. Rigoutsos,An Algorithm for Point Clustrering and Grid Generation. IEEE, ’91.

AMR techniques for the transport equation

J. Quirk,An Adaptive Grid Algorithm for Computational Shock Hydrodynamics.

Ph.D. Thesis, Cranfield Univ., ’91.

J.-C. Jouhaud,M ´ethode d’Adaptation de Maillages Structur ´es par Enrichissement.

Ph.D. Thesis, Bordeaux Univ., ’97.

J. Ryan and M. Borrel,Adaptive Mesh Refinement: a coupling Framework for Direct Numerical

Simulation of reacting Gas Flow. ICFD, ’04.

Local Defect Correction Methods for the Laplace equation

W. Hackbush,Local defect correction and domain decomposition techniques.

Defect Corr. Meth., ’84.

M. Anthonissen,Local Defect Correction Techniques: Analysis and Application to Combustion.

Ph.D. Thesis, Eindhoven Univ., ’01.

(26)

G ENERATING A HIERARCHICAL STRUCTURE OF GRIDS

Steps

tagging grid regions that need a higher resolution clustering tagged cells into subgrids (patches) refining patches

Balance between general constraints

as few patches as possible to reduce computation

patches as small as possible to avoid unrelevant refined regions

Grouping-ClusteringAlgorithm coarse level grid:G0

moving patchesG1,nadapting to the solution of eq.∂tY1+u·∇Y1=0

(27)

G ENERATING A HIERARCHICAL STRUCTURE OF GRIDS

G0 G1,n

Grouping-ClusteringAlgorithm coarse level grid:G0

moving patchesG1,nadapting to the solution of eq.∂tY1+u·∇Y1=0

(28)

S KETCH OF RESOLUTION

YGn

1,n

YGn

0

(29)

S KETCH OF RESOLUTION

G0

G1,n

YGn

1,n

YGn

0

(30)

S KETCH OF RESOLUTION

G0

G1,n

YGn

1,n

YGn

0 1 YnG+01

(31)

S KETCH OF RESOLUTION

G0

G1,n

YGn

1,n

YGn

0 YnG+01

YGn+1

1’ 1,n 1

(32)

S KETCH OF RESOLUTION

G0

G1,n

YGn

1,n

YGn

0 YnG+01

YGn+1

1,n

YGn+1

0\G1,n

1’

1 2

(33)

S KETCH OF RESOLUTION

G0

G1,n

YGn

1,n

YGn

0 YnG+01

YGn+1

1,n

YGn+1

0\G1,n

YGn+1

0G1,n

1’

1

2’

2

(34)

S KETCH OF RESOLUTION

G0

G1,n

YGn

1,n

YGn

0 YnG+01

YGn+1

1,n

YGn+1

0\G1,n

YGn+1

0G1,n

YGn+1

0

1’

1

2’

2

3 3

(35)

S KETCH OF RESOLUTION

G0

G1,n

G1,n+1

YGn

1,n

YGn

0 YnG+01

YGn+1

1,n

YGn+1

0\G1,n

YGn+1

0G1,n

YGn+1

0

G1,n+1

1’

1

2’

2

3 3

4

(36)

S KETCH OF RESOLUTION

G0

G1,n

G1,n+1

YGn

1,n

YGn

0 YnG+01

YGn+1

1,n

YGn+1

0\G1,n

YGn+1

0G1,n

YGn+1

0

G1,n+1

YnG+1

1,n+1

1’

1

2’

2

3 3

4

5 5

(37)

S KETCH OF RESOLUTION

G0

G1,n

G1,n+1

YGn

1,n

YGn

0 YnG+01

YGn+1

1,n

YGn+1

0\G1,n

YGn+1

0G1,n

YGn+1

0

G1,n+1

YnG+1

1,n+1

YGn+1

1,n+1

1’

1

2’

2

3 3

4

5 5

6

6

(38)

F UNDAMENTAL TEST ( WITH AMR)

Data

Refinement rate equal to 10

(39)

P ARTIAL O UTLINE

1 Derivation of the model

2 Theoretical results

3 Interfaces: Numerical resolution of a transport equation

4 Numerical Results for the ABV model

5 Conclusion

(40)

C ODE STRUCTURE

LDC

(

tY1+∇φ·∇Y1=0,

∆φ=P(Y1).

(41)

C ODE STRUCTURE

LDC

(

tY1+∇φ·∇Y1=0,

∆φ=P(Y1).

YGn

0,G1,n,YGn

1,nn

(42)

C ODE STRUCTURE

LDC

(

tY1+∇φ·∇Y1=0,

∆φ=P(Y1).

YGn

0,G1,n,YGn

1,nn

DL-Scheme with AMR for one time iteration of the resolution of the transport equation with discrete velocity∇φn

(43)

C ODE STRUCTURE

LDC

(

tY1+∇φ·∇Y1=0,

∆φ=P(Y1).

YGn

0,G1,n,YGn

1,nn

DL-Scheme with AMR for one time iteration of the resolution of the transport equation with discrete velocity∇φn

YGn+1

0 ,G1,n+1,YGn+1

1,n+1

(44)

C ODE STRUCTURE

LDC

(

tY1+∇φ·∇Y1=0,

∆φ=P(Y1).

YGn

0,G1,n,YGn

1,nn

DL-Scheme with AMR for one time iteration of the resolution of the transport equation with discrete velocity∇φn

YGn+1

0 ,G1,n+1,YGn+1

1,n+1

LDC method (using fine grid built in the hyperbolic step) for the resolution of the Laplace equation with rhsP(Yn+1)

(45)

C ODE STRUCTURE

LDC

(

tY1+∇φ·∇Y1=0,

∆φ=P(Y1).

YGn

0,G1,n,YGn

1,nn

DL-Scheme with AMR for one time iteration of the resolution of the transport equation with discrete velocity∇φn

YGn+1

0 ,G1,n+1,YGn+1

1,n+1

LDC method (using fine grid built in the hyperbolic step) for the resolution of the Laplace equation with rhsP(Yn+1)

YGn+1

0 ,G1,n+1,YGn+1

1,n+1,G1,n+1

(46)

N UMERICAL TEST

ABV model:













tY1+∇φ·∇Y1=0, Y1(0,x) =Y0(x),

∆φ=Y11 4

ZZ

[1,1]2

Y1(t,y)dy,

∇φ·n|∂=0.

ψ≡1 implies constant growth.

The initial conditionY0is defined by two circles with different radii.

(47)

N UMERICAL TEST

100×100 grid with a refinement rate equal to 6

(48)

V OLUMES

Lemma

(49)

P ARTIAL O UTLINE

1 Derivation of the model

2 Theoretical results

3 Interfaces: Numerical resolution of a transport equation

4 Numerical Results for the ABV model

5 Conclusion

(50)

C ONCLUSION AND P ROSPECTS

Done

Implementationof an AMR technique for a transport equation Couplingbetween hyperbolic and elliptic

Couplingbetween three algorithms (DL scheme, AMR, LDC)

To do

Application to theDLMN System

Enrichment of the model withphysical aspects Theoretical studies fornon-smooth initial conditions

(51)

T HANK YOU FOR YOUR ATTENTION

(52)

P ARTIAL O UTLINE

6 Despr ´es-Lagouti `ere Scheme

7 LDC

8 Data

(53)

D EFINITION OF THE SCHEME

Set:





bni(u) :=Y

n

i −Mi1/2

u∆t/∆x +Mi1/2, Bni(u) := Y

n

i −mi1/2

u∆t/∆x +mi1/2, withmi1/2=min(Yin1,Yin)andMi1/2=max(Yin1,Yin).

Then the fluxes are defined by:

Yin+1/2=





bin(u) ifYin+1≤bni(u),

Yin+1 ifbni(u)<Yin+1<Bin(u), Bni(u) ifBin(u)≤Yin+1.

(54)

C OMPARISON BETWEEN DL AND UPWIND SCHEMES

Sch ´ema Despr ´es - Lagouti `ere Sch ´ema Upwind

Data u(x,y) =

−y x

 Ω = [−1,1]2 ∆x= ∆y= 1

200

(55)

P ARTIAL O UTLINE

6 Despr ´es-Lagouti `ere Scheme

7 LDC

8 Data

(56)

1D LDC METHOD FOR −∆Φ = f , WITH N EUMANN BC

Step 0

Coarse grid resolution (modified conjugate gradient)





ΦH,0(xi+1)−2ΦH,0(xi) + ΦH,0(xi1)

H2 =fH(xi), i={1, . . . ,N−1},

Φ0H,0(x0) =0, Φ0H,0(xN) =0;

Fine grid resolution with updated Dirichlet BC (CG)





Φh,0(xi+1)−2Φh,0(xi) + Φh,0(xi1)

h2 =fh(xi), i={L1, . . . ,L2},

Φh,0(xL1) = ΦH,0(xL1), Φh,0(xL2) = ΦH,0(xL2).

(57)

1D LDC METHOD FOR −∆Φ = f , WITH N EUMANN BC (2)

Stepk≥1

Coarse grid resolution with updated rhs





ΦH,k(xi+1)−2ΦH,k(xi) + ΦH,k(xi1)

H2 =fH(xi) +RH,k1(xi), Φ0H,k(x0) =0, Φ0H,k(xN) =0,

with

RH,s(xi) =





Φh,s(xi+1)−2Φh,s(xi) + Φh,s(xi1)

H2 −fH(xi), i={L1, . . . ,L2},

0, i={1, . . . ,L1−1} ∪ {L2+1, . . . ,N};

Fine grid resolution





Φh,k(xi+1)−2Φh,k(xi) + Φh,k(xi1)

h2 =fh(xi), Φh,k(xL1) = ΦH,k(xL1), Φh,k(xL2) = ΦH,k(xL2).

(58)

P ARTIAL O UTLINE

6 Despr ´es-Lagouti `ere Scheme

7 LDC

8 Data

(59)

D ATA FROM K OTHE - R IDER TESTS

off on

u(t,x,y) =2 cos 2

πt T

sinx)siny

sinx)cosy) siny)cosx)

Ω = [0,1]x[0,1]

x= ∆y=1281 T=14

u(t,x,y,z) =cos 2

πt T

×

2 sin2x)sin(2πy)sin(2πz)

sin2y)sin(2πx)sin(2πz)

sin(2πx)sin(2πy)sin2z)

Ω = [0,1]x[0,1]x[0,1]

x= ∆y= ∆z=641,T=6

Références

Documents relatifs

§ 2D cartesian grids: the numerical solution does not converge to the incompressible one when the Mach number decreases.

Keywords: Compressible flows, Navier-Stokes equations, low Mach (Froude) Number limit shallow-water equations, lake equations, nonconstant density AMS subject classification: 35Q30..

Figure 8: Wall-clock computational time spent to perform simulations with the purely compressible approach (dashed line) and the hybrid method (symbols), and for different maximum

With regards to the low Mach number limit problem, we will see below that one can rigorously justify the low Mach number limit for general initial data provided that one can prove

To avoid repetition, we only mention that one can rigorously justify the low Mach number limit for general initial data provided that one can prove that the solutions are

The result of the study is that for a good representation of unsteady flows containing acoustic information, the pressure-velocity coupling coefficient must explicitly depend on

For a non-iterative low- speed preconditioning formulation of the compressible Euler equations, the issue of the stability for a matrix-valued dissipation formulated from

Natural Convection and Low Mach Number Flows Simulation Using a Compressible High-Order Finite Volume Scheme... World Congress on Computational Mechanics (WCCM