Skip to content

han20192019/cs184finalversion2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Wave: A PIC/FLIP Fluid Simulator

Banner

Overview

Wave is a PIC/FLIP Fluid Simulator that can simulate both smoke and fluids. It is mainly based on the algorithms presented by Robert Bridson in both his book and his paper "Animating Sand as a Fluid".

Smoke

Rendered Smoke Rendered Smoke

Fluid

Rendered Fluid Rendered Fluid

How to Run

// Build program
mkdir build
cd build
cmake ..
make

// Run program
cd ..
cd src
.SIM fluid or ./SIM smoke <scene 0 or 1>

To change to 3D Fluid

  • In main.cpp comment out #define TWO_DIM

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published