Fluid Simulation

A real-time 2D fluid simulator implemented in C++/OpenGL2. In this simplified waterfall simulation, the liquid is represented as a set of particles (particle-based Lagrangian simulation) organised in a Mass-Spring system.

MAIN FEATURES :
  • Particle-based model
  • External Forces : Gravity
  • Internal Forces : Mass-spring system (Hook Spring, Brake)
  • Leapfrog integration
  • Collisions with container or obstacle rigid bodies (Oriented Bounding Box, Sphere)
  • Complexity optiminization

  • Categories: Development
  • Tools: C++, OpenGL2
  • OS: Linux
  • Date: January-March 2014
  • Type: Student work (Engineering School IMAC, third year)