Dear All
I just noticed that lammps document says this hydrogen bonding potential
does not support mixing, whereas I am using geometric mixing. I wonder if it
is due to that. However, I quite vividly recall discussing with Steve that
yes. it is.
this mixing constraint was removed and also lammps did not give me any error
while I used that.
as far is i remember from the code, the situation is the following:
for hybrid pair styles mixing is supported, if the mixing is
required between pairs of atom types that all have the same
substyle and that substyle does support mixing. for hybrid/overlay
the rule is basically the same, but now you can have more than
one pair style contribute to a pair, thus making pairs that were
equal before, suddenly no longer equal.
i am attaching a variant of your input file that highlights that,
by trying to do the transition from your first configuration to
your second configuration in smaller steps (it is possible).
also, i don't rely on the system remaining the same, but use
clear and read in the restart again. if you want to compare
things to find the cause of a difference, you have to make
those as similar as possible. so you'll see now where the
change is coming from.
a) the hybrid/overlay setup with the hbond potential added
b) the same thing, but this time a morse potential (doesn't
support mixing!) with a well depth energy of 0.0 (= doesn't
add energy).
c) the hybrid/overlay setup but without a second potential
(yes, it is pointless in real life, but important in this context).
d) the single pair potential without hybrid.
comparing the non-bonded energies, this gives:
E_vdwl E_coul E_pair Press PotEng E_hbond
372.81497 1831.9196 -1668.1814 -2703.5982 -962.82199 -2.1879901
in.ABIm-both-90k-ak (9.56 KB)