In this paper, a method is developed that results in guidelines for selecting the best Ordinary Differential Equation (ODE) solver and its parameters, for a class of nonlinear hybrid system were impacts are present. A monopod interacting compliantly with the ground is introduced as a new benchmark problem, and is used to compare the various solvers available in the widely used matlab ode suite. To provide result generality, the mathematical description of the hybrid system is brought to a dimensionless form, and its dimensionless parameters are selected in a range taken from existing systems and corresponding to different levels of numerical stiffness. The effect of error tolerance and phase transition strategy is taken into account. The obtained system responses are evaluated using solution speed and accuracy criteria. It is shown that hybrid systems represent a class of problems that cycle between phases in which the system of the equations of motion (EoM) is stiff (interaction with the ground), and phases in which it is not (flight phases); for such systems, the appropriate type of solver was an open question. Based on this evaluation, both general and case-specific guidelines are provided for selecting the most appropriate ODE solver. Interestingly, the best solver for a realistic test case turned out to be a solver recommended for numerically nonstiff ODE problems.
A Comparison of Ordinary Differential Equation Solvers for Dynamical Systems With Impacts
Contributed by the Design Engineering Division of ASME for publication in the JOURNAL OF COMPUTATIONAL AND NONLINEAR DYNAMICS. Manuscript received December 4, 2016; final manuscript received May 24, 2017; published online September 7, 2017. Assoc. Editor: Stefano Lenci.
- Views Icon Views
- Share Icon Share
- Search Site
Dallas, S., Machairas, K., and Papadopoulos, E. (September 7, 2017). "A Comparison of Ordinary Differential Equation Solvers for Dynamical Systems With Impacts." ASME. J. Comput. Nonlinear Dynam. November 2017; 12(6): 061016. https://doi.org/10.1115/1.4037074
Download citation file: