Angular velocity for calculation of rotational density of state function

Dear LAMMPS users

I am trying to calculate entropy from MD simulation using lammps software. For that, I need to know the angular velocity and principle moment of inertia for each molecules. I am using TIP4P-Ew rigid water model, with atom style full. Is it possible to calculate angular velocity of each molecule or dump the angular velocity using lammps? I looked at the manual and found I need to change atom style from full to body. Do I need to the data file for that?
I also tried to use thus:
“compute cc1 all chunk/atom molecule”
But looks like style “molecules” is not appropriate for my case.

It will be great if someone can assist me on that. Thank you very much.

Dear LAMMPS users

I am trying to calculate entropy from MD simulation using lammps software.
For that, I need to know the angular velocity and principle moment of
inertia for each molecules. I am using TIP4P-Ew rigid water model, with
atom style full. Is it possible to calculate angular velocity of each
molecule or dump the angular velocity using lammps? I looked at the manual
and found I need to change atom style from full to body. Do I need to the
data file for that?

​this is nonsense. atom style full will work fine.​ atom style body is mean
for *very* different purposes.

I also tried to use thus:
"compute cc1 all chunk/atom molecule"
But looks like style "molecules" is not appropriate for my case.

​you have not read the documentation with sufficient care. this is
*exactly* what you need. this will define chunks, where each chunk is a
molecule. for those chunks you can then do computations like inertia/chunk
or angmom/chunk, which will compute the desired properties for each chunk.​
chunks allow to flexibly and dynamically group atoms and then do
computations on them. this is a very general and flexible concept that
avoids having to re-write analysis computes depending on how things are
grouped.

so please review the manual again and pay special attention to the "chunk"
feature and you'll see.

axel.