Skip to content

Example for RungeKutta4 is unstable #5030

Discussion options

You must be logged in to vote

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:

  • with lower dt, meaning that it does not seem to be a stability issue
  • with a direct solver, this does not seem to be a matrix-conditioning issue
  • with a some of the point partially fixed instead of fully fixed in order to decrease the over-constraint effect, this did not change anything
  • with a lower Poisson ratio, it helped a bit

I only reached a stable simulation using a higher stiffness ($E=5000$) and a sma…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@John-MF
Comment options

@hugtalbot
Comment options

Answer selected by hugtalbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expert discussion required Technical or scientific topic which requires investigation or discussion among SOFA experts
2 participants