Multi-domain Hybrid RKDG and WENO-FD Method for Hyperbolic - - PowerPoint PPT Presentation

multi domain hybrid rkdg and weno fd method for
SMART_READER_LITE
LIVE PREVIEW

Multi-domain Hybrid RKDG and WENO-FD Method for Hyperbolic - - PowerPoint PPT Presentation

BeiHang University Multi-domain Hybrid RKDG and WENO-FD Method for Hyperbolic Conservation Laws Tiegang Liu School of Mathematics and Systems Science Beijing University of Aeronautics and Astronautics(Beihang University) 22-26 May, 2014 J i


slide-1
SLIDE 1

BeiHang University

Multi-domain Hybrid RKDG and WENO-FD Method for Hyperbolic Conservation Laws Tiegang Liu

School of Mathematics and Systems Science Beijing University of Aeronautics and Astronautics(Beihang University) 22-26 May, 2014 J i t k ith Ji Ch K W Joint work with Jian Cheng, Kun Wang

slide-2
SLIDE 2

Outline

BeiHang University

  • Introduction
  • Introduction
  • RKDG and WENO FD methods
  • RKDG and WENO-FD methods
  • Hybrid RKDG+WENO FD method
  • Hybrid RKDG+WENO-FD method
  • Numerical results
  • Numerical results
  • Conclusions and future work
  • Conclusions and future work
slide-3
SLIDE 3

Introduction—3rd order or higher is necessary

2nd order methods do not meet the requirements

Higher order efficient methods are demanding for 3D complex flow Simulations

2nd order results Complex flow requires

flow Simulations

  • de

esu s Complex flow requires higher order methods Higher order enables lower mesh numbers 3rd order results

Order of method Mesh number per unit volume 2nd 3rd

slide-4
SLIDE 4

Introduction—Cost & Efficiency

Comparison of computational costs for popular higher order methods

3D Quadrilater Surf ace Vol ume Reco Surf ace Surfa ce Volume Integr Sum Quadrilater al ace GPs ume GPs nst ace flux Integ ral Integr al Sum 2nd-JST 6 6 12 3rd-WENO-FD 6*2 6 18 5th WENO FD 6*3 6 24

Higher order FD methods

5th-WENO-FD 6 3 6 24 3rd-WENO-FV 4*6 24*8 4*6 4*6 264 3rd-DG 9*6 27 9*6 9*6 10 199

Good: Cheaper (Comparable to 2nd

  • rder FV method)

Bad : Uniform mesh; not for complex geometry Higher order FV/DG methods

methods Grid No per unit volume

  • Comput. Cost

per grid cell

  • Comput. Cost

per unit volume

Good: unstructured mesh; complex geometry Bad : expensive (1 order higher than

volume per grid cell per unit volume 2nd order FV 3rd order FD

p ( g 2nd methods)

3rd order FV/DG

p p g y A single higher order method does not work out well for 3D complex flow over complex geometry

slide-5
SLIDE 5

Introduction—Hybrid technique

  • Multi‐domain methods

Multi domain methods

Patched grids Overlapping grids

  • Hybrid methods

– Hybrid finite compact‐WENO scheme Hybrid finite compact WENO scheme – Multi‐domain hybrid spectral‐WENO methods – Etc Etc.

slide-6
SLIDE 6
  • Hybrid methods based on reconstruction

– Balsara et al. [JCP, 2007], hybrid RKDG + HWENO schemes Luo et al [AIAA 2010] Reconstructed DG – Luo et al. [AIAA, 2010], Reconstructed DG – Dumbser et al. [JCP, 2008] one step finite volume +DG, PnPm – Zhang et al. [JCP, 2012], FV+DG g [ , ],

  • Hybrid methods based on domain decomposition

– Costa et al. [JCP, 2007], hybrid spectral-WENO methods – Shahbazi et al. [JCP, 2007], Fourier-continuation/WENO – Zhu et al. [CiCP, 2011], hybrid finite difference and finite element time domain (FDTD/FETD) method (Maxwell equations) domain (FDTD/FETD) method (Maxwell equations) – Utzmann et al. [AIAA, 2006], L′eger et al. [AIAA, 2012], DG+FD (Acoustic)

Hybrid FD + DG: Higher order hybrid WENO-FD+RKDG

slide-7
SLIDE 7

Outline

BeiHang University

  • Introduction
  • Introduction
  • RKDG and WENO FD methods
  • RKDG and WENO-FD methods
  • Hybrid RKDG+WENO FD method
  • Hybrid RKDG+WENO-FD method
  • Numerical results
  • Numerical results
  • Conclusions and future work
  • Conclusions and future work
slide-8
SLIDE 8
slide-9
SLIDE 9

RKDG methods

Two dimensional hyperbolic conservation laws:

( ) ( ) in (0 ) u f u g u T       ( ) ( ) 0 in (0, ) ( , ,0) ( , )

t x y

u f u g u T u x y u x y          

The solution and test function space:

Spatial discretization:

p

{ ( , ) : ( , ) | ( )}

j

K k h j

V v x y v x y P

  

DG adopts a series of local basis over target cell: DG adopts a series of local basis over target cell:

( )

{ ( , ), 0,1,..., ; ( 1)( 2) / 2 1}

l

v x y l K K k k     

The numerical solution can be written as:

( )

( , , ) ( ) ( , )

h l l

u x y t u t v x y   ( , , ) ( ) ( , )

l l

u x y t u t v x y

slide-10
SLIDE 10

RKDG methods

Multiply test functions and integrate over target cell:

d

( ) ( ) ( ) ( )

( , ) ( ( ), ( )) ( , ) ( ( ) ( ) ( ) ( ))

j j

h l h h T l h l h l

d u v x y dxdy f u g u nv x y ds dt f u v x y g u v x y dxdy

 

    

  

( ) ( )

( ( ) ( , ) ( ) ( , ))

j

f u v x y g u v x y dxdy x y

    

0,..., l k 

h ( ) where ( , )

x y

n n n  On cell boundaries, the numerical solution is discontinuous, a numerical flux based on Riemann solution is used to replace the original flux: based on Riemann solution is used to replace the original flux:

,

( ( ), ( )) ( , )

j

h h T n

f u g u n h u u

  

 

Time discretization:

third-order Runge-Kutta method

slide-11
SLIDE 11

WENO methods

  • WENO-FD

(finite difference based WENO)

  • WENO-FV

(finite volume based WENO) (finite difference based WENO)

Efficient for structured mesh Easy in treatment of complex boundaries

(finite volume based WENO)

Not applicable for unstructured mesh boundaries Costly and troublesome for maintaining higher

  • rder

for Difficult in treatment of complex boundaries unstructured mesh

  • WENO-FV has computational cost 4 times (2D)/9

times (3D)larger than WENO-FD for 3rd order accuracy! ( ) g y

slide-12
SLIDE 12

WENO-FD schemes

Two dimensional hyperbolic conservation laws:

( ) ( ) in (0 ) u f u g u T       ( ) ( ) 0 in (0, ) ( , ,0) ( , )

t x y

u f u g u T u x y u x y          

For a WENO-FD scheme, uniform grid is required and solve directly using a conservative approximation to the space derivative:

Spatial discretization:

a conservative approximation to the space derivative:

,

1 1 ˆ ˆ ˆ ˆ ( ) ( )

i j

du f f g g     

1 1 1 1 , , , , 2 2 2 2

( ) ( )

i j i j i j i j

f f g g dt x y

   

    

Th i l fl bt i d b di i l WENO FD

1 1

ˆ ˆ f g The numerical fluxes are obtained by one dimensional WENO-FD approximation procedure.

1 1 , , 2 2

, ,

i j i j

f g

 

slide-13
SLIDE 13

WENO-FD schemes

One dimensional WENO-FD procedure: (5th-order WENO-FD)

WENO construct polynomial q (x) on each candidate stencil S0,S1,S2 and use the convex combination of all candidate stencils to achieve high order accurate convex combination of all candidate stencils to achieve high order accurate.

3 1 1 2 2 1 3 2 1 1 1 1 3

( ) ( )

j j j j

q a f a f a f O x q a f a f a f O x

   

        

1 1 2 2 1 3 2 2 2 2 2 3 1 1 2 2 1 3 2

( ) ( )

j j j j j j j j

q a f a f a f O x q a f a f a f O x

     

         

The numerical flux for 5th order WENO-FD:

1 2 1 1 1 1 2 1 2 2 2 2

ˆ

j j j j

f d q d q d q

   

  

2 2 2 2

slide-14
SLIDE 14

WENO-FD schemes

Classical WENO schemes use the smooth indicator(Jiang and Shu JCP1996)

One dimensional WENO-FD procedure: (5th-order WENO-FD)

Classical WENO schemes use the smooth indicator(Jiang and Shu JCP,1996)

  • f each stencil as follows:

1/2

1 2 1 2

( ) ( )

j

l k r x l k l

q x x dx 

  

  



The nonlinear weights are given by:

1/2

1

j

k l x l

x



d

1 2

0,1,..., 1 ( )

k k k k r k s s

d w k r     

 

    

The numerical flux for 5th order WENO-FD:

1 2

ˆ f w q w q w q   

1 1 1 1 2 1 2 2 2 2 j j j j

f w q w q w q

   

  

slide-15
SLIDE 15

Summary

RKDG WENO‐FD RKDG WENO‐FD Advantage Well in handling complex Highly efficient in structured grid Advantage g p geometries g y g Weakness Expensive in computational costs and storage requirements Only in uniform mesh and hard in handling complex geometry requirements

slide-16
SLIDE 16

Outline

BeiHang University

  • Introduction
  • Introduction
  • RKDG and WENO FD methods
  • RKDG and WENO-FD methods
  • Hybrid RKDG+WENO FD method
  • Hybrid RKDG+WENO-FD method
  • Numerical results
  • Numerical results
  • Conclusions and future work
  • Conclusions and future work
slide-17
SLIDE 17

Multidomain hybrid RKDG+WENO-FD method

RKDG+WENO-FD method

  • Couple RKDG and WENO FD based on domain decomposition
  • Couple RKDG and WENO-FD based on domain decomposition
  • Combine advantages of both RKDG and WENO-FD, 90-99%domain

in WENO-FD and 10-1%domain in RKDG

RKDG WENO-FD

Hybrid mesh approach Cut‐cell approach

slide-18
SLIDE 18

RKDG+WENO-FD method: structured meshes

RKDG+WENO-FD method for one dimensional conservation laws dimensional conservation laws

Conservative coupling method: Conservative coupling method: Non-conservative coupling method: Non conservative coupling method:

slide-19
SLIDE 19

RKDG+WENO-FD method: Construction of interface flux

Construction of WENO flux at the interface: 1 Deploy ghost nodes at the DG domain 1. Deploy ghost nodes at the DG domain 2. Compute the point value at each ghost points via DG solution 3. Obtain the WENO flux at the cell interface J+1/2

slide-20
SLIDE 20

RKDG+WENO-FD method: Construction of interface flux

Construction of DG flux at the interface: 1 Construct a WENO polynomial in cell J+1 1. Construct a WENO polynomial in cell J+1 2. Project the WENO polynomial to the DG space in cell J+1 3. Obtain the DG flux at cell boundary J+1/2

slide-21
SLIDE 21

RKDG+WENO-FD method: Construction of interface flux

Non-conservative Coupling (method): Conservative Coupling (method):

slide-22
SLIDE 22

RKDG+WENO-FD method: theoretical results

We consider a general form of the hybrid RKDG+WENO-FD method which a pth-

  • rder DG method couples with a qth-order WENO-FD scheme (SISC, 2013):

Accuracy:

  • Conservative multi-domain hybrid method of pth-order RKDG and qth-order

WENO-FD is of 1st-order accuracy in max-norm.

  • Non-conservative multi-domain hybrid method of pth-order RKDG and qth-
  • rder WENO-FD can preserve rth-order (r=min(p,q)) accuracy in smooth region.

Conservation error:

1

| |

n n j j j j

CE x u x u

   

 

  • The conservative error of non-conservative multi-domain hybrid method of

pth-order RKDG and qth-order WENO-FD is of 3rd-order accuracy.

j j j j j j

 

p q y

slide-23
SLIDE 23

P f f f th ti h b id th d Proof of accuracy for the conservative hybrid method Using DG flux: Using WENO flux:

slide-24
SLIDE 24

P f f f th ti h b id th d ti d Proof of accuracy for the conservative hybrid method—continued For WENO flux: For DG flux:

slide-25
SLIDE 25

RKDG+WENO-FD method: theoretical results

Stability:

  • Non conservative Coupling Approach: Numerically stable
  • Non-conservative Coupling Approach: Numerically stable
  • Conservative Coupling Approach:

 Numerically stable with DG flux  Numerically stable with DG flux  Non-linearly stable with WENO flux

slide-26
SLIDE 26

RKDG+WENO-FD method: theoretical results

Stability:

slide-27
SLIDE 27

RKDG+WENO-FD method: theoretical results

Stability:

slide-28
SLIDE 28

RKDG+WENO-FD method: hybrid mesh

Construct WENO-FD flux

When construct WENO-FD flux, RKDG can provide the central point values for WENO construction.

  • FIG. RKDG provides point values for WENO-FD construction
slide-29
SLIDE 29

RKDG+WENO-FD method: hybrid meshes

Construct RKDG flux

Wh t t RKDG fl WENO i t l t t t RKDG fl When construct RKDG flux, we use WENO point values to construct RKDG flux, we follow these three steps:

  • Fi t

t t hi h d l i l

( ) p x y

  • First, we construct a high order polynomial

at target cell

( , ) p x y

, i j

I

  • S

d t t d f f d f RKDG

  • Second, we construct degrees of freedom of RKDG

at the target cell with a local orthogonal basis

( ) ( )

1 ( ) ( )

l l

d d

, , , ,

( ) ( ) , ( ) 2

( , ) ( , ) ( ( , ))

i j i j i j i j

l l i j I l I I I

u p x y v x y dxdy v x y dxdy 

 

  • At last we get Gauss quadrature point values and
  • At last, we get Gauss quadrature point values and

form the interface flux for RKDG

( )

ˆ ˆ ( , )

RKDG LF I

f f u u

 

 ( , )

I

f f u u

slide-30
SLIDE 30

RKDG+WENO-FD method: shock approaching

Indicator of polluted cell:

W d fi

, i j

I

1, i j

I 

e

I

We define

( ) , r i j g

u u u

 

and

( ) r g

u

1, , i j i j

u u u

 

  

, i j e

u u u

  

A TVD(TVB) smooth indicator is applied at the coupling interface to indicate possible discontinuities:

 

(mod)

( )   ( , , ) u m u u u

 

  

where m(a1,a2,a3) is TVD(TVB) minmod function.

slide-31
SLIDE 31

RKDG+WENO-FD method: hybrid meshes

Hybrid RKDG+WENO-FD approach

  • Initiate WENO and RKDG data;
  • Construct Lagrange interpolation at the interface and use coupling
  • Construct Lagrange interpolation at the interface and use coupling

interface indicator;

  • Ch

th li h t th i t f

  • Choose the coupling scheme at the interface:

(1)If the stencil is polluted, choose conservative coupling at the interface(WENO-FD flux is used); (2)if solution in the stencil is smooth enough, choose non-conservative coupling.

  • Space discretization RKDG and WENO-FD domain;
  • Time discretization
  • Time discretization.
slide-32
SLIDE 32

Outline

BeiHang University

  • Introduction
  • Introduction
  • RKDG and WENO FD methods
  • RKDG and WENO-FD methods
  • Hybrid RKDG+WENO FD method
  • Hybrid RKDG+WENO-FD method
  • Numerical results
  • Numerical results
  • Conclusions and future work
  • Conclusions and future work
slide-33
SLIDE 33

Numerical results: Accuracy tests

Example 1-1D : 1D linear scalar conservation law

Accuracy of conservative hybrid y y Accuracy of non-conservative hybrid

slide-34
SLIDE 34

Numerical results: Accuracy tests

Example 1-1D: 1D linear scalar conservation law

Local conservation error of non-conservative hybrid

slide-35
SLIDE 35

Numerical results: Accuracy tests

Example 1: 2D linear scalar conservation law

W t t th f th h b id RKDG+WENO FD th d h li d t We test the accuracy of the hybrid RKDG+WENO-FD method when applied to solve a two dimensional linear scalar conservation law with exact boundary condition couple interface at x=0.5, 0<y<1.

0 ( , ) (0,1) (0,1)

t x y

u u u x y        ( ,0) sin(2 )sin(2 ) u x x y     

Hybrid mesh (h=1/20)

slide-36
SLIDE 36

Numerical results: Accuracy tests

Example 2: 2D scalar Burgers’ equation

W t t th f th h b id RKDG+WENO FD th d h li d t We test the accuracy of the hybrid RKDG+WENO-FD method when applied to solve a two dimensional Burgers’ equation with exact boundary condition couple interface at x=0, -1<y<1.

2 2

1 1 ( ) ( ) 0 ( , ) ( 1,1) ( 1,1) 2 2

t x y

u u u x y           2 2 ( , ,0) 0.5sin( ( )) 0.25 u x y x y       

0.5 / t  

slide-37
SLIDE 37

E l 2 2D l B ’ ti ti d Example 2: 2D scalar Burgers’ equation—continued

slide-38
SLIDE 38

Numerical results: 1D Euler systems

Example 3: Sod’s Shock Tube Problem

Artificial boundary at x=-0.5 & 0.5, t=0.4

slide-39
SLIDE 39

Numerical results: 1D Euler systems

Example 4: Two Interacting Blast Waves

(a)WENO-FD scheme (b) RKDG-WENO-FD hybrid method (a)WENO FD scheme (b) RKDG WENO FD hybrid method

Artificial boundary at x=0.25 & 0.75, t=0.038

slide-40
SLIDE 40

Numerical results: 2D scalar conservation law

Example 5: 2D scalar Burgers’ equation

W t t th f th h b id RKDG+WENO FD th d h li d t We test the accuracy of the hybrid RKDG+WENO-FD method when applied to solve a two dimensional Burgers’ equation with exact boundary condition couple interface at x=0, -1<y<1.

1.5 / t  

slide-41
SLIDE 41

Numerical results: 2D Euler systems

Example 6: Interaction of isentropic vortex and weak shock wave

Thi bl d ib th i t ti b t i t d

(b) 3 hybrid

This problem describes the interaction between a moving vortex and a stationary shock wave.

(a)Interaction of isentropic vortex and weak shock wave sample (b) 3-hybrid RKDG+WENO-FD method, density 30 contours from 1.0 to 1 24 mesh size wave, sample mesh, mesh size = 1/20. to 1.24, mesh size h=1/100, t=0.4, CPU time: 2148.7s. (c) 3-RKDG method density (d) 5-WENO- FD scheme, method, density 30 contours from 1.0 to 1.24, mesh size h=1/100 t=0 4 density 30 contours from 1.0 to 1.24, mesh size h=1/100, t=0.4, CPU time: 4105.9s. h=1/100, t=0.4, CPU time: 37.88s.

slide-42
SLIDE 42

Numerical results: 2D Euler systems

Example 7: Flow through a channel with a smooth bump

The computational domain is bounded between x = -1.5 and x = 1.5, and between the bump and y = 0.8. The bump is defined as

2

25

0 0625

x

y e 

We test two cases which is a subsonic flow with inflow Mach number is 0.5 with 0 angle of attack and a supersonic flow with Mach 2.0 with 0 angle of attack.

0.0625 y e 

  • FIG. Flow through a channel with a smooth bump, sample mesh,

mesh size = 1/20.

slide-43
SLIDE 43

Numerical results: 2D Euler systems

Example 8: Flow through a channel with a smooth bump

  • FIG. Subsonic flow, 3-hybrid RKDG+WENO-FD method, Mach number 15

contours from 0.44 to 0.74, mesh size h=1/20.

  • FIG. Supersonic flow,3-hybrid RKDG+WENO-FD method, density 25

contours from 0.55 to 1.95, mesh size h=1/50.

slide-44
SLIDE 44

Numerical results: 2D Euler systems

Example 9: Incident shock past a cylinder

The computational domain is a rectangle with length from = −1.5 to = 1.5 and height for = −1.0 to = 1.0 with a cylinder at the center. The diameter of the cylinder is 0.25 and its center is located at (0, 0). The incident shock wave i M h b f 2 81 d h i i i l di i i i l d 1 0 is at Mach number of 2.81 and the initial discontinuity is placed at = −1.0.

  • FIG. Comparison of sample Mesh. Left for RKDG; Right for

hybrid RKDG+WENOFD, mesh size = 1/20.

slide-45
SLIDE 45

Numerical results: 2D Euler systems

Example 9: Incident shock past a cylinder

(a) 3- hybrid RKDG+WENO-FD method, pressure 25 contours from 1 0 to 20 0 mesh size h=1/100 (b) 3- RKDG method, pressure 25 contours from 1.0 to 20.0, mesh size 1.0 to 20.0, mesh size h=1/100, t=0.5, CPU time: 7100.6s. h=1/100,t=0.5, CPU time: 41266.7s.

slide-46
SLIDE 46

Numerical results: 2D Euler systems

Example 10: Supsonic flow past a tri-airfoil

This is a test of supersonic flow past three airfoils(NACA0012) with Mach number 1.2 and the attack angle 0.0∘. In the sample hybrid mesh for this test case, unstructured meshes are applied in domain [−1.0, 3.0]×[−2.0, 2.0] around airfoils d d h d h i l d i and structured meshes used other computational domains.

  • FIG. Left Sample hybrid mesh, mesh size h=1/10. Right 3-hybrid RKDG+WENO-FD method,

20 density contours from 0.7 to 1.8, mesh size h=1/20.

slide-47
SLIDE 47

Numerical results: 2D Euler systems

Example 11: Double Mach Reflection

Thi i t d d t t f hi h l ti h hi h h 10 h k This is a standard test case for high resolution schemes which a mach 10 shock initially makes a 60o angle with a reflecting wall.

(a)Hybrid mesh h=1/20, interface y=0.2 (b)Hybrid RKDG+WENO-FD, h=1/120, CPU times: 39894.4s (c) RKDG, h=1/120, CPU times: 92743.4s (d) WENO-FD, h=1/120, CPU times: 607.8s ( ) , , ( ) , ,

  • FIG. Double mach reflection problem
slide-48
SLIDE 48

Numerical results: Efficiency Comparison

slide-49
SLIDE 49

Numerical results: Efficiency Comparison

slide-50
SLIDE 50

Numerical results: 2D Euler systems

Example 12: Subsonic flow past NACA0012 airfoil

This is a subsonic flow around a NACA0012 airfoil at Mach number 0.8 and the attack angle 1.25∘. Unstructured meshes are applied in domain [−1.0, 2.0]×[−1.0, 1.0] around airfoils.

  • FIG. 3-hybrid RKDG+WENO-FD method, 20 pressure contours from 0.6 to 0.8.
slide-51
SLIDE 51

Outline

BeiHang University

  • Introduction
  • Introduction
  • RKDG and WENO FD methods
  • RKDG and WENO-FD methods
  • Hybrid RKDG+WENO FD method
  • Hybrid RKDG+WENO-FD method
  • Numerical results
  • Numerical results
  • Conclusions and future work
  • Conclusions and future work
slide-52
SLIDE 52

Conclusions

  • A

l ti i l h i t d t bi i t l b d

  • A relative simple approach is presented to combine a point-value based

WENO-FD scheme with an averaged-value based RKDG method to higher

  • rder accuracy.
  • Special strategy is applied at coupling interface to preserve high order

accurate for smooth solution and avoid loss

  • f

conservation for accurate for smooth solution and avoid loss

  • f

conservation for discontinuities.

  • Numerical

results are demonstrated the flexibility

  • f

the hybrid RKDG+WENO-FD method in handling complex geometries and the capability of saving computational cost in comparison to the traditional p y g p p RKDG method.

slide-53
SLIDE 53

Future work

  • Accelerate convergence for steady flow
  • Accelerate convergence for steady flow
  • Adopt local mesh refinement and cut-cell approach
  • Extend to two dimensional N-S equations
slide-54
SLIDE 54

BeiHang University

liutg@.buaa.edu.cn

BeiHang University