1 Numerical Methods and Software for Partial Differential Equations Lecturer:Dr Yvonne Fryer Time:Mondays 10am-1pm Location:QA210 / KW116 (Black)

Slides:



Advertisements
Similar presentations
Chapter 3 Steady-State Conduction Multiple Dimensions
Advertisements

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Part Eight Partial Differential Equations.
PART 7 Ordinary Differential Equations ODEs
ECE602 BME I Partial Differential Equations in Biomedical Engineering.
Boundary Element Method (BEM) Zoran Ilievski Wednesday 28 th June, 2006 HG 6.96 (TU/e)
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
Math for CSLecture 121 Partial Differential Equations Boundary Value Problems.
MANE 4240 & CIVL 4240 Introduction to Finite Elements Introduction to differential equations Prof. Suvranu De.
PARTIAL DIFFERENTIAL EQUATIONS
Partial Differential Equations
PARTIAL DIFFERENTIAL EQUATIONS
Partial differential equations Function depends on two or more independent variables This is a very simple one - there are many more complicated ones.
Chapter 13 Finite Difference Methods: Outline Solving ordinary and partial differential equations Finite difference methods (FDM) vs Finite Element Methods.
Numerical Methods for Partial Differential Equations
Types of Governing equations
COMPUTATIONAL MODELING FOR ENGINEERING MECN 6040 Professor: Dr. Omar E. Meza Castillo Department.
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.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
Matmol Metoda linii Method of lines
Welcome to ME 130 Applied Engineering Analysis Class
Scientific Computing Partial Differential Equations Introduction and
Hyperbolic PDEs Numerical Methods for PDEs Spring 2007 Jim E. Jones.
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering Partial Differential Equations - Background Physical problems are governed.
Partial Differential Equations Introduction –Adam Zornes, Deng Li Discretization Methods –Chunfang Chen, Danny Thorne, Adam Zornes.
Scientific Computing Partial Differential Equations Poisson Equation.
Partial Differential Equations Finite Difference Approximation.
Math 3120 Differential Equations with Boundary Value Problems
CHAPTER 5 MESB 374 System Modeling and Analysis Thermal Systems
The complex exponential function REVIEW. Hyperbolic functions.
Boyce/DiPrima 9 th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
MA2213 Lecture 11 PDE. Topics Introduction p Poisson equation p Visualization of numerical results p Boundary conditions p.
Elliptic PDEs and the Finite Difference Method
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 8 - Chapter 29.
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
1 EEE 431 Computational Methods in Electrodynamics Lecture 3 By Dr. Rasime Uyguroglu.
Introduction to PDE classification Numerical Methods for PDEs Spring 2007 Jim E. Jones References: Partial Differential Equations of Applied Mathematics,
Ch 1.3: Classification of Differential Equations
Introduction to Numerical Methods for ODEs and PDEs Lectures 1 and 2: Some representative problems from engineering science and classification of equation.
Engineering Analysis – Computational Fluid Dynamics –
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
Partial Derivatives bounded domain Its boundary denoted by
Partial Derivatives Example: Find If solution: Partial Derivatives Example: Find If solution: gradient grad(u) = gradient.
Partial Differential Equations Introduction – Deng Li Discretization Methods –Chunfang Chen, Danny Thorne, Adam Zornes CS521 Feb.,7, 2006.
Chapter 1 Partial Differential Equations
Differential Equations
Textbook and Syllabus Textbook: Syllabus:
Boyce/DiPrima 9 th ed, Ch1.3: Classification of Differential Equations Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Ch. 12 Partial Differential Equations
Part 8 - Chapter 29.
I- Computational Fluid Dynamics (CFD-I)
Finite Difference Methods
Boundary-Value Problems in Rectangular Coordinates
Christopher Crawford PHY
Boyce/DiPrima 10th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
INTRODUCTION : Convection: Heat transfer between a solid surface and a moving fluid is governed by the Newton’s cooling law: q = hA(Ts-Tɷ), where Ts is.
Introduction to Partial Differential Equations
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
PDEs and Examples of Phenomena Modeled
Ch 1.3: Classification of Differential Equations
Ch 1.3: Classification of Differential Equations
Finite Difference Method
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
CS6068 Applications: Numerical Methods
Brief introduction to Partial Differential Equations (PDEs)
Partial Differential Equations
topic4: Implicit method, Stability, ADI method
APPLICATION OF LINEAR ALGEBRA IN MECHANICAL ENGINEERING
Presentation transcript:

1 Numerical Methods and Software for Partial Differential Equations Lecturer:Dr Yvonne Fryer Time:Mondays 10am-1pm Location:QA210 / KW116 (Black)

2 Aim of Lecture During this lecture we will discuss: –Course outline –Partial differential equations Elliptic Parabolic Hyperbolic –Numerical Methods Finite Difference Finite Volume Finite Element –Software : Excel, PDE-Toolbox

3 Components of Course Partial Differential Equations Numerical Methods Software

4 Course Outline 10 Week course + 2 other weeks 1 Coursework 1 Exam Assessment 50:50 (Exam:CW) Approximate times (lectures lengths vary): –Lecture 10am – ~11:30am Queen Anne A210 –Class work: ~11:30am – 12noon Queen Anne A210 –Lab work: 12noon – 1pm King William W116 (Black) –Homework: finish off Class & Lab work

5 Textbooks Morton & Mayers, Numerical Solution of Partial Differential Equations (Cambridge University Press, 2005) is recommended if you want to do some background reading Burden & Faires, Numerical Analysis (Brooks Cole, 2001) has a good chapter on Numerical Methods for PDEs However you do not require either of these books – the lecture notes should suffice

6 Partial Differential Equations PDEs are used extensively to represent real world phenomena and processes. –Heat transfer in nuclear reactors. –Airflow around an aircraft. –Structural dynamics of a bridge. –Movement of money in financial markets. –Etc. Modelling & simulation of such processes requires solution of these PDEs.

7 Modelling in Industry: Automobiles

8 Modelling in Industry: Aerospace

9 Modelling in Industry: Electronics

10 Partial Differential Equations Ordinary Differential Equation Describes rate of change in population (P) over time (t). Only one independent variable. Partial Differential Equations have more than one independent variable.

11 Partial Differential Equations Note the difference in the differential terms. The dependent variable f = f(t) is dependent on only time (t) for the ODE. For the PDE the dependent variable u is dependent on both directions x and y. Partial Differentials Ordinary Differential

12 Introduction Partial Differential Equations (PDEs) can be used to represent, mathematically, a large amount of real-world phenomena. For example the heat conduction across the earth: Where u(t,x,y,z) is temperature, K, , and  are material properties and x, y, z and t are space locations and time.

13 Partial Differential Equations Example: Temperature on a computer board. x T=  Heat Source Q y

14 Terminology For simplicity, we will deal only with only two independent variables: –two space variables: x and y, or –one space variable and one time variable denoted by x and t respectively. The unknown function is denoted by u and its partial derivatives: Mostly we shall use the longer form. However, watch out for the short form in past exam papers.

15 Terminology In two dimensions the gradient (Grad) operator is given by the vector: Divergence (Div) is given by the dot product The Laplacian is given by:

16 Classroom discussion Consider the scalar function and the vector function i.e. is the component of u in the x direction Calculate the following and state what the result represents (e.g. vector, scalar)

17 Classification of PDEs The generalised 2 nd order linear PDE can be written: where a, b, c, d, e, f, g are constants (some may be 0). A PDE in this form is said to be: –Hyperbolic if : b 2 – 4ac > 0 –Parabolic if: b 2 – 4ac = 0 –Elliptic if : b 2 – 4ac < 0

18 Exercise Classify the following PDEs 1) 2) 3) 4)

19 Elliptic PDEs Elliptic PDEs represent phenomena that have already reached a steady state and are, hence, time independent. Two classic Elliptic Equations are: –Laplace Equation –Poisson's Equation u(x,y) is independent variable and g is a constant

20 Elliptic PDE - Example Temperature, u(x,y) profile around two computer chips on a printed circuit board. Q is the power source and K is the thermal conductivity Heat Source Q

21 Further Examples Poisson’s equation can be used to model many different phenomena Flow in Porous Media Current in extended bodies DiffusionTorsion in a bar constitutive law g Darcy Hooke Ohm Fick V: Voltage fluid supply D: conductivityD: permeabilityD: diffusion coeffs rate of twistelectric chargeion supply c: concentration : piezometric head : Prandtl stress function

22 Parabolic PDEs Parabolic PDEs describe time dependent phenomena, such as conduction of heat, that are evolving towards steady state. Classical parabolic equation is the one dimensional heat or diffusion equation.

23 Parabolic PDE - Example One-dimensional heat diffusion along a pipe. Pipe is heated from one end. Time Initial Conditions Steady state conditions

24 Hyperbolic PDE - Example A continuously-vibrating undamped Violin or Guitar string. Example – wave equation Time

25 Boundary and Initial Conditions For a PDE based mathematical model of a physical system to have a solution then we must have: –The PDE –The physical domain of interest –The boundary and initial conditions. Elliptic problems require boundary conditions Parabolic & Hyperbolic equations require both initial and boundary conditions.

26 Boundary and Initial Conditions Two types of boundary condition may be given: –Dirichlet : u(x,y) = c –Neumann : (and mixed : ) where c is a constant. Initial condition for u(x,t):

27 Boundary and Initial Conditions For example consider the temperature, u(x,y), across the following plate. Mathematical model to represent temperature u(x,y) is: Insulated (0,0) y 25 o C x Insulated 100 o C (10,5)

28 Boundary and Initial Conditions u(10,y) =100 u(0,y) =25 MODEL RESULT Insulated 100 o C 25 o C (0,0) (10,5) REAL WORLD

29 Numerical Methods Usually we cannot solve the PDEs by analytical means. In this case numerical methods are used. Such methods are: –Finite Differences –Finite Volumes –Finite Elements These methods discretise the governing equations at discrete points in the domain. These discretised equations are then solved using computers.

Microsoft Excel (standard spreadsheet software) MATLAB ( Can solve PDEs 30 Numerical Software

31 Example Simulate temperature between two rooms using Laplace Equation All external walls insulated 5 Meters 3 Meters Fridge (-100C) Fire Place (40C)

32 Results from Example