Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perfectly elastic objects gain energy with TGS soft in Newton's cradle example #630

Open
Jondolf opened this issue May 10, 2024 · 0 comments

Comments

@Jondolf
Copy link

Jondolf commented May 10, 2024

The Newton's cradle example seems to gain energy over time with the TGS soft solver. The balls have a coefficient of restitution of 1.

2024-05-10.14-03-57.mp4

Increasing the number of iterations doesn't help much, as the same occurs when using 40 solver iterations. However, the legacy PGS solver behaves significantly better. So the new solver appears to have a restitution regression.

2024-05-10.14-19-59.mp4

This is on the master branch, with untouched default parameters.

Of course, it's worth noting that a Newton's cradle might not be the best stability or robustness test, and results can vary greatly depending on the setup and how large the gap between the balls is. But it might still be worth looking into considering they gain energy so easily here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant