forked from lijiext/lammps
36 lines
795 B
Plaintext
36 lines
795 B
Plaintext
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
:link(ld,Manual.html)
|
|
:link(lc,Section_commands.html#comm)
|
|
|
|
:line
|
|
|
|
compute rotate/gran command :h3
|
|
|
|
[Syntax:]
|
|
|
|
compute ID group-ID rotate/gran :pre
|
|
|
|
ID, group-ID are documented in "compute"_compute.html command
|
|
rotate/gran = style name of this compute command :ul
|
|
|
|
[Examples:]
|
|
|
|
compute 1 all rotate/gran :pre
|
|
|
|
[Description:]
|
|
|
|
Define a computation that calculates the total rotational energy of a
|
|
group of granular atoms.
|
|
|
|
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.
|
|
|
|
[Restrictions:] none
|
|
|
|
[Related commands:] none
|
|
|
|
[Default:] none
|