Page MenuHomec4science

compute_rotate_gran.html
No OneTemporary

File Metadata

Created
Tue, Jul 9, 11:20

compute_rotate_gran.html

<HTML>
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
</CENTER>
<HR>
<H3>compute rotate/gran command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>compute ID group-ID rotate/gran
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
<LI>rotate/gran = style name of this compute command
</UL>
<P><B>Examples:</B>
</P>
<PRE>compute 1 all rotate/gran
</PRE>
<P><B>Description:</B>
</P>
<P>Define a computation that calculates the total rotational energy of a
group of granular atoms.
</P>
<P>The rotational energy is calculated as the sum of 1/2 I w^2 over all
the atoms in the group, where I is the moment of inertia of a
disk/spherical (2d/3d) particle, and w is its angular velocity.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B> none
</P>
<P><B>Default:</B> none
</P>
</HTML>

Event Timeline