js-abm on hugo-post

  • result
  • code
  • experiment
  • refs

js-abm on hugo-post

· 2 mins read

A discussion 1, trigger the implementation of developed method 2 in characterizing previous experiments 3 to get the probability matrix for agent movement.

result

Following is the simulation UI.

code

For monodispersed granular materials (options 0 – 4) following are the parameters

var pGra1 = [
  0.000, 0.000, 0.000, 0.100,
  0.800, 0.100, 0.000, 0.000
];
var pGra2 = [
  0.000, 0.000, 0.000, 0.175,
  0.650, 0.175, 0.000, 0.000
];
var pGra3 = [
  0.000, 0.000, 0.000, 0.250,
  0.500, 0.250, 0.000, 0.000
];
var pGra4 = [
  0.000, 0.000, 0.000, 0.325,
  0.350, 0.325, 0.000, 0.000
];
var pGra5 = [
  0.000, 0.000, 0.000, 0.400,
  0.200, 0.400, 0.000, 0.000
];

and

var pSol = [
  0.000, 0.000, 0.000, 0.000,
  1.000, 0.000, 0.000, 0.000		
];
var pLiq = [
  0.060, 0.110, 0.110, 0.125, 
  0.250, 0.125, 0.110, 0.110
];
var pGas = [
  0.125, 0.125, 0.125, 0.125, 
  0.125, 0.125, 0.125, 0.125
];

for other monodispersed phases (options 5 – 7).

experiment

Experiment with code is documented here.

refs


  1. F. Masduki, P. M. Widartiningsih, S. Nurafni, “Private communication”, Mar 2025. ↩︎

  2. S. Viridi, F. Haryanto, “Agent-based Model and its Potential in Simulating Some Physical Systems”, IOP Conference Series: Materials Science and Engineering, vol 599, no 1, p 012008, 2018, url http://doi.org/10.1088/1757-899X/599/1/012008 ↩︎

  3. P. M. Widartiningsih, M. I. R. Putra, D. P. P. Aji, A. N. F. Rudiawan, S. Viridi, “Experimental investigation of pile characteristics of non-spherical particles mixtures: pile height and angle of repose”, Journal of Physics: Conference Series, vol 2243, no 1, p 012079, 2021, url http://doi.org/10.1088/1742-6596/2243/1/012079 ↩︎

Sparisoma Viridi, "js-abm on hugo-post", notes, 31 Mar 2025, (-), url https://dudung.github.io/notes/25c70/ [20250331].