Page 1 of 1

Is semi-implicit Euler unconditionally stable?

Posted: Mon Sep 30, 2013 9:44 pm
by lgchemer
Hello.

I just wonder if the (widely used) semi-implicit Euler time integration is "unconditionally stable."
My intuition says "no" because the gravity is explicitly integrated.
However, I see the simulation is very stable with increase of time step size (although inaccuracy certainly increases).

Is there any one know if it is unconditionally stable or not.
If not, is there any theoretical numerical limit such that the stability is guaranteed?

Thanks much!!

Re: Is semi-implicit Euler unconditionally stable?

Posted: Mon Sep 30, 2013 10:37 pm
by RandyGaul
It is not, however it is "good enough" as per Erin Catto: integration slides; information about implicit, forward and semi-implicit.

Stability will lower at very low framerates, as the approximation error will be larger and larger.

Re: Is semi-implicit Euler unconditionally stable?

Posted: Tue Oct 01, 2013 4:46 pm
by bone
It depends on what you're simulating. For a simple mass-spring system, there is a simple formula for whether it is too stiff for semi-implicit Euler to be stable. IIRC, the oscillation frequency has to be less than half of the physics sampling frequency.

Re: Is semi-implicit Euler unconditionally stable?

Posted: Wed Oct 09, 2013 3:12 pm
by lgchemer
Thanks much for your replies.