Notes on theory and numerical methods for hyperbolic conservation laws

Size: px
Start display at page:

Download "Notes on theory and numerical methods for hyperbolic conservation laws"

Transcription

1 Notes on theory and numerical methods for hyperbolic conservation laws Mario Putti Department of Mathematics University of Padua, Italy January 19, 2017 Contents 1 Partial differential equations Mathematical preliminaries and notations The chain rule of differentation Integration by parts Classification of the PDEs Standard classification of linear PDEs Simple examples and solutions Conservation laws Well posedness and continuous dependence of solutions on the data Ill-conditioning and instability Hyperbolic Equations Some examples The transport equation The second-order wave equation Simple finite difference discretization The method of characteristics Initial-Boundary value problems Classification of PDEs and propagation of discontinuities Propagation of singularities Linear second order equations Systems of first-order equations The linear case The quasi-linear case Weak solutions for conservation laws Jump conditions Admissibility conditions The Riemann Problem Shock and rarefaction curves Numerical Solution of Hyperbolic Conservation Laws The Differential Equation The Finite Volume Method Preliminaries Notations The numerical flux One spatial dimension: first order One spatial dimension: second order gradient reconstruction A B Finite Difference Approximations of first and second derivatives in R Fortran program: Godunov method for Burgers equation 87 C Memorization of 2D Computational Meshes. 100 D Review of linear algebra 101 D.1 Vector spaces, linear independence, basis. 105 D.1.1 Orthogonality D.2 Projection Operators D.3 Eigenvalues and Eigenvectors D.4 Norms of Vectors and Matrices D.5 Quadratic Forms D.6 Symmetric case A = A T

2 These notes are a free elaboration from [7, 1, 2] and other sources. 1 Partial differential equations In this notes we will look at the numerical solution for partial differential equations. We will be mainly concerned with differential models stemming from conservation laws, such as those arising from force conservations i.e., second Newton s law F = ma, such as de Saint-Venant equations, governing the equilibrium of a solid, or the Navier-Stokes equations, governing the dynamics of fluid flow. These equations are also called equations in divergence form, to identify the fact that the divergence of a vector translates in mathematical terms the conservation of the flux represented by that vector field. As an example, let us consider the advection-diffusion equation (ADE), that governs the conservation of mass of a solute moving within the flow of the containing solvent. A typical application is the transport of a contaminant by a water body moving with laminar flow. The flow of the solvent is given by the vector (velocity) field λ, and the solute is undergoing chemical (Fickian) diffusion with a diffusion field D(x). We remark that if the density of the solvent is constant, then mass conservation is equivalent to volume concentration, and thus density does not appear in the equations. The mathematical model is then given by: u t = div (D u) div(λu) + f in Ω Rd (1.1) where the equation is defined on a subspace of the d-dimensional Euclidean space R d (d = 1, 2, or 3), the function u(x, t) : Ω [0 : T ] R represents the concentration of the solute (mass/volume of solute per unit mass/volume of solvent), t is time, div = i / x i is the divergence operator, D is the diffusion coefficient, possibly a second order tensor, and = { / x i } is the gradient operator. A problem is mathematically well posed if i) it has a solution; ii) the solution is unique; iii) the solution depends continuously on the data of the problem. For a PDE problem to be well-posed we need initial and boundary conditions. So we let the domain boundary Γ = Ω be the union of three non overlapping sub-boundaries such that Ω = Γ D Γ N Γ C, so that we: u(x, 0) = u o (x) x Ω, t = 0 (initial conditions) (1.2a) u(x, t) = g D (x) x Γ D, t > 0 (Dirichlet BCs) (1.2b) D u(x, t) ν = q N (x) x Γ N, t > 0 (Neumann BCs) (1.2c) λu D u(x, t) ν = q C (x) x Γ C, t > 0 (Cauchy BCs) (1.2d) where ν is the outward unit normal defined on Γ. Formally, under some regularity assumption and the hypothesis that D never vanishes, this is called a parabolic equation. The term parabolic is used to classify partial differential equations (PDEs) on the basis of certain qualitative properties of the solution. This can be done relatively easily with linear PDEs, and becomes more complicated for nonlinear PDEs. 2

3 1.1 Mathematical preliminaries and notations We start this discussion by giving some general definitions. All our objects or equations will be defined in a domain Ω R d, and we will indicate with x Ω a point of the d-dimensional space (d=1, 2, or 3) as a vector with d coordinates x = (x 1, x 2,..., x d ) T with respect to a fixed Cartesian (orthonormal) reference system. 1 Note that, for simplicity, we assume vectors to be 1-dimensional collections of numbers ordered columnwise, and will use the transpose operation as above to indicate a row vector (see appendix D). If d = 2 we will often identify x = x 1 and y = x 2. A function u(x) is a spatially-variable real-valued scalar function taking values in Ω R d and returning real values in R. A vector-valued function q(x) is a collection of functions ordered in a column vector. Thus we have: u : Ω R q : Ω R m ; q(x) = q 1 (x). q m (x) Typically, physical quantities such as fluxes, velocities, etc. are defined in R d, i.e., in the above we have m = d. Definition 1.1 (Derivatives). u xi = u(x) x i. 1. first order partial derivative: = lim h 0 u(x + he i ) u(x) h where e i is the i-th coordinate vector, i.e., the vector with the i-th component equal to one and all the other ones equal to zero. 2. second order partial derivatives: u xi x j = 2 u(x) x i x j, with obvious extensions for higher order. 3. Multiindex Notation. (a) Given a vector α = (α 1,..., α d ) T, where α i 0 (the multi-index of order α = α α d ), the α-th derivative is: α u(x) := α u(x) x α 1 1 x α d d = α 1 x 1 α d x d. 1 We would like to remark that formally Ω is an open subset of R d, and its closure is indicated with Ω = Ω Γ, where Γ = Ω is the boundary of Ω, which forms a subset of R d of co-dimension 1, i.e., d 1 (for d = 2 the boundary is a curve, for d = 3 it is a surface). We will not use or make reference to these technicalities, as empirical intuition can be sufficiently supported without them. 3

4 (b) if k is a nonnegative integer, then the set of all partial derivatives of order k is given by: k u(x) := { α u(x) : α = k}. Giving an order to the partial derivatives of the set above, we can think of k u(x) as a point (vector) in R dk, and we can define the length of this point as: k u(x) = α u 2 α =k 1 2. (c) Special cases. If k = 1 we order the elements of u in a vector thus leading to the definition of the gradient operator: u := u x1. u xd Thus we can regard u as a point of R d. 4. The divergence of a vector function q(x) : Ω R d R d as: div q(x) := q(x) = T q(x) = q 1(x) x i For example, for d = 2 we have: ( ) ux1 u(x) = = u x2 ( u x 1 u x 2 ) +... q d(x) x d div q(x) = q(x) = q 1(x) x 1 + q 2(x) x 2 We would like to stress here that we will generally see the gradient as an operator acting on a scalar-valued function and the divergence as an operator acting on a vector-valued function. Note that the divergence and the gradient operators are intimately related by the divergence (or Gauss or Stokes) theorem, which we will discuss later on. 5. For k = 2 we organize the elements of 2 u(x) in a matrix, called the Hessian matrix: u x1 x 1 u x1 x d 2 u(x) = T u(x) =... u xd x 1 u xd x d Unfortunately, the symbol 2 should not be confused with the Laplacian operator, often indicated by 2. 4

5 6. Laplacian operator: The Laplacian operator is given by: u(x) = div u(x) = T u(x) = Tr ( 2 u(x) ) = d u xi x i. i=1 where the operator Tr (A) is the trace of a matrix A (see appendix D). Definition 1.2 (Partial differential equation). A k-th order partial differential equation (PDE) can be written as: F (x, u(x), u(x), 2 u(x),..., k u(x)) = 0, x Ω. (1.3) where formally F : Ω R R d... R dk 1 R dk R. For example, for k = 2 and d = 3 we have: F (x, y, z, u, u x, u y, u z, u xx, u xy, u yy, u xz, u zz, u yz ) = 0. The solution of this equation is a function u(x) : Ω R d R that satisfies eq. (1.3) and possibly some other boundary conditions. The problem we are concerned with is finding solutions (either approximate or exact) to eq. (1.3). If F is a linear function of u and its derivatives, then the equation is called linear, and, assuming d = 2, it can be written as: a(x, y) + b(x, y)u + c(x, y)u x + d(x, y)u y + e(x, y)u xx + f(x, y)u yy + g(x, y)u xy = 0. (1.4) The order of a PDE is the order of the derivative of maximum degree that appears in the equation. Thus, in the previous case the order is 2. Typical examples are: u = 2 u x u y 2 = 0 u t + u x = 0 u t 2 u x = 0 2 2o order (Laplace equation) 1o order (transport or convection equation) 2o order (diffusion equation). Note that we often identify one of the variables as time, in which case, setting x d+1 = t, the solution u has domain given by Ω [0, T ]: u : Ω [0, T ] R. Obviously, we consider time as a positive real number. 5

6 1.1.1 The chain rule of differentation We say that a function u(x) is smooth when it is infinitely differentiable, i.e., u(x) C (Ω). We will be using often the chain (product) rule of differentiation and its derived property, i.e., integration by parts. For d = 1, using u to indicate differentation, we can write: (uv) = u v + uv (1.5) which is valid for all u and v in C. By extension, we can think that the derivative of a scalar valued function in Ω as the gradient operator, i.e., the collection of all its partial derivatives. The chain rule is then: (uv) = u v + v u. (1.6) If we have a scalar function u : Ω R and a vector-valued function q : Ω R d, we may form the product qu = (q 1 u,..., q d u). Applying eqs. (1.5) and (1.6) component by component, we obtain: div(qu) = q u + u div q. (1.7) Note that this is a straight forward extension if we think that the gradient acts on scalar functions, and the divergence acts on vector functions Integration by parts Recall the rule of integration by parts. It can be derived quickly from the chain rule. For d = 1, in fact, using eq. (1.5), we can write: b a u (x)v(x) dx = = b a ( ) b u(x)v(x) dx ( ) u(b)v(b) u(a)v(a) a u(x)v (x) dx b a u(x)v (x) dx (1.8a) In words, integration by parts states that the integral of the product of two functions (here u (x) and v(x)) is equal to the product of the primitive of the first function multiplied by the other function evaluated at the extremes, minus the integral of the primitive times the derivative. These results are easily extended in the multidimensional case. In this case, it is easy 2 to remember all these results by using the above definitions of gradient and divergence as vector operators. Recall again that the gradient acts on scalars and the divergence acts on vectors. We recall here the important Gauss (or Divergence) Theorem that states a conservation principle: div q(x) dx = q(x) ν(x) dx, Ω 2 at least for me Γ 6

7 where the vector ν(x) is the outward unit normal defined on the boundary Γ of Ω. We can now state the theorem of multidimensional integration by parts (or second Green s Lemma) by recasting the one-dimensional integration by parts in the proper setting. Thus Green s Lemma states that: u(x) div q(x) dx = u(x)q(x) ν(x) dx u(x) q(x) dx. (1.9) Ω Γ To make the parallelism with the one-dimensional analogue, which helps remembering the theorem, we first look at eq. (1.8a). We observe that the term u(b)v(b) u(a)v(a) can be interpreted as a boundary integral once we note that the normal in x = a is ν(a) = 1 and the normal in x = b is ν(b) = +1, and the zero -dimensional integral is just the evaluation of the integrand at the extremes of integration. Looking at eq. (1.9) we can see that q(x) can be interpreted as the primitive of div q(x) and u(x) as the (multiindex) first derivative of u(x). Then we can put Green s Lemma in words: the integral of the product of two functions is given by the d 1-dimensional integral of the product between the primitive of one of the two functions times the other one, everything projected along the outward unit normal to the d 1-dimensional boundary of the domain, minus the integral over the domain of the product of the primitive function times the derivative of the other function. We would like to stress here that we have assumed that the functions are infinitely differentiable. This is too strong an assumption, and we could have assumed that first derivatives of the functions exist and are finite for all x. This means that u and q i must be continuous functions of x (must be in C 0 (Ω)). In the case they are not, we need to be careful in applying the chain rule. Moreover, numerically the chain rule is troublesome, and should be avoided. We will discuss this in later sections. 1.2 Classification of the PDEs We first start our classification by looking at the linearity of the function F in eq. (1.3). We say that a PDE is linear if all the derivatives appear as linear combinations, i.e. if it has the form: a 0 (x)u + a 1 (x) u a k (x) k u = a α (x) α u = f(x) α k If f = 0 the PDE is called homogeneous. A PDE is semilinear if only derivatives of order strictly smaller than k appear as nonlinear terms: ( ) a α (x) α u + a 0 k 1,..., k u, u, x = 0. α =k It is called quasilinear if the highest order derivatives are multiplied by functions of strictly lower order derivatives: ( ) ( ) a α k 1,..., k u, u, x α u + a 0 k 1,..., k u, u, x = 0. α =k and it is fully nonlinear if the highest order derivatives appear nonlinearly in the equations. 7 Ω

8 Examples. Laplace Equation div u = u = u xx + u yy = 0 This is an ubiquitous linear equation whose solution u is called potential function or harmonic function. In two dimensions, we can associate to a harmonic function u(x, y) a conjugate harmonic function v(x, y) such that the Cauchy-Riemann equations are satisfied: u x = v y u y = v x We can interpret the vector field (u(x, y), v(x, y) as the velocity of an irrotational and incompressible fluid. Wave equation u tt = λ 2 u Again, this is a ubiquitous linear equation that governs the vibration of a string or the propagation of waves in an incompressible medium (e.g., fluid waves, sound). Maxwell equation ɛe t = curl H; µh t = curl E; div E = div H = 0 where E = (E 1, E 2, E 3 ) and H = (H 1, H 2, H 3 ) are the electric and magnetic vector fields, respectively, in vacuum. Note that each component, E j and H j of E and H satisfy a wave equation with λ 2 = 1/ɛµ. Linear Elastic waves ρu tt = µ u + (λ + µ) (div u), where ρ is the density of the medium, u = {u i (x, y, z, t)} represents the displacement vector, and λ and µ are the Lamé constants. Each component u i of u satisfies a fourth order linear equation: ( 2 t λ + 2µ 2 ρ ) ( 2 t µ ) 2 ρ u i = 0 It is easy to see that in the case of equilibrium (u t = 0) this equation reduces to the bi-harmonic equation: 2 u = 0. 8

9 σ FIGURE 1.1: Curve γ and local reference system Minimal surface We want to find a surface z = u(x, y) with minimal area for a given contour. The function u satisfies the nonlinear equation: Navier-Stokes (1 + u 2 y)u xx 2u x u y u xy + (1 + u 2 x)u yy = 0. u t + u u = 1 p p + ν u div u = 0 where u(x, y, z, t) is the velocity, p(x, y, z, t) is the pressure, ρ is the density and ν is the kinematic viscosity of the fluid. These nonlinear equations govern the movement of an incompressible viscous fluid Standard classification of linear PDEs To start in our task of classification, assume for simplicity a 2-dimensional domain d = 2, and a constant coefficient second order PDE: au xx + bu xy + cu yy + e = 0. (1.10) We look for a curve γ : R 2 R that is sufficiently regular and such that when we write the PDE along this curve it turns into and Ordinary Differential Equation (ODE). We write this curve in parametric form as γ(σ) (fig. 1.1) as follows: { x = x(σ) γ = y = y(σ) Writing the above equations on a local reference system, we obtain: du x dσ du y dσ = u x x = u y x dx dσ + u x dy y dσ = u dx xx dσ + u dy xy dσ dx dσ + u y dy y dσ = u dx xy dσ + u dy yy dσ. Writing u xx from the previous system and substituting it in eq. (1.10), we have: ( ) ] 2 dy u xy [a b dy ( dx dx + c a du ) x dy dx dx + cdu y dx + edy = 0. dx 9

10 This equation is a re-definition of the PDE on the curve γ(σ), or, in other words, the equation is satisfied on γ. Now we can choose γ so that the first term in square brackets is zero, obtaining an equation for u x and u y where only ordinary derivatives appear: a ( ) 2 dy b dy dx dx + c = 0. We note that dy/dx is the slope of γ, which can then be obtained by solving the ODE: dy dx = b ± b2 4ac. 2a (1.11) The solution of this ODE yields families of curves, that are called characteristic curves. Different families arise depending on the sign of the discriminant = b 2 4ac. We then call the equations depending on this sign, obtaining the following classification: b 2 4ac < 0: two complex solutions: the equation is elliptic ; b 2 4ac = 0: one real solution: the equation is parabolic ; b 2 4ac > 0: two real solutions: the equation is hyperbolic. Examples Laplace equation u = 2 u x u y 2 = 0 a = c = 1 b = 0 b 2 4ac < 0 is an elliptic equation; Wave equation 2 u t 2 u 2 x = 0 2 (1.12) a = 1 b = 0 c = 1 b 2 4ac > 0 is a hyperbolic equation; diffusion or heat equation u t 2 u x 2 = 0 a = 1 b = c = 0 b 2 4ac = 0 is a parabolic equation. 10

11 1.2.2 Simple examples and solutions We show in this paragraph some simple but clarifying examples of PDEs and their exact analytical solution. From these solutions we will extrapolate some typical characteristics of the solutions of PDEs. Example 1.3. Find u : [0, 1] R such that: u = 0 x [0, 1] u(0) = 1; u(1) = 0. This is a elliptic equation. In this simple case the solution is obtained directly by integration between x = 0 and x = 1. We have: u(x) = 1 x. Example 1.4. Find u : [0, 1] R such that: (a(x)u ) = 0 x [0, 1] (1.13) u(0) = 1; u(1) = 0; where the diffusion coefficient a(x) assumes the values: { a 1 if 0 x < 0.5 a(x) = a 2 if 0.5 < x 1 Since a(x) > 0 for each x [0, 1] is is an elliptic equation. In this case the solution can be obtained by first subdividing the domain interval in two halves and integrating the equation in each subinterval: { u 1 (x) = c 1 u(x) = 1x + c 1 2 x [0, 0.5) u 2 (x) = c 2 1x + c 2 2 x (0.5, 1]. We can see that the solutions are defined in terms of four constants. We need thus four equations. Two are given by the boundary conditions, but the other two are still missing. One natural condition is the request that u(x) be continuous (at least C 0 ([0, 1])) in the domain [0, 1]. The second condition can be determined by looking at the left-hand-side of eq. (1.13) and looking for existence requirement of this term. Before we discuss this requirement we note that we can define the flux of u(x) as q(x) = a(x)u (x). Hence, the requirement for the existence of the left-hand-side (as long as we do not use the product rule for the derivative of the flux) is that q(x) must be continuous for all x [0, 1] 11

12 u(x) FIGURE 1.2: Solution of example 1.4 for a 1 = 1 and a 2 = 10. x (again the requirement here is q(x) C 0 ([0, 1]). This observation suggests the sought condition, that yield the following system of equations for the constants c i : u 1 (0) = 0 u 2 (1) = 0; u 1 (0.5) = u 2 (0.5) q 1 (0.5) = q 2 (0.5), a 1 (0.5)u 1(0.5) = a 2 (0.5)u 2(0.5). We note that the last condition physically means that the flux of the quantity u(x) that exits from the subdomain on the left of x = 0.5 enters the subdomain on the right of x = 0.5. It is a conservation statement. Solving the system, the solution becomes: { 1 2a 2 a u(x) = 1 +a 2 x x [0, 0.5] 2a 1 a 1 +a 2 2a 1 a 1 +a 2 x x [0.5, 1], shown in fig. 1.2 in the case a 1 = 1 and a 2 = 10. Remark 1.5. The previous example shows that the differential equation with discontinuous coefficients has a solution that is continuous but not differentiable: the gradient is discontinuous. On the other hand the flux is continuous, and thus more regular. We will use this fact in to properly define our numerical solution. This property, that can be also shown theoretically, is very important in applications, and characterizes conservation laws. In other words, the partial differential eq. (1.13) represents the balance of the quantity u(x). This quantity can be thought of as mass, then the equation is a mass-balance equation, a temperature, in which case the equation is an energy conservation equation, a fluid velocity, and then the equation is a force balance equation (first Newton law), etcetera. 12

13 The determination of the conservation properties of numerical discretization schemes is an active and important field of research in the case of highly variable diffusion coefficients. We would like to remark that in the case of jumps in the diffusion coefficient we cannot use the product rule to expand the left-hand-side of eq. (1.13). In fact we cannot write the following: a(x)u (x) a (x)u (x) = 0 because both u (x) and a (x) do not exist for x = 0.5. However, the solution u(x) exists and is intuitively sound, i.e., without any singularity, although it does not possess a second derivative. Hence, the equation must be written exclusively as in eq. (1.13). In general, using the chain rule for derivative is numerically counterproductive even if the regularity of the mathematical objects allows it. Example 1.6 (Poisson equation). Find u : [0, 1] R such that: u = f(x) x [0, 1] (1.14) u(0) = u(1) = 0 (1.15) with f(x) = { 1 if x = 0.5, 0 otherwise.. This is an elliptic equation. The solution if this problem can be found by means of Green s functions and is given by: u(x) = { (1 x) if 0 x 0.5, 4 (x 1) if 0.5 x 1. (1.16) This solution is continuous but it has a piecewise constant first derivative with a jump in x = 0.5. Hence the second derivative u (x) does not exists in the midpoint. This seems a contradiction as in this case the left-hand-side of eq. (1.14) does not exists for all x [0, 1]. However, the solution u(x) given in eq. (1.16) in terms of the integral of the Green s function is mathematically sound. Thus we need to define a more forgiving formulation, whose solution can have discontinuous first derivatives. This is the role of the so called weak formulation to be seen in the next sections. Example 1.7. Transport equation. Given a vector field of constant velocity λ > 0, find the function u = u(x, t) such that: u t + λu x = 0, u(x, 0) = f(x). (1.17a) (1.17b) 13

14 t u x λ ξ x λt = ξ x t = 0 x t = t 1 x + λt x FIGURE 1.3: Left panel: characteristic lines for eq. (1.17a) in the (x, t) plane. Right panel: graph of the solution u(x, t) at t = 0 and t = t 1 > 0 in the (u, x) plane. The solution is a wave with shape given by f(x) (a line in this case) that propagates towards the right with speed λ. The characteristic curve is a line in the plane (x, t) given by: x λt = const = ξ. Along this line the original eq. (1.17a) becomes: du dt = t u(ξ + λt, t) = λu x + u t = 0. Hence, the solution u is constant along a characteristic curve and this constant is determined by the initial conditions eq. (1.17b): u(x, t) = f(ξ) = f(x λt). (1.18) At a fixed time t 1 the solution is given by the rigid translation of the initial condition (f(x)) by a quantity λt 1, as shown in fig. 1.3 (right panel). Example 1.8. Advection (or convection) and diffusion equation (ADE). 14

15 Find the function u(x, t) : [0, T ] R R such that: u t = D u2 x v u 2 c, (1.19a) u(x, t) = 1 for x = 0, (1.19b) u(x, t) = 0 for x, (1.19c) u(x, 0) = 0 for t = 0 and x > 0, (1.19d) u(x, 0) = 1 for t = 0 and x = 0. (1.19e) The solution is given by [3]: u(x, t) = 1 [ ( ) x vt ( vx ) erfc exp erfc Dt Dt ( x + vt 2 Dt where the function erfc is the complementary error function. )], Conservation laws From the physical point of view, the problems that we are facing are related to the principle of conservation. For example the equilibrium of an elastic string fixed at the end points and subject to a distributed load is governed by an equation that determines the vertical displacement u(x) of the points ox of the string and its tension stresses σ(x), once the load g(x) and the elastic characteristics of the string E (Young s modulus) are specified. The problem is written as: σ(x) = Eu (x) σ (x) = g(x) u(0) = u(1) = 0 Hook s law; Elastic equilibrium; Boundary conditions. Another interpretation of the same problem can be thought of as u(x) being the temperature of a rod subjected to a heat source g(x). In this case the symbol k is generally used in place of E to identify the thermal conductivity of the rod material and q(x) is the heat flux. The model thus is written as: q(x) = ku (x) Fourier s law; (1.20a) q (x) = g(x) Energy conservation; (1.20b) u(0) = u(1) = 0 Boundary conditions. (1.20c) The same equation can be thought as governing the diffusion of a substance dissolved in a fluid. In this case we talk about Fick s law, concentration u(x). diffusion coefficient k, solute mass flux q(x). Yet another interpretation of the same equation is the flow of water in a porous material. We talk then about Darcy s law. More in general, we can say that all these equations represent a conservation principle. In fact, eq. (1.20a) represents the conservation of momentum deriving from Newton second law (F = ma), while eq. (1.20b) states the conservation of the energy of the system. 15

16 All these problems are equations written in divergence form or in conservative form. For example, consider the advection-diffusion equation (eq. (1.19a)). From the physical point of view, our solution function u represents the density of the conserved quantity. Thus we can introduced the density flux of this quantity as: q = D u + vu, where the first term on the right-hand-side represents the diffusive flux and the second term represents the advective flux (the quantity u is transported by the velocity v and at the same time is diffused). Equation (1.19a) can then be re-written as: u t + div q = f(x). The first term represents the variation in time of the mass of this quantity. The second term represents the variation in space. Integrating the above equation in a subset U Ω of the domain we have: u + div q dx = f(x), t U U and assuming the boundary of U to be smooth, we can apply the divergence theorem: u t dx + q ν ds = f(x). U U We recognize the classical mass conservation principle: U rate of change = inflow-outflow Note that from a purely mathematical point of view, writing the equation in divergence form has no formal advantage with respect to any other alternative formulation. However, this is not true for the numerical formulation, in which the divergence form is always to be preferred. 1.3 Well posedness and continuous dependence of solutions on the data The question of finding a solution to a PDE rests on the definition of solution. We can state that a solution is a function that satisfies the equation and has certain regularity properties 3. However, the answer to the question what is a solution can be tricky. For a clear account and several interesting examples see [4]. We report here a few remarks that are useful for the developments and analysis of numerical methods. We talk about a classical solution of a k-th order PDE to indicate a function that satisfies the PDE and the auxiliary conditions and that is k times differentiable. This is an intuitive requirement so that the derivatives that appear in the expression of the PDE can be formally calculated without 3 This last request has to be made to avoid trivial and non interesting solutions. 16

17 worrying about singularities. However, this notion is often too restrictive, and there may be functions that are less regular that indeed satisfy the PDE and the auxiliary conditions. Moreover, by this strong regularity requirements, we may restrict the search of solutions only to cases that have enough regularity of the auxiliary conditions and of the data of the problem (e.g. the coefficients of the PDE). Thus we usually resort to a less restrictive definition of a solution, which is called a weak solution. Thus we need to change the formulation of the PDE to accommodate this lower regularity requirement, maintaining at the same time the physical notion of the process that lead to the PDE. Remark 1.9. Example 1.4 gives an instance of the application of this concept: the global solution, i.e., the solution over the entire domain I = [0, 1], is continuous but its derivative is not. Thus a classical solution to the problem does not exist, but a weak solution can be defined by appropriately relaxing the continuity conditions of the search space (the space of functions that are candidate solutions). In any case, it is intuitive to look for solutions that are unique. There is certainly no hope to be able to find numerically a solution that is not unique. In fact, any computational algorithm in this case would never converge and would oscillate continuously among the several solutions of the problem. But uniqueness is not sufficient. We also require the notion of continuous dependence of the solution form the data of the problem. In essence, we require that, if for example some coefficients are changed slightly, then the solution changes slightly. This notion is useful for two important reasons. First, in a computer implementation of any algorithm there is no hope to be able to specify a coefficient (which is a real number) with infinite accuracy. Next, and probably more importantly, uncertainties in physical constants or functions are intrinsically present in any model of a physical process. This uncertainty results in values of, e.g., boundary conditions or forcing functions that are not known precisely. But it is highly desirable that our mathematical model governing the physics be relatively insensitive to these uncertainties. This is reflected within the concept of well-posedness that we can make a little bit more formal by stating the following: Definition 1.10 (Well posedness). Given a problem governed by a k-th order PDE: F (x, u, u,..., k u, Σ) = 0 where Σ denotes the set of the data defining the problem, we say that this problem is well posed if: 1. the solution u exists; 2. the solution u is unique; 3. the solution u depends continuously on the data, i.e., if one element σ Σ is perturbed by a quantity δ, the corresponding solution ũ to the perturbed problem is such that ũ u L δ. Note that this is not a very precise statement, as we need to specify what we mean with the symbol. But this definition depends on the functions with which we are dealing, and thus it must be analyzed and specified for each problem. 17

18 These three requirements are obvious, especially in the context of numerical solution of a mathematical problem. The first requirement states the incontrovertible fact that we cannot possibly think of finding a numerical approximation of the solution if this does not exist. The second statement asserts that the solution is unique as a function of the data (for a given set of data). No numerical scheme can approximate simultaneously two different solutions to the same problem, so we can only hope to find one of them, but in general we get a numerical solution that oscillates between the two and does not make sense. If there are more than two solutions the situations is obviously worse. Finally, the last condition is the most important one. In practical applications we are not so much concerned with the PDE itself but mainly with its solution, which generally gives the so called state of the system. As such, a solution of the PDE is physically meaningful if small changes in the data (the parameters) of the problem cause small changes to the solution. In other words, a mathematical model of a physical phenomenon in general will not be useful if small errors in the measured data would lead to drastically different solutions. As an example, consider the PDE of equation eq. (1.1) with the auxiliary conditions eq. (1.2). It is a well posed problem as it satisfies all the three conditions above. However, assume that we are at steady state, i.e., u/ t = 0, there are no source/sink, i.e., f = 0, and that only Neumann BCs are imposed, i.e. the only auxiliary condition present in our problem is eq. (1.2c). Then, any constant function u(x, t) = C is a solution of the problem, independently of the value of C. Thus the solution is not unique, and we cannot possibly hope to find it numerically. In practice, the question of whether a PDE problem is well posed can depend also on the auxiliary conditions that we impose. Generally, if these auxiliary conditions are too many then a solution may not exist. If they are too few, then the solution may not be unique. And they must be consistent with the PDE or the solution may not depend continuously on the data. Thus the question of wellposedness can be difficult to assess Ill-conditioning and instability Two more concepts that are related to well-posedness need to be clearly stated when we move from the continuous setting to the discrete (numerical) setting. The first we would like to discuss is illconditioning. The condition of a problem is a property of the mathematical problem (not of the numerical scheme used to solve it) and can be stated intuitively as follows: Definition 1.11 (Ill-conditioning). A mathematical problem is said to be ill-conditioned if small perturbations on the data cause large variations of the solution. The definition is problem specific, but a simple example related to linear algebra can be illuminating. Example Consider the following 2 2 system of linear equations: 3x + 2y = 2 2x + 6y = 8. (1.21) (1.22) 18

19 y 4 y y=-3x/ y=-x/3-4/3 ε δ x -2 δ ε>>δ x -2-4 δ -4-6 FIGURE 1.4: Geometric interpretation of a well-conditioned (left) and an ill-conditioned linear system (right). The mathematical problem can be stated as follows: Problem find the pair of real values (x, y) such that examples 1.12 and 1.12 are satisfied simultaneously. The solution to this problem is evidently P = (x, y) = (2, 2). We can rewrite the linear system as: y = 3 2 x + 1 y = 1 3 x 4 3. (1.23) (1.24) This reformulation, allows to change the problem into an equivalent formulation: Problem find the point P = (x, y) R 2 that represents the intersection between the two lines identified by examples 1.12 and 1.12 (see fig. 1.4). Now we want to analyze the conditioning of this problem. To do this we specify a small perturbation to the data of our problem and look at how its solution changes. In our case we can, for example, change the right hand side of the second equation by a quantity δ, yielding a downward translation of the line (fig. 1.4, left). The point of intersection between the two lines has now moved by a quantity ɛ δ. This problem is well-condition and the ratio ɛ/δ measures somehow the conditioning of our problem. Now, if the two lines have almost equal slopes, the situation is different (fig. 1.4, right). A small perturbation δ to one if the right hand side values yield a large movement of the solution (the point of 19

20 intersection), by a quantity ɛ δ. The conditioning is measured again by the quantity ɛ/δ which is now much larger than one. The problem is thus ill-conditioned. We note that both problems are actually well-posed as they admit a unique solution which is continuously dependent upon the data. But the numerical solution may loose accuracy. The second concept is called stability. Unlike conditioning, stability is a property of the numerical scheme used to solve a mathematical problem. Definition 1.15 (Stability). A numerical scheme is stable if errors in initial data remain bounded as the algorithm progresses. As an example, consider the following numerical algorithm given by the linear recursion: u (k) = Au (k 1), k = 1, 2,... where u (k) R n, A is a constant n n matrix, and the recursion is initiated with a given (possibly arbitrary) initial guess u (0). The representation u (0) h of the values of u(0) in the computer is not exact, so the actual algorithm involves the numerical approximation u (k) u (k) h = Au (k 1) h, k = 1, 2,... (1.25) Stability of the algorithm requires that the errors with which we represent u (0) h h : are not magnified by, k = 1, 2,.... From + e (k), and after substitution in eq. (1.25) we obtain the the algorithm process. More formally, we define the error as e (k) = u (k) u (k) h this last equation we have that u (k) = u (k) h error propagation equation: e (k) = Ae (k 1). Stability of the scheme is achieved if the norm of the error remains bounded as k increases, i.e. (using compatible norms): e (k) Ae (k 1) A e (k 1) A k e (0) which implies A 1. Finally we would like to mention the following famous and completely general result known as the Lax-Richtmeyer equivalence theorem: Theorem 1.1 (Lax-Richtmeyer equivalence theorem). A consistent numerical scheme for the solution of a well posed problem is convergent if and only it is stable. 20

21 2 Hyperbolic Equations An intuitve, although empirical, definition of a hyperbolic equation is as follows. Given x R d, the PDE F (x, u, u) = 0 is hyperbolic at the point x if it is possible to transform it into an Ordinary Differential Equation (ODE) with respect to one of the d variables (say x d ) as a function of the remaining ones x 1, x 2,..., x d Some examples Notice that in the above statement one of the components of the vector x is take as time (we will do this often in the sequel). Thus, for example, we can set t := x 1 and x := x 2, and consider the simple one-dimensional equation: u t + u x = 0. This equation can be transformed into an ODE if we write it along the lines (called characteristics ): ξ = x t. To see this, we make a simple change of variable x = ξ + t, so that we can write u(x, t) = u(x(t), t) as: so that: u(x, t) = u(ξ + t, t); x = ξ + t; dx dt = 1; d u dx u(ξ + t, t) = dt x dt + u t = u t + u x = 0. dx dξ = 1, From this we see that our original equation is an ODE with respect to time t as a function of space, x (i.e. along the characteristic lines of equation x = ξ + t). Thus, we are mainly interested in looking at solutions of a Cauchy problem, although we will be looking at the effects of boundary conditions as well. However, it is intuitive to think that any auxiliary condition on the boundary can be transformed into an auxiliary condition at t = 0, and vice-versa. Another picture for this statement can be envisioned by stating that we can revert the sign of the time variable, and go backwards in time, i.e., we can find the solution at an earlier time given the solution at a later time. We will see that indeed this is the case, contrary to e.g. a parabolic PDE. In other words, a hyperbolic equation governs a reversible phenomenon, while a parabolic equation governs a irreversible (or dissipative) phenomenon. 21

22 t x λt = ξ y t = 0 t = t 1 ξ x x x + λt 1 x x λ FIGURE 2.1: Characteristic line for equation (2.1) in the (x, t) plane (left). Graph of the solution u(x, t) at t = 0 and t = t 1 in the (u, x) plane. A wave of form f(x) (here f(x) = e a(x b)2 ) propagates to the right with speed λ without changing shape. To study the behavior of a hyperbolic equation, we need to study the geometry of the solution function in the space of its dependent variables, i.e., z = u(t, x), which represents a surface in R d+1, if x R d. This will help us acquiring an understanding of the type of solutions we may expect from a hyperbolic partial differential equation. This is what we are trying to do in the next few sections We start this task with some simple examples The transport equation We look at the simplest PDE that one can devise, i.e., the transport equation. Let us consider the following problem (the same problem already seen in example 1.7): Problem 2.1. Given a constant velocity vector field q(x)(q 1 (x),..., q d (x)) in a domain Ω R d, find a function u = u(x, t) such that u t + q u = 0, in R d (0, ) (2.1a) u(x, 0) = f(x), (2.1b) Physically, this model represents the motion of particles (solutes, sediments in a fluid) moving with speed q. It is a conservation law. Indeed: div(u(t, x)) = u t + div(qu) = u t + q u (if div q = 0, i.e., q is a conservative field). In the one-dimensional case d = 1, the velocity field is one-dimensional λ = q 1. In this case the characteristic curve is a line in the plane (x, t) given by: x λt = const = ξ. (2.2) 22

23 Along this line the equation takes the form: du dt = t u(ξ + λt, t) = λu x + u t = 0. Thus our solution u is constant along the characteristic line. The constant is determined by the initial condition (2.1b): u(x, t) = f(ξ) = f(x λt). (2.3) We want to see how this general solution can be visualized geometrically. First note that equation (2.3) provides the function u(x, t) in terms of the initial condition (2.1b). The solution at any point (x, t) depends only on the value of f at ξ = x λt, the intersection of the characteristic line with the x-axis (Figure 2.1, left). We remark that the x-axis is the initial line, i.e., the line at t = 0. We say that the domain of dependence of u(x, t) on the initial values f(x) is given by the single point ξ. The initial values completely determine the solution. They influence the solution only at the points of the characteristic line. We can look at the graph of the solution at fixed times. Thus, given the initial condition u(x, 0) = f(x), how does the solution at t = t 1, i.e., u(x, t 1 ), look like? It is easy to verify that: u(x, 0) = u(x + λt 1, t 1 ) = f(x). This implies that the solution at every fixed time time t is just the rigid translation of the initial condition along x by the quantity λt. Hence, u(x, t) represents a wave with spatial form given by f(x) that moves to the right (towards increasing x) with speed λ (Figure 2.1, right) The second-order wave equation As a classical example of a hyperbolic equation, we consider the second order (one-dimensional) wave equation (1.12). To better understand the geometrical behavior of the solution, we transform this equation into a system of first order partial differential equations. To this aim, let v = u/ t and w = u/ x. Then we have: v t = w x w t = v x. We can write the previous system in matrix form letting our unknown function u be the vector u = (v, w): [ ] [ ] [ ] v 0 1 v =, t w 1 0 x w 23

24 t 0 t 1 t t m 1 t m t k 1 t k+1 k x 0 x 1 x j 1 x j x j+1 x n 1 x n FIGURE 2.2: Subdivision of the plane (x, t) in a finite difference grid. or, using an abbreviated notation for the derivative u a = u/ a: u t = Au x. (2.4) We note that matrix A is real, symmetric but not positive definite. It has two distinct real eigenvalues λ 1 = 1 and λ 2 = 1 and corresponding normalized eigenvectors e 1 = 1 2 [1, 1] T and e 2 = 1 2 [1, 1] T. In all generality, equation (2.4) represents a general system of first order PDEs. We say that such a system is hyperbolic if matrix A is diagonalizable and has real eigenvalues. This is obviously always true if A is also symmetric. If the real eigenvalues are distinct then the PDE is strictly hyperbolic Simple finite difference discretization We now proceed with the simplest numerical approach for solving (2.1) in the case d = 1, in which case we write q = λ, which is assumed positive. Hence, our model problem is: u t + λu x = 0 u(x, 0) = u 0 (x) (λ > 0) We use the finite difference method, that is we use various incremental ratios to approximate the time and space derivatives. To this aim, we subdivide the temporal and spatial intervals uniformly with subintervals of dimensions t and x, respectively, whereby x j = x 0 + j x, j = 0,..., n and 24

25 t k = t 0 + k t, k = 0,..., m and denote by u k h,j = u(x j, t k ) the numerical approximation of the solution at the grid point (j, k) (Figure 2.2). We can approximate the temporal and spatial derivatives using simple incremental fractions with size x or t or even 2 x or 2 t. We obtain the following: u t (x j, t k ) uk+1 h,j u k h,j t u x (x j, t k ) uk h,j+1 uk h,j x u t (x j, t k ) uk+1 h,j u k 1 h,j 2 t u x (x j, t k ) uk h,j uk h,j 1 x u x (x j, t k ) uk h,j+1 uk h,j 1 2 x We can then use first forward discretizations of the first derivatives both in space and time to write the following difference equation: u k+1 h,j u k h,j t = λ uk h,j+1 uk h,j x which can be written by setting µ = λ t/ x as: u k+1 h,j = u k h,j µλ ( u k h,j+1 u k h,j) = (1 + µλ)u k h,j µλu k h,j+1 (2.5) It is easy to see that this method is consistent, i.e., substitution of the real solution u in place of the numerical solution u h, yields a residual that goes to zero as t and x tend to zero. This is readily obtained using the following Taylor series expansions: u(x j + x, t k ) = u(x j, t k ) + u x (x j, t k ) x + u xx (x j, t k ) x2 2 + O ( x 3) u(x j, t k + t) = u(x j, t k ) + u t (x j, t k ) t + u tt (x j, t k ) t2 2 + O ( t 3) and substituting the real solution u(x j, t k ) in place of u k h,j (local truncation error) as: into eq. (2.5) we can calculate the residual τ h (x j, t k ) =u(x j, t k ) + u t (x j, t k ) t + u tt (x j, t k ) t2 2 + O ( t 3) (1 + µλ)u(x j, t k ) + µλ (u(x j, t k ) + u x (x j, t k ) x + u xx (x j, t k ) x2 2 + O ( x 3) ) =u tt (x j, t k ) t2 2 + O ( t 3) + µλ (u xx (x j, t k ) x2 2 + O ( x 3) ), (2.6) which shows that the local error tends to zero with the discretization size t and x. Since this is a local error (betweeen two mesh nodes and two time steps), the global error is one order less, i.e., 25

26 O ( t + x). Other schemes can be devised and analyzed. We can write the following: u k+1 h,j =u k h,j µλ ( ) u k h,j+1 u k h,j forward Euler - downwind u k+1 h,j =u k h,j µλ ( ) u k h,j u k h,j 1 forward Euler - upwind u k+1 h,j =u k h,j µλ ( u k 2 h,j+1 uh,j 1) k forward Euler - central µλ ( ) u k h,j+1 u k h,j 1 leap-frog u k+1 h,j u k+1 h,j =u k 1 h,j = uk h,j+1 + uk h,j 1 2 µλ 2 ( u k h,j+1 u k h,j 1) Lax-Friedrichs However, convergence towards the real solution is not guaranteed by consistency alone, as stated by the Lax-Richtmeyer equivalence theorem (theorem 1.1), but requires that the scheme be stable. We need to define stability in the case of our FD approximations, but also we need to properly define convergence, although the latter one is a more intuitive concept. We will not dwelve into these issues, at the heart of numerical analysis, but give only an intuitive and practical explanation of these concepts. Example 2.2. Solve the transport problem: u t + u x =0 { 1 x if x 1, u(x, 0) = 0 otherwise. using the above schemes. Algorithm 1 Forward-Backward finite difference method for one-dimensional transport equation with constant velocity. We use periodic boundary conditions and assume the velocity of propagation is positiv λ > 0. This implies that periodic BC must be implemented for the first node of the FD mesh and nothing is imposed on the last node. 1: Set λ > 0; a, b (interval boundaries); x; T (final time); t; 2: N = (b a)/ x; M = T/ t; µ = λ t/dx. 3: for j = 1, 2,..., N do 4: u h,j = u 0 (a + (j 1) x); 5: end for 6: for k = 1,..., M do 7: u h,1 = (1 λµ)u h,1 + λµu h,n+1 8: for j = 2,..., N do 9: u h,j = (1 λµ)u h,j + λµu h,j 1 10: end for 11: end for We report in fig. 2.3 (top row) the results obtained at t = 0.1 and t = 0.2 using the leap-frog (left panel) and the forward-forward (right panel) schemes. We see immediately that the leap-frog shows 26

27 t=0 t=0.1 t=0.2 1 t=0 t=0.1 t= u u x t=0 t=0.1, Dx=0.1 t=0.2, Dx=0.1 t=0.1, Dx=0.05 t=0.2, Dx=0.05 t=0.1, Dx=0.025 t=0.2, Dx=0.025 t=0.1 t= FIGURE 2.3: Top panel: finite difference solution of the transport equation of example 2.2 using the leap-frog scheme (left) and the forward-forward scheme (right). Bottom panel: convergence in space of the stable forward-backward scheme. 27

28 some small oscillations at the left foot of the wave, but the forward-forward shows large oscillations that prevent any visually correct representation of the solution. The bottom row reports the behavior of the forward-backward scheme, implemented following algorithm example 2.2. The results are obtained at two successive refinements of the spatial grid (halving each time the value of x) and show experimentally the convergence of the numerical solution towards the real solution, represented by the translation of the initial conditions by a quantity λt. We would like to explain the behavior of the three schemes seen in the previous example. Hence we need to test the stability of the schemes. To this aim we introduce the shift operator E h defined as E h g(x) = g(x + x), we can formally write: u k+1 h,j = (1 + µλ µλe h )u k h,j = T h u k h,j where T h is the so called transfer operator (spatial transfer). To ascertain stability we need to look at the error and its norm, defined as: ε k h,j = u k h,j u(x j, t k ); ε k h, = ( x j= ε k h,j p ) 1 p which are a discrete approximation of the real error ε h (x, t) and its L p norm. Because of linearity, we can write: u k+1 h,j = T h u k h,j = T h ( ε k h,j + u(x j, t k ) ), from which we have: ε k+1 h,j =u k+1 h,j u(x j, t k+1 ) =T h u k h,j u(x j, t k+1 ) =T h ( ε k h,j + u(x j, t k ) ) u(x j, t k+1 ) =T h ( ε k h,j + u(x j, t k ) ) T h u(x j, t k ) + T h u(x j, t k ) u(x j, t k+1 ) ( =T h ε k h,j + u(x j, t k ) ) T h u(x j, t k ) + τ h(x j, t k+1 ). t Taking norms and using the triangular inequality, we have now: ( ε k+1 h,j Th ε k h,j + u(x j, t k ) ) T h u(x j, t k ) τ h (x j, t k+1 ) + t C T ε k h,j τ h (x j, t k+1 ) + t 28

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Numerical Methods for Partial Differential Equations Finite Difference Methods

More information

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

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES) LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES) RAYTCHO LAZAROV 1 Notations and Basic Functional Spaces Scalar function in R d, d 1 will be denoted by u,

More information

INTRODUCTION TO PDEs

INTRODUCTION TO PDEs INTRODUCTION TO PDEs In this course we are interested in the numerical approximation of PDEs using finite difference methods (FDM). We will use some simple prototype boundary value problems (BVP) and initial

More information

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Philippe B. Laval KSU Current Semester Philippe B. Laval (KSU) Key Concepts Current Semester 1 / 25 Introduction The purpose of this section is to define

More information

PDEs, part 1: Introduction and elliptic PDEs

PDEs, part 1: Introduction and elliptic PDEs PDEs, part 1: Introduction and elliptic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2013 Partial di erential equations The solution depends on several variables,

More information

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

An Introduction to Numerical Methods for Differential Equations. Janet Peterson An Introduction to Numerical Methods for Differential Equations Janet Peterson Fall 2015 2 Chapter 1 Introduction Differential equations arise in many disciplines such as engineering, mathematics, sciences

More information

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Partial differential equations arise in a number of physical problems, such as fluid flow, heat transfer, solid mechanics and biological processes. These

More information

Lecture Introduction

Lecture Introduction Lecture 1 1.1 Introduction The theory of Partial Differential Equations (PDEs) is central to mathematics, both pure and applied. The main difference between the theory of PDEs and the theory of Ordinary

More information

Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche

Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche Scuola di Dottorato THE WAVE EQUATION Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche Lucio Demeio - DIISM wave equation 1 / 44 1 The Vibrating String Equation 2 Second

More information

PDEs, part 3: Hyperbolic PDEs

PDEs, part 3: Hyperbolic PDEs PDEs, part 3: Hyperbolic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2011 Hyperbolic equations (Sections 6.4 and 6.5 of Strang). Consider the model problem (the

More information

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

13 PDEs on spatially bounded domains: initial boundary value problems (IBVPs) 13 PDEs on spatially bounded domains: initial boundary value problems (IBVPs) A prototypical problem we will discuss in detail is the 1D diffusion equation u t = Du xx < x < l, t > finite-length rod u(x,

More information

u xx + u yy = 0. (5.1)

u xx + u yy = 0. (5.1) Chapter 5 Laplace Equation The following equation is called Laplace equation in two independent variables x, y: The non-homogeneous problem u xx + u yy =. (5.1) u xx + u yy = F, (5.) where F is a function

More information

Chapter 3 Second Order Linear Equations

Chapter 3 Second Order Linear Equations Partial Differential Equations (Math 3303) A Ë@ Õæ Aë áöß @. X. @ 2015-2014 ú GA JË@ É Ë@ Chapter 3 Second Order Linear Equations Second-order partial differential equations for an known function u(x,

More information

Chapter 9: Differential Analysis

Chapter 9: Differential Analysis 9-1 Introduction 9-2 Conservation of Mass 9-3 The Stream Function 9-4 Conservation of Linear Momentum 9-5 Navier Stokes Equation 9-6 Differential Analysis Problems Recall 9-1 Introduction (1) Chap 5: Control

More information

i=1 α i. Given an m-times continuously

i=1 α i. Given an m-times continuously 1 Fundamentals 1.1 Classification and characteristics Let Ω R d, d N, d 2, be an open set and α = (α 1,, α d ) T N d 0, N 0 := N {0}, a multiindex with α := d i=1 α i. Given an m-times continuously differentiable

More information

Chapter 9: Differential Analysis of Fluid Flow

Chapter 9: Differential Analysis of Fluid Flow of Fluid Flow Objectives 1. Understand how the differential equations of mass and momentum conservation are derived. 2. Calculate the stream function and pressure field, and plot streamlines for a known

More information

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C. Lecture 9 Approximations of Laplace s Equation, Finite Element Method Mathématiques appliquées (MATH54-1) B. Dewals, C. Geuzaine V1.2 23/11/218 1 Learning objectives of this lecture Apply the finite difference

More information

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE 1. Linear Partial Differential Equations A partial differential equation (PDE) is an equation, for an unknown function u, that

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Xu Chen Assistant Professor United Technologies Engineering Build, Rm. 382 Department of Mechanical Engineering University of Connecticut xchen@engr.uconn.edu Contents 1

More information

Classification of partial differential equations and their solution characteristics

Classification of partial differential equations and their solution characteristics 9 TH INDO GERMAN WINTER ACADEMY 2010 Classification of partial differential equations and their solution characteristics By Ankita Bhutani IIT Roorkee Tutors: Prof. V. Buwa Prof. S. V. R. Rao Prof. U.

More information

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

Class Meeting # 2: The Diffusion (aka Heat) Equation MATH 8.52 COURSE NOTES - CLASS MEETING # 2 8.52 Introduction to PDEs, Fall 20 Professor: Jared Speck Class Meeting # 2: The Diffusion (aka Heat) Equation The heat equation for a function u(, x (.0.). Introduction

More information

Final Exam May 4, 2016

Final Exam May 4, 2016 1 Math 425 / AMCS 525 Dr. DeTurck Final Exam May 4, 2016 You may use your book and notes on this exam. Show your work in the exam book. Work only the problems that correspond to the section that you prepared.

More information

ENGI 4430 PDEs - d Alembert Solutions Page 11.01

ENGI 4430 PDEs - d Alembert Solutions Page 11.01 ENGI 4430 PDEs - d Alembert Solutions Page 11.01 11. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

Finite difference method for elliptic problems: I

Finite difference method for elliptic problems: I Finite difference method for elliptic problems: I Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in/~praveen

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 11 Partial Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002.

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Simple Examples on Rectangular Domains

Simple Examples on Rectangular Domains 84 Chapter 5 Simple Examples on Rectangular Domains In this chapter we consider simple elliptic boundary value problems in rectangular domains in R 2 or R 3 ; our prototype example is the Poisson equation

More information

Partial Differential Equations

Partial Differential Equations Part II Partial Differential Equations Year 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2015 Paper 4, Section II 29E Partial Differential Equations 72 (a) Show that the Cauchy problem for u(x,

More information

M.Sc. in Meteorology. Numerical Weather Prediction

M.Sc. in Meteorology. Numerical Weather Prediction M.Sc. in Meteorology UCD Numerical Weather Prediction Prof Peter Lynch Meteorology & Climate Centre School of Mathematical Sciences University College Dublin Second Semester, 2005 2006. In this section

More information

Getting started: CFD notation

Getting started: CFD notation PDE of p-th order Getting started: CFD notation f ( u,x, t, u x 1,..., u x n, u, 2 u x 1 x 2,..., p u p ) = 0 scalar unknowns u = u(x, t), x R n, t R, n = 1,2,3 vector unknowns v = v(x, t), v R m, m =

More information

Lecture Notes on PDEs

Lecture Notes on PDEs Lecture Notes on PDEs Alberto Bressan February 26, 2012 1 Elliptic equations Let IR n be a bounded open set Given measurable functions a ij, b i, c : IR, consider the linear, second order differential

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University Introduction to Hyperbolic Equations The Hyperbolic Equations n-d 1st Order Linear

More information

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

Math 5587 Lecture 2. Jeff Calder. August 31, Initial/boundary conditions and well-posedness Math 5587 Lecture 2 Jeff Calder August 31, 2016 1 Initial/boundary conditions and well-posedness 1.1 ODE vs PDE Recall that the general solutions of ODEs involve a number of arbitrary constants. Example

More information

Linear Hyperbolic Systems

Linear Hyperbolic Systems Linear Hyperbolic Systems Professor Dr E F Toro Laboratory of Applied Mathematics University of Trento, Italy eleuterio.toro@unitn.it http://www.ing.unitn.it/toro October 8, 2014 1 / 56 We study some basic

More information

Tutorial 2. Introduction to numerical schemes

Tutorial 2. Introduction to numerical schemes 236861 Numerical Geometry of Images Tutorial 2 Introduction to numerical schemes c 2012 Classifying PDEs Looking at the PDE Au xx + 2Bu xy + Cu yy + Du x + Eu y + Fu +.. = 0, and its discriminant, B 2

More information

1 Introduction to PDE MATH 22C. 1. Introduction To Partial Differential Equations Recall: A function f is an input-output machine for numbers:

1 Introduction to PDE MATH 22C. 1. Introduction To Partial Differential Equations Recall: A function f is an input-output machine for numbers: 1 Introduction to PDE MATH 22C 1. Introduction To Partial Differential Equations Recall: A function f is an input-output machine for numbers: y = f(t) Output y 2R Input t 2R Name of function f t=independent

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

The first order quasi-linear PDEs

The first order quasi-linear PDEs Chapter 2 The first order quasi-linear PDEs The first order quasi-linear PDEs have the following general form: F (x, u, Du) = 0, (2.1) where x = (x 1, x 2,, x 3 ) R n, u = u(x), Du is the gradient of u.

More information

Basic Aspects of Discretization

Basic Aspects of Discretization Basic Aspects of Discretization Solution Methods Singularity Methods Panel method and VLM Simple, very powerful, can be used on PC Nonlinear flow effects were excluded Direct numerical Methods (Field Methods)

More information

Introduction and some preliminaries

Introduction and some preliminaries 1 Partial differential equations Introduction and some preliminaries A partial differential equation (PDE) is a relationship among partial derivatives of a function (or functions) of more than one variable.

More information

Lecture No 1 Introduction to Diffusion equations The heat equat

Lecture No 1 Introduction to Diffusion equations The heat equat Lecture No 1 Introduction to Diffusion equations The heat equation Columbia University IAS summer program June, 2009 Outline of the lectures We will discuss some basic models of diffusion equations and

More information

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

Table of Contents. II. PDE classification II.1. Motivation and Examples. II.2. Classification. II.3. Well-posedness according to Hadamard Table of Contents II. PDE classification II.. Motivation and Examples II.2. Classification II.3. Well-posedness according to Hadamard Chapter II (ContentChapterII) Crashtest: Reality Simulation http:www.ara.comprojectssvocrownvic.htm

More information

Partial differential equations

Partial differential equations Partial differential equations Many problems in science involve the evolution of quantities not only in time but also in space (this is the most common situation)! We will call partial differential equation

More information

Numerical Analysis and Computer Science DN2255 Spring 2009 p. 1(8)

Numerical Analysis and Computer Science DN2255 Spring 2009 p. 1(8) Numerical Analysis and Computer Science DN2255 Spring 2009 p. 1(8) Contents Important concepts, definitions, etc...2 Exact solutions of some differential equations...3 Estimates of solutions to differential

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Introduction Deng Li Discretization Methods Chunfang Chen, Danny Thorne, Adam Zornes CS521 Feb.,7, 2006 What do You Stand For? A PDE is a Partial Differential Equation This

More information

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 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,...)

More information

Numerical methods for the Navier- Stokes equations

Numerical methods for the Navier- Stokes equations Numerical methods for the Navier- Stokes equations Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Dec 6, 2012 Note:

More information

Waves in a Shock Tube

Waves in a Shock Tube Waves in a Shock Tube Ivan Christov c February 5, 005 Abstract. This paper discusses linear-wave solutions and simple-wave solutions to the Navier Stokes equations for an inviscid and compressible fluid

More information

MAT389 Fall 2016, Problem Set 4

MAT389 Fall 2016, Problem Set 4 MAT389 Fall 2016, Problem Set 4 Harmonic conjugates 4.1 Check that each of the functions u(x, y) below is harmonic at every (x, y) R 2, and find the unique harmonic conjugate, v(x, y), satisfying v(0,

More information

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

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs AM 205: lecture 14 Last time: Boundary value problems Today: Numerical solution of PDEs ODE BVPs A more general approach is to formulate a coupled system of equations for the BVP based on a finite difference

More information

Differential equations, comprehensive exam topics and sample questions

Differential equations, comprehensive exam topics and sample questions Differential equations, comprehensive exam topics and sample questions Topics covered ODE s: Chapters -5, 7, from Elementary Differential Equations by Edwards and Penney, 6th edition.. Exact solutions

More information

Second Order Elliptic PDE

Second Order Elliptic PDE Second Order Elliptic PDE T. Muthukumar tmk@iitk.ac.in December 16, 2014 Contents 1 A Quick Introduction to PDE 1 2 Classification of Second Order PDE 3 3 Linear Second Order Elliptic Operators 4 4 Periodic

More information

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of, 269 C, Vese Practice problems [1] Write the differential equation u + u = f(x, y), (x, y) Ω u = 1 (x, y) Ω 1 n + u = x (x, y) Ω 2, Ω = {(x, y) x 2 + y 2 < 1}, Ω 1 = {(x, y) x 2 + y 2 = 1, x 0}, Ω 2 = {(x,

More information

Introduction of Partial Differential Equations and Boundary Value Problems

Introduction of Partial Differential Equations and Boundary Value Problems Introduction of Partial Differential Equations and Boundary Value Problems 2009 Outline Definition Classification Where PDEs come from? Well-posed problem, solutions Initial Conditions and Boundary Conditions

More information

Partial Differential Equations

Partial Differential Equations M3M3 Partial Differential Equations Solutions to problem sheet 3/4 1* (i) Show that the second order linear differential operators L and M, defined in some domain Ω R n, and given by Mφ = Lφ = j=1 j=1

More information

Math 302 Outcome Statements Winter 2013

Math 302 Outcome Statements Winter 2013 Math 302 Outcome Statements Winter 2013 1 Rectangular Space Coordinates; Vectors in the Three-Dimensional Space (a) Cartesian coordinates of a point (b) sphere (c) symmetry about a point, a line, and a

More information

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

Notes: Outline. Diffusive flux. Notes: Notes: Advection-diffusion Outline This lecture Diffusion and advection-diffusion Riemann problem for advection Diagonalization of hyperbolic system, reduction to advection equations Characteristics and Riemann problem for acoustics

More information

Finite Difference Methods for Boundary Value Problems

Finite Difference Methods for Boundary Value Problems Finite Difference Methods for Boundary Value Problems October 2, 2013 () Finite Differences October 2, 2013 1 / 52 Goals Learn steps to approximate BVPs using the Finite Difference Method Start with two-point

More information

The Euler Equation of Gas-Dynamics

The Euler Equation of Gas-Dynamics The Euler Equation of Gas-Dynamics A. Mignone October 24, 217 In this lecture we study some properties of the Euler equations of gasdynamics, + (u) = ( ) u + u u + p = a p + u p + γp u = where, p and u

More information

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

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II Advection / Hyperbolic PDEs Notes In addition to the slides and code examples, my notes on PDEs with the finite-volume method are up online: https://github.com/open-astrophysics-bookshelf/numerical_exercises

More information

Some Aspects of Solutions of Partial Differential Equations

Some Aspects of Solutions of Partial Differential Equations Some Aspects of Solutions of Partial Differential Equations K. Sakthivel Department of Mathematics Indian Institute of Space Science & Technology(IIST) Trivandrum - 695 547, Kerala Sakthivel@iist.ac.in

More information

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

2 A brief interruption to discuss boundary value/intial value problems The lecture of 1/9/2013 1 The one dimensional heat equation The punchline from the derivation of the heat equation notes (either the posted file, or equivalently what is in the text) is that given a rod

More information

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

12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis ATH 337, by T. Lakoba, University of Vermont 113 12 The Heat equation in one spatial dimension: Simple explicit method and Stability analysis 12.1 Formulation of the IBVP and the minimax property of its

More information

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01 ENGI 940 Lecture Notes 8 - PDEs Page 8.01 8. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

Conservation and dissipation principles for PDEs

Conservation and dissipation principles for PDEs Conservation and dissipation principles for PDEs Modeling through conservation laws The notion of conservation - of number, energy, mass, momentum - is a fundamental principle that can be used to derive

More information

1 Curvilinear Coordinates

1 Curvilinear Coordinates MATHEMATICA PHYSICS PHYS-2106/3 Course Summary Gabor Kunstatter, University of Winnipeg April 2014 1 Curvilinear Coordinates 1. General curvilinear coordinates 3-D: given or conversely u i = u i (x, y,

More information

3 2 6 Solve the initial value problem u ( t) 3. a- If A has eigenvalues λ =, λ = 1 and corresponding eigenvectors 1

3 2 6 Solve the initial value problem u ( t) 3. a- If A has eigenvalues λ =, λ = 1 and corresponding eigenvectors 1 Math Problem a- If A has eigenvalues λ =, λ = 1 and corresponding eigenvectors 1 3 6 Solve the initial value problem u ( t) = Au( t) with u (0) =. 3 1 u 1 =, u 1 3 = b- True or false and why 1. if A is

More information

100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX

100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX 100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX.1 Norms If we have an approximate solution at a given point and we want to calculate the absolute error, then we simply take the magnitude

More information

Class Meeting # 1: Introduction to PDEs

Class Meeting # 1: Introduction to PDEs MATH 18.152 COURSE NOTES - CLASS MEETING # 1 18.152 Introduction to PDEs, Spring 2017 Professor: Jared Speck Class Meeting # 1: Introduction to PDEs 1. What is a PDE? We will be studying functions u =

More information

Separation of Variables in Linear PDE: One-Dimensional Problems

Separation of Variables in Linear PDE: One-Dimensional Problems Separation of Variables in Linear PDE: One-Dimensional Problems Now we apply the theory of Hilbert spaces to linear differential equations with partial derivatives (PDE). We start with a particular example,

More information

Coordinate systems and vectors in three spatial dimensions

Coordinate systems and vectors in three spatial dimensions PHYS2796 Introduction to Modern Physics (Spring 2015) Notes on Mathematics Prerequisites Jim Napolitano, Department of Physics, Temple University January 7, 2015 This is a brief summary of material on

More information

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2 Index advection equation, 29 in three dimensions, 446 advection-diffusion equation, 31 aluminum, 200 angle between two vectors, 58 area integral, 439 automatic step control, 119 back substitution, 604

More information

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01 ENGI 940 ecture Notes 8 - PDEs Page 8.0 8. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

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

Hyperbolic Systems of Conservation Laws. in One Space Dimension. I - Basic concepts. Alberto Bressan. Department of Mathematics, Penn State University Hyperbolic Systems of Conservation Laws in One Space Dimension I - Basic concepts Alberto Bressan Department of Mathematics, Penn State University http://www.math.psu.edu/bressan/ 1 The Scalar Conservation

More information

examples of equations: what and why intrinsic view, physical origin, probability, geometry

examples of equations: what and why intrinsic view, physical origin, probability, geometry Lecture 1 Introduction examples of equations: what and why intrinsic view, physical origin, probability, geometry Intrinsic/abstract F ( x, Du, D u, D 3 u, = 0 Recall algebraic equations such as linear

More information

Partial Differential Equations Summary

Partial Differential Equations Summary Partial Differential Equations Summary 1. The heat equation Many physical processes are governed by partial differential equations. temperature of a rod. In this chapter, we will examine exactly that.

More information

Introduction LECTURE 1

Introduction LECTURE 1 LECTURE 1 Introduction The source of all great mathematics is the special case, the concrete example. It is frequent in mathematics that every instance of a concept of seemingly great generality is in

More information

Existence Theory: Green s Functions

Existence Theory: Green s Functions Chapter 5 Existence Theory: Green s Functions In this chapter we describe a method for constructing a Green s Function The method outlined is formal (not rigorous) When we find a solution to a PDE by constructing

More information

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

Before we look at numerical methods, it is important to understand the types of equations we will be dealing with. Chapter 1. Partial Differential Equations (PDEs) Required Readings: Chapter of Tannehill et al (text book) Chapter 1 of Lapidus and Pinder (Numerical Solution of Partial Differential Equations in Science

More information

Newtonian Mechanics. Chapter Classical space-time

Newtonian Mechanics. Chapter Classical space-time Chapter 1 Newtonian Mechanics In these notes classical mechanics will be viewed as a mathematical model for the description of physical systems consisting of a certain (generally finite) number of particles

More information

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation:

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation: Chapter 7 Heat Equation Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation: u t = ku x x, x, t > (7.1) Here k is a constant

More information

The method of lines (MOL) for the diffusion equation

The method of lines (MOL) for the diffusion equation Chapter 1 The method of lines (MOL) for the diffusion equation The method of lines refers to an approximation of one or more partial differential equations with ordinary differential equations in just

More information

Relaxation methods and finite element schemes for the equations of visco-elastodynamics. Chiara Simeoni

Relaxation methods and finite element schemes for the equations of visco-elastodynamics. Chiara Simeoni Relaxation methods and finite element schemes for the equations of visco-elastodynamics Chiara Simeoni Department of Information Engineering, Computer Science and Mathematics University of L Aquila (Italy)

More information

Numerical Analysis and Methods for PDE I

Numerical Analysis and Methods for PDE I Numerical Analysis and Methods for PDE I A. J. Meir Department of Mathematics and Statistics Auburn University US-Africa Advanced Study Institute on Analysis, Dynamical Systems, and Mathematical Modeling

More information

OR MSc Maths Revision Course

OR MSc Maths Revision Course OR MSc Maths Revision Course Tom Byrne School of Mathematics University of Edinburgh t.m.byrne@sms.ed.ac.uk 15 September 2017 General Information Today JCMB Lecture Theatre A, 09:30-12:30 Mathematics revision

More information

The Discontinuous Galerkin Method for Hyperbolic Problems

The Discontinuous Galerkin Method for Hyperbolic Problems Chapter 2 The Discontinuous Galerkin Method for Hyperbolic Problems In this chapter we shall specify the types of problems we consider, introduce most of our notation, and recall some theory on the DG

More information

A Very Brief Introduction to Conservation Laws

A Very Brief Introduction to Conservation Laws A Very Brief Introduction to Wen Shen Department of Mathematics, Penn State University Summer REU Tutorial, May 2013 Summer REU Tutorial, May 2013 1 / The derivation of conservation laws A conservation

More information

Mathematical Methods - Lecture 9

Mathematical Methods - Lecture 9 Mathematical Methods - Lecture 9 Yuliya Tarabalka Inria Sophia-Antipolis Méditerranée, Titane team, http://www-sop.inria.fr/members/yuliya.tarabalka/ Tel.: +33 (0)4 92 38 77 09 email: yuliya.tarabalka@inria.fr

More information

Partial Differential Equations

Partial Differential Equations Chapter 14 Partial Differential Equations Our intuition for ordinary differential equations generally stems from the time evolution of physical systems. Equations like Newton s second law determining the

More information

Numerical Methods for PDEs

Numerical Methods for PDEs Numerical Methods for PDEs Partial Differential Equations (Lecture 1, Week 1) Markus Schmuck Department of Mathematics and Maxwell Institute for Mathematical Sciences Heriot-Watt University, Edinburgh

More information

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems Lecture Notes on Numerical Schemes for Flow and Transport Problems by Sri Redeki Pudaprasetya sr pudap@math.itb.ac.id Department of Mathematics Faculty of Mathematics and Natural Sciences Bandung Institute

More information

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

The Hopf equation. The Hopf equation A toy model of fluid mechanics The Hopf equation A toy model of fluid mechanics 1. Main physical features Mathematical description of a continuous medium At the microscopic level, a fluid is a collection of interacting particles (Van

More information

Math 46, Applied Math (Spring 2008): Final

Math 46, Applied Math (Spring 2008): Final Math 46, Applied Math (Spring 2008): Final 3 hours, 80 points total, 9 questions, roughly in syllabus order (apart from short answers) 1. [16 points. Note part c, worth 7 points, is independent of the

More information

Travelling waves. Chapter 8. 1 Introduction

Travelling waves. Chapter 8. 1 Introduction Chapter 8 Travelling waves 1 Introduction One of the cornerstones in the study of both linear and nonlinear PDEs is the wave propagation. A wave is a recognizable signal which is transferred from one part

More information

THE STOKES SYSTEM R.E. SHOWALTER

THE STOKES SYSTEM R.E. SHOWALTER THE STOKES SYSTEM R.E. SHOWALTER Contents 1. Stokes System 1 Stokes System 2 2. The Weak Solution of the Stokes System 3 3. The Strong Solution 4 4. The Normal Trace 6 5. The Mixed Problem 7 6. The Navier-Stokes

More information

Notions such as convergent sequence and Cauchy sequence make sense for any metric space. Convergent Sequences are Cauchy

Notions such as convergent sequence and Cauchy sequence make sense for any metric space. Convergent Sequences are Cauchy Banach Spaces These notes provide an introduction to Banach spaces, which are complete normed vector spaces. For the purposes of these notes, all vector spaces are assumed to be over the real numbers.

More information

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

Math 7824 Spring 2010 Numerical solution of partial differential equations Classroom notes and homework Math 7824 Spring 2010 Numerical solution of partial differential equations Classroom notes and homework Jan Mandel University of Colorado Denver May 12, 2010 1/20/09: Sec. 1.1, 1.2. Hw 1 due 1/27: problems

More information

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Lecture Notes on Numerical Schemes for Flow and Transport Problems Lecture Notes on Numerical Schemes for Flow and Transport Problems by Sri Redeki Pudaprasetya sr pudap@math.itb.ac.id Department of Mathematics Faculty of Mathematics and Natural Sciences Bandung Institute

More information

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

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

More information

Various lecture notes for

Various lecture notes for Various lecture notes for 18311. R. R. Rosales (MIT, Math. Dept., 2-337) April 12, 2013 Abstract Notes, both complete and/or incomplete, for MIT s 18.311 (Principles of Applied Mathematics). These notes

More information