Skip to content

A SPH based 2D fulid simulation including WCSPH and PCISPH implmented using taichi.

License

Notifications You must be signed in to change notification settings

MmmmHeee/SPH-2D-Taichi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A SPH based 2D fulid simulation including WCSPH and PCISPH implmented using taichi.

Resources

License

Stars

Watchers

Forks

Languages