Adding angle during simulation

Hi everyone,

I’m using lammps ti simulate a bunch of molecules in a box. Those molecules can interact each other with only One bead.

Now when they interact (and form likes a dimer) they can also rotate one with respect to the other.

Is possibile in lammps to add an angle or perhaps a dihedral between the atoms of the two molecules so that when they are in contact the cannot rotate ?

Hope that was clear.

Many thanks for your time

Consider using ‘fix bond/create’ or, for more control, ‘fix bond/react’