Skip to content

AgentLee/FluidSim

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