Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation

Similar documents
2.29 Numerical Fluid Mechanics Spring 2015 Lecture 13

Tutorial 2. Introduction to numerical schemes

3.3. Phase and Amplitude Errors of 1-D Advection Equation

2.2. Methods for Obtaining FD Expressions. There are several methods, and we will look at a few:

PDE Solvers for Fluid Flow

Conservation of Mass (Eulerian Framework)

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

Applied Mathematics 205. Unit III: Numerical Calculus. Lecturer: Dr. David Knezevic

Chapter 10 Exercises

Partial differential equations

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE]

Finite Difference Methods for

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

MIT (Spring 2014)

Lecture 17: Initial value problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems

FDM for wave equations

FUNDAMENTALS OF FINITE DIFFERENCE METHODS

Lecture Notes on Numerical Schemes for Flow and Transport Problems

PDEs, part 3: Hyperbolic PDEs

Finite difference methods for the diffusion equation

Method of Lines. Received April 20, 2009; accepted July 9, 2009

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

Numerical Methods for PDEs

Finite Differences: Consistency, Stability and Convergence

Finite Difference Method for PDE. Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36

Fundamentals Physics

Numerical Solutions to PDE s

Part 1. The diffusion equation

7 Hyperbolic Differential Equations

2.3. Quantitative Properties of Finite Difference Schemes. Reading: Tannehill et al. Sections and

Introduction to numerical schemes

Introduction to PDEs and Numerical Methods: Exam 1

Additive Manufacturing Module 8

Advection, Conservation, Conserved Physical Quantities, Wave Equations

Dissipation and Dispersion

arxiv: v1 [physics.comp-ph] 22 Feb 2013

Numerical methods Revised March 2001

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q

Approximations of diffusions. Mathématiques appliquées (MATH0504-1) B. Dewals, Ch. Geuzaine

Time stepping methods

2 Multidimensional Hyperbolic Problemss where A(u) =f u (u) B(u) =g u (u): (7.1.1c) Multidimensional nite dierence schemes can be simple extensions of

Chapter 1. Introduction

Introduction to Heat and Mass Transfer. Week 9

Numerical Integration of Linear and Nonlinear Wave Equations

Numerical Solutions to Partial Differential Equations

FDM for parabolic equations

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

Last time: Diffusion - Numerical scheme (FD) Heat equation is dissipative, so why not try Forward Euler:

Chapter 4. Nonlinear Hyperbolic Problems

Weighted ENO Schemes

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

Burgers equation - a first look at fluid mechanics and non-linear partial differential equations

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING CAMBRIDGE, MASSACHUSETTS NUMERICAL FLUID MECHANICS FALL 2011

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

3.4. Monotonicity of Advection Schemes

1 Introduction to MATLAB

Numerics: The analysis and implementation of numerical methods for solving differential equations

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

Numerics: The analysis and implementation of numerical methods for solving differential equations

Numerical Solutions to Partial Differential Equations

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs

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

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

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

Finite Volume Schemes: an introduction

Before we look at numerical methods, it is important to understand the types of equations we will be dealing with.

Basic Aspects of Discretization

Split explicit methods

THREE-DIMENSIONAL FINITE DIFFERENCE MODEL FOR TRANSPORT OF CONSERVATIVE POLLUTANTS

ME Computational Fluid Mechanics Lecture 5

Numerically Solving Partial Differential Equations

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews.

Scientific Computing: An Introductory Survey

Numerical Solution Techniques in Mechanical and Aerospace Engineering

An Overview of Fluid Animation. Christopher Batty March 11, 2014

Numerical Hydraulics

Acoustic Wave Equation

Finite Volume Method

12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis

Final: Solutions Math 118A, Fall 2013

Basics of Discretization Methods

Numerical Methods for Partial Differential Equations CAAM 452. Spring 2005

Chapter 5 Types of Governing Equations. Chapter 5: Governing Equations

Francis X. Giraldo,

Hydraulic Modelling for Drilling Automation

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

Stability of Finite Difference Schemes on the Diffusion Equation with Discontinuous Coefficients

Krylov Implicit Integration Factor Methods for Semilinear Fourth-Order Equations

1 Upwind scheme for advection equation with variable. 2 Modified equations: numerical dissipation and dispersion

Introduction to Partial Differential Equations

Design of optimal Runge-Kutta methods

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Fraunhofer Institute for Computer Graphics Research Interactive Graphics Systems Group, TU Darmstadt Fraunhoferstrasse 5, Darmstadt, Germany

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

The Hopf equation. The Hopf equation A toy model of fluid mechanics

Introduction to multiscale modeling and simulation. Explicit methods for ODEs : forward Euler. y n+1 = y n + tf(y n ) dy dt = f(y), y(0) = y 0

Lecture 6: Introduction to Partial Differential Equations

Lecture 5: Single Step Methods

Level Set and Phase Field Methods: Application to Moving Interfaces and Two-Phase Fluid Flows

Transcription:

Chapter 3. Finite Difference Methods for Hyperbolic Equations 3.1. Introduction Most hyperbolic problems involve the transport of fluid properties. In the equations of motion, the term describing the transport process is often called convection or advection. E.g., the 1-D equation of motion is du u u 1 p = + = + dt t x ρ x 2 u v u. (1) Here the advection term u u x term is nonlinear. We will focus first on linear advection problem, and move to nonlinear problems later. From (1), we can see the transport process can be expressed in the Lagrangian form (in which the change of momentum u along a particle, du/dt, is used) and the Eulerian form. With the former, advection term does not explicitly appear. Later in this course, we will also discuss semi-lagrangian method for solving the transport problems. In this chapter, we discuss only the Eulerian advection equation. 3.2. Linear convection 1-D wave equation 3.2.1. The wave equations 3-1

The classical 2nd-order hyperbolic wave equation is u t u x 2 = c. (2) The equation describes wave propagation at a speed of c in two directions. The 1st-order equation that has properties similar to (2) is u t u + c = 0. (3) x Note that Eq.(2) can be obtained from Eq.(3), by taking a time derivative of (3) and resubstituting (3) into the new equation. For a pure initial value problem with initial condition u(x, 0) = F(x), < x <, the exact solution to (3) is u(x,t) = F(x-ct), which we have obtained earlier using the method of characteristics. We know that the solution represents a signal propagating at speed c. 3.2.2. Centered in time and space (CTCS) FD scheme for 1-D wave equation We apply the centered in time and space (CTCS) scheme to Eq.(2): 3-2

n+ 1 n n 1 n n n ui 2ui + ui 2 ui+ 1 2ui + ui 1 c = 0. t x (4) We find for this scheme, τ = O( t + x ). Performing von Neumann stability analysis, we can obtain a quadratic equation for amplification factor λ: 1/2 k x k x k x λ ± = 1 2 p sin ± 2 psin p sin 1 2 where c t p = x which is the fraction of zone distance moved in t at speed c. k x Letθ = psin, we have 2 λ θ θ θ = 1/2 1 2 ± ± 2 [ 1]. We want to see under what condition, if any, λ ± 1. 3-3

We consider two possible cases. Case I: If θ 1, then λ is complex: λ = 1 2θ ± ± i2 θ[1 θ ] 1/2 2 λ (1 2 θ ) 4 θ [1 θ ] 1 ± = + = Therefore, when θ 1, the amplification factor is always 1, which is what we want to pure advection! θ 1 p k x sin 1 2 We want the above to be true for all k, therefore p 2 1 has to be satisfied for all value of sin 2 (). p 2 1 c t p = 1, x which is the same as the condition we obtained earlier using energy method for FTUS scheme. Case II: If θ 1, λ is real: λ 1 2θ 2 θ[ θ 1] = 2 ± 2 1/2 ± 3-4

λ (1 2θ 2 θ[ θ 1] ) 2 1/ ± = ±, you can show for yourself that λ ± > 1 therefore the scheme is unstable. 3-5

3.2.3. Courant-Friedrichs-Lewy (CFL) Stability Criterion Let s consider the stability condition obtained above using the concept of domain of dependence. Recall from earlier discussion, the solution at (x 1, t 1 ) depends on data in the interval [x 1 at 1, x 1 + at 1 ], and the D.O.D. is the area enclosed by the two characteristics lines. Based on the following discretization stencil, we can construct a numerical domain of dependence below: 3-6

Case I: When the numerical DOD is smaller than the PDE's DOD (which usually happens when t is large), the numerical solution cannot be expected to converge to the true solution, because the numerical solution is not using part of the initial condition, e.g., the initial values in the intervals of A and B. The true solution, however, is definitely dependent on the initial values in these intervals. Different initial values there will result in different true solutions, while the numerical solution remains unaffected by their values. We therefore cannot expect the solutions to match. The numerical solution must then be unstable. Otherwise, the Lax's Equivalence theorem is violated. The above situation occurs when t / x > 1/ c unstable solution. This agrees with the result of our stability analysis. Case II: When t / x = 1/c, the PDE DOD coincides with the numerical DOD, the scheme is stable. 3-7

Case III: When t / x < 1/c, the PDE DOD is contained within the numerical DOD: the numerical solution now fully depends on the initial condition. It is possible for the scheme to be stable. In the case of CTCS scheme, it is indeed the case. Definition: c t x = σ = Courant number The condition that σ 1 for stability is known as the Courant-Friedrichs-Lewy (CFL) stability criterion. The CFL condition requires that the numerical domain of dependence of a finite difference scheme include the domain of dependence of the associated partial differential equation. Satisfaction of the CFL condition is a necessary, not a sufficient condition for stability. 3-8

E.g., the second-order centered-in-time and fourth-order centered-in-space scheme for a 1-D advection equation requires σ 0.728 for stability whereas the D.O.D condition requires that σ 2. Example 2: The forward-in-time, centered-in-space scheme is absolutely unstable, even if the CFL condition is satisfied. The DOD concept explains why implicit schemes can be unconditionally stable it is because their numerical DOD always contains the PDE's DOD e.g., the second-order in time and space implicit scheme for wave equation (2): 2 n c n+ 1 n n 1 δttu = [ δxxu + 2 δxxu + δxxu ]. 4 is stable for all σ. The numerical DOD is: 3-9

The numerical DOD covers the PDE's DOD. Read Durran sections 2.2.2 and 2.2.3, which discuss the CFL criterion using the forward-in-time upstream-in-space (also called upwind) scheme. 3-10