Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93297004
compute_erotate_rigid.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 27, 17:24
Size
2 KB
Mime Type
text/html
Expires
Fri, Nov 29, 17:24 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22516237
Attached To
rLAMMPS lammps
compute_erotate_rigid.html
View Options
<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 erotate/rigid command
</H3>
<P><B>
Syntax:
</B>
</P>
<PRE>
compute ID group-ID erotate/rigid fix-ID
</PRE>
<UL><LI>
ID, group-ID are documented in
<A
HREF =
"compute.html"
>
compute
</A>
command
<LI>
erotate/rigid = style name of this compute command
<LI>
fix-ID = ID of rigid body fix
</UL>
<P><B>
Examples:
</B>
</P>
<PRE>
compute 1 all erotate/rigid myRigid
</PRE>
<P><B>
Description:
</B>
</P>
<P>
Define a computation that calculates the rotational kinetic energy of
a collection of rigid bodies, as defined by one of the
<A
HREF =
"fix_rigid.html"
>
fix
rigid
</A>
command variants.
</P>
<P>
The rotational energy of each rigid body is computed as 1/2 I Wbody^2,
where I is the inertia tensor for the rigid body, and Wbody is its
angular velocity vector. Both I and Wbody are in the frame of
reference of the rigid body, i.e. I is diagonalized.
</P>
<P>
The
<I>
fix-ID
</I>
should be the ID of one of the
<A
HREF =
"fix_rigid.html"
>
fix rigid
</A>
commands which defines the rigid bodies. The group specified in the
compute command is ignored. The rotational energy of all the rigid
bodies defined by the fix rigid command in included in the
calculation.
</P>
<P><B>
Output info:
</B>
</P>
<P>
This compute calculates a global scalar (the summed rotational energy
of all the rigid bodies). This value can be used by any command that
uses a global scalar value from a compute as input. See
<A
HREF =
"Section_howto.html#howto_15"
>
Section_howto 15
</A>
for an overview of
LAMMPS output options.
</P>
<P>
The scalar value calculated by this compute is "extensive". The
scalar value will be in energy
<A
HREF =
"units.html"
>
units
</A>
.
</P>
<P><B>
Restrictions:
</B>
</P>
<P>
This compute is part of the RIGID package. It is only enabled if
LAMMPS was built with that package. See the
<A
HREF =
"Section_start.html#start_3"
>
Making
LAMMPS
</A>
section for more info.
</P>
<P><B>
Related commands:
</B>
</P>
<P><A
HREF =
"compute_erotate_ke_rigid.html"
>
compute ke/rigid
</A>
</P>
<P><B>
Default:
</B>
none
</P>
</HTML>
Event Timeline
Log In to Comment