2006-09-28 03:50:55 +08:00
|
|
|
# 2d Lennard-Jones melt and subsequent energy minimization
|
|
|
|
|
|
|
|
units lj
|
|
|
|
dimension 2
|
|
|
|
atom_style atomic
|
|
|
|
|
|
|
|
lattice sq2 0.8442
|
|
|
|
region box block 0 20 0 20 -0.1 0.1
|
|
|
|
create_box 1 box
|
2007-06-23 07:41:35 +08:00
|
|
|
create_atoms 1 box
|
2006-09-28 03:50:55 +08:00
|
|
|
mass 1 1.0
|
|
|
|
|
|
|
|
velocity all create 5.0 87287 loop geom
|
|
|
|
|
|
|
|
pair_style lj/cut 2.5
|
2008-05-17 05:57:36 +08:00
|
|
|
pair_coeff 1 1 1.0 1.0 2.5
|
2008-04-15 06:19:42 +08:00
|
|
|
pair_modify shift yes
|
2006-09-28 03:50:55 +08:00
|
|
|
|
|
|
|
neighbor 0.3 bin
|
|
|
|
neigh_modify delay 0 every 1 check yes
|
|
|
|
|
|
|
|
fix 1 all nve
|
2008-05-17 05:57:36 +08:00
|
|
|
fix 2 all enforce2d
|
2006-09-28 03:50:55 +08:00
|
|
|
|
2008-05-17 05:57:36 +08:00
|
|
|
dump 1 all atom 100 dump.min
|
2006-09-28 03:50:55 +08:00
|
|
|
|
|
|
|
thermo 100
|
|
|
|
|
2008-05-17 05:57:36 +08:00
|
|
|
run 1000
|
2006-09-28 03:50:55 +08:00
|
|
|
|
2008-05-17 05:57:36 +08:00
|
|
|
neigh_modify delay 0 every 1 check yes
|
|
|
|
|
|
|
|
dump_modify 1 every 25
|
|
|
|
thermo 50
|
|
|
|
minimize 1.0e-6 0.001 1000 10000
|