How can I visualize the sample body particles in VMD?

Dear LAMMPS users,

I am trying to visualize body particles in VMD. Now I can dump them to .jepg files, but cannot dump them to .xyz or .lammpstrj files which can be read by VMD. Have anyone tried to dump the sample body particles into a VMD-readable file? Thank you very much.

Best regards,
zjgbz

Dear LAMMPS users,

I am trying to visualize body particles in VMD. Now I can dump them to
.jepg files, but cannot dump them to .xyz or .lammpstrj files which can be
read by VMD. Have anyone tried to dump the sample body particles into a
VMD-readable file? Thank you very much.

​you have to use fix rigid (or probably fix rigid/small).

unless you are a sufficiently versed in programming that you can read and
understand the LAMMPS source code, have a problem that needs an integrator
that is different from standard rigid body dynamics and knows enough
physics to implement ​it, there is no point in using atom style body. the
existing implementation is provided mainly for demonstration purposes.

axel.