PDEs & Parabolic problems Jacob Y. Kazakia © 20031 Partial Differential Equations Linear in two variables: Usual classification at a given point (x,y):

Slides:



Advertisements
Similar presentations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 301 Finite.
Advertisements

Partial Differential Equations
Computational Modeling for Engineering MECN 6040
Chapter 8 Elliptic Equation.
Parabolic Partial Differential Equations
1cs542g-term Notes  No extra class tomorrow.
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
PART 7 Ordinary Differential Equations ODEs
ECE602 BME I Partial Differential Equations in Biomedical Engineering.
CHE/ME 109 Heat Transfer in Electronics LECTURE 12 – MULTI- DIMENSIONAL NUMERICAL MODELS.
PARTIAL DIFFERENTIAL EQUATIONS
Lecture 34 - Ordinary Differential Equations - BVP CVEN 302 November 28, 2001.
Introduction to Numerical Methods I
Parabolic PDEs Generally involve change of quantity in space and time Equivalent to our previous example - heat conduction.
CHE/ME 109 Heat Transfer in Electronics LECTURE 11 – ONE DIMENSIONAL NUMERICAL MODELS.
PARTIAL DIFFERENTIAL EQUATIONS
Computational Fluid Dynamics I PIW Numerical Methods for Parabolic Equations Instructor: Hong G. Im University of Michigan Fall 2005.
1 Chapter 9 NUMERICAL SOLUTION OF 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.
Numerical Methods for Partial Differential Equations
Finite Difference Methods to Solve the Wave Equation To develop the governing equation, Sum the Forces The Wave Equation Equations of Motion.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 81 Partial.
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.
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.
Scientific Computing Partial Differential Equations Explicit Solution of Wave Equation.
COMPUTATIONAL MODELING FOR ENGINEERING MECN 6040 Professor: Dr. Omar E. Meza Castillo Department.
© Arturo S. Leon, BSU, Spring 2010
Hyperbolic PDEs Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Lecture 3.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Numerical methods to solve parabolic PDEs. Mathematical models: 5° Classification Classification based on the type of the solution (except, usually, the.
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
MA2213 Lecture 11 PDE. Topics Introduction p Poisson equation p Visualization of numerical results p Boundary conditions p.
Chapter 5: Numerical Methods in Heat Transfer
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.
Introduction to PDE classification Numerical Methods for PDEs Spring 2007 Jim E. Jones References: Partial Differential Equations of Applied Mathematics,
Engineering Analysis – Computational Fluid Dynamics –
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.
Ch 10.6: Other Heat Conduction Problems
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
AMS 691 Special Topics in Applied Mathematics Lecture 8
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
MA428 Class Project The Heat Equation Temperature Distribution in a Bar with Radiating Ends.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Department of Mathematics Numerical Solutions to Partial Differential Equations Ch 12. Applied mathematics. Korea University.
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.
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
Substitution Method: Solve the linear system. Y = 3x + 2 Equation 1 x + 2y=11 Equation 2.
Part 8 - Chapter 29.
EEE 431 Computational Methods in Electrodynamics
Chapter 30.
PDEs and Examples of Phenomena Modeled
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Hyperbolic Equations IVP: u(x,0) = f(x), - < x <  IBVP:
Thermal-ADI: a Linear-Time Chip-Level Dynamic Thermal Simulation Algorithm Based on Alternating-Direction-Implicit(ADI) Method Good afternoon! The topic.
Numerical Solutions of Partial Differential Equations
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
Finite Difference Method for Poisson Equation
topic4: Implicit method, Stability, ADI method
6th Lecture : Numerical Methods
Presentation transcript:

PDEs & Parabolic problems Jacob Y. Kazakia © Partial Differential Equations Linear in two variables: Usual classification at a given point (x,y): From the numerical point of view Initial Value Problem ( time evolution) Hyperbolic or Parabolic Boundary Value Problem ( static solution) Elliptic Computational Concern: Initial Value Problem : Stability Boundary Value Problem: Efficiency

PDEs & Parabolic problems Jacob Y. Kazakia © Parabolic PDEs insulated rod time line x = 0 x = L x axis T = 0 o at all times T = 0 o at all times T = T 0 f ( x ) at time = 0 What is the temperature later ? T(x,t) T(x+  x,t)  x area A heat flux in heat flux out heat flux in = heat flux out = Balance equation:

PDEs & Parabolic problems Jacob Y. Kazakia © nondimensionalization

PDEs & Parabolic problems Jacob Y. Kazakia © Numerical Solution x = 0 u = f(x) x = L u = g 1 (t)u = g 2 (t) u t = u xx consider a grid: this results in an explicit method: where

PDEs & Parabolic problems Jacob Y. Kazakia © Stencil for explicit solution h h k

PDEs & Parabolic problems Jacob Y. Kazakia © Example - Instability then using we obtain the following results rational arithmetic rounded to one decimal u 1 =3*0 - 5(1/3) + 3*(2/3) = 1/3 u 2 =3*(1/3) - 5(2/3) + 3*1 = 2/3 u 3 =3*0 - 5(1/3) + 3*(2/3) = 1/3 u 4 =2/3.. Solution : u = x ( satisfies all conditions) u 1 =3*0 - 5(.3) + 3*(.7) =.6 u 2 =3*(.3) - 5(.7) + 3*1 =.4 u 3 =3*0 - 5(.6) + 3*(.4) = -1.8 u 4 =+2.8 u 5 = 17.4 u 6 = u 7 = u 8 = Unstable results u = 0 u = 1/3 u = 2/3 u = 1 x = 1 u=0u=1 t x

PDEs & Parabolic problems Jacob Y. Kazakia © Instability - reasons/conditions x = a u =  u=0 t x u 1 = (1 - 2 )  u 2 = (1 - 2 ) 2  u 3 = (1 - 2 ) 3 .. u n = (1 - 2 ) n  for physically sensible results we must have (1 - 2 ) positive and less than one

PDEs & Parabolic problems Jacob Y. Kazakia © Stable solution- the Implicit method (x, t) hh k (x+h, t)(x-h, t) (x, t - k)

PDEs & Parabolic problems Jacob Y. Kazakia © Example on Implicit method u =.3u =.7 u=0u=1 t x k = h = 1 / 3,  = 3, = 7 for the points 1 and 2 at the first level up we obtain 3 * u u 2 = u u * 1 = using one decimal digit arithmetic the solution of this system is: u 2 =.7 and u 1 =.3 Stable and consistent method.

PDEs & Parabolic problems Jacob Y. Kazakia © Crank - Nicholson Method A h k This is more accurate without increasing the work considerably. Same form LHS of the equation

PDEs & Parabolic problems Jacob Y. Kazakia © A Boundary Value Technique 1 here U(x) is the solution of the problem for t  large summarized on the right solve the problem and get U(x)

PDEs & Parabolic problems Jacob Y. Kazakia © A Boundary Value Technique 2 we can then write the finite difference analog of the equation using the stencil 0 u(x,t)1 u(x+h,t) u(x-h,t) 3 2 u(x,t+k) 4 u(x,t-k) see example next slide

PDEs & Parabolic problems Jacob Y. Kazakia © B V T Example 1 the exact solution of this problem is: ( differentiate and substitute to prove that this is indeed the case) As time tends to large values the problem simplifies to: U xx = x U x with U(0) = 0 and U(1) = 0 which has the trivial solution U = 0 everywhere We choose T = 2 ( this is our approximation to large time) and we use k = h = 1/3

PDEs & Parabolic problems Jacob Y. Kazakia © B V T Example 2 (0,2) (0,5/3) (0,4/3) (0,1) (0,2/3) (0,1/3) (0,0) (1/3,0)(2/3,0)(1,0) (1,1/3) (1,2/3) (1,1) (1,4/3) (1,5/3) (1,2) (1/3,2)(2/3,2) u=0 t x u=1/3u=2/3 u=1 u=e -1/3 u=e -2/3 u=e -1 u=e -4/3 u=e -5/3 u=e -2 = we now write the finite difference equations for each of the 10 points and we obtain 10 equations to be solved simultaneously. This produces a solution which agrees with the exact one in two decimal places The first two equations ( points 1 and 2 ) are: verify this

PDEs & Parabolic problems Jacob Y. Kazakia © Two Dimensional Diffusion Equation 1 n+1 2 n+1 5 n+1 0 n+1 6 n+1 3 n+1 7 n+1 4 n+1 8 n+1 A 1n1n 2n2n 5n5n 0n0n 6n6n 3n3n 7n7n 4n4n 8n8n Try to implement Crank- Nicholson Scheme on this problem We must write one such equation per each interior point and then solve the system at each time step.

PDEs & Parabolic problems Jacob Y. Kazakia © Two Dimensional Diff. Eqn Cont. We must write one such equation per each interior point and then solve the system at each time step. finite difference equivalent Difficulty: Large system of equations which is sparse but not tridiagonal or even banded Remedy: ADI method ( Alternating Direction Implicit solution) a) write the above equation in the form: b) divide each time step into two steps of size  t/2. In each sub step, treat a different dimension implicitly i.e. Advantage: at each sub step only a tridiagonal system is solved