|
![](/i/fill.gif) |
"Sigmund Kyrre Aas" <as### [at] stud ntnu no> wrote in message
news:urps6uo8pk9fjqhqe0th0jtmoi68c8ih78@4ax.com...
> Nice work. If you want even better accuracy I reccomend the 4th order
> RK scheme. Paired with an adaptive timestepping routine it should be
> both faster and more stable than Heun.
Thanks Sigmund!!!
I think a higher order method would not help *that* much... The main problem
is not supposed to be about accuracy, but stability. I have read that the
derivatives of the forces of the cloth can be quite high, and this can cause
unstability problems with EXPLICIT methods (Forward Euler, Heun,
Runge-Kutta), but stability problems can be fixed with IMPLICT methods (I
only know Backward Euler).
Nevertheless, I've found that the Heun method works very well with
not-very-small timesteps and haven't had (fortunately) stability problems.
I think I'll play just a little bit more with cloths and then I'll be back
into something else... maybe fluids?
Anyway, I'm really happy that you liked it! Thanks again!
Fernando.
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Very nice. :) *big drooling grin*
I don't really think there's a need for any higher order method than Heun's
method.
Looking forward to see further developments.
regards,
Simen.
>
> * Goodbye Forward Euler! Now I'm using Heun's method (also known as
Improved
> Euler), it is a second-order explicit method, similar to Runge-Kutta, but
RK
> is of 4th order. It seems that I can now take much larger steps without
> worrying too much. I'm still using a variable-timestep scheme.
> * New damping process to avoid in-cloth oscillations.
>
Post a reply to this message
|
![](/i/fill.gif) |