Dear Steave,
3 particles are connected through harmonic bonds(eg 1-2-3 , 4-5-6 ,7-8-9 etc). And i have 100 such particles. How can i put different interaction between the particles which are not in same chain (interaction between 1 & 4 0r 1 &5 etc) or How can i put interaction between them?
Dear Steave,
dear prathyusha,
although i am not steve, here is an attempt to answer your question.
3 particles are connected through harmonic bonds(eg 1-2-3 ,
4-5-6 ,7-8-9 etc). And i have 100 such particles. How can i put different
interaction between the particles which are not in same chain (interaction
between 1 & 4 0r 1 &5 etc) or How can i put interaction between them?
the short answer would be: RTFM
for the long answer please see:
http://lammps.sandia.gov/doc/pair_style.html
and related pages. bonded interaction are excluded via
the "special bonds" command, so you don't have to
worry about double counting. see.
http://lammps.sandia.gov/doc/special_bonds.html
cheers,
axel.
The bond_style command will specify interactions within each set
of 3 particles. The pair_style command will specify interactions
between atoms in different moleclues.
Steve