Has anyone run across or have an example of Jos Stam's Stable Fluids but in 3D? I need to pursue a 3D version of this in openGL but have been having a terrible time doing so. Is there an example of this preferably in openGL/C/C++?
This is the best information I found about solving the Navier Stokes equitation (searched about 6 month ago): link text. It explains every part of the equitation solver in the most easy way that I have ever found. I haven't looked intensively into Jos Stam's paper, but it seems to be based on this equitation.
However the link I posted is also in 2D, but as the code is so easy, it should be no problem to add one (or even more xD) additional dimension.
Edit:I just realized that the talk that I have linked was held by Jos Stam :). Its a small world. Nevertheless the talk is better documented then the pdf, so I hope it helps.
Although this answer comes a few years late, it might still be useful:
3D implementation here: http://graphics.ethz.ch/teaching/former/imagesynthesis_06/miniprojects/p3/
Another 3D implementation: https://code.google.com/p/smoke3d
Also, this thesis has source code at the end (Bongart, Robert) http://www.nada.kth.se/utbildning/grukth/exjobb/rapportlistor/2007/rapporter07/bongart_robert_07018.pdf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With