Escolar Documentos
Profissional Documentos
Cultura Documentos
net/publication/320076983
CITATIONS READS
0 244
1 author:
Florian De Vuyst
Université de Technologie de Compiègne
119 PUBLICATIONS 533 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Florian De Vuyst on 28 September 2017.
Florian De Vuyst1
email: fdevuyst@utc.fr
Short Course at ECCOMAS MSF 2017, UL FGG Ljubljana – 17-19 Sep 2017
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 1/10
Scope of the Short Course
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 2/10
Equations of interest, FEM
System of conservation laws :
V h = {v h ∈ C 0 (Ω), v|K
h
∈ P 1 (K)}.
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 3/10
Finite Volume Method (FVM)
duhK (t)
Z Z
1 h h 1
+ f (u (., t), ∇u (., t)) · ν dσ = g dx.
dt |K| ∂K |K| K
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 4/10
Finite Volume Methods (2)
duhK (t)
Z Z
1 X 1
+ f (uh (., t), ∇uh (., t)) · νA dσ = g dx.
dt |K| A |K| K
A∈∂K
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 5/10
Higher order FVM
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 6/10
A remark on FEM
∂t u + ∇ · f (u) = 0, x ∈ Ω, t ∈ [0, T ].
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 7/10
A remark on FEM (2)
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 8/10
A remark on FEM (3)
with
Z
Φk` = f (u) · (∇ω` ωk − ω` ∇ωk ) dx
supp(ωk )∩supp(ω` )
such that
Φk` = −Φ`k .
As a conclusion, some FEM can be set up as (generalized,
diffuse) FVM.
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 9/10
There is room for innovative computational methods about this ...
F. De Vuyst – Short Course ECCOMAS MSF 2017 HPC Discretization Methodes in CFD – Intro 10/10
I: various (conservative) remapping strategies
II: Lagrange-flux schemes
III: entropy property (1D analysis)
IV: Stable and low-diffusive advection schemes for interface capturing
Florian De Vuyst
LMAC Laboratory,
Université de Technologie de Compiègne (UTC), France
Joint work with Thibault Gasc, Renaud Motte,
Mathieu Peybernes and Raphaël Poncet (CEA, CGG, Maison de la Simulation)
Outline
2. Lagrange-Flux schemes
Origin of work
Improve the computation performance of legacy Lagrange-remap schemes
vs
Figure: Dataflow diagram: Lagrange-remap scheme (left) vs
Lagrange-flux scheme (right) [Poncet et al. 2016, Thibault Gasc PhD
Thesis 2016]
Requirements
Design a Finite Volume (FV) Eulerian scheme:
Notations
K=K Generic cell on the Eulerian mesh M h
K n+1,L = K Deformed cell K on the Lagrangian mesh M h,n+1,L
K n+1/2,L = K Deformed cell K on the Lagrangian mesh M h,n+1/2,L
At discrete level:
X
|K| (U` )K = |K| (U` )K − ∆t |A| πA · νA .
A⊂∂K
Rem: requires velocity values defined at mesh nodes for a well-posed Lagrangian
transformation (cf GLACE [Després-Mazeran] or EUCCHLYD [Maire et al.]
cell-centered Lagrangian solvers)
Remapping step
Requires:
I MUSCL reconstruction on the Lagrangian mesh (.)
I mesh intersection betweenM h and M h,n+1,L .
NB: ∂t U = 0 in this step!
∂t U = ∂t U +∇ · (−uU ) + ∇ · (uU ) = 0.
Z Z
d
U dx = ∂t U +∇ · (−uU ) dx
dt Vt Vt |{z}
=0
Z Z
= − ∇ · (uU ) dx = − u · νt U dσ
Vt ∂Vt
Mass flux:
n+1/2 n+1/2,L n+1/2,L
(Φρ )j+1/2 = [ρ(xj+1/2 )]n+1,L uj+1/2 ,
n+1/2,L ∆t n+1/2,L
where xj+1/2 = xj+1/2 + 2 uj+1/2 .
n+1 n+1/2
ρ(x + ∆t/2u, t )u(x + ∆t/2, t )=
∆t ∆t ∆t ∆t
n+1/2 n+1/2 2 n+1/2
= ρ(x + u, t )+ u∂t ρ(x + u, t ) + O(∆t ) u(x + u, t )
2 2 2 2
n+1/2 ∆t n+1/2 ∆t n+1/2 2
= ρu(x, t )+ u∂x (ρu)(x, t )− u∂x (ρu)(x, t ) + O(∆t )
2 2
n+1/2 2
= ρu(x, t ) + O(∆t ).
Momentum flux:
n+1/2 n+1/2,L n+1/2,L n+1/2,L
(Φρu )j+1/2 = [(ρu)(xj+1/2 )]n+1,L uj+1/2 + pj+1/2 .
Ok’kay !
∂t U = ∂t U +∇ · (−uU ) + ∇ · (uU ) = 0.
v(x, t) = u(x, t)
|K|UK = |K|UK .
d X
|K| UK = − |A|v A · νA UA on (tn , tn+1 ].
dt
A⊂∂K
∆tn X
(U` )n+1
K = (U` )nK − |A| Φn,n+1
`,A
|K|
A⊂∂K
with Φn,n+1
`,A in the form
|A|
Φn,n+1
`,A = (U` )A (v · ν)A + (π` )A · νA .
|A|
I Corrector step
∆tn X
UK n+1 = UK − n n+1
UA ? · νA
|A| vA UA + vA
2
A ⊂∂K
∆t X ∆t X
(U` )K ← (U` )K − |A| vA · νA (U` )A − |A| (π` )A · νA
|K| |K|
A⊂∂K A⊂∂K
| {z } | {z }
Convective Eulerian fluxes Pressure-type fluxes
on Lagrangian edges
d(U` )K 1 X 1 X
=− |A| uA · νA (U` )A − |A| (π` )A · νA .
dt |K| |K|
A⊂∂K A⊂∂K
Lagrange-flux schemes
Entropy property
with
upw
Φj+1/2 = Uj+1/2 u?j+1/2 + (0, p?j+1/2 , qj+1/2
?
)T .
We look for interface states in the form
upw
Uj+1/2 = Uj,+ 1(u?j+1/2 ≥0) + Uj+1,− 1(u?j+1/2 <0) .
Entropy property
Law of Thermodynamics:
T ds = de + pdτ,
∂t (ρs) + ∇ · (ρus) = 0
∂t (ρs) + ∇ · (ρus) ≤ 0
Construction
Lagrangian evolution
d(uj,+ )2 /2
mj,+ = −uj,+ p?j+1/2 − pj
dt
?
By eliminating qj+1/2 , one finds the new compatibility relation (?)
p̃j,+ u?j+1/2 − uj + p̃j+1,− uj+1 − u?j+1/2 = p?j+1/2 (uj+1 − uj )
Theoretical result
Theorem - Let us consider the centered interface velocity
1
u?j+1/2 = (uj + uj+1 )
2
and the half-cell pressure
pj + p?j+1/2
−α (ρc)j u?j+1/2 − uj − −β ρj |u?j+1/2 −uj | u?j+1/2 − uj −
p̃j,+ =
2
(α, β > 0). Then the compatiblity relation (?) gives
1
p?j+1/2 = (p̃j,+ + p̃j+1,− ) . (2)
2
We get the half-cell entropy production
dej,+ pj + p?j+1/2 ?
mj,+ + (uj+1/2 − uj ) = πj,+ ,
dt 2
πj,+ = α (ρc)j [(u?j+1/2 − uj )− ]2 + β ρj |u?j+1/2 − uj | [(u?j+1/2 − uj )− ]2 ≥ 0.
d 1
η(Uj ) + Ψj+1/2 − Ψj−1/2 ≤ 0
dt |Ij |
with
∆tn n
Πn,n+1
j = η(Ujn+1 ) − η(Ujn ) + Ψj+1/2 − Ψnj−1/2
h
Equations
∂t ρ + ∇ · (ρu) = 0,
∂t (ρu) + ∇ · (ρu ⊗ u) + ∇p = 0,
∂t (ρy) + ∇ · (ρyu) = 0 → ∂t y + u · ∇y = 0.
Figure: Pure translation, periodic BC, u = (1, 1). Initial data (L) vs
discrete solution after 3 rounds
(already observed in [Després, Lagoutière 2001] using limited
downwind by splitted AD)
F. De Vuyst Lagrange-flux schemes 47/65
I: various (conservative) remapping strategies
II: Lagrange-flux schemes
III: entropy property (1D analysis)
IV: Stable and low-diffusive advection schemes for interface capturing
Figure: Initial disk subject to a rigid body rotation after few revolutions.
(a) (b)
Figure: Compressive direction-by-direction limiters create a bias in the
evaluation of the discrete gradient direction, due to 1D nonlinearities
Simpson’s formula:
Z
h 2h h
y dy ≈ yi+1/2,j+1 + yi+1/2,j + yi+1/2,j−1
Ai+1/2,j 6 3 6
where
yij + yi+1,j
yi+1/2,j =
.
2
⇒ We get the 8-point FD/FV formula:
1 (y − yi−1,j+1 ) + 1 1 (y
!
h 1 12 i+1,j+1 3
(yi+1,j − yi−1,j ) + 12 i+1,j−1 − yi−1,j−1 )
(∇ y)i,j ≈ 1 (y
h 12 i+1,j+1 − yi+1,j−1 ) + 1
3
1 (y
(yi,j+1 − yi,j−1 ) + 12 i−1,j+1 − yi−1,j−1 )
(t=0) (t=3)
(t=6) (t=9)
(t=12)
(t=0) (t=3)
(t=6) (t=9)
(t=12)
(Φρ )A = ρA (v · ν)A
Figure: Triple point case, mesh 2048x878, zoom-in of the vortex zone
Question break