git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14950 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
69
doc/html/_sources/compute_erotate_rigid.txt
Normal file
69
doc/html/_sources/compute_erotate_rigid.txt
Normal file
@ -0,0 +1,69 @@
|
||||
.. index:: compute erotate/rigid
|
||||
|
||||
compute erotate/rigid command
|
||||
=============================
|
||||
|
||||
Syntax
|
||||
""""""
|
||||
|
||||
.. parsed-literal::
|
||||
|
||||
compute ID group-ID erotate/rigid fix-ID
|
||||
|
||||
* ID, group-ID are documented in :doc:`compute <compute>` command
|
||||
* erotate/rigid = style name of this compute command
|
||||
* fix-ID = ID of rigid body fix
|
||||
|
||||
Examples
|
||||
""""""""
|
||||
|
||||
.. parsed-literal::
|
||||
|
||||
compute 1 all erotate/rigid myRigid
|
||||
|
||||
Description
|
||||
"""""""""""
|
||||
|
||||
Define a computation that calculates the rotational kinetic energy of
|
||||
a collection of rigid bodies, as defined by one of the :doc:`fix rigid <fix_rigid>` command variants.
|
||||
|
||||
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.
|
||||
|
||||
The *fix-ID* should be the ID of one of the :doc:`fix rigid <fix_rigid>`
|
||||
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.
|
||||
|
||||
**Output info:**
|
||||
|
||||
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
|
||||
:ref:`Section_howto 15 <howto_15>` for an overview of
|
||||
LAMMPS output options.
|
||||
|
||||
The scalar value calculated by this compute is "extensive". The
|
||||
scalar value will be in energy :doc:`units <units>`.
|
||||
|
||||
Restrictions
|
||||
""""""""""""
|
||||
|
||||
|
||||
This compute is part of the RIGID package. It is only enabled if
|
||||
LAMMPS was built with that package. See the :ref:`Making LAMMPS <start_3>` section for more info.
|
||||
|
||||
Related commands
|
||||
""""""""""""""""
|
||||
|
||||
:doc:`compute ke/rigid <compute_erotate_ke_rigid>`
|
||||
|
||||
**Default:** none
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Section_commands.html#comm
|
||||
Reference in New Issue
Block a user