Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MmmmHeee/SPH-2D-Taichi
A SPH based 2D fulid simulation including WCSPH and PCISPH implmented using taichi.
https://github.com/MmmmHeee/SPH-2D-Taichi
Last synced: about 2 months ago
JSON representation
A SPH based 2D fulid simulation including WCSPH and PCISPH implmented using taichi.
- Host: GitHub
- URL: https://github.com/MmmmHeee/SPH-2D-Taichi
- Owner: MmmmHeee
- License: mit
- Created: 2020-07-10T14:45:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T11:24:32.000Z (over 2 years ago)
- Last Synced: 2024-08-02T11:23:42.443Z (5 months ago)
- Language: Python
- Homepage:
- Size: 3.39 MB
- Stars: 12
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-taichi - SPH 2D Taichi - An SPH-based 2D fulid simulation (including WCSPH and PCISPH) implemented with Taichi. (Applications / **Simulation**)
- awesome-taichi - SPH 2D Taichi - An SPH-based 2D fulid simulation (including WCSPH and PCISPH) implmented with Taichi. (**Simulation**)
README
# SPH-2D-Taichi
Simple 2D Smooth Particle Hydrodynamics(SPH) based fluid simulation implemented using [**taichi**](https://taichi.readthedocs.io/en/stable/) 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](https://raw.githubusercontent.com/MmmmHeee/SPH-Taichi/master/result/wcsph.gif)### PCISPH
![WCSPH.gif](https://raw.githubusercontent.com/MmmmHeee/SPH-Taichi/master/result/pcisph.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