Skip to content

fabricix/MPM-Particle-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPM-Particle-Generator

The generator allows to create numerical MPM models based on the contour lines of the land. It has three main characteristics:

  • the construction of the MPM discrete model is based only on raster digital elevation model (DEM) data;
  • finite element meshes are not required;
  • the heterogeneities are defined by the DEM data of each material;

Alt text

Compiling

The program can be compiled using GNU make utility. The makefile is inside the /make folder. To create the executable file, go to the folder /make and run:

/make$ make 

To delete the executable file and all the object files from the directory, type:

/make$ clean 

Examples

There are two examples: A sine wave model and the Daguangbao Landslide model.

The sine-wave example

The file input is located in the example folder:

/examples/example-1-sinewave/sine-wave.dat

To run this model go to folder and run the generator:

$ MPM-Particle-Generator sine-wave.dat

The mpm model of the Sine wave results in:

Alt text

The Daguangbao Landslide example

The file input is located in the example folder:

/examples/example-2-daguangbao/daguangbao.dat

To run this model go to folder and run the generator:

$ MPM-Particle-Generator daguangbao.dat

The mpm model of the Daguangbao landslide results in:

Alt text

Daguangbao Landslide including the failure surface

The file input is located in the example folder:

/examples/example-3-daguangbao-failure-surface/daguangbao-failure.dat

To run this model go to folder and run the generator:

$ MPM-Particle-Generator daguangbao-failure.dat

The mpm model of the Daguangbao landslide results in:

Alt text

Results visualization

After the generator execute the input file a vtu file is created. This file can be loaded in ParaView in order to verify the model.

Reference

A 3D discretization procedure for the material point method-MPM

Cite this code as

Fernández, F., do Amaral Vargas, E. & Quadros Velloso, R. A 3D discretization procedure for the material point method (MPM). Comp. Part. Mech. 7, 725–733 (2020). https://doi.org/10.1007/s40571-019-00303-7