POV-Ray : Newsgroups : povray.binaries.animations : New ideas that yield nothing but frustration... DIVX : Re: New ideas that yield nothing but frustration... DIVX Server Time
2 Nov 2024 11:24:36 EDT (-0400)
  Re: New ideas that yield nothing but frustration... DIVX  
From: Simen Kvaal
Date: 3 Feb 2002 05:58:33
Message: <3c5d17d9$1@news.povray.org>
What about using a Runge-Kutta integration scheme? I haven't studied
cloth-simulation in any extent, bu I suppose one has a (poosibly) huge set
of ODEs to solve. Euler is intrisicly unstable, but 4th order Runge-Kutta is
very stable, even with high force gradients in newtonian systems.

regards
Simen Kvaal.


> I've been implementing the Backward Euler method, which is supposed to be
> much more stable in stiff equations (like those which arise in cloth
> simulations). It has not been very easy, mainly because, in contrast with
> forward Euler, one has to find the derivatives of the force functions, and
> solve a linear system.
>
> Even though it takes much more time per iteration, in theory, one can take
> much larger time steps, and it's faster in the long run.
>
> However, I'm still having to take rather small steps, because if not, I
have
> stability problems.
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.