2012-03-24 07:25:46 +08:00
|
|
|
# ReaxFF potential for RDX system
|
2010-10-27 04:58:41 +08:00
|
|
|
# this run is equivalent to reax/in.reax.rdx
|
|
|
|
|
|
|
|
units real
|
|
|
|
|
|
|
|
atom_style charge
|
|
|
|
read_data data.rdx
|
|
|
|
|
2012-03-24 07:25:46 +08:00
|
|
|
pair_style reax/c control.reax_c.rdx
|
2010-10-27 04:58:41 +08:00
|
|
|
pair_coeff * * ffield.reax 1 2 3 4
|
|
|
|
|
|
|
|
compute reax all pair reax/c
|
|
|
|
|
|
|
|
variable eb equal c_reax[1]
|
|
|
|
variable ea equal c_reax[2]
|
|
|
|
variable elp equal c_reax[3]
|
|
|
|
variable emol equal c_reax[4]
|
|
|
|
variable ev equal c_reax[5]
|
|
|
|
variable epen equal c_reax[6]
|
|
|
|
variable ecoa equal c_reax[7]
|
|
|
|
variable ehb equal c_reax[8]
|
|
|
|
variable et equal c_reax[9]
|
|
|
|
variable eco equal c_reax[10]
|
|
|
|
variable ew equal c_reax[11]
|
|
|
|
variable ep equal c_reax[12]
|
|
|
|
variable efi equal c_reax[13]
|
|
|
|
variable eqeq equal c_reax[14]
|
|
|
|
|
|
|
|
neighbor 2.5 bin
|
|
|
|
neigh_modify every 10 delay 0 check no
|
|
|
|
|
|
|
|
fix 1 all nve
|
|
|
|
fix 2 all qeq/reax 1 0.0 10.0 1.0e-6 reax/c
|
|
|
|
|
|
|
|
thermo 10
|
2012-01-13 03:03:12 +08:00
|
|
|
thermo_style custom step temp epair etotal press &
|
|
|
|
v_eb v_ea v_elp v_emol v_ev v_epen v_ecoa &
|
|
|
|
v_ehb v_et v_eco v_ew v_ep v_efi v_eqeq
|
2010-10-27 04:58:41 +08:00
|
|
|
|
|
|
|
timestep 1.0
|
|
|
|
|
2012-01-13 03:03:12 +08:00
|
|
|
#dump 1 all atom 10 dump.reaxc.rdx
|
|
|
|
|
|
|
|
#dump 1 all image 25 image.*.jpg type type &
|
|
|
|
# axes yes 0.8 0.02 view 60 -30
|
|
|
|
#dump_modify 1 pad 3
|
2010-10-27 04:58:41 +08:00
|
|
|
|
|
|
|
run 100
|