1 LECTURE 6 Stability of Parabolic PDEs. 2 Aim of Lecture Last week we discussed Parabolic PDEs –Looked at Explicit and Implicit Methods –Advantages and.

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Discrete variational derivative methods: Geometric Integration methods for PDEs Chris Budd (Bath), Takaharu Yaguchi (Tokyo), Daisuke Furihata (Osaka)
Formal Computational Skills
Partial Differential Equations
Chapter 8 Elliptic Equation.
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Parabolic Partial Differential Equations
Numerical Integration of Partial Differential Equations (PDEs)
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
Infinite Sequences and Series
CHE/ME 109 Heat Transfer in Electronics LECTURE 12 – MULTI- DIMENSIONAL NUMERICAL MODELS.
PARTIAL DIFFERENTIAL EQUATIONS
Introduction to Numerical Methods I
Parabolic PDEs Generally involve change of quantity in space and time Equivalent to our previous example - heat conduction.
PDEs & Parabolic problems Jacob Y. Kazakia © Partial Differential Equations Linear in two variables: Usual classification at a given point (x,y):
Computational Fluid Dynamics I PIW Numerical Methods for Parabolic Equations Instructor: Hong G. Im University of Michigan Fall 2005.
Numerical Methods for Partial Differential Equations
Numerical Methods Marisa Villano, Tom Fagan, Dave Fairburn, Chris Savino, David Goldberg, Daniel Rave.
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
SE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM Read & CISE301_Topic9 KFUPM.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
The Finite Difference Method This section presents a quick overview bout the finite difference method. This method can be used to solve any partial differential.
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Numerical Computations in Linear Algebra. Mathematically posed problems that are to be solved, or whose solution is to be confirmed on a digital computer.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
SOLVING QUADRATIC EQUATIONS Unit 7. SQUARE ROOT PROPERTY IF THE QUADRATIC EQUATION DOES NOT HAVE A “X” TERM (THE B VALUE IS 0), THEN YOU SOLVE THE EQUATIONS.
MA2213 Lecture 11 PDE. Topics Introduction p Poisson equation p Visualization of numerical results p Boundary conditions p.
Programming assignment #2 Solving a parabolic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
Elliptic PDEs and the Finite Difference Method
Chapter 5: Numerical Methods in Heat Transfer
Numerical Methods.
Engineering Analysis – Computational Fluid Dynamics –
Engineering Analysis – Computational Fluid Dynamics –
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
16.920J/SMA 5212 Numerical Methods for PDEs Lecture 5 Finite Differences: Parabolic Problems B. C. Khoo Thanks to Franklin Tan SMA-HPC ©2002 NUS.
Numerical Analysis – Differential Equation
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
Solving Radical Inequalities. Solving radical inequalities is similar to solving rational equations, but there is one extra step since we must make sure.
Elliptic PDEs and Solvers
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 32.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
Implementing Finite Volume Methods 1.  Continue on Finite Volume Methods for Elliptic Equations  Finite Volumes in Two-Dimensions  Poisson’s Equation.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
EEE 431 Computational Methods in Electrodynamics
Lecture 4: Numerical Stability
Introduction to Numerical Methods I
Convection-Dominated Problems
Chapter 30.
21th Lecture - Advection - Diffusion
Advection – Diffusion Equation
Announcement MATHCAD for solving system of equation for HW1b
Finite Volume Method for Unsteady Flows
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
topic4: Implicit method, Stability, ADI method
topic4: Implicit method, Stability, ADI method
topic16_cylinder_flow_relaxation
topic4: Implicit method, Stability, ADI method
Topic9_Pressure_Correction
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019
MATH 175: Numerical Analysis II
topic4: Implicit method, Stability, ADI method
6th Lecture : Numerical Methods
Presentation transcript:

1 LECTURE 6 Stability of Parabolic PDEs

2 Aim of Lecture Last week we discussed Parabolic PDEs –Looked at Explicit and Implicit Methods –Advantages and disadvantages of each approach –Use of Excel to solve Parabolic PDEs This week we will discuss –Errors and Quality of Numerical Approximations to PDEs –Stability Analysis for Parabolic PDEs –Explicit and Implicit Methods.

3 Explicit – Implicit Methods Explicit Fully Implicit Crank Nicholson

4 Explicit / Implicit Comparisons i-1 i i+1 j-1 j j+1 i-1 i i+1 j-1 j j+1 Explicit Crank-Nicholson j-1 j j+1 Fully Implicit O(  t,  x 2 ) O(  t 2,  x 2 ) Computational molecules show differences between the schemes If there is more than one node at timestep j+1 the scheme is implicit

5 Boundary conditions for Parabolic PDEs Again these can be Dirichlet or Neumann Dirichlet boundaries are easy to implement Neumann are approximated using central difference approximation. For example i=

6 Explicit - Implicit Methods Comparisons EXPLICIT Unknown values at current time step depend only on known values at previous time step Advantage: Easy to implement in software and solve Disadvantage: Restrictions on time step for stability. IMPLICIT Unknown values at current time step depend on known values at previous time step and on each other Disadvantage: Requires solution of system of equations Advantage: No restrictions on time step

7 Errors in PDEs Modelling Errors –These are the difference between the mathematical modelling and the real world it is trying to represent. Discretisation Errors –Difference between the exact solution to the mathematical model and the discretised equations used to approximate it. Convergence Errors –Difference between the iterative solution results and the exact solution to the discretised equations. Other Errors –Other errors, such as rounding errors and overflow errors, can creep in if the programmer is not careful.

8 Quality of Numerical Solutions Consistency –Discretisation method should become exact as mesh spacing tends to zero. Therefore truncation error becomes zero as mesh spacing tends to zero. Stability –Numerical solution is stable if it does not magnify errors that appear during the course of solution. For example with iterative methods the solution does not diverge. Conservation –The numerical scheme used ensures that the dependent variable, for example temperature, is conserved. (i.e energy is not created nor destroyed). Boundedness –Numerical solution should lie within specific bounds. For example temperature should be within boundary conditions or temperature cannot be less than -273°C (0 Kelvin).

9 STABILITY

10 Stability Need to avoid errors magnifying over time Von-Neumann Method is used to analyse stability Consider the error at node i,j represented by E i,j How will this error grow as j increases This is the basis of stability If (Unstable) If (Stable) j-1 j j+1 i-1 i i+1

11 Errors Explicit Fully Implicit Crank Nicholson The explicit/implicit schemes for u can also be used for the errors E. Assume that so that Therefore, we have

12 Von-Neumann Stability Method Based on Fourier Series Consider the following set of errors at time step j. The above error distribution over the mesh can be represented as a Fourier Series. i=0 1 2 i-1 i i+1 N X=0 X = L

13 Von-Neumann Stability Method Consider a single harmonic given by: A j is a coefficient whose value will depend on time j. The amplification factor (or growth factor) is given by: For stability this growth factor must be less than or equal to unity (i.e. the errors will not grow), therefore

14 For the explicit method the errors are given by: Substitute the Fourier approximation for the error Therefore Divide through by Stability – Explicit Method

15 Stability – Explicit Method Therefore the growth factor is given by: Now the trig identities give: Therefore we have: Again a trig identity gives: Therefore:

16 Stability – Explicit Method For stability we require the errors not to grow as j increases. Therefore: Upper bound is always satisfied (since - slide 11). Therefore we require Now has values from 0 to 1. Worst case is 1. Therefore

17 Stability – Implicit Method For the fully implicit method the errors are given by: Substitute the Fourier approximation for the error Therefore Divide through by

18 Stability –Implicit Method Therefore the growth factor is given by: Now the trig identities give: Therefore we have: Again a trig identity gives: Therefore:

19 Stability –Implicit Method For stability we require the errors not to grow as j increases. Therefore: Now r is always positive (since - slide 11). Also is always positive ranging from 0 to 1. Therefore the above is always the case for any value of r. The implicit scheme does not place any restriction on r, hence no restriction on mesh size or time step.

20 Demonstrations Tutorial 5, Lab work question 1 Tutorial 5, Lab work question 2 (same problem but using Crank-Nicholson)