A modular GPU based Material Point Method (MPM) solver.
PyroclastMPM is an explicit GPU-based Material Point Method (MPM) solver. The solver is written in CUDA and C++ with Python bindings and is designed to be fast, modular, and highly extensible.
The software is a research output of the TUSAIL ITN. The code was developed by Retief Lubbe in collaboration Hongyang Cheng, Stefan Luding and Vanessa Magnanimo.
The main goal of PyroclastMPM is to accurately model granular impact problems involving the state transition from solid to fluid and back ⏳️. The solver is specifically designed to be applicable in industrial settings, striking a balance between computational performance and code readability.
Coming soon!
Coming soon!
Checking requirements 📋
- GCC version
gcc --version
andg++ --version
should be less than>8 or <12
- CMAKE version
cmake --version
should be>=3.11
- CUDA
nvcc --version
- Poetry
poetry --version
- vtk9 and libvtk9-dev
- Check if all the requirements
- Clone repository and submodules (with ssh)
git clone --recurse-submodules -j8 [email protected]:TUSAIL/PyroclastMPM.git
cd PyroclastMPM
- Install Python dependencies
poetry install
- Build project
mkdir build
cmake -B ./build/ -S .
make -j4 -C ./build
- Optional - run tests
./build/tests/tests
(compiled executable),pytest ./tests/
(Python) - Run example
make -C examples/Scoop
(Coming soon 👀
Will look something like this) pip install <wheel>
Coming soon 👀
Coming soon 👀