a problem about pair_style hyrid

Dear all:
I want to simulate a gold system in carbon nanotube. I use eam/alloy potential to describe the interaction between gold atoms, tersoff potential to describe that between carbon atoms, and lj/cut pottential to decribe that between gold atom and carbon atom.
There are two types in the simulation system and type 1 is gold atom and type 2 is carbon atom. When I run a simulation, an error always occur about the pair_coeff, and even if I changed the order of the pair_coeff s, the similar error occurs, I don’t know why. I don’t know whether it is because the tersoff potential and the eam/alloy potential can’t be used in hybrid form. But when I take CH.airebo potential instead of tersoff, the similar problem exists.
My potential assign and the error occurs are listed as follows:

  1. potentail assign:
    pair_style hybrid lj/cut 9.58 eam/alloy tersoff
    pair_coeff * * tersoff ./SiC.tersoff NULL C
    pair_coeff 1 1 eam/alloy ./Au-Grochola-JCP05.eam.alloy Au
    pair_coeff 1 2 lj/cut 0.01273 2.9943 9.58

error :

pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * tersoff ./SiC.tersoff NULL C
pair_coeff 1 1 eam/alloy ./Au-Grochola-JCP05.eam.alloy Au
ERROR: Incorrect args for pair coefficients (pair_eam_alloy.cpp:50)

  1. potential assign:

pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * eam/alloy ./Au-Grochola-JCP05.eam.alloy Au NULL
pair_coeff 2 2 tersoff ./SiC.tersoff C
pair_coeff 1 2 lj/cut 0.01273 2.9943 9.58

error:

pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * ./Au-Grochola-JCP05.eam.alloy Au NULL
pair_coeff 2 2 tersoff ./SiC.tersoff C
ERROR: Incorrect args for pair coefficients (pair_tersoff.cpp:278)

I am very grateful for your suggestions about my difficulty in simulation.

With best regards!

sincerely yours
Meg

Every one of your examples has incorrect syntax, so LAMMPS
is giving you an error. Please read the doc pages for pair hybrid
and the individual pair style carefully.

See comments below.

Steve

Dear all:
     I want to simulate a gold system in carbon nanotube. I use eam/alloy
potential to describe the interaction between gold atoms, tersoff potential
to describe that between carbon atoms, and lj/cut pottential to decribe that
between gold atom and carbon atom.
     There are two types in the simulation system and type 1 is gold atom
and type 2 is carbon atom. When I run a simulation, an error always occur
about the pair_coeff, and even if I changed the order of the pair_coeff s,
the similar error occurs, I don't know why. I don't know whether it is
because the tersoff potential and the eam/alloy potential can't be used in
hybrid form. But when I take CH.airebo potential instead of tersoff, the
similar problem exists.
     My potential assign and the error occurs are listed as follows:
1) potentail assign:
pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * tersoff ./SiC.tersoff NULL C
pair_coeff 1 1 eam/alloy ./Au-Grochola-JCP05.eam.alloy Au

eam/allow requires * * and an arg for every atom type

pair_coeff 1 2 lj/cut 0.01273 2.9943 9.58

error :
pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * tersoff ./SiC.tersoff NULL C
pair_coeff 1 1 eam/alloy ./Au-Grochola-JCP05.eam.alloy Au

ditto as above

ERROR: Incorrect args for pair coefficients (pair_eam_alloy.cpp:50)

2) potential assign:
pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * eam/alloy ./Au-Grochola-JCP05.eam.alloy Au NULL
pair_coeff 2 2 tersoff ./SiC.tersoff C

tersoff require * * and an arg for every atom type

pair_coeff 1 2 lj/cut 0.01273 2.9943 9.58

error:
pair_style hybrid lj/cut 9.58 eam/alloy tersoff
pair_coeff * * ./Au-Grochola-JCP05.eam.alloy Au NULL

you are missing eam/allow after the * *

pair_coeff 2 2 tersoff ./SiC.tersoff C

see above about tersoff