Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Instructor: Tim Warburton.

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Advertisements

5.1 Real Vector Spaces.
Boyce/DiPrima 9th ed, Ch 2.8: The Existence and Uniqueness Theorem Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Chapter 8 Elliptic Equation.
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
9.1 Power Series.
Rational Equations and Partial Fraction Decomposition
ECE 3336 Introduction to Circuits & Electronics
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
19. Series Representation of Stochastic Processes
Numerical Methods for Partial Differential Equations
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 11 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 2 Instructor: Tim Warburton.
Module 1 Introduction to Ordinary Differential Equations Mr Peter Bier.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 6 Various Finite Difference Discretizations for the Advection Equations.
Numerical Methods for Partial Differential Equations
Solving Equations Containing To solve an equation with a radical expression, you need to isolate the variable on one side of the equation. Factored out.
Louisiana Tech University Ruston, LA Slide 1 The Rectangular Channel Steven A. Jones BIEN 501 Friday, April 4th, 2008.
Solving Systems of Linear Equations
5.6 Daily Warm-Up 7.1 Daily Warm-Up
MATH 31 LESSONS PreCalculus 2. Powers. A. Power Laws Terminology: b x.
Lecture 22 MA471 Fall Advection Equation Recall the 2D advection equation: We will use a Runge-Kutta time integrator and spectral representation.
8.1 Solving Systems of Linear Equations by Graphing
What is a model Some notations –Independent variables: Time variable: t, n Space variable: x in one dimension (1D), (x,y) in 2D or (x,y,z) in 3D –State.
Lecture 16 Solving the Laplace equation in 2-D Remember Phils Problems and your notes = everything Only 6 lectures.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
1 Section 5.5 Solving Recurrences Any recursively defined function ƒ with domain N that computes numbers is called a recurrence or recurrence relation.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 3 AB2,AB3, Stability, Accuracy Instructor: Tim Warburton.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Prepared by Mrs. Azduwin Binti Khasri
7.2-3 Solving Linear Equations. A linear equation in one variable is an equation in which the same letter is used in all variable terms and the exponent.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 5 Summary of convergence checks for LMM and one-step time stepping Instructor:
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 8.
Fundamentals of Electric Circuits Chapter 18 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dynamic Presentation of Key Concepts Module 8 – Part 2 AC Circuits – Phasor Analysis Filename: DPKC_Mod08_Part02.ppt.
Solve by using the ELIMINATION method The goal is to eliminate one of the variables by performing multiplication on the equations. Multiplication is not.
DIFFERENTIAL EQUATIONS 10. DIFFERENTIAL EQUATIONS Unfortunately, it’s impossible to solve most differential equations in the sense of obtaining an explicit.
Series Solutions of Linear Differential Equations CHAPTER 5.
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
7.1 Solving Systems of Linear Equations in Three Variables.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 12 Instructor: Tim Warburton.
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Chapter 7 The Laplace Transform
Advanced Engineering Mathematics, 7 th Edition Peter V. O’Neil © 2012 Cengage Learning Engineering. All Rights Reserved. CHAPTER 4 Series Solutions.
Chapter 1 First-Order Differential Equations Shurong Sun University of Jinan Semester 1,
MA428 Class Project The Heat Equation Temperature Distribution in a Bar with Radiating Ends.
Boyce/DiPrima 9 th ed, Ch 11.3: Non- Homogeneous Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
WEEK 6 Day 2. Progress report Thursday the 11 th.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
Introduction to Symmetry Analysis Brian Cantwell Department of Aeronautics and Astronautics Stanford University Chapter 1 - Introduction to Symmetry.
Math for CS Fourier Transforms
Trigonometric Identities
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Numerical Methods for Partial Differential Equations
Laplace Transforms Chapter 3 Standard notation in dynamics and control
Solving Systems of Linear Equations By Elimination
Real Numbers and Algebraic Expressions
UNIT II Analysis of Continuous Time signal
Warm Up Simplify each expression. 1. 3x + 2y – 5x – 2y
Trigonometric Identities
Start with a square one unit by one unit:
Fundamentals of Electric Circuits Chapter 18
Presentation transcript:

Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Instructor: Tim Warburton

CAAM 452 Spring 2005 Overview Our final goal is to be able to solve PDE’s of the form: This is a conservation law with some form of dissipation (under assumptions on A) We will discuss boundary conditions, solution domain , and suitable solution spaces for this equation later.

CAAM 452 Spring 2005 Physical Examples These and similar equations and vector analogs are pervasive: –Fluid mechanics (Euler equations, compressible Navier-Stokes equations, magnetohydrodynamics). –Electromagnetics (Maxwell’s equations) –Heat equation –Shallow water equations –Atmospheric models –Ocean models –Bio-population models (morphogenesis, predator prey, epidemiology) –…..

CAAM 452 Spring 2005 Divide and Conquer It is highly non-trivial to solve these equations analytically (i.e. with smarts, pen and paper). We can forget the idea of writing down closed form solutions for the general case. We will consider the component parts of the equations and discuss techniques to solve the reduced equations. Some very reduced models admit exact solutions which allow us to check how well we are doing. Finally we will put different methods together and aim for the big prize.

CAAM 452 Spring 2005 Simplification Let’s choose a simple example, namely the 1D advection diffusion equation. This PDE is first order in time and second order in space.

CAAM 452 Spring 2005 Further Simplification We can simplify even further by dropping the second order diffusion or dissipation term: This PDE is first order in time and first order in space. Volunteer to solve this equation analytically?.

CAAM 452 Spring 2005 Necessary Information to Solve The IBVP The Initial, Boundary, Value Problem represented by the PDE requires some extra information in order to to be solvable. What do we need?.

CAAM 452 Spring 2005 Answer In this case, because of the hyperbolic nature of the PDE (solution travels from right to left with increasing time), we need to supply: a)Extent of solution domain b)What is the solution at start of the solution process: u(x,0) c)Boundary data: u(b,t) d)Final integration time. x t Need to specify the solution at t=0 As we just saw we also need to specify inflow data x=ax=b

CAAM 452 Spring 2005 Brief Summary There is a checklist of conditions we will need to consider to obtain a hopefully unique solution of a PDE 1)The PDE (duh) 2)Boundary values (also known as boundary conditions) 3)Initial values (if there is a time-like variable) 4)Solution domain

CAAM 452 Spring 2005 Periodic Case Suppose we remove the inflow and imagine that the interval [a,b) is periodic. Further suppose we wish to solve for the solution at some non-negative time T. We can indicate this by the following specification:

CAAM 452 Spring 2005 Analytical Solution Volunteer: For this PDE to make sense we should discuss something about u 0, what?

CAAM 452 Spring 2005 Fourier Series Representation (p4 GKO) In other words, we can express a sufficiently smooth function in terms of an infinite trigonometric polynomial. The fhats are the Fourier coefficients of the polynomial.

CAAM 452 Spring 2005 Returning to the Advection Equation We wills start with a specific Fourier mode as the initial condition: We try to find a solution of the same type:

CAAM 452 Spring 2005 cont Substituting in this type of solution the PDE: Becomes an ODE: With initial condition

CAAM 452 Spring 2005 cont We have Fourier transformed the PDE into an ODE. We can solve the ODE: And it follows that the PDE solution is:

CAAM 452 Spring 2005 Note on Fourier Modes Note that since the function should be 2pi periodic we are able to deduce: We can also use the superposition principle for the more general case when the initial condition contains multiple Fourier modes:

CAAM 452 Spring 2005 cont Let’s back up a minute – the crucial part was when we reduced the PDE to an ODE: The advantage is: we know how to solve ODE’s both analytically and numerically (more about this later on).

CAAM 452 Spring 2005 Add Diffusion Back In So we have a good handle on the advection equation, let’s reintroduce the diffusion term: Again, let’s assume 2-pi periodicity and assume the same ansatz: This time:

CAAM 452 Spring 2005 cont Again, we can solve this trivial ODE:

CAAM 452 Spring 2005 cont The solution tells a story: The original profile travels in the direction of decreasing x (first exponential term) As the profile travels it decreases in amplitude (second exponential term)

CAAM 452 Spring 2005 What Did Diffusion Do?? Advection: Diffusion: Adding the diffusion term shifted the multiplier on the right hand side of the Fourier transformed PDE (i.e. the ODE) into the left half plane. We summarize the role of the multiplier…

CAAM 452 Spring 2005 Categorizing a Linear ODE Exponential growth  Exponential decay Increasingly oscillatory  Increasingly  oscillatory Here we plot the behavior of the solution to the top right ODE for mu in the complex plane

CAAM 452 Spring 2005 Solving the Scalar ODE Numerically We know the solution to the scalar ODE However, it is also reasonable to ask if we can solve it approximately. We have now simplified as far as possible. Once we can solve this model problem numerically, we will apply this technique using the method of lines to approximate the solution of the PDE.

CAAM 452 Spring 2005 ODE Prototype We will consider ODE’s of the kind

CAAM 452 Spring 2005 ODE Time Stepping Topics We will cover the following details on time stepping the ODE. –Stability of time stepping –Stability regions in the complex plane –Accuracy of time stepping –Convergence of time stepping method with decreasing time step –Examples of explicit time stepping methods: Euler forward Leap-frog Adams-Bashford Runge-Kutta

CAAM 452 Spring 2005 Reading for Next Week Study: Gustaffson-Kreiss-Oliger (GKO) p3-17 and p38-39 Brush up your programming and PDE knowledge – there will be frequent implementation exercises.