1
# Streitz-Mintmire potential with alpha-alumina
2
# option to use with Ewald or Wolf sum
3
# EAM (AlO.eam.alloy) includes 1994 SM and 2004 Zhou versions
4
# Streitz Mintmire (coul/streitz) does not include 2004 Zhou modifications
5
# Contributing authors: Ray Shan, Chris Weinberger (Sandia)
12
read_data data.streitz
15
compute charge1 type1 property/atom q
16
compute q1 type1 reduce ave c_charge1
18
compute charge2 type2 property/atom q
19
compute q2 type2 reduce ave c_charge2
21
variable qcat equal 2.8
22
variable qani equal -${qcat}*count(type1)/count(type2)
23
set group type1 charge ${qcat}
24
set group type2 charge ${qani}
25
variable qsum equal count(type1)*c_q1+count(type2)*c_q2
27
# Ewald sum for coul/streitz
28
pair_style hybrid/overlay coul/streitz 12.0 ewald eam/alloy
29
kspace_style ewald 1e-6
31
# Wolf sum for coul/streitz
32
#pair_style hybrid/overlay coul/streitz 12.0 wolf 0.31 eam/alloy
34
pair_coeff * * coul/streitz AlO.streitz Al O
35
pair_coeff * * eam/alloy AlO.eam.alloy Al O
38
neigh_modify every 10 delay 0 check yes
41
thermo_style custom step temp etotal pe evdwl ecoul elong &
42
c_q1 c_q2 v_qsum press spcpu
43
thermo_modify norm yes
46
velocity all create 300.0 42128
47
fix 1 all qeq/slater 1 12.0 1.0e-6 100 coul/streitz