It’s a little odd because at first glance it looks like what you have proposed should work. I am guessing maybe you need the H? Not sure why, since I don’t think you’d need to assign H if you aren’t using H. I would try the following just as a check:
pair_style hybrid airebo 3.0 1 0 lj/cut/coul/cut 10.2
pair_coeff * * /home/chris/src/lammps-13Jul11/potentials/CH.airebo C H NULL
pair_coeff 1*3 3 lj/cut/coul/cut 0.00284 3.4
Make sure you define three types where 1=C, 2=H, and 3=whatever. Then just not assign any atoms to type 2 in your coordinate file. I did something similar for hydrocabons interacting on an iron surface through an LJ potential and it worked fine.
It's a little odd because at first glance it looks like what you have
proposed should work. I am guessing maybe you need the H? Not sure why,
since I don't think you'd need to assign H if you aren't using H. I would
try the following just as a check:
pair_style hybrid airebo 3.0 1 0 lj/cut/coul/cut 10.2
pair_coeff * * /home/chris/src/lammps-13Jul11/potentials/CH.airebo C H
as was pointed out before, the first issue is the missing "airebo"
after the "* *"
otherwise pair_style hybrid will assume the pair style would be
/home/chris/src/lammps-13Jul11/potentials/CH.airebo, which is
of course inconsistent.
assigning the NULL should be fine.
axel.
Ah. If only I could read my own scripts. You are correct. Sorry for the confusion.