3 ms·
Wow so cool. Any summary on how the algorithm works roughly?
by holoduke 7y ago
Wow so cool.
Any summary on how the algorithm works roughly?
- starpilot 7y agoThe repo refers to this article: http://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch38.html http://developer.download.nvidia.com/books/HTML/gpugems/gpug... Looks like it's standard Navier-Stokes.
- theoh 7y agoIf it's based on that, it's essentially an implementation of Jos Stam's "stable fluids" which actually uses some tricks to get plausible results. http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/ns.pdf http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/...
- petschge 7y agoNot quite standard. The trick is to use backward differencing in time, to make it unconditionally stable even for longer time steps. Also the Poisson equation to get the pressure is only solved approximately by doing Jacobi iterations until the solution is "good enough". And of course it is limited to 2d and the incompressible limit.