Conservation Laws and Finite Volume Methods

Similar documents
Conservation Laws and Finite Volume Methods

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

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

Clawpack Tutorial Part I

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

High-resolution finite volume methods for hyperbolic PDEs on manifolds

Numerical Methods for Hyperbolic Conservation Laws Lecture 4

A Very Brief Introduction to Conservation Laws

Numerical Solutions to Partial Differential Equations

Non-linear Scalar Equations

Basics on Numerical Methods for Hyperbolic Equations

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

Clawpack Tutorial Part I

Finite Volume Schemes: an introduction

Traffic Flow Problems

Wave Propagation Software, Computational Science, and Reproducible Research

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

PDEs, part 3: Hyperbolic PDEs

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

ENO and WENO schemes. Further topics and time Integration

Scientific Computing I

The Orchestra of Partial Differential Equations. Adam Larios

INTRODUCTION TO PDEs

Finite Volume Method

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

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

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

Partial Differential Equations

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

Numerical Approximations to the Boussinesq Equations

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

Chapter 10: Partial Differential Equations

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

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

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

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

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

Scientific Computing: An Introductory Survey

SEMIGROUP APPROACH FOR PARTIAL DIFFERENTIAL EQUATIONS OF EVOLUTION

Diffusion Processes. Lectures INF2320 p. 1/72

Advection, Conservation, Conserved Physical Quantities, Wave Equations

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

The RAMSES code and related techniques I. Hydro solvers

7 Hyperbolic Differential Equations

Numerical Methods for PDEs

Coupling conditions for transport problems on networks governed by conservation laws

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

Initial Boundary Value Problems for Scalar and Vector Burgers Equations

PDE and Boundary-Value Problems Winter Term 2014/2015

MATH 220: Problem Set 3 Solutions

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

Salmon: Lectures on partial differential equations

Problem set 3: Solutions Math 207B, Winter Suppose that u(x) is a non-zero solution of the eigenvalue problem. (u ) 2 dx, u 2 dx.

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

NUMERICAL SOLUTION OF HYPERBOLIC PARTIAL DIFFERENTIAL EQUATIONS

MATH 220: Problem Set 3 Solutions

Notes on theory and numerical methods for hyperbolic conservation laws

FDM for wave equations

Part 1. The diffusion equation

A review of stability and dynamical behaviors of differential equations:

First order Partial Differential equations

Differential equations, comprehensive exam topics and sample questions

Chapter 3 Burgers Equation

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

Math Partial Differential Equations 1

Finite Volume Methods for Hyperbolic Problems

The Discontinuous Galerkin Method for Hyperbolic Problems

Lecture 2 Supplementary Notes: Derivation of the Phase Equation

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

Numerical Solution of a Fluid Dynamic Traffic Flow Model Associated with a Constant Rate Inflow

Partial Differential Equations Separation of Variables. 1 Partial Differential Equations and Operators

MATH-UA 263 Partial Differential Equations Recitation Summary

Transforming Nonhomogeneous BCs Into Homogeneous Ones

Conservation and dissipation principles for PDEs

II&Ij <Md Tmlaiiiiiit, aad once in Ihe y a w Teataa m i, the vmb thatalmta oot Uiaapirit world. into as abode or wotld by them- CooTBOtioa

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

Method of Separation of Variables

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

P A L A C E P IE R, S T. L E O N A R D S. R a n n o w, q u a r r y. W WALTER CR O TC H, Esq., Local Chairman. E. CO O PER EVANS, Esq.,.

MATH 251 Final Examination August 14, 2015 FORM A. Name: Student Number: Section:

Introduction to Partial Differential Equations

Wave Equation With Homogeneous Boundary Conditions

The Heat Equation John K. Hunter February 15, The heat equation on a circle

Math 5587 Midterm II Solutions

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

Calculating Storm Surge and Other Coastal Hazards Using Geoclaw

Modeling and Numerical Approximation of Traffic Flow Problems

Introduction of Partial Differential Equations and Boundary Value Problems

Linear Hyperbolic Systems

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES

Équation de Burgers avec particule ponctuelle

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

Hyperbolic Systems of Conservation Laws. I - Basic Concepts

Entropy-stable discontinuous Galerkin nite element method with streamline diusion and shock-capturing

Non-linear Methods for Scalar Equations

Instability of Finite Difference Schemes for Hyperbolic Conservation Laws

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

Transcription:

Conservation Laws and Finite Volume Methods AMath 574 Winter Quarter, 2017 Randall J. LeVeque Applied Mathematics University of Washington January 4, 2017 http://faculty.washington.edu/rjl/classes/am574w2017 R.J. LeVeque, University of Washington AMath 574, Winter 2017

Course outline Main goals: Theory of hyperbolic PDEs in one dimension Scalar equations and systems of equations, Linear and nonlinear equations, Conservation laws and non-conservative PDEs Finite volume methods in 1 and 2 dimensions Godunov s method (upwind) High-resolution extensions (limiters) Some applications: advection, acoustics, Burgers, shallow water equations, gas dynamics, traffic flow Use of the Clawpack software: www.clawpack.org See: http://faculty.washington.edu/rjl/classes/am574w2017 R.J. LeVeque, University of Washington AMath 574, Winter 2017

Outline Today: Hyperbolic PDEs Derivation of conservation laws Advection Riemann problem Discontinuous solutions Diffusion Reading: Chapters 1 and 2 of [FVMHP] See also: Chapters 1 and 2 of [ETH] (available on Canvas page) R.J. LeVeque, University of Washington AMath 574, Winter 2017

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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [ FVMHP Chap. 4]

Advection equation Flow in a pipe at constant velocity 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, Winter 2017 [FVMHP Sec. 2.1]

Advection equation Flow in a pipe at constant velocity 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, Winter 2017 [FVMHP Sec. 2.1]

Advection equation Flow in a pipe at constant velocity 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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [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, Winter 2017 [FVMHP Sec. 2.1]