POV-Ray : Newsgroups : povray.binaries.animations : Re: And finally... elastic cube turns to liquid : Re: And finally... elastic cube turns to liquid Server Time
20 Jul 2024 01:19:28 EDT (-0400)
  Re: And finally... elastic cube turns to liquid  
From: Florian Pesth
Date: 30 Apr 2002 13:52:45
Message: <3cced9ed@news.povray.org>
Hi!
> How it could be done? Probably with some sort of
> n-body-algorithm, with adaptive time-steps, good
> approximation for hundreds of particles, springs...
Yes, that's exactly what I meant. Leap frog is just some kind of Runge Kutta
(which is also a numerical solution to differential equations), but it's
faster and it's reversible. I have programmed (as most physic students) a
Runge Kutta of order 4 to simulate planetary movement. Later we have used
same algorithm for gas simulation with 100 particles. But Leap Frog should
be better for this purpose for speed reasons. Any forces should be possible.
>
> A lot of stuff, so probably not be coded in pure
> POV. *sigh*
I would prefer external program in C. Also for speed reasons.
Thanks for reply,
Florian


Post a reply to this message

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