Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 973 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 973 Bytes

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

  • x64 windows
  • python 3
  • taichi==0.6.15
  • numpy==1.15.4
  • either GPU or CPU

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