https://github.com/florianvazelle/vkmpm
A Vulkan application to simulate 2D material with the Material Point Method
https://github.com/florianvazelle/vkmpm
2d material-point-method mpm physics-simulation vulkan
Last synced: about 2 months ago
JSON representation
A Vulkan application to simulate 2D material with the Material Point Method
- Host: GitHub
- URL: https://github.com/florianvazelle/vkmpm
- Owner: florianvazelle
- License: unlicense
- Created: 2021-07-06T19:27:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-07T09:54:11.000Z (almost 4 years ago)
- Last Synced: 2025-02-12T11:14:44.283Z (4 months ago)
- Topics: 2d, material-point-method, mpm, physics-simulation, vulkan
- Language: C++
- Homepage:
- Size: 139 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/florianvazelle/vkMpm/actions)
[](https://github.com/florianvazelle/vkMpm/actions)

[](https://github.com/florianvazelle/vkMpm/blob/main/LICENSE)# vkMpm
This is a Vulkan application to simulate 2D material with the [Material Point Method](https://en.wikipedia.org/wiki/Material_point_method).
There are two technical parts:
- Particle System in Vulkan
- Incremental MPM in Compute Shaders## Building
### Build and run the standalone target
Use the following command to build and run the executable target.
```bash
cmake -Bbuild
cmake --build build
./build/bin/vkMpm --help
```## Dependencies
- C++20 compiler :
- Visual Studio 2019
- GCC 9+ or Clang 10+
- [CMake](https://cmake.org/) for build system creation (>= 3.16.3)
- [Conan](https://conan.io/) for install packages (>= 1.0)## References
- [nialltl/incremental_mpm](https://github.com/nialltl/incremental_mpm)
## Quote to save many hours
> Always check the alignment of structures