Awesome
SPH in Taichi
The aim of this project is to learn and comprehend the Smoothed-particle hydrodynamics (SPH) method and its classical variants. Five classical SPH solvers and one classical rigid-fluid coupling method are implemented in Taichi Lang [1]. Due to the aforementioned motivation, our objective is to make the code as understandable as possible. Therefore, we strive to align the code formulas with those mentioned in the research papers. As a result, we have limited the optimization of the code, which means that the simulator may not be as efficient as it could be.
Prerequisites
- taichi
- numpy
- trimesh
- ffmpeg
- vulkan
Feature
Solver | Single-phase Flow | Rigid-Fluid Coupling [7] |
---|---|---|
WCSPH [2] | :o: | :o: |
PBF [3] | :o: | :x: |
PCISPH [4] | :o: | :o: |
IISPH [5] | :o: | :o: |
DFSPH [6] | :o: | :o: |
- Neighbor Searching based on grid
- Simple rigid simulator
Usage
To be completed.
Acknowledgement
The implementation is largely inspired by SPlisHSPlasH and erizmr's SPH_Taichi.