/mpm2d

mpm2d

Primary LanguageC++

Material Point Method for snow simulation 2D

Explanation of MPM in 500~ lines of code.
This repo is 2D Implementation of Material Point Method for snow simulation.
This code is for Educational purpose not parallelized and optimized!!

Build instruction

mkdir build
cd build
cmake ../
make

(or give -G option depending on your preference.)

Record

  • Make directory mpm2d/build/out/;
  • Make sure that your system has installed ffmpeg

Result

Simulation result for various parameter.

Dependencies