Dear LAMMPS users,
I have a system where I want to treat the organic molecules using GAFF force field and water molecules with reaxff force field, and the interactions between organic molecules and water with LJ potential. It’s working now but I have difficulty of controlling the temperature. Here is my input and data file.
I have 12 atom types. atom type 1 to 8 is for GAFF, and atom type 9 to 12 is for reaxFF.
Masses
1 16.0000 # oh
2 12.0100 # ca
3 1.0080 # ho
4 16.0000 # os
5 1.0080 # h1
6 1.0080 # hc
7 12.0100 # c3
8 1.0080 # ha
9 1.0080 # HW
10 15.9994 # OW
11 0.01 # El
12 1.0 # X
units real
atom_style full
boundary p p p
dielectric 1
special_bonds lj/coul 0.0 0.0 0.8
pair_style hybrid reax/c lmp_control checkqeq no lgvdw yes lj/charmm/coul/charmm 9.0 10.00000 lj/cut 9.0
bond_style harmonic
angle_style harmonic
dihedral_style harmonic
improper_style cvff
#kspace_style pppm 0.0001
read_data data.lammps
#read_restart file.restart
pair_coeff * * reax/c ffield.reax.eReaxFF_lg_3 NULL NULL NULL NULL NULL NULL NULL NULL H O El
pair_coeff 1 1 lj/charmm/coul/charmm 0.21040000 3.06647339 # oh oh
pair_coeff 2 2 lj/charmm/coul/charmm 0.08600000 3.39966951 # ca ca
pair_coeff 3 3 lj/charmm/coul/charmm 0.00000000 0.00000000 # ho ho
pair_coeff 4 4 lj/charmm/coul/charmm 0.17000000 3.00001234 # os os
pair_coeff 5 5 lj/charmm/coul/charmm 0.01570000 2.47135304 # h1 h1
pair_coeff 6 6 lj/charmm/coul/charmm 0.01570000 2.64953279 # hc hc
pair_coeff 7 7 lj/charmm/coul/charmm 0.10940000 3.39966951 # c3 c3
pair_coeff 8 8 lj/charmm/coul/charmm 0.01500000 2.59964246 # ha ha
pair_modify mix geometric
pair_coeff 1 9 lj/cut 0.000 0.000 #oh HW
pair_coeff 1 10 lj/cut 0.000 0.000 #oh OW
pair_coeff 1 11 lj/cut 0.000 0.000 #oh El
pair_coeff 2 9 lj/cut 0.000 0.000 #ca HW
pair_coeff 2 10 lj/cut 0.000 0.000 #ca OW
pair_coeff 2 11 lj/cut 0.000 0.000 #ca El
pair_coeff 3 9 lj/cut 0.000 0.000 #ho HW
pair_coeff 3 10 lj/cut 0.000 0.000 #ho OW
pair_coeff 3 11 lj/cut 0.000 0.000 #ho El
pair_coeff 4 9 lj/cut 0.000 0.000 #os HW
pair_coeff 4 10 lj/cut 0.000 0.000 #os OW
pair_coeff 4 11 lj/cut 0.000 0.000 #os El
pair_coeff 5 9 lj/cut 0.000 0.000 #h1 HW
pair_coeff 5 10 lj/cut 0.000 0.000 #h1 OW
pair_coeff 5 11 lj/cut 0.000 0.000 #h1 El
pair_coeff 6 9 lj/cut 0.000 0.000 #hc HW
pair_coeff 6 10 lj/cut 0.000 0.000 #hc OW
pair_coeff 6 11 lj/cut 0.000 0.000 #hc El
pair_coeff 7 9 lj/cut 0.000 0.000 #c3 HW
pair_coeff 7 10 lj/cut 0.000 0.000 #c3 OW
pair_coeff 7 11 lj/cut 0.000 0.000 #c3 El
pair_coeff 8 9 lj/cut 0.000 0.000 #ha HW
pair_coeff 8 10 lj/cut 0.000 0.000 #ha OW
pair_coeff 8 11 lj/cut 0.000 0.000 #ha El
With the pair_coeff between 1-8 and 9-11 as 0.0, I assume there is no interaction between the gaff organic molecules and reaxff water. But I found that the coulomb energy and vdWs energy of the whole system is not the sum of the organic molecules and the waters. The coulomb energy and vdWs energy are changed compared to the energy when I only calculate for water or for the organic molecules.
I’m wondering why that happens? Did I understand it correctly?
Thanks in advance!
Sincerely
Hongxia