Example for RungeKutta4 is unstable #5030
Unanswered
John-MF
asked this question in
Write / Run a simulation
Replies: 1 comment 1 reply
-
Hi @John-MF Thanks a lot for reporting this.
I only reached a stable simulation using a higher stiffness ( I hope this helps |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I tried running the example examples/Component/ODESolver/Forward/RungeKutta4Solver.scn, but the simulation always explodes around the 5th second. Even setting a dt of 0.001 I get this problem.
Can someone check if they have the same behaviour ? I should have recompiled a clean version of SOFA without fast math, but I may have missed something still.
Here is how it behaves on my machine (instability appears at 00:14)
SOFA.v24.06.00.-sofa_src_examples_Component_ODESolver_Forward_RungeKutta4Solver.scn.2024-09-27.10-13-23.mp4
Beta Was this translation helpful? Give feedback.
All reactions