[lammps-users] pair_style hybrid?

Dear lamps users,

Thanks to Axel for the reply.

I used pair_style hybrid as Axel said, but it is also not working. I am sending the part of input script could any one help.

Pair_style hybrid eam/fs table linear 4400 table linear 10000

Pair_coeff * * x.eam.fs

Pair_coeff 2 2 y.table YY 5

Pair_coeff 1 2 XY.table XY 5

I am getting err as “pair style hybrid cannot use same pair style twice”

I tried this also

Pair_style eam/fs

Pair_coeff * * x.eam.fs

Pair_style table linear 10000

Pair_coeff 2 2 y.table YY 5

Pair_style table linear 4400

Pair_coeff 1 2 XY.table XY 5

I am getting err as “all pair coefficients are not set ”

Thanking you

With regards.

Kiran.

Pair_style hybrid eam/fs table linear 4400 table linear 10000
I am getting err as “pair style hybrid cannot use same pair style twice”

Well, you used "table" twice. The error message is pretty clear.
Try using it once. You can assign it to as many pairs via the
coeff command as you wish.

Steve