I need a short range attractive potential. Is there it in LAMMPS.
I mean that there is ONLY an attractive interaction when two atoms’ distance is shorter than Rc. There are coulomb interaction in my system, I don’t know why I can’t use both Coulomb and Yukawa potential.
pair_style hybrid/overlay lj/cut 2.5 coul/long 2.0 yukawa 2.0
ERROR: Illegal pair_style command
I hope some kind person give me a hand. Thanks in advance.