2D Fluid Simulator

Uni Coursework - Masters (25/33)

  • Tech Stack: C++, OpenGL 2, Qt

This program simulates 2D fluid as particles (meta-balls) using the SPH (Smoothed Particle Hydrodynamics) formulation. Different kernel functions for the internal pressure force, viscosity, and surface tension are implemented. Each force can be enabled/disabled, and values can be tuned in the GUI. The simulation uses the leapfrog scheme for time integration.