His 3D fluid simulation and renderer is even more beautiful! https://benedikt-bitterli.me/vorton-fluid.html
I came across a nice video/presentation from some guys at SpaceX on using GPUs to model and visualise the fluid flows inside rocket engines (specifically the Raptor engine) and around spacecraft during reentry, as well as a good explanation of how they do it efficiently using adaptive grids. Their explanations are quite approachable as well.
He also made this 2D light renderer http://htmlpreview.github.io/?https://github.com/tunabrain/t...
His page needs a trigger warning for Imposter Syndrome.
The most impressive version of this I have seen is from NASA/Boeing: https://youtu.be/-D5N_OnZ_Tg
I cannot imagine the amount of work that goes into something like this.
For those who would like round off this excellent post with some classy, non-gpu, retro platform fluid, please check out Fluid Fire, a great little 1k Amiga bootsector intro.
In the Hot Black Smoke video, how does the asymmetry occur? Is it due to imperfections in the calculations?
There is a Reddit community for Generative Art:
Computer generated art is fascinating
Beautiful. If he were to sell hi-res prints of some of these I'm sure people would buy them.
> white fluid and heavy, black fluid flow past each other, creating the Kelvin-Helmholtz instability
This reminded me of the recent Jupiter images: https://solarsystem.nasa.gov/planets/jupiter/galleries
Ah, brings back fond memories. I always loved physics simulations and managed to implement a fluid solver (after reading ) back in 2005. When I got the basic 2D version working, I spent maybe 20 minutes just stirring the vortices with a mouse - so fun!
 Visual Simulation of Smoke (physbam.stanford.edu/~fedkiw/papers/stanford2001-01.pdf)
I watched it fullscreen on a mobile phone and in the later stages it was mesmerizing. A fluid simulation as phone screen saver would be awesome.
I've just been thinking car repair, so I had hopes of something more unusual here, maybe like the blue smoke of some electronics. https://en.wikipedia.org/wiki/Magic_smoke
I am wondering if engineering simulations for fluids take advantage of GPUs? I studied CFD back in 2005 or so and we used ANSYS Fluent as a solver and it took forever to converge with sufficient accuracy.
If anyone in engineering has insight into this, I'd love to know.
Technically, non-fluid simulations could also be sped up using GPUs? Dynamics, solid state mechanics, thermal simulations, etc.
a realtime fluid solution is available in Unity: Megaflow
less detailed, but realtime on the CPU
and Fluvio which has GPU acceleration.
This posting makes me unaccountably happy.
Reminds me of this recent demoscene production....backwards fluid dynamics that generate bad poetry text in 8kb.
much more CFD, still images, animations, artworks: http://markjstock.com/
Fluid simulation is hard, I found using a curl-noise based fluid simulation works quite well esp for mobile game development
If you like things like fluid simulation and you would like to create real simulation then I would recommend RealFlow. It's so easy to model real life looking huge fluid simulations with physical objects in this software. You can choose to create things like foam automatically. You don't need any knowledge about programming or physics, just set the source, set your scene, click simulate and watch the magic happens. It's only hobby for me but it's great fun.
Some simple examples:
Seaplane Water Simulation: https://www.youtube.com/watch?v=R9TZNiZYhq0
Some nice features: https://www.youtube.com/watch?v=PuS1zD6kCyc
Made with realflow: https://www.youtube.com/watch?v=nnv-95w1d5A
Graphics programming seems to be very interesting to me, especially after watching cool stuff like this. Can anyone point me out to good resources where I can start learning it?
Wouldn't a multigrid approach yield a more scalable acceleration compared to using a GPU?
I found them very relaxing. Like watching your coffee
OFF-TOPIC: When someone has a problem with their computer, I'm going to start telling them they need GPU fluid.
Jokes aside, this is a beautiful simulation of 2D fluid dynamics pumped to the screen using OpenGL.