projectchrono / chrono

High-performance C++ library for multiphysics and multibody dynamics simulations
http://projectchrono.org
BSD 3-Clause "New" or "Revised" License
2.18k stars 457 forks source link

Non-smooth contacts incompatible with Runge Kutta integrator? #512

Open wedesoft opened 3 weeks ago

wedesoft commented 3 weeks ago

Hi, I managed to get collisions working using NSC material and Euler Implicit Projected (source code: stack.cc). However when I switch to the Runge Kutta 4 method, the collisions don't seem to work properly any more.

falling stack

Am I doing something wrong or is the NSC solver just incompatible with Runge Kutta integration?

wedesoft commented 3 weeks ago

Ok, found this document https://www.projectchrono.org/assets/white_papers/ChronoCore/integrator.pdf