ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.

Slides:



Advertisements
Similar presentations
POLI di MI tecnicolano OPTIMAL PRECONDITIONERS FOR THE SOLUTION OF CONSTRAINED MECHANICAL SYSTEMS IN INDEX THREE FORM Carlo L. Bottasso, Lorenzo Trainelli.
Advertisements

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;
1cs542g-term Notes. 2 Solving Nonlinear Systems  Most thoroughly explored in the context of optimization  For systems arising in implicit time.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Ordinary Differential Equations (ODEs)
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems Tuesday, November 30, 2010 Numerical Solution of IVPs [not in the book] © Dan.
ME751 Advanced Computational Multibody Dynamics Implicit Integration Methods BDF Methods Handling Second Order EOMs April 06, 2010 © Dan Negrut, 2010 ME751,
ME451 Kinematics and Dynamics of Machine Systems Initial Conditions for Dynamic Analysis Constraint Reaction Forces October 23, 2013 Radu Serban University.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
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.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel. and Acc. of a Point fixed in a Ref Frame – 2.6 Absolute vs.
ME751 Advanced Computational Multibody Dynamics Introduction January 21, 2010 Dan Negrut University of Wisconsin, Madison © Dan Negrut, 2010 ME751, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 29, 2011 Elements of the Numerical Solution of the Dynamics Problem.
ME451 Kinematics and Dynamics of Machine Systems
Newton's Method for Functions of Several Variables Joe Castle & Megan Grywalski.
Start Presentation October 4, 2012 Solution of Non-linear Equation Systems In this lecture, we shall look at the mixed symbolic and numerical solution.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 1, 2011 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2011.
ME751 Advanced Computational Multibody Dynamics Section 9.3 February 16, 2010 © Dan Negrut, 2010 ME751, UW-Madison “Courage is fear holding on a minute.
Integration of 3-body encounter. Figure taken from
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems Tuesday, November 23, 2010 Reaction Forces 6.6 Numerical Solution of IVPs [not.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1, 2.2, 2.3 September 06, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Basic Concepts in Planar Kinematics 3.1, 3.2 September 18, 2013 Radu Serban University of Wisconsin-Madison.
Serge Andrianov Theory of Symplectic Formalism for Spin-Orbit Tracking Institute for Nuclear Physics Forschungszentrum Juelich Saint-Petersburg State University,
Solution of a Partial Differential Equations using the Method of Lines
ME451 Kinematics and Dynamics of Machine Systems Generalized Forces 6.2 October 16, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Introduction to Dynamics 6.1 October 09, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Singular Configurations 3.7 October 07, 2013 Radu Serban University of Wisconsin-Madison.
Boundary Value Problems l Up to this point we have solved differential equations that have all of their initial conditions specified. l There is another.
Numerical Methods.
ME451 Kinematics and Dynamics of Machine Systems Driving Constraints 3.5 September 30, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Review of Differential Calculus 2.5, 2.6 September 11, 2013 Radu Serban University of Wisconsin-Madison.
Engineering Analysis – Computational Fluid Dynamics –
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
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems May 07, 2009 EOM in non-Cartesian Reference Frames ~ not in textbook~ Quote.
ME451 Kinematics and Dynamics of Machine Systems
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 27.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Numerical Integration. Stiffness: Implicit Methods. October 30, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 6, 2011 Equilibrium Analysis & Inverse Dynamics Analysis ME451 Wrap.
ME451 Kinematics and Dynamics of Machine Systems Dealing with Differential Equations ~ A Numerical Approach ~ March 12, 2009 © Dan Negrut, 2009 ME451,
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.
ME451 Kinematics and Dynamics of Machine Systems Absolute Constraints 3.2 September 20, 2013 Radu Serban University of Wisconsin-Madison.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ME451 Kinematics and Dynamics of Machine Systems Newton-Euler EOM 6.1.2, October 14, 2013 Radu Serban University of Wisconsin-Madison.
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.
ME451 Kinematics and Dynamics of Machine Systems Relative Constraints 3.3 September 23, 2013 Radu Serban University of Wisconsin-Madison.
VEHICLE DYNAMICS SIMULATIONS USING NUMERICAL METHODS VIYAT JHAVERI.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel and Acc of a Point fixed in a Ref Frame – 2.6 Jan. 29, 2009 ©
Announcements Topics: -sections 6.4 (l’Hopital’s rule), 7.1 (differential equations), and 7.2 (antiderivatives) * Read these sections and study solved.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 4, 2010 Chapter 6 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 9, 2010 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2010.
INTEGRATOR CLASSIFICATION & CHARACTERISTICS
CHAPTER III LAPLACE TRANSFORM
Time Integration in Chrono
Date of download: 11/5/2017 Copyright © ASME. All rights reserved.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems
Chapter 27.
Objective Numerical methods Finite volume.
Numerical Analysis Lecture 37.
CHAPTER 3-2. Planar Cartesian Kinematics
Pivoting, Perturbation Analysis, Scaling and Equilibration
Presentation transcript:

ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison

2 Before we get started… Last Time: Stiff differential equations: Implicit numerical integration formulas Accuracy and Stability properties Implicit methods have much larger stability regions However, they require solution of nonlinear algebraic problems Today: Numerical integration of DAE initial value problems in multibody dynamics Newmark integration method Assignments: Homework 9 – 6.3.3, – due November 4 (12:00pm) Project 1 – due Wednesday, November 6, (11:59pm) Midterm 2: Review session – Monday 6:30pm in ME1143 Everything covered under Dynamics, not including today’s lecture Lecture 16 (October 9) – Lecture 23 (October 30)

3 Sample Problem Find the time evolution of the pendulum Steps for Dynamic Analysis: 1. Derive constrained equations of motion 2. Specify initial conditions (ICs) 3. Apply numerical integration algorithm to discretize DAE problem and turn into algebraic problem RSDA

4 Lagrange Multiplier Form of the Constrained Equations of Motion Equations of Motion Position Constraint Equations Velocity Constraint Equations Acceleration Constraint Equations

5 What’s Special About the EOM of Constrained Planar Systems? Linda R. Petzold – “Differential/Algebraic Equations Are Not ODEs” SIAM J. of Scientific and Statistical Computing (1982)

6 Numerical Solution of the DAEs in Constrained Multibody Dynamics This is a research topic in itself We cover one of the simplest algorithm possible We will use Newmark’s formulas to discretize the index-3 DAEs of constrained multibody dynamics Note that the textbook does not discuss this method Nathan M. Newmark (1910 – 1981)

7 Solution Strategy The numerical solution; i.e., an approximation of the actual solution of the dynamics problem, is produced in the following three stages: Stage 1: two integration (discretization) formulas, Newmark in our case, are used to express the positions and velocities as functions of accelerations Stage 2: everywhere in the constrained EOM, the positions and velocities are replaced using the discretization formulas and expressed in terms of the acceleration This is the most important step, since through this “discretization” the differential problem is transformed into an algebraic problem Stage 3: the acceleration and Lagrange multipliers are obtained by solving a nonlinear system

Newmark Integration Formulas (1/2)

9 Newmark Integration Formulas (2/2)

The rigid multibody dynamics problem is more complicated than the Linear Finite Element problem used to introduce Newmark’s formulas Additional algebraic equations: constraints that the solution must satisfy Additional algebraic variables: the Lagrange multipliers that come along with these constraints Newmark’s method can be applied for the DAE problem, with slightly more complexity in the resulting algebraic problem. DAEs of Constrained Multibody Dynamics Linear Finite Element Dynamics Problem Nonlinear Multibody Dynamics Problem

11 Variables in the DAE Problem All these quantities are functions of time (they change in time)

Stage 3: Discretization of the Constrained EOM (1/3) Recall, these are Newmark’s formulas that express the generalized positions and velocities as functions of the generalized accelerations

13 Stage 3: Discretization of the Constrained EOM (2/3) The unknowns are the accelerations and the Lagrange multipliers The number of unknowns is equal to the number of equations The equations that must be solved now are algebraic and nonlinear Differential problem has been transformed into an algebraic one The new problem: find acceleration and Lagrange multipliers that satisfy We have to use Newton’s method We need the Jacobian of the nonlinear system of equations (chain rule will be used to simplify calculations) This looks exactly like what we had to do when for Kinematics analysis of a mechanism (there we solved  (q,t)=0 to get the positions q)

14 Stage 3: Discretization of the Constrained EOM (3/3)

15 Chain Rule for Computing the Jacobian (1/3) Newton’s method for the solution of the nonlinear system relies on the Jacobian Use the chain rule to calculate the above partial derivatives. Note that, from the Newmark formulas we get

16 Consider Apply the chain rule of differentiation to obtain and Chain Rule for Computing the Jacobian (2/3)

17 Consider Apply the chain rule of differentiation to obtain and Chain Rule for Computing the Jacobian (3/3)

18 Newton’s method applied to the system Jacobian obtained as Corrections computed as Solving the Nonlinear System

19 At each integration time step Newton Method for Dynamics Find consistent initial conditions for generalized positions and velocities Calculate the generalized accelerations and Lagrange multipliers Compute the correction vector by solving a linear system with the Jacobian as the system matrix and the residual as the RHS vector. Compute the infinity norm of the correction vector (the largest entry in absolute value) which will be used in the convergence test Is error less than tolerance? NO Need to further improve accelerations and Lagrange multipliers YES

20 Newton-Type Methods Geometric Interpretation Newton method At each iterate, use the direction given by the current derivative Modified Newton method At all iterates, use the direction given by the derivative at the initial guess Quasi Newton method At each iterate, use a direction that only approximates the derivative

21 Quasi Newton Method for the Dynamics Problem (1/3)

22 Approximate the Jacobian by ignoring these terms Nonlinear equations: Exact Jacobian: Approximate Jacobian: Therefore, we modify the solution procedure to use a Quasi Newton method Quasi Newton Method for the Dynamics Problem (2/3)

23 Quasi Newton Method for the Dynamics Problem (3/3)

24 At each integration time step Quasi Newton Method for Dynamics Find consistent initial conditions for generalized positions and velocities. Calculate the generalized accelerations and Lagrange multipliers. Calculate the approximate Jacobian matrix. Only evaluate this matrix at the first iteration and reuse it at subsequent iterations. Compute the correction vector by solving a linear system. Note that the system matrix is constant during the iterative process. Compute the infinity norm of the correction vector (the largest entry in absolute value) which will be used in the convergence test. Is error less than tolerance? NO Need to further improve accelerations and Lagrange multipliers YES

25 Sample Problem Find the time evolution of the pendulum Steps for Dynamic Analysis: 1. Derive constrained equations of motion 2. Specify initial conditions (ICs) 3. Apply numerical integration algorithm to discretize DAE problem and turn into algebraic problem RSDA