Chapter 26.

Slides:



Advertisements
Similar presentations
Formal Computational Skills
Advertisements

MATLAB EXAMPLES Initial-value problems
Computational Modeling for Engineering MECN 6040
Ordinary Differential Equations
1cs542g-term Notes  Even if you’re not registered (not handing in assignment 1) send me an to be added to a class list.
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,
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Multistep methods previous methods use information at xi to predict yi+1 multistep methods use information from xi-1, xi-2, etc. leads to better results.
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Differential Equations and Boundary Value Problems
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.
-S.SIVARAJA Dept of MATHEMATICS.  N-NUMERICAL  M-METHODS EASY TO LEARN & EASY TO SCORE.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Boyce/DiPrima 9th ed, Ch 8.4: Multistep Methods Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Integration of 3-body encounter. Figure taken from
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. ~ Ordinary Differential Equations ~ Stiffness and Multistep.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 261 Stiffness.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
Sensitivity derivatives Can obtain sensitivity derivatives of structural response at several levels Finite difference sensitivity (section 7.1) Analytical.
Scientific Computing Multi-Step and Predictor-Corrector Methods.
Large Timestep Issues Lecture 12 Alessandra Nardi Thanks to Prof. Sangiovanni, Prof. Newton, Prof. White, Deepak Ramaswamy, Michal Rewienski, and Karen.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Chapter 5. Ordinary Differential Equation
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.
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Sec 21: Generalizations of the Euler Method Consider a differential equation n = 10 estimate x = 0.5 n = 10 estimate x =50 Initial Value Problem Euler.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Lecture 11 Alessandra Nardi
CHAPTER 3 NUMERICAL METHODS
Ordinary Differential Equations
Part 7 - Chapter 25.
Ordinary Differential Equations
ECE 576 – Power System Dynamics and Stability
Chapter 22.
525602:Advanced Numerical Methods for ME
CSE245: Computer-Aided Circuit Simulation and Verification
Class Notes 18: Numerical Methods (1/2)
Numerical Solutions of Ordinary Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
Class Notes 19: Numerical Methods (2/2)
Chapter 23.
Numerical Analysis Lecture 45.
CSE 245: Computer Aided Circuit Simulation and Verification
Chapter 27.
Part 7 - Chapter 25.
CSE245: Computer-Aided Circuit Simulation and Verification
Sec:5.4 RUNGE-KUTTA METHODS.
Numerical Analysis Lecture 37.
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L2.
5.3 Higher-Order Taylor Methods
Numerical Analysis Lecture 38.
MATH 175: NUMERICAL ANALYSIS II
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
Overview Class #2 (Jan 16) Brief introduction to time-stepping ODEs
5.6 Multistep Methods The methods discussed to this point in the chapter are called one-step methods because the approximation for the mesh point involves.
MATH 175: NUMERICAL ANALYSIS II
Differential equations
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L7 KFUPM.
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

Chapter 26

Stiffness and Multistep Methods Chapter 26 Two areas are covered: Stiff ODEs will be described - ODEs that have both fast and slow components to their solution. Implicit solution technique and multistep methods will be described.

Stiffness A stiff system is the one involving rapidly changing components together with slowly changing ones. Both individual and systems of ODEs can be stiff: If y(0)=0, the analytical solution is developed as:

Figure 26.1

The solution starts at y(0)=y0 and asymptotically approaches zero. Insight into the step size required for stability of such a solution can be gained by examining the homogeneous part of the ODE: The solution starts at y(0)=y0 and asymptotically approaches zero. is the solution.

If Euler’s method is used to solve the problem numerically: The stability of this formula depends on the step size h:

Thus, for transient part of the equation, the step size must be <2/1000=0.002 to maintain stability. While this criterion maintains stability, an even smaller step size would be required to obtain an accurate solution. Rather than using explicit approaches, implicit methods offer an alternative remedy. An implicit form of Euler’s method can be developed by evaluating the derivative at a future time.

Backward or implicit Euler’s method The approach is called unconditionally stable. Regardless of the step size:

Figure 26.2

Figure 26.3

Multistep Methods The Non-Self-Starting Heun Method/ Huen method uses Euler’s method as a predictor and trapezoidal rule as a corrector. Predictor is the weak link in the method because it has the greatest error, O(h2). One way to improve Heun’s method is to develop a predictor that has a local error of O(h3).

Figure 26.4

Step-Size Control/ Constant Step Size. Variable Step Size. A value for h must be chosen prior to computation. It must be small enough to yield a sufficiently small truncation error. It should also be as large as possible to minimize run time cost and round-off error. Variable Step Size. If the corrector error is greater than some specified error, the step size is decreased. A step size is chosen so that the convergence criterion of the corrector is satisfied in two iterations. A more efficient strategy is to increase and decrease by doubling and halving the step size.

Figure 26.6

Integration Formulas/ Newton-Cotes Formulas. Open Formulas. Closed Formulas. fn(x) is an nth order interpolating polynomial.

Adams Formulas (Adams-Bashforth). Open Formulas. The Adams formulas can be derived in a variety of ways. One way is to write a forward Taylor series expansion around xi. A second order open Adams formula: Closed Formulas. A backward Taylor series around xi+1 can be written: Listed in Table 26.2

Figures 26.7

Figure 26.8

Figure 26.9

Higher-Order multistep Methods/ Milne’s Method. Uses the three point Newton-Cotes open formula as a predictor and three point Newton-Cotes closed formula as a corrector. Fourth-Order Adams Method. Based on the Adams integration formulas. Uses the fourth-order Adams-Bashforth formula as the predictor and fourth-order Adams-Moulton formula as the corrector.