Dear professor:
i have some troubles about the lammps, and i want to get your help.
i wang to use tersoff to describe the interaction of C-C,eam/fs for the Al-Al,LJ for C-Al, just like the following,
Dear professor:
i have some troubles about the lammps, and i want to get your help.
i wang to use tersoff to describe the interaction of C-C,eam/fs for the Al-Al,LJ for C-Al, just like the following,
#-----力场-----
pair_style hybrid lj/cut 12.0 tersoff eam/fs
pair_coeff * * tersoff 1 C.tersoff C NULL
ERROR: Incorrect args for pair coefficients (…/pair_tersoff.cpp:299)
Last command: pair_coeff * * tersoff 1 C.tersoff C NULL
so what should i do to correct it?
the use of a number after “tersoff” or “eam/fs” in a pair_coeff command is only supported and required, if you are using the same pair style multiple times as substyle. this is not the case here, so you must not use those.
please carefully review the documentation for the pair style hybrid command, where this is explained.