Skip to content

CPU implementation of SPH and FLIP method using Eigen and libigl

Notifications You must be signed in to change notification settings

haoda-li/CSC417-Fluid-Simulation

 
 

Repository files navigation

CSC417-Fluid-Simulation

CSC417 Final Project, CPU implementation of SPH and FLIP method using Eigen and libigl.

Install

Follow the installation of the assignments.

Execution

Once built, you can execute the project from inside the build/. Issue the following for simulation using SPH method:

./fluid SPH

Issue the following for simulation using FLIP method:

./fluid FLIP

For SPH method, press "a/A" to move one timestep forward, and press "r/R" to reset positions and velocities for all particles. For FLIP method, press "a/A" to move one timestep forward for water simulation, press "b/B" to move one timestep forward for smoke simulation, and press "r/R" to reset positions and velocities for all particles.

Video

https://youtu.be/tieIpwKc4KM

Report

See paper.pdf

About

CPU implementation of SPH and FLIP method using Eigen and libigl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.6%
  • C 11.9%
  • CMake 2.5%