https://github.com/pxl-th/mpm
Material-Point-Methods in Julia
https://github.com/pxl-th/mpm
elasticity fluid-simulation julia material-point-method mpm
Last synced: 10 months ago
JSON representation
Material-Point-Methods in Julia
- Host: GitHub
- URL: https://github.com/pxl-th/mpm
- Owner: pxl-th
- Created: 2020-10-01T20:05:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T13:39:14.000Z (over 5 years ago)
- Last Synced: 2025-04-28T20:46:07.688Z (about 1 year ago)
- Topics: elasticity, fluid-simulation, julia, material-point-method, mpm
- Language: Julia
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MPM
Material-Point-Methods in Julia.
Files in `src` contain different implementations of MPM for different materials.
Each example is self contained and should run as is (provided you have installed necessary packages).
| Fluid simulation | Elasticity |
|:-:|:-:|
| [YouTube](https://www.youtube.com/watch?v=O8cXswg9xHw) | [YouTube](https://www.youtube.com/watch?v=B2dO3poS5PA) |
|
|
|
## Run
Julia 1.5 or above is needed.
Fluid simulation supports multithreading, so `-t4` flag actually makes difference.
```bash
julia -t4 --project=. src/fluid.jl
```
## References
- Great niall's MLS-MPM [guide](https://nialltl.neocities.org/articles/mpm_guide.html).
- Taichi MPM [github](https://github.com/yuanming-hu/taichi_mpm).