Time integration methods for the Heat Equation Solution u for t=0.0035 1Tobias Köppl TUM.

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

Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Steady-state heat conduction on triangulated planar domain May, 2002
Computational Modeling for Engineering MECN 6040
Chapter 8 Elliptic Equation.
Uniform Treatment of Numerical Time-Integrations of the Maxwell Equations R. Horváth TU/e, Philips Research Eindhoven TU/e Eindhoven, 27th June, 2002 Scientific.
Optimization of thermal processes
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Prof. Chung-Kuan Cheng 1.
Ordinary Differential Equations
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Solutions for Nonlinear Equations
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
MECH300H Introduction to Finite Element Methods Lecture 10 Time-Dependent Problems.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
1 Chapter 6 Numerical Methods for Ordinary Differential Equations.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
ME451 Kinematics and Dynamics of Machine Systems
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
Introduction to Scientific Computing II From Gaussian Elimination to Multigrid – A Recapitulation Dr. Miriam Mehl.
Integration of 3-body encounter. Figure taken from
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
1 Complex Images k’k’ k”k” k0k0 -k0-k0 branch cut   k 0 pole C1C1 C0C0 from the Sommerfeld identity, the complex exponentials must be a function.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Large Timestep Issues Lecture 12 Alessandra Nardi Thanks to Prof. Sangiovanni, Prof. Newton, Prof. White, Deepak Ramaswamy, Michal Rewienski, and Karen.
Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (II)
MECH4450 Introduction to Finite Element Methods Chapter 9 Advanced Topics II - Nonlinear Problems Error and Convergence.
Introduction to Scientific Computing II Overview Michael Bader.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
Partial Derivatives Example: Find If solution: Partial Derivatives Example: Find If solution: gradient grad(u) = gradient.
Ch 8.2: Improvements on the Euler Method Consider the initial value problem y' = f (t, y), y(t 0 ) = y 0, with solution  (t). For many problems, Euler’s.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Ordinary Differential Equations
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
3/23/05ME 2591 Numerical Methods in Heat Conduction Reference: Incropera & DeWitt, Chapter 4, sections Chapter 5, section 5.9.
First-order Differential Equations Chapter 2. Overview II. Linear equations Chapter 1 : Introduction to Differential Equations I. Separable variables.
Differential Equations
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Lecture 11 Alessandra Nardi
EEE 431 Computational Methods in Electrodynamics
Scientific Computing Lab
CSE245: Computer-Aided Circuit Simulation and Verification
Class Notes 18: Numerical Methods (1/2)
CSE 245: Computer Aided Circuit Simulation and Verification
Hyperbolic Equations IVP: u(x,0) = f(x), - < x <  IBVP:
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
Sec 21: Analysis of the Euler Method
Numerical Analysis Lecture14.
CSE245: Computer-Aided Circuit Simulation and Verification
Numerical Analysis Lecture13.
Numerical Analysis Lecture 37.
Numerical Analysis Lecture 38.
MATH 175: Numerical Analysis II
6th Lecture : Numerical Methods
Chapter 2 A Survey of Simple Methods and Tools
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Numerical Modeling Ramaz Botchorishvili
Presentation transcript:

Time integration methods for the Heat Equation Solution u for t= Tobias Köppl TUM

Agenda: Tobias Köppl TUM2 1. Time integration methods 1.1. Implicit and explicit Onestep Methods 1.2. Convergence theory for Onestep Methods 2. The Heat Equation 2.1. Discretization of the Laplacian operator 2.2. Application of Time integration methods 2.3. Courant-Friedrichs-Levy condition 3. Outlook 4. Literature

Tobias Köppl TUM3 Notation: :is a differentiable function, which maps from the intervall into : vector space of d dimensional vectors with components, which are in : field of real numbers and whose derivative function is continous partial derivative of y with respect to t Laplacian operator of y Machine accuracy with

1. Time integration methods Tobias Köppl TUM Implicit and explicit Onestep Methods Goal: Find numerical approximations of functions which are solutions of an ODE withan initial value: (IVP)

1. Time integration methods 1.1. Implicit and explicit Onestep Methods 5Tobias Köppl TUM Example (IVP): Dahlquist‘s Testequation

Tobias Köppl TUM6 1. Time integration methods 1.1. Implicit and explicit Onestep Methods Construction of a time integration method Divide the continous intervall by discrete timepoints: Grid on for all Stepsize of grid : by a gridfunction Approximation of the solution at the gridpoints t

Tobias Köppl TUM7 1. Time integration methods 1.1. Implicit and explicit Onestep Methods Such algorithms are called Onestep Methods. Additionaly: Computation of the gridfunction by recursion, should be possible. Reason: For the computation ofonlyfrom the timepoint before is needed. Further possibility: Multistep Methods. See literature for more information f.e. [DB II] Chapter 7 or [QSS] Chapter 11

1. Time integration methods 1.1. Implicit and explicit Onestep Methods Tobias Köppl TUM8 Two popular Onestep Methods are the explicit and the implicit Euler Method: explicit Euler Method: implicit Euler Method:

1. Time integration methods 1.1. Implicit and explicit Onestep Methods Tobias Köppl TUM9 Geometry of the explicit Euler Method: The explicit Euler Method is creating a path (Euler path). t Construction of: t Compute the tangent vector t in Compute the intersection point between: and First component of this intersection point is the next value of the gridfunction Source: [DB II]

1. Time integration methods Tobias Köppl TUM Convergence theory for Onestep Methods Issue: Under which conditions does a Onestep Method converge towards the exact solution of an ODE with an initial value? Definition (local discretization error): The local discretization error of a gridfunction for a grid on the intervall is defined as: is the solution of the IVP: on

1. Time integration methods 1.2. Convergence theory for Onestep Methods Tobias Köppl TUM11 Definition: A Onestep Method is called constistent, if: for Theorem: The explicit and the implicit Euler Method are consistent. Proof: See f. e. [DB II] Chapter 4.

1. Time integration methods 1.2. Convergence theory for Onestep Methods Tobias Köppl TUM12 Defintion (convergence): A Onestep Method is called convergent towards the exact solution of an IVP, if: for Definition (global discretization error): The global discretization error is the maximum error between the computed approximations and the corresponding values of the exact solution

1. Time integration methods 1.2. Convergence theory for Onestep-Methods Tobias Köppl TUM13 Comparison of local and global Discretization error: Source: [Bun]

1. Time integration methods 1.2. Convergence theory for Onestep-Methods Tobias Köppl TUM14 Defintion (stability): A numerical algorithm is called (numerically) stable, if for all permitted input data perturbed in the size of computational accuracy ( ) acceptable results are produced under the influence of rounding and method errors. Maintheorem of Numerics: A Onestep Method is convergent, if and only if it is consistent.

1. Time integration methods 1.2. Convergence theory for Onestep-Methods Tobias Köppl TUM15 Remark: Stability of a Onestep Method is an essential condition for getting qualitatively correct solutions, when using practical stepsizes. See numerical experiment. Proof: See f. e. [Jun] Chapter 4. Theorem: The implicit Euler Method is stable for any stepsize The explicit Euler Method is only stable for small Example: If, the explicit Euler Method is a stable integrator for Dahlquist‘s testequation.

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM16 Goal: Find a numerical approximation of the two dimensional Laplacian operator in order to solve the Poisson equation: (PE)

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM17 Discretization Method: Finite Differences Main idea: Replace differential operators by difference operators Further discretization methods: Finite Volumes or Finite Elements See literature for more information f.e. [QSS] or [Wa]

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM18 Discretization of Discretizationpoints: and Uniform grid with grid parameter h

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM19 Source: [Hu]

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM20 expand in a Taylor series aroundand Discretization of the two dimensional Laplacian operator: expand in a Taylor series aroundand Discretization error: is an interior point of the unit square

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM21 In order to get a numerical solution of the (PE) we have to solve the following System of linear equations: Matrix- Vectornotation: (SLSE)

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM22 Structure of the Matrix A: A ist a sparse Matrix Use fast iterative solvers like Jacobi Method or Gauß Seidel Method for the solution of (SLSE) See f.e. [El] Source: [Hu]

2. The Heat Equation 2.1. Discretization of the Laplacian operator Tobias Köppl TUM23 Example: Solution: See numerical example

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM24 Goal: Find numerical approximations of functions which are solutions of the homogenous Heat Equation:

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM25 Solution of the Heat Equation depends on time and space. Discretization of time and space is necessary Both time and space can be discretized by an uniform grid Source: [SK] h h

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM26 Discretization of Discretizationpoints: and Uniform grid (2D) with grid parameter h Discretization of Uniform grid (1D) with stepsize k and n timepoints timepoints:

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM27 Construct a local IVP for every (IVP(ij))

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM28 Solve IVP(ij) with the implicit Euler Method: Use the discretization of the two dimensional Laplacian Operator:

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM29 We have to solve the following system of linear equations for every timestep: Use again fast iterative solvers like Jacobi Method or Gauß Seidel Method for the solution of (SLSE II) (SLSE II)

2. The Heat Equation 2.2. Application of Time integration methods Tobias Köppl TUM30 Numerical Example: (Cooling of a heated plate)

2. The Heat Equation 2.3. Courant-Friedrichs-Levy condition Tobias Köppl TUM31 (IVP(ij)) can be solved by the explicit Euler Method, too. Chapter 1.2.: explicit Euler Method is only stable for a small stepsize k Maintheorem of Numerics: Stability is an essential condition for getting qualitatively correct solutions, when using practical stepsizes.

2. The Heat Equation 2.3. Courant-Friedrichs-Levy condition Tobias Köppl TUM32 h h Theorem (CFL condition): The explicit Euler Method is a stable solver for the Heat Equation if: Proof: See [CFL] Source: [SK]

2. The Heat Equation 2.3. Courant-Friedrichs-Levy condition Tobias Köppl TUM33 Numerical Example: (Cooling of a heated plate, solved with the explicit Euler Method and a discretization which is not conform with the CFL condition)

3. Outlook Tobias Köppl TUM Let x(t) be the solution of an (IVP): Adaptive discretization algorithms, with a good error measurement are required 34 Source: [DH I] x(t) t An uniform discretization of the time axis, would lead to a Onestep Method with slow convergence

3. Outlook Tobias Köppl TUM35 Further topics: Optimization of the algorithms, solving the sparse linear equation systems, with respect to storage and number of floating point operations Traversing a certain grid efficiently (peano curves) Preconditioning of the Matrix representing the mentioned SLSE

4. Literature: Tobias Köppl TUM36 [DH I]: Numerische Mathematik I, Deuflhard/Hohmann, 2002, 3. edition [DB II]: Numerische Mathematik II, Deuflhard/Bornemann, 2002, 2. edition [Jun]: Lecture on Numerische Mathematik, Junge, 2007 [SK]: Numerische Mathematik, Schwarz/Köckler, 2006, 6. edition [QSS]: Numerische Mathematik 2, Quateroni/Sacco/Saleri, 2002, 2. edition [Wa]: Lecture on Finite Elements, Wall, 2007, 2. edition [Hu]: Numerics for computer sience students, Huckle/Schneider, 2002, 3. edition [Bun]: Lecture on numerical programming, Bungartz, 2007 [El]: Finite Elements and Fast Iterative Solvers, Elman/Silvester/Wathen, 2005, 2. ed. [Fo I]: Analysis I, Forster, 1976, 6. edition [Fo II]: Analysis II, Forster, 1976, 6. edition [Fei]: Introduction into the theory of partial differential equations, 2000 [CFL]: Über die partiellen Differentialgleichungen der mathematischen Physik, Courant, Friedrichs, Levy, 1928

Thank you for your attention!!! Tobias Köppl TUM37