Fluid Simulator - 15/08/2010, 20:18

The fluid simulator is a project I worked on during the 2010 Advanced Computer Graphics course taught at Chalmers. I attempted to implement Müller et al [2003]'s paper regarding Smoothed Particle Hydrodynamics.

While I did not manage to implement their acceleration method or the Marching Cubes rendering due to lack of time (pesky bugs and thesis work), I explored how the particles reacted to different recipient shapes including rotating recipients and polygonal surfaces.

I made a video showing the simulator in action along with some explanations:


If you want to test the code on your own, you'll have the easiest time in Codeblocks (GNU/Linux) or XCode (MacOS X).

< Back to blog

This site doesn't use cookies, does not log IPs and does not track you in any way.