I am very new to Lammps. So I have been using read_data to get a mesh in lammps and do MD on it. Now I provide the bond data using a input file which i generate using a code. So I wanted to switch bonds during the simulation randomly using a external script. Is there a way to do it in lammps by creating a custom code and do it. Appreciate all the help I can get.
You have the commands listed in the manual. Please have a look.