mpm-particle-generator
A particle generator code for the Material Point Method
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.8%) to scientific vocabulary
Keywords
Repository
A particle generator code for the Material Point Method
Basic Info
Statistics
- Stars: 21
- Watchers: 0
- Forks: 5
- Open Issues: 3
- Releases: 2
Topics
Metadata Files
README.md
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;

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:
bash
/make$ make
To delete the executable file and all the object files from the directory, type:
bash
/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:
bash
/examples/example-1-sinewave/sine-wave.dat
To run this model go to folder and run the generator:
bash
$ MPM-Particle-Generator sine-wave.dat
The mpm model of the Sine wave results in:

The Daguangbao Landslide example
The file input is located in the example folder:
bash
/examples/example-2-daguangbao/daguangbao.dat
To run this model go to folder and run the generator:
bash
$ MPM-Particle-Generator daguangbao.dat
The mpm model of the Daguangbao landslide results in:

Daguangbao Landslide including the failure surface
The file input is located in the example folder:
bash
/examples/example-3-daguangbao-failure-surface/daguangbao-failure.dat
To run this model go to folder and run the generator:
bash
$ MPM-Particle-Generator daguangbao-failure.dat
The mpm model of the Daguangbao landslide results in:

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
Owner
- Name: Fabricio Fernández
- Login: fabricix
- Kind: user
- Location: Rio de Janeiro, Brasil.
- Company: Pontifical Catholic University of Rio de Janeiro
- Website: https://sites.google.com/view/fabricix/
- Repositories: 2
- Profile: https://github.com/fabricix
Researcher in computational geomechanics
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Fernández" given-names: "Fabricio" orcid: "https://orcid.org/0000-0001-7523-5961" title: "A particle generator code for the Material Point Method" version: 1.1 doi: 10.5281/zenodo.2653827 date-released: 2021-04-16 url: "https://github.com/fabricix/MPM-Particle-Generator"
GitHub Events
Total
- Watch event: 8
Last Year
- Watch event: 8