2006-09-28 03:50:55 +08:00
|
|
|
# Pour 2d granular particles into container
|
|
|
|
|
|
|
|
dimension 2
|
2011-04-14 05:40:28 +08:00
|
|
|
atom_style sphere
|
2007-06-23 07:41:35 +08:00
|
|
|
boundary f fm p
|
2006-09-28 03:50:55 +08:00
|
|
|
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 0 100 0 50 -0.5 0.5 units box
|
|
|
|
create_box 1 reg
|
|
|
|
|
|
|
|
neighbor 0.2 bin
|
|
|
|
neigh_modify delay 0
|
|
|
|
|
2009-01-09 07:18:50 +08:00
|
|
|
# IMPORTANT NOTE: these values of stiffness (4000) and timestep (0.001)
|
2006-09-28 03:50:55 +08:00
|
|
|
# are used in this example file to produce a quick simulation and movie.
|
|
|
|
# More appropriate values for realistic simulations would be
|
2009-01-10 06:18:56 +08:00
|
|
|
# k = 4.0e5 and dt = 0.0001, as in bench/in.chute (if it were Hertzian).
|
2006-09-28 03:50:55 +08:00
|
|
|
|
2009-01-09 07:18:50 +08:00
|
|
|
pair_style gran/hertz/history 4000.0 NULL 100.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 xwalls all wall/gran hertz/history 4000.0 NULL 100.0 NULL 0 1 &
|
2009-01-09 07:18:50 +08:00
|
|
|
xplane 0 100
|
2016-07-14 05:35:51 +08:00
|
|
|
fix ywalls all wall/gran hertz/history 4000.0 NULL 100.0 NULL 0 1 &
|
2009-01-09 07:18:50 +08:00
|
|
|
yplane 0 NULL
|
2006-09-28 03:50:55 +08:00
|
|
|
|
|
|
|
region slab block 1.0 99.0 30 34.5 -0.5 0.5 units box
|
2006-12-13 08:37:25 +08:00
|
|
|
fix ins all pour 1000 1 4767548 vol 0.4 10 &
|
2013-05-25 04:07:56 +08:00
|
|
|
diam range 0.5 1.0 region slab
|
2006-09-28 03:50:55 +08:00
|
|
|
|
|
|
|
fix 3 all enforce2d
|
|
|
|
|
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 250 dump.pour
|
|
|
|
|
2014-01-08 05:43:31 +08:00
|
|
|
#dump 2 all image 500 image.*.jpg type type &
|
2012-01-13 03:03:12 +08:00
|
|
|
# zoom 1.6 adiam 1.5
|
2014-01-08 05:43:31 +08:00
|
|
|
#dump_modify 2 pad 5
|
|
|
|
|
|
|
|
#dump 3 all movie 500 movie.mpg type type &
|
|
|
|
# zoom 1.6 adiam 1.5
|
|
|
|
#dump_modify 3 pad 5
|
2012-01-13 03:03:12 +08:00
|
|
|
|
2006-09-28 03:50:55 +08:00
|
|
|
run 25000
|