I am trying to simulate granular flow down an inclined plane but I keep losing the atoms at the last step – after starting with 4000, all of them disappear at the very last step.
Since I am a first-time user of LAMMPS I could not quite figure out yet where I am going wrong.
This is what my input script currently looks like:
#–INITIALIZATION–
units si
dimension 3
atom_style sphere
boundary p p fm
newton off
comm_modify cutoff 1 mode single vel yes
#–DEFINE REGION TO BE OCCUPIED BY ATOMS–
region hill block 0 0.20 0 0.20 0 0.20 units box
create_box 1 hill
create_atoms 1 random 4000 21312 hill
set region hill diameter 0.005
neighbor 0.005 bin
neigh_modify check yes
#–INTERACTION PARAMETERS–
variable kn equal 200000.0
#variable kt equal 100000.0
variable dcnormal equal 50.0
#variable dctangent equal 0.25
variable syc equal 0.5
variable tdf equal 1
pair_style gran/hertz/history {kn} NULL {dcnormal} NULL {syc} {tdf}
pair_coeff * *
timestep 0.005
fix 1 all wall/gran hertz/history {kn} NULL {dcnormal} NULL {syc} {tdf} zplane 0 0.2
fix 2 all nve/sphere
compute msd all msd com yes
variable twopoint equal “((c_msd[4])(stepdt+0.000006))/4”
fix 4 all vector 10 c_msd[4]
variable fitslope equal “slope(f_4)/4/(10*dt)”
thermo 1000
thermo_style custom step temp c_msd[4] v_twopoint v_fitslope
thermo_modify lost ignore norm no
fix 3 all gravity 9.8 chute 27
#dump dc all local 2000 diff.incflo.grandiff* index c_msd[4]
run 15000
Moreover, the dump prior to the run command (which I hashtagged) would not display the mean squared displacement and I keep encountering an error stating that dump local does not compute local atom info.
Any help from the more experienced user of LAMMPS would be greatly appreciated.
Thank you
-Elleesse NP