Skip to content

JaeHyunLee94/mpm2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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