Home

Awesome

SPH-2D-Taichi

Simple 2D Smooth Particle Hydrodynamics(SPH) based fluid simulation implemented using taichi and python.

Weakly compressible SPH (WCSPH) and Predictive-Corrective Incompressible SPH (PCISPH) are implemented in the project.

Tested Environment

Results

WCSPH

WCSPH.gif

PCISPH

WCSPH.gif

References

  1. Weakly compressible SPH for free surface flows. Author:Markus Becker(2007), Matthias Teschner
  2. Predictive-Corrective Incompressible SPH(2009). Author: B. Solenthaler R. Pajarola
  3. https://github.com/taichi-dev/taichi/blob/master/examples/pbf2d.py. Author: Ye Kuang (k-ye)
  4. https://github.com/erizmr/SPH_Taichi. Author: erizmr, mRay_Zhang