Skip to content

Based on the paper "Animating Sand as a Fluid"

Notifications You must be signed in to change notification settings

koichishi/FluidSim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIC/FLIP Simulation

Implemented by Yongzhen Huang and Gongyi Shi.

Based on the paper Animating Sand as a Fluid.

A video presenting our work can be found here.

How to build

This project requires libigl to work.

Clone the repository and download Libigl

// go into project folder
git clone --recursive https://github.com/libigl/libigl.git

CMake is use to build the project

// go into project folder
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..

Running the program

Simply execute the program

./Fluid_Sim [path to triangle mesh]

Optional parameter of path to a triangle mesh shows the object falling into the fluid.

Program options are shown immediately afterwards.

About

Based on the paper "Animating Sand as a Fluid"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.7%
  • C 8.0%
  • CMake 5.3%