second order implicit explicit total variation
play

Second order Implicit-Explicit Total Variation Diminishing schemes - PowerPoint PPT Presentation

Second order Implicit-Explicit Total Variation Diminishing schemes for the Euler system in the low Mach regime Victor Michel-Dansac Workshop NumWave, 13 December 2017 Giacomo Dimarco, Univ. of Ferrara, Italy Raphal Loubre, Univ. of


  1. Second order Implicit-Explicit Total Variation Diminishing schemes for the Euler system in the low Mach regime Victor Michel-Dansac Workshop NumWave, 13 December 2017 Giacomo Dimarco, Univ. of Ferrara, Italy Raphaël Loubère, Univ. of Bordeaux, CNRS, France Marie-Hélène Vignal, Univ. of Toulouse, France Funding: ANR MOONRISE

  2. Outline General context: multi-scale models and principle of AP schemes 1 An order 1 AP scheme for the Euler system in the low Mach limit 2 Second-order schemes in time 3 Second-order schemes in time and space 4 Work in progress and perspectives 5

  3. General context 1/23 electron density (log scale) : t=0.1 Multiscale model M ε , depending on a parameter ε 0 2.4 − 1 2.3 − 2 2.2 − 3 In the (space-time) domain, ε can 2.1 − 4 2 − 5 1.9 − 6 1.8 be of same order as the reference scale; 1.7 − 7 1.6 − 8 1.5 − 9 be small compared to the reference scale; 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 take intermediate values. epsilon 0 10 −5 10 When ε is small: M 0 = lim ε → 0 M ε asympt. model −10 10 0 0.2 0.4 0.6 0.8 1 x Difficulties: Classical explicit schemes for M ε : they are stable and consistent if the mesh resolves all the scales of ε . = ⇒ very costly when ε → 0 Schemes for M 0 = ⇒ the mesh is independent of ε ➠ M 0 is not valid everywhere, it needs ε ≪ 1 But: ➠ the interface may be moving: how to locate it?

  4. Principle of AP schemes 2/23 A possible solution: Asymptotic Preserving (AP) schemes Use the multi-scale model M ε even for small ε . Discretize M ε with a scheme preserving the limit ε → 0. ➠ The mesh is independent of ε : Asymptotic stability . ➠ Recovery of an approximate solution of M 0 when ε → 0: Asymptotic consistency . ➠ Asymptotically stable and consistent scheme ⇒ Asymptotic preserving scheme (AP) . ([Jin, ’99] kinetic → hydro) The AP scheme may be used only to reconnect M ε and M 0 . ε 0 M 0 class. scheme M ε intermediate class. scheme ε = O ( 1 ) ε � 1 zone M ε AP scheme

  5. Outline General context: multi-scale models and principle of AP schemes 1 An order 1 AP scheme for the Euler system in the low Mach limit 2 Second-order schemes in time 3 Second-order schemes in time and space 4 Work in progress and perspectives 5

  6. The multi-scale model and its asymptotic limit 3/23 ➠ Isentropic Euler system in scaled variables: x ∈ Ω ⊂ IR d , t ≥ 0 � ∂ t ρ + ∇ · ( ρ u ) = 0 ( 1 ) ε (with p ( ρ ) = ρ γ ) ( M ε ) ∂ t ( ρ u )+ ∇ · ( ρ u ⊗ u )+ 1 ε ∇ p ( ρ ) = 0 ( 2 ) ε Parameter: ε = M 2 = m | u | 2 / ( γ p ( ρ ) / ρ ) , M = Mach number Boundary and initial conditions: � ρ ( x , 0 ) = ρ 0 + ε ˜ ρ 0 ( x ) u · n = 0 on ∂ Ω and u ( x , 0 ) = u 0 ( x )+ ε ˜ u 0 ( x ) , with ∇ · u 0 = 0 The formal low Mach number limit ε → 0 : ( 2 ) ε ⇒ ∇ p ( ρ ) = 0 ⇒ ρ ( x , t ) = ρ ( t ) � ( 1 ) ε ⇒ | Ω | ρ ′ ( t )+ ρ ( t ) u · n = 0 ⇒ ρ ( t ) = ρ ( 0 ) = ρ 0 ⇒ ∇ · u = 0 ∂ Ω

  7. The multi-scale model and its asymptotic limit 4/23 The asymptotic model: Rigorous limit [Klainerman & Majda, ’81]:  ρ = cst = ρ 0 ,   ( M 0 ) ρ 0 ∇ · u = 0 , ( 1 ) 0   ρ 0 ∂ t u + ρ 0 ∇ · ( u ⊗ u )+ ∇π 1 = 0 , ( 2 ) 0 � � where 1 π 1 = lim p ( ρ ) − p ( ρ 0 ) . ε ε → 0 ∂ t ( 1 ) 0 − ∇ · ( 2 ) 0 ⇒ − ∆ π 1 = ρ 0 ∇ 2 :( u ⊗ u ) Explicit eq. for π 1 : The pressure wave equation from M ε : ∂ tt ρ − 1 ε ∆ p ( ρ ) = ∇ 2 : ( ρ u ⊗ u ) ∂ t ( 1 ) ε − ∇ · ( 2 ) ε ⇒ ( 3 ) ε From a numerical point of view Explicit treatment of ( 3 ) ε ⇒ conditional stability ∆ t ≤ √ ε ∆ x Implicit treatment of ( 3 ) ε ⇒ uniform stability with respect to ε

  8. An order 1 AP scheme in the low Mach limit 5/23 Time discretization: [Degond, Deluzet, Sangam & Vignal, ’09], [Degond & Tang, ’11], [Chalons, Girardin & Kokh, ’15] If ρ n and u n are known at time t n :  ρ n + 1 − ρ n + ∇ · ( ρ u ) n + 1 = 0 ,  ( 1 )  (AS)  ∆ t ( ρ u ) n + 1 − ( ρ u ) n + ∇ · ( ρ u ⊗ u ) n + 1  ε ∇ p ( ρ n + 1 ) = 0 .  ( 2 )  (AC) ∆ t ∇ p ( ρ n + 1 ) = 0 ε → 0 ⇒ gives consistency at the limit implicit treatment of the pressure wave eq. ⇒ uniform stability in ε ∇ · ( 2 ) inserted into ( 1 ) : gives an uncoupled formulation ρ n + 1 − ρ n + ∇ · ( ρ u ) n − ∆ t ε ∆ p ( ρ n + 1 ) − ∆ t ∇ 2 : ( ρ u ⊗ u ) n = 0 ∆ t

  9. An order 1 AP scheme in the low Mach limit 6/23 The scheme proposed in [Dimarco, Loubère & Vignal, ’17]: ➠ Framework of IMEX (IMplicit-EXplicit) schemes: � ρ � ρ u � � � � 0 ∂ t + ∇ · + ∇ · = 0 . p ( ρ ) ρ u ρ u ⊗ u ε Id � �� � � �� � � �� � W F e ( W ) F i ( W ) .L. condition comes from the explicit flux F e ( W ) : ➠ The C.F ∆ t ≤ ∆ x ∆ x = j | , λ n 2 | u n j where λ n j are the eigenvalues of the explicit Jacobian matrix DF e ( W n j ) . ➠ A linear stability analysis yields: if the implicit part is • centered ⇒ L 2 stability; • upwind ⇒ TVD and L ∞ stability. SSP Strong Stability Preserving, [Gottlieb, Shu & Tadmor, ’01]

  10. AP but diffusive results, 1D test case 7/23 ε = 0 . 99, 300 cells − 4 6 x 10 1.8 Class. scheme Class. scheme 1.6 1st-order AP 5 1st-order AP Class: 273 loops 1.4 Density 4 Time steps 1.2 7 CPU time 0.07 3 1 0.8 AP: 510 loops 2 0.6 1 CPU time 1.46 0.4 0 0.2 0 0.01 0.02 0.03 0.04 0.05 0.06 0 0.2 0.4 0.6 0.8 1 x Time ε = 10 − 4 , 300 cells 1 − 3 Class. scheme 10 1st-order AP Density Class: 4036 loops Time steps Class. scheme 1 − 4 10 CPU time 0.82 1st-order AP AP: 57 loops − 5 CPU time 0.14 0.9999 10 0 0.01 0.02 0.03 0.04 0.05 0.06 0 0.2 0.4 0.6 0.8 1 x Time

  11. AP but diffusive results, 1D test case 8/23 − 4 10 1 Class. scheme Class. scheme AP scheme AP scheme ε = 10 − 4 Density of Time steps − 5 10 1 Underlying of the viscosity − 6 10 0.9999 0 0.01 0.02 0.03 0.04 0.05 0.06 0 0.2 0.4 0.6 0.8 1 x Time ⇓ It is necessary to use high order schemes But they must respect the AP properties we also wish to retain the L ∞ stability

  12. Outline General context: multi-scale models and principle of AP schemes 1 An order 1 AP scheme for the Euler system in the low Mach limit 2 Second-order schemes in time 3 Second-order schemes in time and space 4 Work in progress and perspectives 5

  13. Principle of IMEX schemes 9/23 Bibliography for stiff source terms or ODE problems: Ascher, Boscarino, Cafflish, Dimarco, Filbet, Gottlieb, Happenhofer, Higueras, Jin, Koch, Kupka, Le Floch, Pareschi, Russo, Ruuth, Shu, Spiteri, Tadmor... ∂ t W + ∇ · F e ( W )+ ∇ · F i ( W ) = 0 . IMEX division: Step n: W n is known General principle: Quadrature formula with intermediate values: � t n + 1 � t n + 1 W ( t n + 1 ) = W ( t n ) − ∆ t ∇ · F e ( W ( t )) dt − ∆ t ∇ · F i ( W ( t )) dt t n t n � �� � � �� � s s W n + 1 = W n ˜ b j ∇ · F e ( W n , j ) − ∆ t b j ∇ · F i ( W n , j ) ∑ ∑ − ∆ t j = 1 j = 1 Quadratures exact on the constants: ∑ s j = 1 ˜ b j = ∑ s j = 1 b j = 1 Intermediate values at times t n , j = t n + c j ∆ t : � t n , j � c j W n , j ≈ W ( t n )+ ∂ t W ( t ) dt = W n +∆ t 0 ∂ t W ( t n + s ∆ t ) ds t n

  14. Principle of IMEX schemes 10/23 Quadrature formula for intermediate values: i = 1 , ··· , s W n , j = W n − ∆ t ∑ a j , k ∇ · F e ( W n , k ) − ∆ t ∑ a j , k ∇ · F i ( W n , k ) , ˜ k < j k ≤ j s s ∑ ∑ Quadratures exact on the constants: ˜ a j , k = ˜ c j , a j , k = c j k = 1 k = 1 s s W n + 1 = W n − ∆ t b j ∇ · F e ( W n , j ) − ∆ t ˜ b j ∇ · F i ( W n , j ) ∑ ∑ j = 1 j = 1 Butcher tableaux: Explicit part Implicit part ··· ··· 0 0 0 0 c 1 a 1 , 1 0 0 ˜ ... ... c 2 a 2 , 1 0 0 c 2 a 2 , 1 a 2 , 2 0 . . . . . . ... ... ... ... . . . . . . . . . . . . ˜ ˜ ... ... c s a s , 1 a s , s − 1 0 c s a s , 1 a s , s − 1 a s , s ˜ ˜ ... ... ... ... b 1 b s b 1 b s Conditions for 2nd order: ∑ b j c j = ∑ b j ˜ c j = ∑ ˜ b j c j = ∑ ˜ b j ˜ c j = 1 / 2

  15. AP Order 2 scheme for Euler 11/23 ARS scheme [Ascher, Ruuth & Spiteri, ’97]: “only one” intermediate step 0 0 0 0 0 0 0 0 β β β β β = 1 − 1 0 0 0 0 √ β − 1 2 − β 1 − β β 1 0 1 0 2 β − 1 2 − β 1 − β β 0 0 W n , 1 = W n W n , 2 = W ⋆ = W n − ∆ t β∇ · F e ( W n ) − ∆ t β∇ · F i ( W ⋆ ) W n , 3 = W n + 1 = W n − ∆ t ( β − 1 ) ∇ · F e ( W n ) − ∆ t ( 2 − β ) ∇ · F e ( W ⋆ ) − ∆ t ( 1 − β ) ∇ · F i ( W ⋆ ) − ∆ t β∇ · F i ( W n + 1 )

  16. AP Order 2 scheme for Euler 12/23 Density ρ for the ARS time discretization: ε = 10 − 1 ε = 10 − 2 1 . 1 1 . 01 1 . 05 1 . 005 1 1 0 . 2 0 . 4 0 . 6 0 . 8 0 . 2 0 . 4 0 . 6 0 . 8 0 1 0 1 1 . 001 1 . 0001 1 . 0005 1 . 00005 1 1 0 . 2 0 . 4 0 . 6 0 . 8 0 . 2 0 . 4 0 . 6 0 . 8 0 1 0 1 ε = 10 − 3 ε = 10 − 4 exact 1st order 2nd order

Recommend


More recommend