ENO and WENO schemes. Further topics and time Integration

Similar documents
Strong Stability-Preserving (SSP) High-Order Time Discretization Methods

TOTAL VARIATION DIMINISHING RUNGE-KUTTA SCHEMES

A numerical study of SSP time integration methods for hyperbolic conservation laws

Math 660-Lecture 23: Gudonov s method and some theories for FVM schemes

Weighted Essentially Non-Oscillatory limiters for Runge-Kutta Discontinuous Galerkin Methods

Inverse Lax-Wendroff Procedure for Numerical Boundary Conditions of. Conservation Laws 1. Abstract

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

Strong Stability Preserving Time Discretizations

A New Fourth-Order Non-Oscillatory Central Scheme For Hyperbolic Conservation Laws

Hierarchical Reconstruction with up to Second Degree Remainder for Solving Nonlinear Conservation Laws

The RAMSES code and related techniques I. Hydro solvers

Design of optimal Runge-Kutta methods

Hierarchical Reconstruction with up to Second Degree Remainder for Solving Nonlinear Conservation Laws

Positivity-preserving high order schemes for convection dominated equations

YINGJIE LIU, CHI-WANG SHU, EITAN TADMOR, AND MENGPING ZHANG

Introduction to numerical schemes

A Bound-Preserving Fourth Order Compact Finite Difference Scheme for Scalar Convection Diffusion Equations

Numerical Methods for Conservation Laws WPI, January 2006 C. Ringhofer C2 b 2

Bound-preserving high order schemes in computational fluid dynamics Chi-Wang Shu

A class of the fourth order finite volume Hermite weighted essentially non-oscillatory schemes

30 crete maximum principle, which all imply the bound-preserving property. But most

CENTRAL DISCONTINUOUS GALERKIN METHODS ON OVERLAPPING CELLS WITH A NON-OSCILLATORY HIERARCHICAL RECONSTRUCTION

A parametrized maximum principle preserving flux limiter for finite difference RK-WENO schemes with applications in incompressible flows.

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Essentially Non-Oscillatory and Weighted Essentially Non-Oscillatory Schemes for Hyperbolic Conservation Laws

A Fourth-Order Central Runge-Kutta Scheme for Hyperbolic Conservation Laws

FDM for wave equations

The one-dimensional equations for the fluid dynamics of a gas can be written in conservation form as follows:

Finite Volume Schemes: an introduction

A New Class of Optimal High-Order Strong-Stability-Preserving Time Discretization Methods

Numerical Solutions for Hyperbolic Systems of Conservation Laws: from Godunov Method to Adaptive Mesh Refinement

A minimum entropy principle of high order schemes for gas dynamics. equations 1. Abstract

An Improved Non-linear Weights for Seventh-Order WENO Scheme

Weighted ENO Schemes

Constructing High-Order Runge-Kutta Methods with Embedded Strong-Stability-Preserving Pairs

Improvement of convergence to steady state solutions of Euler equations with. the WENO schemes. Abstract

Tutorial 2. Introduction to numerical schemes

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations

High Order Accurate Runge Kutta Nodal Discontinuous Galerkin Method for Numerical Solution of Linear Convection Equation

ARTICLE IN PRESS Mathematical and Computer Modelling ( )

High order finite difference Hermite WENO schemes for the Hamilton-Jacobi equations on unstructured meshes

Basics on Numerical Methods for Hyperbolic Equations

Development and stability analysis of the inverse Lax-Wendroff boundary. treatment for central compact schemes 1

Runge-Kutta discontinuous Galerkin method with a simple and compact Hermite WENO limiter

ICES REPORT A Multilevel-WENO Technique for Solving Nonlinear Conservation Laws

On the positivity of linear weights in WENO approximations. Abstract

A NUMERICAL STUDY FOR THE PERFORMANCE OF THE RUNGE-KUTTA FINITE DIFFERENCE METHOD BASED ON DIFFERENT NUMERICAL HAMILTONIANS

Numerical Methods for Hyperbolic Conservation Laws Lecture 4

Do not turn over until you are told to do so by the Invigilator.

A Fifth Order Flux Implicit WENO Method

Numerical Solutions to Partial Differential Equations

Preliminary Examination in Numerical Analysis

FDM for parabolic equations

ADER Schemes on Adaptive Triangular Meshes for Scalar Conservation Laws

Compact Central WENO Schemes for Multidimensional Conservation Laws

A Finite Volume Code for 1D Gas Dynamics

Spatial Discretization

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II

On High Order Strong Stability Preserving Runge Kutta and Multi Step Time Discretizations

NUMERICAL METHODS FOR ENGINEERING APPLICATION

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems

A genuinely high order total variation diminishing scheme for one-dimensional. scalar conservation laws 1. Abstract

Numerische Mathematik

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Time stepping methods

A Very Brief Introduction to Conservation Laws

MATHEMATICAL METHODS INTERPOLATION

Adaptive WENO Schemes for Singular in Space and Time Solutions of Nonlinear Degenerate Reaction-Diffusion Problems

The WENO Method for Non-Equidistant Meshes

CS205B / CME306 Homework 3. R n+1 = R n + tω R n. (b) Show that the updated rotation matrix computed from this update is not orthogonal.

Entropy stable high order discontinuous Galerkin methods. for hyperbolic conservation laws

Maximum-principle-satisfying and positivity-preserving high order schemes for conservation laws: Survey and new developments

Fifth order multi-moment WENO schemes for hyperbolic conservation laws

Info. No lecture on Thursday in a week (March 17) PSet back tonight

Numerical Methods for Engineers and Scientists

THE CLOSEST POINT METHOD FOR TIME-DEPENDENT PROCESSES ON SURFACES

FINITE VOLUME METHODS FOR ONE-DIMENSIONAL SCALAR CONSERVATION LAWS

Strong Stability Preserving Properties of Runge Kutta Time Discretization Methods for Linear Constant Coefficient Operators

Krylov single-step implicit integration factor WENO methods for advection-diffusion-reaction equations

Partial differential equations

difference operators.

Lecture V: The game-engine loop & Time Integration

A Stable Spectral Difference Method for Triangles

Numerical Smoothness and PDE Error Analysis

Stability properties of a family of chock capturing methods for hyperbolic conservation laws

Selected HW Solutions

Third Order Reconstruction of the KP Scheme for Model of River Tinnelva

Notes: Outline. Shock formation. Notes: Notes: Shocks in traffic flow

FUNDAMENTALS OF LAX-WENDROFF TYPE APPROACH TO HYPERBOLIC PROBLEMS WITH DISCONTINUITIES

HFVS: An Arbitrary High Order Flux Vector Splitting Method

Well-balanced central finite volume methods for the Ripa system

A positivity-preserving high order discontinuous Galerkin scheme for convection-diffusion equations

Math 7824 Spring 2010 Numerical solution of partial differential equations Classroom notes and homework

1 Introduction to MATLAB

Lecture 4: Numerical solution of ordinary differential equations

Part 1. The diffusion equation

Chapter 17. Finite Volume Method The partial differential equation

Numerical Oscillations and how to avoid them

Transcription:

ENO and WENO schemes. Further topics and time Integration Tefa Kaisara CASA Seminar 29 November, 2006

Outline 1 Short review ENO/WENO 2 Further topics Subcell resolution Other building blocks 3 Time Integration TVD Runge-Kutta methods TVD multistep methods Lax-Wendroff procedure

Outline 1 Short review ENO/WENO 2 Further topics Subcell resolution Other building blocks 3 Time Integration TVD Runge-Kutta methods TVD multistep methods Lax-Wendroff procedure

ENO/WENO Solving hyperbolic conservation laws,consider; Class of piecewise smooth functions,v(x) Fixed stencil,s(i) = {I i r,..., I i+s }, approximation may lead to oscillations near the discontinuity Adaptive stencil; left shift r

ENO/WENO ENO Procedure Compute the divided differences, using the cell averages. For cell I i start with the two-point stencil S(i) = {xi 1 2, x i+ 1 }. 2 Add one of the two neighbouring points,using Newton divided difference measure. Repeat previous step until a k-th order stencil is obtained. Use reconstruction method to compute the approximation to v(x) In the stencil choosing process, k candidate stencils are considered covering 2k 1 cells, but only one stencil is used to reconstruct.

ENO/WENO To improve the accuracy: Assume a uniform grid, i.e. x i = x, i = 1,..., N. Consider the k candidate stencils S r (i) = {x i r,..., x i r+k 1 } r = 0,..., k 1. The reconstruction produces k different approximations to the value v(x i+ 1 ) : 2 k 1 v (r) = c i+ 1 rj v i r+j r = 0,..., k 1 (1.1) 2 j=0 WENO takes a convex combination of the v (r) s. i+ 1 2

Outline 1 Short review ENO/WENO 2 Further topics Subcell resolution Other building blocks 3 Time Integration TVD Runge-Kutta methods TVD multistep methods Lax-Wendroff procedure

Subcell resolution Instead of using the reconstruction polynomial P i (x) in the shocked cell I i, find the location of discontinuity inside I i, say x s Use neighbouring reconstructions P i 1 (x) and P i+1 (x) Extend P i 1 (x) and P i+1 (x) into the cell I i Require that the cell average v i is preserved: xs x i 1 2 xi + 1 2 P i 1 (x)dx + P i+1 (x)dx = x i v i x s

Other building blocks Examples idea rational functions trigonometric polynomials exponential functions radial functions Find suitable smooth indicators similar to Newton divided difference for the polynomial case.

Outline 1 Short review ENO/WENO 2 Further topics Subcell resolution Other building blocks 3 Time Integration TVD Runge-Kutta methods TVD multistep methods Lax-Wendroff procedure

TVD Runge-Kutta methods Consider, system of ODEs u t = L(u) resulting from spatial approximation to PDE; Construction u t = f (u) x Assume: First order Euler forward time stepping is stable in a certain norm u n+1 = u n + tl(u n ) u n+1 u n under a suitable restriction on t : t t 1 For higher order in time Runge-Kutta methods,

TVD Runge-Kutta methods General Runge-Kutta method u (i) = i 1 ( ) α ik u k + tβ ik L(u (k) ), i = 1,..., m (3.2) k=0 u (0) = u n, u (m) = u n+1 For α ik 0, β ik 0 convex combination of Euler forward operators t replaced by α ik β ik t Consistency; i 1 α ik = 1. k=0

TVD Runge-Kutta methods Lemma The Runge-Kutta method (3.2) is TVD under the CFL coefficient (3.1) c = min i,k provided; α ik 0 and β ik 0. α ik β ik

TVD Runge-Kutta methods Optimal schemes Second order TVD Runge-Kutta u (1) = u n + tl(u n ) u n+1 = 1 2 un + 1 2 u(1) + 1 2 tl(u(1) ) with CFL c = 1. Third order TVD R-K u (1) = u n + tl(u n ) u (2) = 3 4 un + 1 4 u(1) + 1 4 tl(u(1) ) u n+1 = 1 3 un + 2 3 u(2) + 2 3 tl(u(2) ) Fourth order TVD Runge-Kutta method does not exist with for positive α ik and β ik

TVD Runge-Kutta methods Consider α ik 0 and β ik negative introduce an adjoint operator L it approximates the same spatial derivatives as L TVD for first order Euler, backward in time: u n+1 = u n t Lu n

TVD Runge-Kutta methods Lemma The Runge-Kutta method (3.2) is TVD under the CFL coefficient (3.1) c = min i,k α ik β ik provided; α ik 0 and L replaced by L

TVD Runge-Kutta methods Fourth order TVD R-K u (1) = u n + 1 2 tl(un ) u (2) = u (3) = 649 1600 u(0) 10890423 25193600 t L(u n ) + 951 1600 u(1) + 5000 7873 tlu(1) 53989 2500000 un 102261 5000000 t L(u n ) + 4806213 20000000 u(1) 5121 20000 t L(u (1) ) + 23619 32000 u(2) + 7873 10000 tl(u(2) ) u n+1 = 1 5 un + 1 10 tl(un ) + 6127 30000 u(1) + 1 6 tl(u(1) ) + 7873 30000 u(2) + 1 3 u(3) + 1 6 tl(u(3) )

TVD Runge-Kutta methods Example Burgers equation with Riemann initial data u(x, 0) = ( ) 1 u t + 2 u2 = 0 x { 1, x 0 0.5, x > 0 Spatial discretization : 2 nd order ENO Scheme Monotone flux h: Godunov flux Time discretization TVD R-K method :Optimal 2 nd order Non-TVD R-K u (1) = u n 20 tl(u n ) u n+1 = u n + 41 40 u(1) 1 40 tl(u(1) )

TVD Runge-Kutta methods conclusion It is much safer to use TVD Runge-Kutta Method for solving hyperbolic problem.

TVD multistep methods Construction Similar to Runge-kutta Methods General From m 1 u n+1 = (α k u n k + tβ k L(u n k )) (3.3) k=0 For α k 0, β k 0 convex combination of Euler Forward operators t replaced by β k α k t Consistency; m α k = 1. k=0

TVD multistep methods Lemma The multi-step method (3.3) is TVD under the CFL coefficient (3.1) provided; α k 0 and β k 0 c = min k α k β k

TVD multistep methods Examples (m=2) three step, second order scheme, TVD with c=0.5 u n+1 = 3 4 un + 3 2 tl(un ) + 1 4 un 2 (3.4) (m=4) five step,third order scheme, TVD with c=0.5 u n+1 = 25 32 un + 25 16 tl(un ) + 7 32 un 4 + 5 16 tl(un 4 ) There are no multi-step schemes of order four or higher satisfying positive α k and β k

TVD multistep methods Lemma The multi-step method (3.3) is TVD under the CFL coefficient (3.1) c = min k α k β k provided; α k 0 and, L is replaced by L for β k negative. one residue evaluation is needed per time step storage requirement is much bigger that Runge-Kutta methods

Lax-Wendroff procedure Idea Taylor series expansion in time: u(x, t + t) = u(x, t) + u t (x, t) t + u tt (x, t) t 2 +... (3.5) 2 Illustration u t = f (u) x second order Taylor series expansion Replace time derivatives by the spatial derivatives

Lax-Wendroff procedure u t (x, t) = f (u(x, t)) x = f (u(x, t))u x (x, t) u tt (x, t) = 2f (u(x, t))f (u(x, t))(u x (x, t)) 2 + (f (u(x, t))) 2 u xx (x, t) (3.6) Substituting (3.6) into (3.5) Discretize the spatial derivatives of u(x, t) by ENO/WENO Integrate the pde u t (x, t) + f x (u(x, t)) = 0 over the region [x i 1, x 2 i+ 1 ] [t n, t n+1 ] to obtain 2 ū n+1 i = ū n i 1 x i ( t n+1 f (u(x i+ 1, t)) dt t n 2 t n+1 Discretize time using suitable Gaussian quadrature 1 t t n+1 f (u(x i+ 1, t)) dt t n 2 α f (u(x i 1, t)) dt t n 2 ω α f (u(x i+ 1, t n + β α t)) 2 ) (3.7)

Lax-Wendroff procedure replacing f (u(x i+ 1, t n + β α t)) by a monotone flux 2 f (u(x i+ 1, t n + β α t)) h(u(x ±, t n + β 2 i+ 1 α t) 2 use the Lax-Wendroff procedure to convert u(x ±, t n + β i+ 1 α t) (3.8) 2 to u(x ±, t n ) and its spacial derivatives at t n. i+ 1 2

Lax-Wendroff procedure limitations Algebra is very complicated for multi dimensional systems difficult to prove stability properties for higher order methods