Space-timeXFEM for two-phase mass transport - TU Wienlehrenfeld/Talks/prague2015.pdf ·...
Transcript of Space-timeXFEM for two-phase mass transport - TU Wienlehrenfeld/Talks/prague2015.pdf ·...
Space-time XFEM fortwo-phase mass transport
Christoph Lehrenfeld
joint work with Arnold Reusken
EFEF, Prague, June 5-6th 2015
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 0/18
Space-time XFEM for two-phase mass transport
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 0/18
Problem setting - Models
Two-phase flows
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 1/18
Γ
Ω1
Ω2
Problem setting - Models
Two-phase flows
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 2/18
Γ
Ω1
Ω2
Fluid dynamics (within the phases Ωi)incompressible Navier Stokes equations (w, p)
(mass and momentum conservation)
Mass transport (within the phases Ωi)convection diffusion equation (u)
(species conservation)
Problem setting - Models
Two-phase flows
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 2/18
Γ
Ω1
Ω2
Fluid dynamics (within the phases Ωi)incompressible Navier Stokes equations (w, p)
(mass and momentum conservation)
Mass transport (within the phases Ωi)convection diffusion equation (u)
(species conservation)
interface conditions (on Γ)
mass and mom. cons. (capillary forces) (w, p)species conservation and thermodyn. equil. (u)
Problem setting - Models
Two-phase flows
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 2/18
Mass transport equation
∂tu+ w · ∇u− α∆u = 0 in Ωi(t), i = 1, 2,
[[−α∇u · n]] = 0 on Γ(t),
[[βu]] = 0 on Γ(t), ( Henry condition)
(+ initial + boundary conditions)α, β: piecewise constant diffusion / Henry coefficients.
Compatibility conditions on the velocity:
V · n = w · n on Γ(t), V : interface velocity., div(w) = 0 in Ω
no relative velocity on Γ, incompressible flow
Problem setting - Models
Mass transport model
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 3/18
Problem setting - Representation of the interface (interface capturing)
Description of the interface
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 4/18
Γ
Ω1
Ω2
Level set function φ
φ(x, t)
= 0, x ∈ Γ(t),
< 0, x ∈ Ω1(t),
> 0, x ∈ Ω2(t).
φ describes position of the interface
Problem setting - Representation of the interface (interface capturing)
Description of the interface
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 4/18
Γ
Ω1
Ω2
Level set function φ
φ(x, t)
= 0, x ∈ Γ(t),
< 0, x ∈ Ω1(t),
> 0, x ∈ Ω2(t).
φ describes position of the interface
Level set equation
∂tφ+ w · ∇φ = 0 in Ω,+ i.c. & b.c. (∗)
(∗) describes the motion of the interface
Problem setting - Representation of the interface (interface capturing)
Description of the interface
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 4/18
Γ
Ω1
Ω2
Level set function φ
φ(x, t)
= 0, x ∈ Γ(t),
< 0, x ∈ Ω1(t),
> 0, x ∈ Ω2(t).
φ describes position of the interface
Level set equation
∂tφ+ w · ∇φ = 0 in Ω,+ i.c. & b.c. (∗)
(∗) describes the motion of the interface
Implicit description of the interface (Euler)
unfitted meshes
Problem setting - Representation of the interface (interface capturing)
Description of the interface
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 4/18
Mass transport equation
∂tu+ w · ∇u− α∆u = 0 in Ω1(t) ∪ Ω2(t),
[[−α∇u]] · n = 0 on Γ(t),
[[βu]] = 0 on Γ(t).
Γ(t)
n
n
u Γ(t)
Ω2(t)Ω1(t)
unfitted meshes
discontinuous conc. (Γ)u1/u2 = β2/β1
α1∇u1 · n = α2∇u2 · n
moving interface(moving discont.)
Problem setting - Numerical challenges
Numerical aspects
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 5/18
Mass transport equation
∂tu+ w · ∇u− α∆u = 0 in Ω1(t) ∪ Ω2(t),
[[−α∇u]] · n = 0 on Γ(t),
[[βu]] = 0 on Γ(t).
Γ(t)
n
Numerical approaches
Extended finite element space (XFEM)
Nitsche’s method to enforce (weakly) the Henry condition
Space-time formulation for moving discontinuity
Problem setting - Numerical challenges
Numerical aspects
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 5/18
Approximation of discontinuous function, u ∈ Hk+1(Ω1 ∪ Ω2)
space: Vh (Standard FE space, degree k)
infuh∈Vh
‖u− uh‖L2(Ω) ≤ c√h
Discretization - Extended finite element methods (XFEM)
Approximation of discontinuities
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 6/18
Approximation of discontinuous function, u ∈ Hk+1(Ω1 ∪ Ω2)
space: V Γh
= R1Vh ⊕ R2Vh
infuh∈V Γ
h
‖u− uh‖L2(Ω) ≤ chk+1
Discretization - Extended finite element methods (XFEM)
Approximation of discontinuities
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 6/18
V Γh = R1Vh ⊕R2Vh ⇐⇒ V Γ
h = Vh ⊕ V xh
Extend P1 basis with discontinuous basis functions near Γ:
V Γh = Vh ⊕ pΓ
j , pΓj := R∗pj , R∗ =
R1 if xj in Ω2,R2 if xj in Ω1
pj
Γ
pΓj
Γ
Henry condition not respected.FE Space is non-conforming!
Discretization - Extended finite element methods (XFEM)
“Extended” FEM (XFEM)
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 7/18
V Γh = R1Vh ⊕R2Vh ⇐⇒ V Γ
h = Vh ⊕ V xh
Extend P1 basis with discontinuous basis functions near Γ:
V Γh = Vh ⊕ pΓ
j , pΓj := R∗pj , R∗ =
R1 if xj in Ω2,R2 if xj in Ω1
pj
Γ
pΓj
Γ
Henry condition not respected.FE Space is non-conforming!
Discretization - Extended finite element methods (XFEM)
“Extended” FEM (XFEM)
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 7/18
Nitsche (Henry condition in a weak sense)
stationary problem (Γ(t) = Γ):
−α∆u+ w · ∇u = f in Ω1∪Ω2,
[[−α∇u · n]] = 0 on Γ,
[[βu]] = 0 on Γ.
Discrete variational formulation
a(u, v) :=∑i=1,2
∫Ωi
β(α∇u∇v+w·∇u v)dx
+ Nitsche bilinear form Nh(·, ·)(Henry-condition in a weak sense)
Nh(u, v) =−∫
Γ
α∇u · n[[βv]] ds−∫
Γ
α∇v · n[[βu]] ds + αλh−1T
∫Γ
[[βu]][[βv]] ds
λ: stab. parameter. Nitsche term for consistency , symmetry and stability .
Discretization - Nitsche method
Implementation of the Henry condition
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 7/18
Remarks on Nitsche-XFEM
discrete Nitsche-XFEM problem1,2:Find uh ∈ V Γ
h , such that
a(uh, vh) +Nh(uh, vh) = f(vh) ∀ vh ∈ V Γh .
With standard ideas from the analysis of non-conforming FEM:
‖u− uh‖L2(Ω) ≤ chk+1‖u‖Hk+1(Ω1,2) (as in the one-phase case)
1A. Hansbo, P. Hansbo, 2002, Comp. Meth. Appl. Mech. Eng.
2A. Reusken, T.H. Nguyen, 2009, J. Four. Anal. Appl.
Discretization - Nitsche method
Nitsche-XFEM for diffusion
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 8/18
Nitsche-XFEM and convection stabilization
Nitsche-XFEM with dominant convection with Streamline-Diffusion stabilization3:
Nitsche-XFEM SD-Nitsche-XFEM
Treatment of moving interfaces?
3C.L., A. Reusken, 2012, SIAM J. Sci. Comp.
Discretization - Nitsche method
Nitsche-XFEM for convection-diffusion
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 9/18
Nitsche-XFEM and convection stabilization
Nitsche-XFEM with dominant convection with Streamline-Diffusion stabilization3:
Nitsche-XFEM SD-Nitsche-XFEM
Treatment of moving interfaces?
3C.L., A. Reusken, 2012, SIAM J. Sci. Comp.
Discretization - Nitsche method
Nitsche-XFEM for convection-diffusion
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 9/18
x
t
∂tu ≈un − un−1
∆t
∂tu 6≈un − un−1
∆t
Γ∗
Avoid taking differences across the interface!
Divide phases by means of a space-time variational formulation
Discretization - Space-time formulation
Formulation in space-time
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 10/18
Space-time FE space (no XFEM)
Divide space-time domain into slabs (discont. FE,⇒ time stepping scheme)
In = (tn−1, tn], Qn = Ω× In, W := v : Q→ R | v|Qn ∈Wn
x
t
tn
tn−1
Qn−1
Qn
Qn+1
Discretization - Space-time formulation
Space-time finite element space
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 11/18
Space-time FE space (no XFEM)
Divide space-time domain into slabs (discont. FE,⇒ time stepping scheme)
In = (tn−1, tn], Qn = Ω× In, W := v : Q→ R | v|Qn ∈Wn
x
t
tn
tn−1
Qn−1
Qn
Qn+1
Finite element space with tensor-product-structure
Wn := v : Qn → R | v(x, t) = φ0(x) + tφ1(x), φ0, φ1 ∈ Vn .
x
ttn
tn−1
Qn
Discretization - Space-time formulation
Space-time finite element space
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 11/18
Enrichment of the space-time FE space: WΓ∗n = Wn ⊕W x
n
Γn∗ ⊕ Γn
∗
xj−1 xj+1
tn
tn−1Γ∗
xj−1 xj+1
tn
tn−1Γ∗
By design
Good approximation properties
FE space is non-conforming w.r.t.Henry condition
Discretization - Space-time formulation
Space-time XFEM
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 12/18
components (sketch)
tn
tn−1
Qn
3
1 1 1
u+(tn−1)u−(tn−1) 2
1 space-time interior (consistency to PDE inside the phases)
2 continuity (consistency in time)⇒ upwind in time
3 Henry condition⇒ Nitsche
Discretization - Space-time formulation
Discrete formulation
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 13/18
Discrete formulation: Find u ∈WΓ∗n , s.t. 1 + 2 + 3 = 0 ∀ v ∈WΓ∗
n
1 consistency to PDE within the phases
2∑i=1
∫Qn
i
(∂tui + w · ∇ui
)βivi + αiβi∇ui · ∇vi − βifvi dx dt
2 upwind in time∫Ωβ(u+(tn−1)− u(tn−1)
)v+(tn−1) dx
tn
tn−1
Qn
3
1 1 1
u+(tn−1)u−(tn−1) 2
3 Nitsche (Henry condition in a weak sense)∫ tn
tn−1
(−∫
Γ(t)α∇u · n[[βv]] ds −
∫Γ(t)α∇v · n[[βu]] ds + αλh−1
T
∫Γ(t)
[[βu]][[βv]] ds
)dt
Discretization - Space-time formulation
Discrete formulation
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 13/18
Error bounds Space-Time Nitsche-XFEM DG4
‖(u− uh)(·, T )‖−1 ≤ c(h2 + ∆t2).
Numerical experiments (1D)4 and (3D)6 (Test cases with piecewise smooth solutions)
‖(u− uh)(·, T )‖L2 ≤ c(h2 + ∆t3).
1 2 4 8 16 32 6410−4
10−3
10−2
10−1
100
nt
nx = 8nx = 16nx = 32nx = 64nx = 128order 1,2,3
8 16 32 64 128
10−3
10−2
10−1
nx
nt = 4nt = 8nt = 16nt = 32nt = 64order 1,2
4C.L., A. Reusken, 2013, SIAM J. Num. Ana.
5C.L., 2015, SIAM J. Sci. Comp.
Discretization - Space-time Nitsche-XFEM DG
Error analysis (linear in space and time)
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 14/18
Discretization - Example
Example two-phase flow
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 15/18
Condition of (space-time) Nitsche-XFEM (κ(A))
support of XFEM basis functions arbitrarily small.=⇒ system matrix A arbitrarily ill-conditioned.
Diagonal preconditioning (κ(D−1A A))
Observation: κ(D−1A A) ≤ ch−2, c 6= c(Γ)
Proven for stationary case6.
Optimal preconditioning for stationary case6
After transformation u→ β−1u:
A'(
Ass 00 Axx
)'(
Ass 00 DA
xx
)'(
WssMG 00 DA
xx
)︸ ︷︷ ︸
Wκ(W−1A) ' 1
6C.L., A. Reusken, 2014, subm. to Num. Math
Discretization - Linear solvers
Linear systems
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 16/18
Condition of (space-time) Nitsche-XFEM (κ(A))
support of XFEM basis functions arbitrarily small.=⇒ system matrix A arbitrarily ill-conditioned.
Diagonal preconditioning (κ(D−1A A))
Observation: κ(D−1A A) ≤ ch−2, c 6= c(Γ)
Proven for stationary case6.
Optimal preconditioning for stationary case6
After transformation u→ β−1u:
A'(
Ass 00 Axx
)'(
Ass 00 DA
xx
)'(
WssMG 00 DA
xx
)︸ ︷︷ ︸
Wκ(W−1A) ' 1
6C.L., A. Reusken, 2014, subm. to Num. Math
Discretization - Linear solvers
Linear systems
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 16/18
Condition of (space-time) Nitsche-XFEM (κ(A))
support of XFEM basis functions arbitrarily small.=⇒ system matrix A arbitrarily ill-conditioned.
Diagonal preconditioning (κ(D−1A A))
Observation: κ(D−1A A) ≤ ch−2, c 6= c(Γ)
Proven for stationary case6.
Optimal preconditioning for stationary case6
After transformation u→ β−1u:
A'(
Ass 00 Axx
)'(
Ass 00 DA
xx
)'(
WssMG 00 DA
xx
)︸ ︷︷ ︸
Wκ(W−1A) ' 1
6C.L., A. Reusken, 2014, subm. to Num. Math
Discretization - Linear solvers
Linear systems
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 16/18
Γ
Ω1
Ω2
Two-phase mass transport: solutions are discontinuous across mo-ving interfaces (Henry condition).
Interface is described implicitly (level set method).Grid is not aligned to the interface.
Extended FE space for the approx. of discontinuities
Nitsche’s method for Henry condition
Space-time formulation for moving interfaces
A'(Wss
MG 00 DA
xx
)
Conclusion - Conclusion/Outlook
Conclusion
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 17/18
Γ
Ω1
Ω2
Two-phase mass transport: solutions are discontinuous across mo-ving interfaces (Henry condition).
Interface is described implicitly (level set method).Grid is not aligned to the interface.
Extended FE space for the approx. of discontinuities
Nitsche’s method for Henry condition
Space-time formulation for moving interfaces
3
1 1 1
2
A'(Wss
MG 00 DA
xx
)
Conclusion - Conclusion/Outlook
Conclusion
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 17/18
Γ
Ω1
Ω2
Two-phase mass transport: solutions are discontinuous across mo-ving interfaces (Henry condition).
Interface is described implicitly (level set method).Grid is not aligned to the interface.
Extended FE space for the approx. of discontinuities
Nitsche’s method for Henry condition
Space-time formulation for moving interfaces
3
1 1 1
2
A'(Wss
MG 00 DA
xx
)
Numerical integration on implicitly described domains withnew decomposition rules in 4D.
Preconditioning of Nitsche-XFEM:diagonal precond., optimal precond. (Block+MG)
Conclusion - Conclusion/Outlook
Conclusion
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 17/18
Γ
Ω1
Ω2
Higher order time integration for two-phase Stokes with moving inter-faces:I Jumps in pressure (no time derivative),I kinks in velocity.
Extended FE space for velocity and pressure
Nitsche’s method for velocity
Space-time formulation for moving interfaces
3
1 1 1
2
A'(Wss
MG 00 DA
xx
)
(Higher order) quadrature strategies for implicit domains.
Linear solvers for (Nitsche)-XFEM:Space-time discr., Higher order discr., Stokes, ...
Conclusion - Conclusion/Outlook
Outlook
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 17/18
Questions?
Conclusion - Questions
Thank you for your attention!
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 18/18
Integration on one element (prism)
QnT,1
QnT,2
Γ∗,nT
T ∈ Th
InRequire integrals of the form:∫
QnT,1
f dx
∫Qn
T,2
f dx
∫Γ∗,nT
f dx
Implicit representation of Γ∗ (zero level of φ), no explicit parametrization
strategy: Find approximation Γ∗h with explicit parametrizationrequires new decomposition rules in four dimensions6.
x1
x3
x2
x4
6C.L., 2015, SIAM J. Sci. Comp.
Backup-Slides - Numerical integration on implicit space-time domains
Numerical integration on implicit domains
Christoph Lehrenfeld | EFEF, Prague, June 5-6th 2015 18/18