2010-08-20 08:22:52 +08:00
|
|
|
units metal
|
|
|
|
atom_style charge
|
|
|
|
dimension 3
|
|
|
|
boundary p p p
|
|
|
|
|
|
|
|
read_data data.m-HfO2
|
|
|
|
#read_data data.t-HfO2
|
|
|
|
#read_data data.c-HfO2
|
2010-08-31 04:20:28 +08:00
|
|
|
|
2010-08-20 08:22:52 +08:00
|
|
|
mass 1 178.0
|
2010-08-31 04:20:28 +08:00
|
|
|
group type1 type 1
|
|
|
|
compute charge1 type1 property/atom q
|
|
|
|
compute q1 type1 reduce ave c_charge1
|
|
|
|
mass 2 16.00
|
|
|
|
group type2 type 2
|
|
|
|
compute charge2 type2 property/atom q
|
|
|
|
compute q2 type2 reduce ave c_charge2
|
2010-08-20 08:22:52 +08:00
|
|
|
|
|
|
|
pair_style comb
|
|
|
|
pair_coeff * * ffield.comb Hf O
|
|
|
|
|
|
|
|
neighbor 0.5 bin
|
|
|
|
neigh_modify every 10 delay 10 check yes
|
|
|
|
|
|
|
|
timestep 0.00020
|
|
|
|
|
2010-08-31 04:20:28 +08:00
|
|
|
thermo_style custom step temp etotal pe evdwl ecoul press vol lx ly lz xz c_q1 c_q2
|
|
|
|
thermo_modify norm yes
|
|
|
|
|
2010-08-20 08:22:52 +08:00
|
|
|
fix 1 all nvt temp 300.0 300.0 0.1
|
2010-08-31 04:20:28 +08:00
|
|
|
thermo 1
|
|
|
|
run 1
|
2010-08-31 04:47:47 +08:00
|
|
|
fix 2 all qeq/comb 1 0.003 file fq.out
|
2010-08-31 04:20:28 +08:00
|
|
|
run 5
|
2010-08-20 08:22:52 +08:00
|
|
|
|
2010-08-31 04:20:28 +08:00
|
|
|
unfix 1
|
|
|
|
fix 1 all box/relax aniso 0.0 vmax 0.0002
|
2014-01-31 06:05:47 +08:00
|
|
|
|
|
|
|
# should minimize to higher tolerance in practice
|
|
|
|
|
|
|
|
#minimize 1.0e-12 1.0e-18 1000 10000
|
|
|
|
minimize 1.0e-4 1.0e-6 1000 10000
|
2010-08-31 04:20:28 +08:00
|
|
|
min_modify dmax 0.005 line quadratic
|
2010-08-20 08:22:52 +08:00
|
|
|
|
2012-01-13 03:03:12 +08:00
|
|
|
#dump 1 all cfg 10 *.cfg id type xs ys zs q vx vy vz fx fy fz
|
|
|
|
#dump_modify 1 element Hf O
|
|
|
|
|
2014-01-08 05:29:23 +08:00
|
|
|
#dump 2 all image 10 image.*.jpg element element &
|
2012-01-13 03:03:12 +08:00
|
|
|
# axes yes 0.8 0.02 view 60 -30
|
2014-01-08 05:29:23 +08:00
|
|
|
#dump_modify 2 pad 2 element Hf O
|
|
|
|
|
|
|
|
#dump 3 all movie 10 movie.mpg element element &
|
|
|
|
# axes yes 0.8 0.02 view 60 -30
|
|
|
|
#dump_modify 3 pad 2 element Hf O
|
2012-01-13 03:03:12 +08:00
|
|
|
|
2010-08-20 08:22:52 +08:00
|
|
|
velocity all create 300.1 2398378
|
|
|
|
run 10
|