2007-06-23 07:46:37 +08:00
|
|
|
# 2d NEMD simulation
|
|
|
|
|
|
|
|
units lj
|
|
|
|
atom_style atomic
|
2013-08-16 05:52:09 +08:00
|
|
|
dimension 2
|
2007-06-23 07:46:37 +08:00
|
|
|
|
|
|
|
lattice sq2 0.8442
|
|
|
|
region box prism 0 10 0 8 -0.5 0.5 0 0 0
|
|
|
|
create_box 2 box
|
|
|
|
create_atoms 1 box
|
|
|
|
mass * 1.0
|
|
|
|
|
|
|
|
velocity all create 1.44 87287 loop geom
|
|
|
|
|
|
|
|
region slice block 4 6 INF INF INF INF
|
|
|
|
set region slice type 2
|
|
|
|
|
|
|
|
pair_style lj/cut 2.5
|
|
|
|
pair_coeff * * 1.0 1.0 1.0
|
|
|
|
|
|
|
|
neighbor 0.3 bin
|
|
|
|
neigh_modify delay 0 every 1
|
|
|
|
|
2010-04-03 01:26:17 +08:00
|
|
|
fix 1 all nvt/sllod temp 1.0 1.0 1.0 tchain 1
|
2007-06-23 07:46:37 +08:00
|
|
|
fix 2 all deform 1 xy erate 0.01 remap v
|
|
|
|
|
2012-01-13 03:03:12 +08:00
|
|
|
#dump 1 all custom 5000 dump.nemd id type x y z
|
|
|
|
|
2014-01-08 05:43:31 +08:00
|
|
|
#dump 2 all image 1000 image.*.jpg type type adiam 1.2
|
|
|
|
#dump_modify 2 pad 5
|
|
|
|
|
|
|
|
#dump 3 all movie 1000 movie.mpg type type adiam 1.2
|
|
|
|
#dump_modify 3 pad 5
|
2007-06-23 07:46:37 +08:00
|
|
|
|
|
|
|
thermo 1000
|
|
|
|
|
|
|
|
run 50000
|