mirror of https://github.com/lammps/lammps.git
39 lines
687 B
Plaintext
39 lines
687 B
Plaintext
# LAMMPS benchmark of granular flow
|
|
# chute flow of 32000 atoms with frozen base at 26 degrees
|
|
|
|
variable x index 1
|
|
variable y index 1
|
|
|
|
units lj
|
|
atom_style sphere
|
|
boundary p p fs
|
|
newton off
|
|
comm_modify vel yes
|
|
|
|
read_data data.chute
|
|
|
|
replicate $x $y 1
|
|
|
|
pair_style gran/hooke/history 200000.0 NULL 50.0 NULL 0.5 0
|
|
pair_coeff * *
|
|
|
|
neighbor 0.1 bin
|
|
neigh_modify every 1 delay 0
|
|
|
|
timestep 0.0001
|
|
|
|
group bottom type 2
|
|
group active subtract all bottom
|
|
neigh_modify exclude group bottom bottom
|
|
|
|
fix 1 all gravity 1.0 chute 26.0
|
|
fix 2 bottom freeze
|
|
fix 3 active nve/sphere
|
|
|
|
compute 1 all erotate/sphere
|
|
thermo_style custom step atoms ke c_1 vol
|
|
thermo_modify norm no
|
|
thermo 100
|
|
|
|
run 100
|