2010-10-01 07:12:46 +08:00
|
|
|
# 2d NEB surface simulation, hop from surface to become adatom
|
|
|
|
|
|
|
|
dimension 2
|
|
|
|
boundary p s p
|
|
|
|
|
|
|
|
atom_style atomic
|
|
|
|
neighbor 0.3 bin
|
|
|
|
neigh_modify delay 5
|
|
|
|
atom_modify map array sort 0 0.0
|
|
|
|
|
|
|
|
variable u uloop 20
|
|
|
|
|
|
|
|
# create geometry with flat surface
|
|
|
|
|
|
|
|
lattice hex 0.9
|
|
|
|
region box block 0 20 0 10 -0.25 0.25
|
|
|
|
create_box 3 box
|
|
|
|
create_atoms 1 box
|
|
|
|
|
|
|
|
mass * 1.0
|
|
|
|
|
|
|
|
# LJ potentials
|
|
|
|
|
|
|
|
pair_style lj/cut 2.5
|
|
|
|
pair_coeff * * 1.0 1.0 2.5
|
2010-10-23 05:24:52 +08:00
|
|
|
pair_modify shift yes
|
2010-10-01 07:12:46 +08:00
|
|
|
|
|
|
|
# initial minimization to relax surface
|
|
|
|
|
2010-10-07 07:33:17 +08:00
|
|
|
minimize 1.0e-6 1.0e-4 1000 10000
|
2010-10-01 07:12:46 +08:00
|
|
|
reset_timestep 0
|
|
|
|
|
|
|
|
# define groups
|
|
|
|
|
|
|
|
region 1 block INF INF INF 1.25 INF INF
|
|
|
|
group lower region 1
|
|
|
|
group mobile subtract all lower
|
|
|
|
set group lower type 2
|
|
|
|
|
2014-01-31 05:11:09 +08:00
|
|
|
timestep 0.05
|
2010-10-01 07:12:46 +08:00
|
|
|
|
|
|
|
# group of NEB atoms - either block or single atom ID 412
|
|
|
|
|
|
|
|
region surround block 10 18 17 20 0 0 units box
|
2010-10-07 07:33:17 +08:00
|
|
|
group nebatoms region surround
|
|
|
|
#group nebatoms id 412
|
|
|
|
set group nebatoms type 3
|
|
|
|
group nonneb subtract all nebatoms
|
2010-10-01 07:12:46 +08:00
|
|
|
|
|
|
|
fix 1 lower setforce 0.0 0.0 0.0
|
2010-10-07 07:33:17 +08:00
|
|
|
fix 2 nebatoms neb 1.0
|
2010-10-01 07:12:46 +08:00
|
|
|
fix 3 all enforce2d
|
|
|
|
|
|
|
|
thermo 100
|
|
|
|
|
2012-01-13 03:03:12 +08:00
|
|
|
#dump 1 nebatoms atom 10 dump.neb.$u
|
|
|
|
#dump 2 nonneb atom 10 dump.nonneb.$u
|
2010-10-01 07:12:46 +08:00
|
|
|
|
|
|
|
# run NEB for 2000 steps or to force tolerance
|
|
|
|
|
|
|
|
min_style quickmin
|
|
|
|
|
2014-01-11 04:49:34 +08:00
|
|
|
neb 0.0 0.1 1000 1000 100 final final.hop1
|