I have a problem about the pair_style hybrid command. When I run the following code
there is always ERROR: Pair coeff for hybrid has invalid style
I hope there is the LJ potential between atom type 1 and atom type 2.
There is the tersoff potential among atom type 1 itself.
There is the tersoff potential among atom type 2 itself.
I have already put the SiCGe.tersoff in the working directory.
pair_coeff 1 1 SiCGe.tersoff C
pair_coeff 2 2 SiCGe.tersoff C
If you want to have type 1 atoms interacting amongst themselves with a
Tersoff potential, the same with type 2 atoms and a LJ interaction
between type 1 and 2 atoms, then the only way this can work, that I
can think of, is to have a Tersoff potential file for the two type of
atoms with entries:
pair_coeff 1 1 SiCGe.tersoff C
pair_coeff 2 2 SiCGe.tersoff C
If you want to have type 1 atoms interacting amongst themselves with a
Tersoff potential, the same with type 2 atoms and a LJ interaction
between type 1 and 2 atoms, then the only way this can work, that I
can think of, is to have a Tersoff potential file for the two type of
atoms with entries like:
The following lines are wrong:
pair_coeff 1 1 SiCGe.tersoff C
The reason it is wrong is you need the word "tersoff" in it.
As also indicated, the only way to have 1-1 = 2-2 = tersoff,
but 1=2 = lj/cut is to use pair_style hybrid/overlay and
defined all 3 interactions as tersoff:
pair_coeff * * tersoff file C C
and 1-2 as LJ
pair_coeff 1 2 lj/cut ...
and then have your Tersoff file turn off the interactions between 1-2.