Conservation Laws and Finite Volume Methods

Similar documents
Conservation Laws and Finite Volume Methods

Notes: Outline. Diffusive flux. Notes: Notes: Advection-diffusion

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

Characteristics for IBVP. Notes: Notes: Periodic boundary conditions. Boundary conditions. Notes: In x t plane for the case u > 0: Solution:

AMath 574 February 11, 2011

Clawpack Tutorial Part I

Notes: Outline. Shallow water equations. Notes: Shallow water equations. Notes:

Numerical Methods for Hyperbolic Conservation Laws Lecture 4

High-resolution finite volume methods for hyperbolic PDEs on manifolds

A Very Brief Introduction to Conservation Laws

Finite Volume Schemes: an introduction

Non-linear Scalar Equations

Clawpack Tutorial Part I

Numerical Solutions to Partial Differential Equations

Traffic Flow Problems

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

INTRODUCTION TO PDEs

Scientific Computing I

The shallow water equations Lecture 8. (photo due to Clark Little /SWNS)

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

PDEs, part 3: Hyperbolic PDEs

Wave Propagation Software, Computational Science, and Reproducible Research

The Orchestra of Partial Differential Equations. Adam Larios

MATH 220: Problem Set 3 Solutions

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

Basics on Numerical Methods for Hyperbolic Equations

Lecture No 1 Introduction to Diffusion equations The heat equat

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

ENO and WENO schemes. Further topics and time Integration

Chapter 10: Partial Differential Equations

Advection, Conservation, Conserved Physical Quantities, Wave Equations

Introduction to Partial Differential Equations

Chapter 3 Burgers Equation

Équation de Burgers avec particule ponctuelle

Math Partial Differential Equations 1

Partial Differential Equations

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

MATH 220: Problem Set 3 Solutions

Linear Hyperbolic Systems

Salmon: Lectures on partial differential equations

7 Hyperbolic Differential Equations

SEMIGROUP APPROACH FOR PARTIAL DIFFERENTIAL EQUATIONS OF EVOLUTION

Modeling using conservation laws. Let u(x, t) = density (heat, momentum, probability,...) so that. u dx = amount in region R Ω. R

Reading: P1-P20 of Durran, Chapter 1 of Lapidus and Pinder (Numerical solution of Partial Differential Equations in Science and Engineering)

Initial Boundary Value Problems for Scalar and Vector Burgers Equations

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

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

Advanced numerical methods for nonlinear advectiondiffusion-reaction. Peter Frolkovič, University of Heidelberg

The Fourier series for a 2π-periodic function

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

Salmon: Lectures on partial differential equations

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

Numerical Approximations to the Boussinesq Equations

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

Scientific Computing: An Introductory Survey

Notes on theory and numerical methods for hyperbolic conservation laws

Numerical Methods for PDEs

A Well-Balanced Path-Integral f-wave Method for Hyperbolic Problems with Source Terms

Strauss PDEs 2e: Section Exercise 4 Page 1 of 6

PDE and Boundary-Value Problems Winter Term 2014/2015

Part 1. The diffusion equation

Various lecture notes for

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

Coupling conditions for transport problems on networks governed by conservation laws

Calculating Storm Surge and Other Coastal Hazards Using Geoclaw

Hyperbolic Systems of Conservation Laws

θ x = f ( x,t) could be written as

Waves in a Shock Tube

Math 124A October 11, 2011

Table of Contents. II. PDE classification II.1. Motivation and Examples. II.2. Classification. II.3. Well-posedness according to Hadamard

Scalar Conservation Laws and First Order Equations Introduction. Consider equations of the form. (1) u t + q(u) x =0, x R, t > 0.

Finite Volume Method

NUMERICAL SOLUTION OF HYPERBOLIC PARTIAL DIFFERENTIAL EQUATIONS

The Discontinuous Galerkin Method for Hyperbolic Problems

Regularity and Lyapunov stabilization of weak entropy solutions to scalar conservation laws

Hyperbolic Systems of Conservation Laws. in One Space Dimension. I - Basic concepts. Alberto Bressan. Department of Mathematics, Penn State University

0.3.4 Burgers Equation and Nonlinear Wave

Computational Astrophysics 7 Hydrodynamics with source terms

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

Bose-Einstein Condensation and Global Dynamics of Solutions to a Hyperbolic Kompaneets Equation

A Space-Time Expansion Discontinuous Galerkin Scheme with Local Time-Stepping for the Ideal and Viscous MHD Equations

Diffusion Processes. Lectures INF2320 p. 1/72

Travelling waves. Chapter 8. 1 Introduction

Well-posedness, stability and conservation for a discontinuous interface problem: an initial investigation.

Alexei F. Cheviakov. University of Saskatchewan, Saskatoon, Canada. INPL seminar June 09, 2011

Phase Plane Behavior of Solitary Waves in Nonlinear Layered Media

Conservation Laws & Applications

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

Introduction to PDEs and Numerical Methods Lecture 1: Introduction

Educjatipnal. L a d ie s * COBNWALILI.S H IG H SCHOOL. I F O R G IR L S A n B k i n d e r g a r t e n.

Introduction to Partial Differential Equations, Math 463/513, Spring 2015

Regularity and Lyapunov stabilization of weak entropy solutions to scalar conservation laws

Comparison of Approximate Riemann Solvers

MATH-UA 263 Partial Differential Equations Recitation Summary

Conservation and dissipation principles for PDEs

Introduction to hyperbolic PDEs and Shallow Water Equations

The RAMSES code and related techniques 4. Source terms

Structured Population Models: Measure-Valued Solutions and Difference Approximations

Hyperbolic Conservation Laws Past and Future

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

Transcription:

Conservation Laws and Finite Volume Methods AMath 574 Winter Quarter, 2011 Randall J. LeVeque Applied Mathematics University of Washington January 3, 2011 R.J. LeVeque, University of Washington AMath 574, January 3, 2011

Course outline Main goals: Theory of hyperbolic conservation laws in one dimension Finite volume methods in 1 and 2 dimensions Some applications: advection, acoustics, Burgers, shallow water equations, gas dynamics, traffic flow Use of the Clawpack software: www.clawpack.org Slides will be posted and green links can be clicked. http://kingkong.amath.washington.edu/trac/am574w11 R.J. LeVeque, University of Washington AMath 574, January 3, 2011

Outline Today: Hyperbolic equations Advection Riemann problem Diffusion Clawpack Acoustics Reading: Chapters 1 and 2 R.J. LeVeque, University of Washington AMath 574, January 3, 2011

First order hyperbolic PDE in 1 space dimension Linear: q t + Aq x = 0, q(x, t) lr m, A lr m m Conservation law: q t + f(q) x = 0, f : lr m lr m (flux) Quasilinear form: q t + f (q)q x = 0 Hyperbolic if A or f (q) is diagonalizable with real eigenvalues. Models wave motion or advective transport. Eigenvalues are wave speeds. Note: Second order wave equation p tt = c 2 p xx can be written as a first-order system (acoustics). R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 1.1]

Derivation of Conservation Laws q(x, t) = density function for some conserved quantity, so x2 x 1 q(x, t) dx = total mass in interval changes only because of fluxes at left or right of interval. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Chap. 2]

Derivation of Conservation Laws q(x, t) = density function for some conserved quantity. Integral form: d x2 q(x, t) dx = F 1 (t) F 2 (t) dt x 1 where F j = f(q(x j, t)), f(q) = flux function. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Chap. 2]

Derivation of Conservation Laws If q is smooth enough, we can rewrite as or d dt x2 x 1 q(x, t) dx = f(q(x 1, t)) f(q(x 2, t)) x2 x 1 x2 q t dx = f(q) x dx x 1 x2 x 1 (q t + f(q) x ) dx = 0 True for all x 1, x 2 = differential form: q t + f(q) x = 0. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Chap. 2]

Finite differences vs. finite volumes Finite difference Methods Pointwise values Q n i q(x i, t n ) Approximate derivatives by finite differences Assumes smoothness Finite volume Methods Approximate cell averages: Q n i 1 xi+1/2 q(x, t n ) dx x x i 1/2 Integral form of conservation law, xi+1/2 q(x, t) dx = f(q(x t i 1/2, t)) f(q(x i+1/2, t)) x i 1/2 leads to conservation law q t + f x = 0 but also directly to numerical method. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [ FVMHP Chap. 4]

Advection equation u = constant flow velocity q(x, t) = tracer concentration, f(q) = uq = q t + uq x = 0. True solution: q(x, t) = q(x ut, 0) R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Advection equation u = constant flow velocity q(x, t) = tracer concentration, f(q) = uq = q t + uq x = 0. True solution: q(x, t) = q(x ut, 0) R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Advection equation u = constant flow velocity q(x, t) = tracer concentration, f(q) = uq = q t + uq x = 0. True solution: q(x, t) = q(x ut, 0) R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Characteristics for advection q(x, t) = η(x ut) = q is constant along lines X(t) = x 0 + ut, t 0. Can also see that q is constant along X(t) from: In x t plane: d dt q(x(t), t) = q x(x(t), t)x (t) + q t (X(t), t) = q x (X(t), t)u + q t (X(t), t) = 0. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Cauchy problem for advection Advection equation on infinite 1D domain: q t + uq x = 0 < x <, t 0, with initial data q(x, 0) = η(x) < x <. Solution: q(x, t) = η(x ut) < x <, t 0. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Initial boundary value problem (IBVP) for advection Advection equation on finite 1D domain: q t + uq x = 0 a < x < b, t 0, with initial data q(x, 0) = η(x) a < x < b. and boundary data at the inflow boundary: If u > 0, need data at x = a: q(a, t) = g(t), t 0, If u < 0, need data at x = b: q(b, t) = g(t), t 0, R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Characteristics for IBVP In x t plane for the case u > 0: Solution: q(x, t) = { η(x ut) if a x ut b, g((x a)/u) otherwise. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

Periodic boundary conditions q(a, t) = q(b, t), t 0. In x t plane for the case u > 0: Solution: q(x, t) = η(x 0 (x, t)), where X 0 (x, t) = a + mod(x ut a, b a). R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.1]

The Riemann problem The Riemann problem consists of the hyperbolic equation under study together with initial data of the form { ql if x < 0 q(x, 0) = q r if x 0 Piecewise constant with a single jump discontinuity from q l to q r. The Riemann problem is fundamental to understanding The mathematical theory of hyperbolic problems, Godunov-type finite volume methods Why? Even for nonlinear systems of conservation laws, the Riemann problem can often be solved for general q l and q r, and consists of a set of waves propagating at constant speeds. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 3.8]

The Riemann problem for advection The Riemann problem for the advection equation q t + uq x = 0 with { ql if x < 0 q(x, 0) = q r if x 0 has solution { ql if x < ut q(x, t) = q(x ut, 0) = if x ut consisting of a single wave of strength W 1 = q r q l propagating with speed s 1 = u. q r R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 3.8]

Riemann solution for advection q(x, T ) x t plane q(x, 0) R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 3.8]

Discontinuous solutions Note: The Riemann solution is not a classical solution of the PDE q t + uq x = 0, since q t and q x blow up at the discontinuity. Integral form: d x2 q(x, t) dx = uq(x 1, t) uq(x 2, t) dt x 1 Integrate in time from t 1 to t 2 to obtain x2 x 1 q(x, t 2 ) dx = t2 t 1 x2 x 1 uq(x 1, t) dt q(x, t 1 ) dx t2 t 1 uq(x 2, t) dt. The Riemann solution satisfies the given initial conditions and this integral form for all x 2 > x 1 and t 2 > t 1 0. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 3.7]

Diffusive flux q(x, t) = concentration β = diffusion coefficient (β > 0) diffusive flux = βq x (x, t) q t + f x = 0 = diffusion equation: q t = (βq x ) x = βq xx (if β = const). R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.2]

Diffusive flux q(x, t) = concentration β = diffusion coefficient (β > 0) diffusive flux = βq x (x, t) q t + f x = 0 = diffusion equation: q t = (βq x ) x = βq xx (if β = const). Heat equation: Same form, where q(x, t) = density of thermal energy = κt (x, t), T (x, t) = temperature, κ = heat capacity, flux = βt (x, t) = (β/κ)q(x, t) = q t (x, t) = (β/κ)q xx (x, t). R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.2]

Advection-diffusion q(x, t) = concentration that advects with velocity u and diffuses with coefficient β: Advection-diffusion equation: flux = uq βq x. q t + uq x = βq xx. If β > 0 then this is a parabolic equation. Advection dominated if u/β (the Péclet number) is large. Fluid dynamics: parabolic terms arise from thermal diffusion and diffusion of momentum, where the diffusion parameter is the viscosity. R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 2.2]

Discontinuous solutions Vanishing Viscosity solution: The Riemann solution q(x, t) is the limit as ɛ 0 of the solution q ɛ (x, t) of the parabolic advection-diffusion equation q t + uq x = ɛq xx. For any ɛ > 0 this has a classical smooth solution: R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 11.6]

Discontinuous solutions Vanishing Viscosity solution: The Riemann solution q(x, t) is the limit as ɛ 0 of the solution q ɛ (x, t) of the parabolic advection-diffusion equation q t + uq x = ɛq xx. For any ɛ > 0 this has a classical smooth solution: R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 11.6]

Discontinuous solutions Vanishing Viscosity solution: The Riemann solution q(x, t) is the limit as ɛ 0 of the solution q ɛ (x, t) of the parabolic advection-diffusion equation q t + uq x = ɛq xx. For any ɛ > 0 this has a classical smooth solution: R.J. LeVeque, University of Washington AMath 574, January 3, 2011 [FVMHP Sec. 11.6]