Manna sandpile model

Manna sandpile model based on Manna 1991
74 Downloads
Updated 19 Dec 2016

p_grain = MANNA(L, nr_grains) calculates the grain density on LxL lattice of the Manna sandpile model. The algorithm is based on the original model description in Manna, S. S. "Two-state model of self-organized criticality." Journal of Physics A: Mathematical and General 24.7 (1991): L363.
From the article:
Consider a square lattice where the sites can be either empty or occupied with particles. No more than one particle is allowed to be at a site in the stationary state. One particle is added to one of the randomly chosen sites. If it is empty, it gets occupied by that particle and a new particle is launched. If there is already a particle at that site a 'hard core interaction' throws all the particles out from that site and the particles are redistributed in a random manner among its neighbors. It can happen that some of the neighbors were already occupied; then the particles are again redistributed and so on. In this way cascades are created. A cascade is stopped if no occupancy higher than one is present. Free boundaries are used, i.e. particles can leave the system on the boundaries. We update the system through the following step which all together constitute a unit time step:
(a) at any instant all collision sites are located
(b) all these sites are made empty
(c) for each particle in each collision site one neighboring site is randomly selected and the particle number at that site is increased by one
(d) collision sites for the next time step are located from these new sites

Cite As

Fatih Olmez (2026). Manna sandpile model (https://github.com/folmez/manna-sandpile), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.1.0

Logo

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.