ME751 Advanced Computational Multibody Dynamics Implicit Integration Methods BDF Methods Handling Second Order EOMs April 06, 2010 © Dan Negrut, 2010 ME751,

Slides:



Advertisements
Similar presentations
Boyce/DiPrima 9th ed, Ch 2.4: Differences Between Linear and Nonlinear Equations Elementary Differential Equations and Boundary Value Problems, 9th edition,
Advertisements

Numerical Integration
ME751 Advanced Computational Multibody Dynamics Section 9.2 February 2, 2010 © Dan Negrut, 2010 ME751, UW-Madison “My own business always bores me to death;
Ordinary Differential Equations
ME751 Advanced Computational Multibody Dynamics Section 9.2 February 9, 2010 © Dan Negrut, 2010 ME751, UW-Madison “In England, if you commit a crime, the.
ME751 Advanced Computational Multibody Dynamics
ME 440 Intermediate Vibrations
Runge-Kutta Methods.
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
FP1: Chapter 2 Numerical Solutions of Equations
Ordinary Differential Equations (ODEs)
Chapter 3 Root Finding.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems Tuesday, November 30, 2010 Numerical Solution of IVPs [not in the book] © Dan.
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.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method October 04, 2013 Radu Serban University of Wisconsin-Madison.
ME751 Advanced Computational Multibody Dynamics Introduction January 21, 2010 Dan Negrut University of Wisconsin, Madison © Dan Negrut, 2010 ME751, UW-Madison.
ME751 Advanced Computational Multibody Dynamics Review Calculus Starting Chapter 9 of Haug book January 26, 2010 © Dan Negrut, 2010 ME751, UW-Madison "Motivation.
Boyce/DiPrima 9th ed, Ch 8.4: Multistep Methods Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 29, 2011 Elements of the Numerical Solution of the Dynamics Problem.
Erin Catto Blizzard Entertainment Numerical Integration.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
ME 440 Intermediate Vibrations Th, Feb. 5, 2009 Section 2.2 and 2.6 © Dan Negrut, 2009 ME440, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 1, 2011 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2011.
ME 440 Intermediate Vibrations Th, March 26, 2009 Chapter 5: Vibration of 2DOF Systems © Dan Negrut, 2009 ME440, UW-Madison.
ME751 Advanced Computational Multibody Dynamics Solution of the Dynamics Analysis Problem (using BDF implicit integration) April 08, 2010 © Dan Negrut,
1 Interpolation. 2 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a.
LURE 2009 SUMMER PROGRAM John Alford Sam Houston State University.
Integration of 3-body encounter. Figure taken from
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
ME751 Advanced Computational Multibody Dynamics Section 9.6 February 25, 2010 © Dan Negrut, 2010 ME751, UW-Madison “In China if you are one in a million.
ME451 Kinematics and Dynamics of Machine Systems
ME751 Advanced Computational Multibody Dynamics Solving Initial Value Problems Basic Concepts March 23, 2010 © Dan Negrut, 2010 ME751, UW-Madison “I have.
ME 440 Intermediate Vibrations Tu, March 10, 2009 Chapter 4: Vibration Under General Forcing Conditions © Dan Negrut, 2009 ME440, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Driving Constraints 3.5 September 30, 2013 Radu Serban University of Wisconsin-Madison.
CHAPTER 3 NUMERICAL METHODS
Large Timestep Issues Lecture 12 Alessandra Nardi Thanks to Prof. Sangiovanni, Prof. Newton, Prof. White, Deepak Ramaswamy, Michal Rewienski, and Karen.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems May 07, 2009 EOM in non-Cartesian Reference Frames ~ not in textbook~ Quote.
1 INTERPOLASI. Direct Method of Interpolation 3 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a value.
ME 440 Intermediate Vibrations Th, April 16, 2009 Chapter 6: Multi-degree of Freedom (MDOF) Systems © Dan Negrut, 2009 ME440, UW-Madison Quote of the Day:
ME451 Kinematics and Dynamics of Machine Systems Numerical Integration. Stiffness: Implicit Methods. October 30, 2013 Radu Serban University of Wisconsin-Madison.
Chapter 5. Ordinary Differential Equation
ME451 Kinematics and Dynamics of Machine Systems Dealing with Differential Equations ~ A Numerical Approach ~ March 12, 2009 © Dan Negrut, 2009 ME451,
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.
ME451 Kinematics and Dynamics of Machine Systems Numerical Integration October 28, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 9, 2010 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2010.
ME451 Kinematics and Dynamics of Machine Systems Driving Constraints 3.5 Start Position, Velocity, and Acc. Analysis 3.6 February 26, 2009 © Dan Negrut,
ME451 Kinematics and Dynamics of Machine Systems Start Position, Velocity, and Acc. Analysis 3.6 October 21, 2010 © Dan Negrut, 2010 ME451, UW-Madison.
1/14  5.2 Euler’s Method Compute the approximations of y(t) at a set of ( usually equally-spaced ) mesh points a = t 0 < t 1
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method 4.5 October 28, 2010 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts used in.
ME 440 Intermediate Vibrations Th, April 2, 2009 Chapter 5: Vibration of 2DOF Systems © Dan Negrut, 2009 ME440, UW-Madison Quote of the Day: It is a miracle.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 4, 2010 Chapter 6 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts.
Answers for Review Questions for Lectures 1-4. Review Lectures 1-4 Problems Question 2. Derive a closed form for the estimate of the solution of the equation.
Interpolation.
ME751 Advanced Computational Multibody Dynamics
Chapter 27.
Introduction.
Chapter 26.
INTERPOLASI.
MATH 175: Numerical Analysis II
Presentation transcript:

ME751 Advanced Computational Multibody Dynamics Implicit Integration Methods BDF Methods Handling Second Order EOMs April 06, 2010 © Dan Negrut, 2010 ME751, UW-Madison “Do what you can, with what you have, where you are.” Theodore Roosevelt

Before we get started… Last Time: Discussed Implicit Integration Methods, general considerations Today: BDF Methods (one of several families of implicit numerical integration methods) Dealing with 2nd order IVPs HW due on Th – challenging Exam coming up on April 29, 7:15 PM Closed books (no book to open anyway) Can bring one normal sheet of paper with formulas (both sides) I’ll provide the cheat sheet that you received a while ago Trip to John Deere & NADS: Need head count by April 8, use forum discussion topic to indicate if you are in or not Transportation and hotel will be covered Leave late afternoon on May 3, return on May 4 at 10 pm or so 2

BDF Methods BDF stands for Backward Differentiation Formula Proposed by Bill Gear in 1970 Super nice person Back in ’70s he was a professor in Comp. Science at UIUC Former director of NEC Research Institute Professor Emeritus, Princeton BDF methods are the most widely used implicit multistep methods BDF methods, together with HHT methods, are the two most used to integration formulas in ADAMS (the software package) 3 Bill Gear

BDF Methods Relation to AB or AM Methods Recall that in getting AB-M and AM-M methods, the important decision was to integrate the value of function f Integrating at t n over f n-1,…,f n-k led to AB-M Integrating at t n over f n,…,f n-k led to AM-M The interpolation polynomial was integrated and the outcome was the family of Adams integration formulas 4

BDF Methods Relation to AB or AM Methods Compared to AM and/or AB Methods, BDF formulas are obtained by making completely opposite choices Rather than interpolating f, we will interpolate y Rather than using the interpolation polynomial to perform a time integration, the interpolation polynomial will be used in computing a time derivative Specifically, the points y n,…,y n-k are used to generate a polynomial that approximates y(t) If one takes the time derivative of this interpolation polynomial at time t n the value obtained should be an approximation of the time derivative of y(t). By setting this time derivative to f(t n,y n ) one gets a BDF method. 5

BDF Methods The BDF methods are implicit methods With ® 0 =1, they assume the form 6 NOTE: for k>6, the absolute stability region of the resulting BDF methods is so small that they are useless Example: BDF of order two Since BDF is a multistep method you’ll need to ‘prime’ the method; i.e., providing the solution for a number of steps before the method is self sufficient

Exercise [AO, Handout] 7 Find the BDF that uses y n, y n-1, y n-2 in approximating the solution of t n. Hint: Take the following steps Build polynomial p(t) that passes through y n, y n-1, y n-2 Take time derivative of p(t) at t n and set it to f(t n,y n )

BDF Methods: Table below provides convergence order p, the number of steps k of the M method, the coefficients ¯ 0, and the values of the coefficients ® 0, ® 1,… 8 Example: based on the table above, the second order BDF formula (k=2) is pk ¯0¯0 ®0®0 ®1®1 ®2®2 ®3®3 ®4®4 ®5®5 ®6® /3 1-4/31/3 336/ /119/11-2/ / /2536/25-16/253/ / /137300/ /13775/137-12/ / /147450/ /147225/147-72/14710/147

Exercise Plot the absolute stability regions for the BDF formulas up to order 6 Comment on the size of the region of absolute stability 9

Exercise Prove that the BDF method with k=4 is convergent with order 4 Approach: Compute the roots of the characteristic equations to prove zero-stability Verify that the order conditions are satisfied up to order 4 Use theorem that says that Zero-stability + Accuracy to order p ) Convergence of order p 10

Exercise Generate the convergence plot for the BDF method of order 6 for the following IVP: 11 Use the analytical solution, that is, y(t)=1/t, t 2 [1,4] to generate the starting points (history) required by the integration formula Note that in practice you can’t count on this break for the starting points, so you will have to use RK methods or gradually increase the order of the M method used to build the required history

BDF Method: Implementation Details (Newton Iteration) Recall that the BDF method is an implicit method Requires at each time step the solution of a nonlinear system of equations Approaches discussed so far for implicit multistep methods when it comes to solving the nonlinear discretization system: Functional Iteration PECE schemes (which can still be regarded as a flavor of Functional Iteration) Note that these two approaches only work for nonstiff IVPs, unless one is open to the idea of having very small step-sizes (which defeats the purpose of implicit integration…) 12

BDF Method: Implementation Details (Newton Iteration) The approach adopted for stiff problems is to solve the discretization nonlinear system by using Newton-Raphson or some variant Recall the nonlinear algebraic problem that we have to solve at each time step t n : 13 It boils down to solving the following system of nonlinear equations: Note that is a constant quantity that only depends on previous values of the unknown function y (l stands for the order of the BDF):

BDF Method: Implementation Details (Newton Iteration) The Newton-Raphson iteration assumes the expression: 14 The starting point is usually chosen like

BDF Method: Implementation Details The Modified Newton step The modified-Newton assumes the form (note the (0) superscript): 15

Loose Ends We have not discusses about the following aspects of M methods Local error estimation Step size selection Order selection The three strategy for changing the step size Fixed-coefficient strategy Variable-coefficient strategy Fixed leading-coefficient strategy These aspects discussed in Ascher-Petzold book 16

[New Topic] Handling 2 nd Order IVP 17

Outcome, Dynamics Analysis [Nonlinear Mass-Spring-Damper] 18

19

Expressing the Position and Velocity as Functions of Acceleration 20

Separating the Terms: Known vs. Unknown 21

22 Separating the Terms: The Known Terms

The Nonlinear System 23

Computing Sensitivities 24

Newton-Type Methods: Three Flavors 25

Newton-Type Methods: [Geometric Interpretation] 26