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

Similar documents
Conservation and dissipation principles for PDEs

Some Aspects of Solutions of Partial Differential Equations

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

13 PDEs on spatially bounded domains: initial boundary value problems (IBVPs)

Partial Differential Equations Summary

The One-Dimensional Heat Equation

Diffusion Processes. Lectures INF2320 p. 1/72

Introduction and some preliminaries

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

Divergence Theorem and Its Application in Characterizing

Introduction to Partial Differential Equations

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

Conservation Laws: Systematic Construction, Noether s Theorem, Applications, and Symbolic Computations.

Partial Differential Equations

Diffusion - The Heat Equation

2. Conservation of Mass

2 A brief interruption to discuss boundary value/intial value problems

Chapter One: Where PDEs come from

M.Sc. in Meteorology. Numerical Weather Prediction

The Orchestra of Partial Differential Equations. Adam Larios

Partial Differential Equations

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems.

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

Numerical Solutions to Partial Differential Equations

Numerical methods for the Navier- Stokes equations

My signature below certifies that I have complied with the University of Pennsylvania s Code of Academic Integrity in completing this exam.

Numerical Solutions to Partial Differential Equations

Conservation Laws and Finite Volume Methods

A Very Brief Introduction to Conservation Laws

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.

Finite Volume Schemes: an introduction

AA210A Fundamentals of Compressible Flow. Chapter 1 - Introduction to fluid flow

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

Boundary conditions. Diffusion 2: Boundary conditions, long time behavior

Fundamental Solutions and Green s functions. Simulation Methods in Acoustics

Math 46, Applied Math (Spring 2009): Final

Class Meeting # 1: Introduction to PDEs

Lecture 24. Scott Pauls 5/21/07

AE/ME 339. K. M. Isaac. 9/22/2005 Topic 6 FluidFlowEquations_Introduction. Computational Fluid Dynamics (AE/ME 339) MAEEM Dept.

0.3.4 Burgers Equation and Nonlinear Wave

0.2. CONSERVATION LAW FOR FLUID 9

Quasi-linear first order equations. Consider the nonlinear transport equation

Math 5587 Lecture 2. Jeff Calder. August 31, Initial/boundary conditions and well-posedness

Fundamentals of Transport Processes Prof. Kumaran Indian Institute of Science, Bangalore Chemical Engineering

(The) Three Linear Partial Differential Equations

MATH-UA 263 Partial Differential Equations Recitation Summary

Numerical Solutions to Partial Differential Equations

Homework for Math , Fall 2016

Mathematical Methods - Lecture 9

MATH 131P: PRACTICE FINAL SOLUTIONS DECEMBER 12, 2012

Math 251 December 14, 2005 Answer Key to Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Using Green s functions with inhomogeneous BCs

Q ( q(m, t 0 ) n) S t.

Module 7: The Laplace Equation

Traffic Flow Problems

Differential equations, comprehensive exam topics and sample questions

Wave Equation With Homogeneous Boundary Conditions

MATH 425, FINAL EXAM SOLUTIONS

Introduction to Partial Differential Equations

2.20 Fall 2018 Math Review

Partial Differential Equations for Engineering Math 312, Fall 2012

Last name: name: 1. (B A A B)dx = (A B) = (A B) nds. which implies that B Adx = A Bdx + (A B) nds.

Diffusion on the half-line. The Dirichlet problem

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

Part I. Discrete Models. Part I: Discrete Models. Scientific Computing I. Motivation: Heat Transfer. A Wiremesh Model (2) A Wiremesh Model

Mathematics of Physics and Engineering II: Homework problems

Final Exam May 4, 2016

Partial Differential Equations

MATH COURSE NOTES - CLASS MEETING # Introduction to PDEs, Fall 2011 Professor: Jared Speck

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

MATH COURSE NOTES - CLASS MEETING # Introduction to PDEs, Spring 2018 Professor: Jared Speck

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: BASIC PRINCIPLES AND EXAMPLES

Class Meeting # 2: The Diffusion (aka Heat) Equation

CS 542G: The Poisson Problem, Finite Differences

2 Equations of Motion

In this chapter we study elliptical PDEs. That is, PDEs of the form. 2 u = lots,

Solutions of differential equations using transforms

Conservation Laws and Finite Volume Methods

Diffusion of a density in a static fluid

Introduction LECTURE 1

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

Lecture Notes on Numerical Schemes for Flow and Transport Problems

The Heat Equation with partial differential equations

MATH 220: MIDTERM OCTOBER 29, 2015

An Introduction to Partial Differential Equations

Lecture 1: Introduction to Linear and Non-Linear Waves

Getting started: CFD notation

MA 201, Mathematics III, July-November 2016, Partial Differential Equations: 1D wave equation (contd.) and 1D heat conduction equation

Tutorial 2. Introduction to numerical schemes

THE WAVE EQUATION. d = 1: D Alembert s formula We begin with the initial value problem in 1 space dimension { u = utt u xx = 0, in (0, ) R, (2)

Math 251 December 14, 2005 Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Wave and Elasticity Equations

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

1. Differential Equations (ODE and PDE)

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

F1.9AB2 1. r 2 θ2 + sin 2 α. and. p θ = mr 2 θ. p2 θ. (d) In light of the information in part (c) above, we can express the Hamiltonian in the form

Coupling conditions for transport problems on networks governed by conservation laws

Problem Set Number 01, MIT (Winter-Spring 2018)

Math 5440 Problem Set 3 Solutions

Transcription:

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

Modeling using conservation laws Let u(x, t) = density (heat, momentum, probability,...) so that u dx = amount in region R Ω. R A quantity is conserved if it can be gained or lost only by flow through domain boundaries, because of sources and sinks in the domain.

Modeling using conservation laws Let u(x, t) = density (heat, momentum, probability,...) so that u dx = amount in region R Ω. R A quantity is conserved if it can be gained or lost only by flow through domain boundaries, because of sources and sinks in the domain. Model ingredients: The flow or flux is a vector field J(x, t), so that J ˆndA is flow across infinitesimal area ˆndA. Q(x, t) is the rate of inflow at point x

Deriving a PDE for a conserved quantity Conservation of u(x, t) on any region R Ω implies d u u dx = dt t dx = J ˆndx + Q(x, t)dx. R R (recall notation: R is boundary of R, ˆn is outward normal vector) R R

Deriving a PDE for a conserved quantity Conservation of u(x, t) on any region R Ω implies d u u dx = dt t dx = J ˆndx + Q(x, t)dx. R R (recall notation: R is boundary of R, ˆn is outward normal vector) Use divergence theorem to turn boundary integral into integral on region R, ( u ) t + J Q dx =. R R R

Deriving a PDE for a conserved quantity Conservation of u(x, t) on any region R Ω implies d u u dx = dt t dx = J ˆndx + Q(x, t)dx. R R (recall notation: R is boundary of R, ˆn is outward normal vector) Use divergence theorem to turn boundary integral into integral on region R, ( u ) t + J Q dx =. R Since this is true for any subregion R, integrand is zero: u t R + J = Q. conservation form/continuity equation/transport equation R

Boundary conditions for conserved quantities Flux-type boundary conditions specify flow F (x) : Ω R through physical boundary.

Boundary conditions for conserved quantities Flux-type boundary conditions specify flow F (x) : Ω R through physical boundary. Flux is typically modeled as a function of u and its derivatives J = J(u, u,...); boundary condition becomes J(u, u,...) ˆn = F (x), x Ω.

Boundary conditions for conserved quantities Flux-type boundary conditions specify flow F (x) : Ω R through physical boundary. Flux is typically modeled as a function of u and its derivatives J = J(u, u,...); boundary condition becomes J(u, u,...) ˆn = F (x), x Ω. Example: for heat diffusion, Fourier s law says J = D u. Thus D u ˆn = F (x), x Ω,

Boundary conditions for conserved quantities Flux-type boundary conditions specify flow F (x) : Ω R through physical boundary. Flux is typically modeled as a function of u and its derivatives J = J(u, u,...); boundary condition becomes J(u, u,...) ˆn = F (x), x Ω. Example: for heat diffusion, Fourier s law says J = D u. Thus D u ˆn = F (x), x Ω, More specifically, if boundary in insulating, get Neumann boundary condition u ˆn =. Remark: Dirichlet boundary condition u = U(x), guarantee flux is zero at boundary. x Ω will not

Example: transport and traffic flow Suppose that u = u(x, t) is transported at velocity c, so that (one dimensional) scalar flux is J = cu.

Example: transport and traffic flow Suppose that u = u(x, t) is transported at velocity c, so that (one dimensional) scalar flux is J = cu. Then u t + J = Q becomes (assuming Q = ) u t + cu x =. (linear transport equation)

Example: transport and traffic flow Suppose that u = u(x, t) is transported at velocity c, so that (one dimensional) scalar flux is J = cu. Then u t + J = Q becomes (assuming Q = ) u t + cu x =. (linear transport equation) Traffic flow: speed can be modeled as a decreasing function of density c = c mu, so J = u(c mu); conservation law becomes u t + c u x m(u 2 ) x =. (nonlinear transport equation)

Example: Diffusion with a source Random motions of particles (and other things) leads to diffusion. Means that net flow has a direction toward regions of less density.

Example: Diffusion with a source Random motions of particles (and other things) leads to diffusion. Means that net flow has a direction toward regions of less density. Simplest model: Fick/Fourier law J = D u.

Example: Diffusion with a source Random motions of particles (and other things) leads to diffusion. Means that net flow has a direction toward regions of less density. Simplest model: Fick/Fourier law J = D u. Sources Q(x, t) created by, for example heat production or chemical reactions.

Example: Diffusion with a source Random motions of particles (and other things) leads to diffusion. Means that net flow has a direction toward regions of less density. Simplest model: Fick/Fourier law J = D u. Sources Q(x, t) created by, for example heat production or chemical reactions. The conservation equation becomes u t = D u + Q = D u + Q, (diffusion equation)

Example: wave equation Conserved quantity is momentum density ρu t (x, t), where ρ = mass density

Example: wave equation Conserved quantity is momentum density ρu t (x, t), where ρ = mass density Momentum flux occurs because of force imbalance between parts of material; simplest model is J = σ u.

Example: wave equation Conserved quantity is momentum density ρu t (x, t), where ρ = mass density Momentum flux occurs because of force imbalance between parts of material; simplest model is J = σ u. Momentum conservation leads to where c 2 = σ/ρ. (u t ) t = c 2 u = c 2 u, (wave equation)

Steady state equations Often dynamical processes settle down ; for PDEs this means the time derivative can be ignored.

Steady state equations Often dynamical processes settle down ; for PDEs this means the time derivative can be ignored. For a conservation law with flux J(u) and time independent source term Q, a steady state solution solves J(u) = Q. Interpretation: the amount flowing into a region in space equals the amount flowing out.

Steady state equations Often dynamical processes settle down ; for PDEs this means the time derivative can be ignored. For a conservation law with flux J(u) and time independent source term Q, a steady state solution solves J(u) = Q. Interpretation: the amount flowing into a region in space equals the amount flowing out. Example (diffusion with a source): Flux is given by Fick s law J = D u, and Q(x, y) is a prescribed source term.

Steady state equations Often dynamical processes settle down ; for PDEs this means the time derivative can be ignored. For a conservation law with flux J(u) and time independent source term Q, a steady state solution solves J(u) = Q. Interpretation: the amount flowing into a region in space equals the amount flowing out. Example (diffusion with a source): Flux is given by Fick s law J = D u, and Q(x, y) is a prescribed source term. Steady state u = u(x, y) solves D u = u = Q(x, y). If Q, get Poisson s equation; if Q, get Laplace s equation.

Using conserved and dissipated quantities Salient fact: solutions of PDEs have a lot of detail, but...

Using conserved and dissipated quantities Salient fact: solutions of PDEs have a lot of detail, but... We can t always know everything about them (especially nonlinear equations) Even if we could, often hard to see the essential aspects.

Using conserved and dissipated quantities Salient fact: solutions of PDEs have a lot of detail, but... We can t always know everything about them (especially nonlinear equations) Even if we could, often hard to see the essential aspects. Idea: use coarse-grained quantities to study solutions qualitatively. Some of these are inspired by physics (energy, entropy), whereas others are completely abstract.

Conserved and dissipated quantities A functional F [u] maps u to the real numbers, e.g. F [u] = u(x) dx or F [u] = u 2 dx. Ω In our case, these are often quantities of physical interest (mass, energy, momentum) Ω

Conserved and dissipated quantities A functional F [u] maps u to the real numbers, e.g. F [u] = u(x) dx or F [u] = u 2 dx. Ω In our case, these are often quantities of physical interest (mass, energy, momentum) Let u(x, t) : Ω [, ) R be a solution of some PDE, and suppose F [u] has the form F [u(t)] = f (u, u x,...)dx. so that F can be regarded as depending on t. Ω Ω

Conserved and dissipated quantities A functional F [u] maps u to the real numbers, e.g. F [u] = u(x) dx or F [u] = u 2 dx. Ω In our case, these are often quantities of physical interest (mass, energy, momentum) Let u(x, t) : Ω [, ) R be a solution of some PDE, and suppose F [u] has the form F [u(t)] = f (u, u x,...)dx. so that F can be regarded as depending on t. Time evolution of F [u] may be categorized as: If df /dt = for all u, then F is called conserved, If df /dt for all u, then F is called dissipated. Ω Ω

Example: energy in the wave equation Let u solve u tt = u xx, u(, t) = = u(l, t).

Example: energy in the wave equation Let u solve Energy functional is conserved. u tt = u xx, E(t) = u(, t) = = u(l, t). 1 2 u2 t + 1 2 u2 x dx

Example: energy in the wave equation Let u solve u tt = u xx, u(, t) = = u(l, t). Energy functional 1 E(t) = 2 u2 t + 1 2 u2 x dx is conserved. Fist differentiate under integral sign: de dt = u t u tt + u x u xt dx,

Example: energy in the wave equation Let u solve u tt = u xx, u(, t) = = u(l, t). Energy functional 1 E(t) = 2 u2 t + 1 2 u2 x dx is conserved. Fist differentiate under integral sign: Integrate by parts de dt = de dt = u xu t x=l x= + u t u tt + u x u xt dx, u t u tt u xx u t dx, Then use equation and boundary conditions to get de/dt =.

Example: energy in the wave equation Let u solve u tt = u xx, u(, t) = = u(l, t). Energy functional 1 E(t) = 2 u2 t + 1 2 u2 x dx is conserved. Fist differentiate under integral sign: Integrate by parts de dt = de dt = u xu t x=l x= + u t u tt + u x u xt dx, u t u tt u xx u t dx, Then use equation and boundary conditions to get de/dt =. If u(x, ) = = u t (x, ) initially, does the solution remain zero?

Example: energy in the wave equation Let u solve u tt = u xx, u(, t) = = u(l, t). Energy functional 1 E(t) = 2 u2 t + 1 2 u2 x dx is conserved. Fist differentiate under integral sign: Integrate by parts de dt = de dt = u xu t x=l x= + u t u tt + u x u xt dx, u t u tt u xx u t dx, Then use equation and boundary conditions to get de/dt =. If u(x, ) = = u t (x, ) initially, does the solution remain zero? Yes, since E() =, E(t), thus u x. Using boundary conditions gives u(x, t).

Example: energy in the wave equation Let u solve u tt = u xx, u(, t) = = u(l, t). Energy functional 1 E(t) = 2 u2 t + 1 2 u2 x dx is conserved. Fist differentiate under integral sign: Integrate by parts de dt = de dt = u xu t x=l x= + u t u tt + u x u xt dx, u t u tt u xx u t dx, Then use equation and boundary conditions to get de/dt =. If u(x, ) = = u t (x, ) initially, does the solution remain zero? Yes, since E() =, E(t), thus u x. Using boundary conditions gives u(x, t). Converse also true: if u(x, ) initially, then solution never dies out.

Example: heat equation Suppose u solves the diffusion equation u t = u xx, u(, t) = = u(l, t).

Example: heat equation Suppose u solves the diffusion equation u t = u xx, u(, t) = = u(l, t). Then the quantity is dissipated, F (t) = 1 2 u2 x dx

Example: heat equation Suppose u solves the diffusion equation u t = u xx, u(, t) = = u(l, t). Then the quantity is dissipated, since df dt = F (t) = u x u xt dx = 1 2 u2 x dx u xx u t dx = u 2 xx dx,

Example: heat equation Suppose u solves the diffusion equation u t = u xx, u(, t) = = u(l, t). Then the quantity is dissipated, since df dt = F (t) = u x u xt dx = 1 2 u2 x dx u xx u t dx = u 2 xx dx, One interpretation: arclength of x-cross sections of u can be approximated 1 + uxdx 2 1 + 1 2 u2 x dx. Since df /dt, arclength diminishes and spatial oscillations die away.