fl720 / Particle-Based-Fluid-Simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Particle-Based-Fluid-Simulation

Usage

You could compile code with sh compile.sh and modify parameters in input.txt, then execute following code:

./main input.json data.bin
python3 SPH_painter.py data.bin

Start of the simulation: Simulation of 5000 particles

End of the simulation: Simulation of 5000 particles

TODO

  • Adding 2D support.
  • Adding animation drawer.
  • Adding multi thread support.

Frame

About


Languages

Language:C++ 99.8%Language:Python 0.1%Language:C 0.1%Language:Shell 0.0%