2006-09-28 03:50:55 +08:00
|
|
|
# Pour granular particles into chute container, then induce flow
|
|
|
|
|
2011-04-14 05:40:28 +08:00
|
|
|
atom_style sphere
|
2006-09-28 03:50:55 +08:00
|
|
|
boundary p p fm
|
|
|
|
newton off
|
2014-05-14 00:17:32 +08:00
|
|
|
comm_modify vel yes
|
2006-09-28 03:50:55 +08:00
|
|
|
|
|
|
|
region reg block -10 10 -10 10 -0.5 16 units box
|
|
|
|
create_box 1 reg
|
|
|
|
|
|
|
|
neighbor 0.2 bin
|
|
|
|
neigh_modify delay 0
|
|
|
|
|
|
|
|
# IMPORTANT NOTE: these values of stiffness (2000) and timestep (0.001)
|
|
|
|
# are used in this example file to produce a quick simulation and movie.
|
|
|
|
# More appropriate values for realistic simulations would be
|
|
|
|
# k = 2.0e5 and dt = 0.0001, as in bench/in.chute.
|
|
|
|
|
2009-01-09 07:18:50 +08:00
|
|
|
pair_style gran/hooke/history 2000.0 NULL 50.0 NULL 0.5 0
|
2009-01-07 01:12:05 +08:00
|
|
|
pair_coeff * *
|
|
|
|
|
2006-09-28 03:50:55 +08:00
|
|
|
timestep 0.001
|
|
|
|
|
2008-03-19 05:46:17 +08:00
|
|
|
fix 1 all nve/sphere
|
2007-07-09 23:16:41 +08:00
|
|
|
fix 2 all gravity 1.0 spherical 0.0 -180.0
|
2016-07-14 05:35:51 +08:00
|
|
|
fix zlower all wall/gran hooke/history 2000.0 NULL 50.0 NULL 0.5 0 &
|
2009-01-09 07:18:50 +08:00
|
|
|
zplane 0.0 2000.0
|
2006-09-28 03:50:55 +08:00
|
|
|
|
|
|
|
region slab block -9.0 9.0 -9.0 9.0 10.0 15.0 units box
|
2006-12-13 08:37:25 +08:00
|
|
|
fix ins all pour 3000 1 300719 vol 0.13 50 region slab
|
2006-09-28 03:50:55 +08:00
|
|
|
|
2008-05-17 05:57:36 +08:00
|
|
|
compute 1 all erotate/sphere
|
|
|
|
thermo_style custom step atoms ke c_1 vol
|
2006-09-28 03:50:55 +08:00
|
|
|
thermo 1000
|
2008-03-19 05:46:17 +08:00
|
|
|
thermo_modify lost ignore norm no
|
2007-02-13 01:24:44 +08:00
|
|
|
compute_modify thermo_temp dynamic yes
|
2006-09-28 03:50:55 +08:00
|
|
|
|
2012-01-13 03:03:12 +08:00
|
|
|
#dump id all atom 1000 dump.pour
|
|
|
|
|
2014-01-08 05:43:31 +08:00
|
|
|
#dump 2 all image 1000 image.*.jpg type type &
|
2012-01-13 03:03:12 +08:00
|
|
|
# axes yes 0.8 0.02 view 80 -30
|
2014-01-08 05:43:31 +08:00
|
|
|
#dump_modify 2 pad 5
|
|
|
|
|
|
|
|
#dump 3 all movie 1000 movie.mpg type type &
|
|
|
|
# axes yes 0.8 0.02 view 80 -30
|
|
|
|
#dump_modify 3 pad 5
|
2012-01-13 03:03:12 +08:00
|
|
|
|
2006-09-28 03:50:55 +08:00
|
|
|
run 25000
|
|
|
|
|
|
|
|
unfix ins
|
2007-07-09 23:16:41 +08:00
|
|
|
fix 2 all gravity 1.0 chute 26.0
|
2006-09-28 03:50:55 +08:00
|
|
|
run 25000
|