This particle simulator is based on taichi software: https://taichi.graphics/
MPM.3D.57.944142.FPS.2024-05-01.21-24-52.mp4
Make sure your pip
is up-to-date:
$ pip3 install pip --upgrade
Assume you have a Python 3 environment, to install Taichi:
$ pip3 install -U taichi
To run the demo:
$ python mpm_3d_starter.py
There are plenty of room for hacking! We suggest a few of them for you to start with:
- Higher resolution simulations utilizing sparse data structures
- More sophisticated boundary handling and better scenes
- Better particle initialization with arbitrary shapes
- Faster P2G step without floating point atomic operations (integers are fine)
- Higher order time integration methods
- Implicit time integration methods
- Supporting more material models
- Reducing the numerical adhesion/friction/fracture artifacts
- etc.
We encourage you to continue developing on this repo and share your work with our community members. To notify us about your work, make sure you use this repo as a template.