forked from lijiext/lammps
46 lines
822 B
Groff
46 lines
822 B
Groff
|
LAMMPS (1 Oct 2006)
|
||
|
# 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 granular
|
||
|
boundary p p fs
|
||
|
newton off
|
||
|
|
||
|
read_data data.chute
|
||
|
2 by 2 by 2 processor grid
|
||
|
32000 atoms
|
||
|
32000 velocities
|
||
|
|
||
|
replicate $x $y 1
|
||
|
replicate 2 $y 1
|
||
|
replicate 2 4 1
|
||
|
2 by 4 by 1 processor grid
|
||
|
256000 atoms
|
||
|
|
||
|
pair_style gran/history 200000.0 50.0 0.5 0
|
||
|
|
||
|
neighbor 0.1 bin
|
||
|
neigh_modify every 1 delay 0
|
||
|
|
||
|
timestep 0.0001
|
||
|
|
||
|
group bottom type 2
|
||
|
7296 atoms in group bottom
|
||
|
group active subtract all bottom
|
||
|
248704 atoms in group active
|
||
|
neigh_modify exclude group bottom bottom
|
||
|
|
||
|
fix 1 all gravity chute 26.0
|
||
|
fix 2 bottom freeze
|
||
|
fix 3 active nve/gran
|
||
|
|
||
|
thermo_style granular
|
||
|
thermo 100
|
||
|
|
||
|
run 100
|
||
|
ERROR: Pair style peri requires atoms have IDs
|