Log in to leave a comment
Log in to leave a comment
Log in to leave a comment
Implemented SPH (Smoothed Particle Hydrodynamics) which basically predicts behavior of fluid flow over time.
SPH help to discretize the continuity of fluids by sampling the values (density, velocity, etc) of a certain region into one particle location
Kernel Function: a smooth bell curve that shows how a physical property (like mass or velocity) is distributed in the particle’s region. This helps to keep the continuity of fluids without storing everything
Different types of Kernel for different fluid quantities (density, viscosity, pressure)
Then we can compute for density, pressure, and finally the total force on the particle and add that value to the particles acceleration. These key features help to simulate fluids more effectively and realistically without needing to store millions of datapoints.
Log in to leave a comment
Log in to leave a comment
Added Camera System from my previous project
Created a draw particle/circle function
Initialized GLFW window for rendering
Setup OpenGL
Created Particle Class for fluid simulation
Log in to leave a comment