60 lines
1.8 KiB
HTML
60 lines
1.8 KiB
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 ke/multisphere command
|
|
</H3>
|
|
<P><B>Syntax:</B>
|
|
</P>
|
|
<PRE>compute ID group-ID ke/multisphere
|
|
</PRE>
|
|
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
|
<LI>ke = style name of this compute command
|
|
</UL>
|
|
<P><B>Examples:</B>
|
|
</P>
|
|
<PRE>compute 1 all ke/multisphere
|
|
</PRE>
|
|
<P><B>Description:</B>
|
|
</P>
|
|
<P>Define a computation that calculates the translational kinetic energy
|
|
of a collection of multisphere bodies.
|
|
</P>
|
|
<P>The kinetic energy of each multisphere body is computed as 1/2 M Vcm^2,
|
|
where M is the total mass of the multisphere body, and Vcm is its
|
|
center-of-mass velocity.
|
|
</P>
|
|
<P>This compute automatically connects to the <A HREF = "fix_multisphere.html">fix multisphere</A>
|
|
commands which defines the multisphere bodies. The group specified in the
|
|
compute command is ignored. The kinetic energy of all the multisphere
|
|
bodies defined by the fix multisphere command in included in the
|
|
calculation.
|
|
</P>
|
|
<P><B>Output info:</B>
|
|
</P>
|
|
<P>This compute calculates a global scalar (the summed KE of all the
|
|
multisphere 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> none
|
|
</P>
|
|
<P><B>Related commands:</B>
|
|
</P>
|
|
<P><A HREF = "compute_erotate_multisphere.html">compute erotate/multisphere</A>
|
|
</P>
|
|
<P><B>Default:</B> none
|
|
</P>
|
|
</HTML>
|