Course Outline Hyperbolic partial differential equations PDEs Could be

Course Outline Hyperbolic partial differential equations (PDEs) • Could be linear or nonlinear • Model wave propagation or transport Course Outline Hyperbolic partial differential equations (PDEs) • Could be linear or nonlinear • Model wave propagation or transport Nonlinear hyperbolic conservation laws • e.g. mass, momentum, energy in compressible flow Nonlinear hyperbolic conservation laws • e.g. mass, momentum, energy in compressible flow Mathematical analysis: • Eigenvalues and eigenvectors of Jacobian • Characteristics for linear problem, • Generalization to Riemann problem, • Wave structure for nonlinear problems: shocks, rarefactions, contact discontinuities • Weak solutions, nonuniqueness, entropy conditions R. J. LeVeque, University of Washington R. J. LeVeque, University of Washington Course Outline Course Outline Finite volume methods: Applications: • Advection (passive transport) • Compressible gas dynamics • Class of methods well suited to these problems • Godunov’s method (using Riemann solution) • Second-order accurate version • High-resolution version that captures shocks sharply • Multi-dimensional methods Euler equations • Acoustics (linearized) • Traffic flow • Shallow water equations R. J. LeVeque, University of Washington R. J. LeVeque, University of Washington Course Outline Finite volume methods: • Class of methods well suited to these problems • Godunov’s method (using Riemann solution) • Second-order accurate version • High-resolution version that captures shocks sharply • Multi-dimensional methods This week: Today: • Overview of course • Derivation of conservation laws • Advection • EagleClaw (Easy Access Graphical Laboratory for Exploring Conservation Laws) Clawpack Software: • To explore behavior of hyperbolic problems • To explore finite volume methods R. J. LeVeque, University of Washington R. J. LeVeque, University of Washington FVMHP Chap. 1–3 This week: Today: • Overview of course • Derivation of conservation laws • Advection • EagleClaw (Easy Access Graphical Laboratory for First order hyperbolic PDE in 1 space dimension Linear: qt + Aqx = 0, q(x, t) ∈ lRm , A ∈ lRm×m f : lRm → lRm (flux) Conservation law: qt + f (q)x = 0, Quasilinear form: qt + f (q)qx = 0 Hyperbolic if A or f (q) is diagonalizable with real eigenvalues. Exploring Conservation Laws) Wednesday: • David Ketcheson will be lecturing • Acoustics: Sections 2.6–2.11 Models wave motion or advective transport. Eigenvalues are wave speeds. Note: Second order wave equation ptt = c2 pxx can be written as a first-order system (acoustics). R. J. LeVeque, University of Washington FVMHP Sec. 1.1 Reading for first two weeks: Preface and Chapters 1–3. R. J. LeVeque, University of Washington FVMHP Chap. 1–3 Derivation of Conservation Laws Derivation of Conservation Laws q(x, t) = density function for some conserved quantity. q(x, t) = density function for some conserved quantity, so x2 Integral form: d dt where Fj = f (q(xj , t)), f (q) = flux function. x2 q(x, t) dx = total mass in interval x1 q(x, t) dx = F1 (t) − F2 (t) x1 changes only because of fluxes at left or right of interval. R. J. LeVeque, University of Washington FVMHP Chap. 2 R. J. LeVeque, University of Washington FVMHP Chap. 2 Derivation of Conservation Laws If q is smooth enough, we can rewrite d dt as x2 x2 x2 Finite differences vs. finite volumes Finite difference Methods • Pointwise values Qn ≈ q(xi , tn ) i • Approximate derivatives by finite differences • Assumes smoothness q(x, t) dx = f (q(x1 , t)) − f (q(x2 , t)) x1 qt dx = − x1 x1 f (q)x dx Finite volume Methods • Approximate cell averages: Qn ≈ i • Integral form of conservation law, or x2 1 ∆x xi+1/2 q(x, tn ) dx xi−1/2 (qt + f (q)x ) dx = 0 x1 True for all x1 , x2 =⇒ differential form: qt + f (q)x = 0. R. J. LeVeque, University of Washington FVMHP Chap. 2 ∂ ∂t xi+1/2 q(x, t) dx = f (q(xi−1/2 , t)) − f (q(xi+1/2 , t)) xi−1/2 leads to conservation law qt + fx = 0 but also directly to numerical method. R. J. LeVeque, University of Washington FVMHP Chap. 4 Advection equation u = constant flow velocity q(x, t) = tracer concentration, =⇒ qt + uqx = 0. f (q) = uq Advection equation u = constant flow velocity q(x, t) = tracer concentration, =⇒ qt + uqx = 0. f (q) = uq True solution: q(x, t) = q(x − ut, 0) True solution: q(x, t) = q(x − ut, 0) R. J. LeVeque, University of Washington FVMHP Sec. 2.1 R. J. LeVeque, University of Washington FVMHP Sec. 2.1 Advection equation u = constant flow velocity q(x, t) = tracer concentration, =⇒ qt + uqx = 0. f (q) = uq Characteristics for advection q(x, t) = η(x − ut) =⇒ q is constant along lines X(t) = x0 + ut, t ≥ 0. Can also see that q is constant along X(t) from: d q(X(t), t) = qx (X(t), t)X (t) + qt (X(t), t) dt = qx (X(t), t)u + qt (X(t), t) = 0. In x–t plane: True solution: q(x, t) = q(x − ut, 0) R. J. LeVeque, University of Washington FVMHP Sec. 2.1 R. J. LeVeque, University of Washington FVMHP Sec. 2.1 Cauchy problem for advection Initial–boundary value problem (IBVP) for advection Advection equation on finite 1D domain: Advection equation on infinite 1D domain: qt + uqx = 0 with initial data q(x, 0) = η(x) Solution: q(x, t) = η(x − ut) − ∞ < x < ∞, t ≥ 0. − ∞ < x < ∞. − ∞ < x < ∞, t ≥ 0, qt + uqx = 0 with initial data q(x, 0) = η(x) a < x < b, t ≥ 0, a < x < b. and boundary data at the inflow boundary: If u > 0, need data at x = a: q(a, t) = g(t), If u < 0, need data at x = b: q(b, t) = g(t), t ≥ 0, FVMHP Sec. 2.1 t ≥ 0, R. J. LeVeque, University of Washington FVMHP Sec. 2.1 R. J. LeVeque, University of Washington Characteristics for IBVP In x–t plane for the case u > 0: 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 − ut) g((x − a)/u) if a ≤ x − ut ≤ b, otherwise . Solution: q(x, t) = η(X0 (x, t)), where X0 (x, t) = a + mod(x − ut − a, b − a). R. J. LeVeque, University of Washington FVMHP Sec. 2.1 R. J. LeVeque, University of Washington FVMHP Sec. 2.1 CLAWPACK simulation of advection The Riemann problem The Riemann problem consists of the hyperbolic equation under study together with initial data of the form q(x, 0) = ql qr if x < 0 if x ≥ 0 First example we’ll look at with EagleClaw: Periodic boundary conditions. www.clawpack.org Piecewise constant with a single jump discontinuity from ql to qr . 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 ql and qr , and consists of a set of waves propagating at constant speeds. R. J. LeVeque, University of Washington FVMHP Sec. 2.1 R. J. LeVeque, University of Washington FVMHP Sec. 3.8 The Riemann problem for advection Riemann solution for advection q(x, T ) The Riemann problem for the advection equation qt + uqx = 0 with ql if x < 0 q(x, 0) = qr if x ≥ 0 has solution q(x, t) = q(x − ut, 0) = ql qr if x < ut if x ≥ ut x–t plane consisting of a single wave of strength W 1 = qr − ql propagating with speed s1 = u. q(x, 0) R. J. LeVeque, University of Washington FVMHP Sec. 3.8 R. J. LeVeque, University of Washington FVMHP Sec. 3.8 Discontinuous solutions Note: The Riemann solution is not a classical solution of the PDE qt + uqx = 0, since qt and qx blow up at the discontinuity. Integral form: d dt x2 Diffusive flux q(x, t) = concentration β = diffusion coefficient (β > 0) diffusive flux = −βqx (x, t) qt + fx = 0 =⇒ diffusion equation: q(x, t) dx = uq(x1 , t) − uq(x2 , t) x1 qt = (βqx )x = βqxx (if β = const). Integrate in time from t1 to t2 to obtain x2 x2 q(x, t2 ) dx − x1 t2 x1 q(x, t1 ) dx t2 = t1 uq(x1 , t) dt − t1 uq(x2 , t) dt. The Riemann solution satisfies the given initial conditions and this integral form for all x2 > x1 and t2 > t1 ≥ 0. R. J. LeVeque, University of Washington FVMHP Sec. 3.7 R. J. LeVeque, University of Washington FVMHP Sec. 2.2 Diffusive flux q(x, t) = concentration β = diffusion coefficient (β > 0) diffusive flux = −βqx (x, t) qt + fx = 0 =⇒ diffusion equation: qt = (βqx )x = βqxx (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) =⇒ qt (x, t) = (β/κ)qxx (x, t). Advection-diffusion q(x, t) = concentration that advects with velocity u and diffuses with coefficient β: flux = uq − βqx . Advection-diffusion equation: qt + uqx = βqxx . 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 FVMHP Sec. 2.2 R. J. LeVeque, University of Washington 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 qt + uqx = qxx . For any > 0 this has a classical smooth solution: 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 qt + uqx = qxx . For any > 0 this has a classical smooth solution: R. J. LeVeque, University of Washington FVMHP Sec. 11.6 R. J. LeVeque, University of Washington 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 qt + uqx = qxx . For any > 0 this has a classical smooth solution: R. J. LeVeque, University of Washington FVMHP Sec. 11.6

Related docs
Other docs by Sarah Jane Bel...
Sample Press Release golden parachute 2
Views: 232  |  Downloads: 1
De Lôme Letter _1898_ - 2
Views: 107  |  Downloads: 1
Sample Executive Summary Zif Medical Devices
Views: 576  |  Downloads: 13
Sample Marketing Plan AdGrove
Views: 904  |  Downloads: 39
Civil Rights Act _1964_ - 1
Views: 121  |  Downloads: 0
Grenada Economic Report for 2006
Views: 159  |  Downloads: 0
ADVERSARY PROCEEDING INDEX CARD 130B
Views: 119  |  Downloads: 0
Sample Market Analysis AdGrove
Views: 448  |  Downloads: 21