Example for RungeKutta4 is unstable #5030
-
Hi, 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.
Replies: 1 comment 2 replies
-
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.
Hi @John-MF
Thanks a lot for reporting this.
Unfortunately I do not use the RK4 often (nor other explicit schemes). Since the regression tests never complained I guess it has this behavior for some time. I will discuss this with other devs but I checked and this behavior occurs also:
I only reached a stable simulation using a higher stiffness ($E=5000$ ) and a sma…