git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1619 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -335,8 +335,8 @@ description:
|
|||||||
<DIV ALIGN=center><TABLE BORDER=1 >
|
<DIV ALIGN=center><TABLE BORDER=1 >
|
||||||
<TR ALIGN="center"><TD ><A HREF = "compute_centro_atom.html">centro/atom</A></TD><TD ><A HREF = "compute_coord_atom.html">coord/atom</A></TD><TD ><A HREF = "compute_displace_atom.html">displace/atom</A></TD><TD ><A HREF = "compute_erotate_sphere.html">erotate/sphere</A></TD><TD ><A HREF = "compute_group_group.html">group/group</A></TD><TD ><A HREF = "compute_ke_atom.html">ke/atom</A></TD></TR>
|
<TR ALIGN="center"><TD ><A HREF = "compute_centro_atom.html">centro/atom</A></TD><TD ><A HREF = "compute_coord_atom.html">coord/atom</A></TD><TD ><A HREF = "compute_displace_atom.html">displace/atom</A></TD><TD ><A HREF = "compute_erotate_sphere.html">erotate/sphere</A></TD><TD ><A HREF = "compute_group_group.html">group/group</A></TD><TD ><A HREF = "compute_ke_atom.html">ke/atom</A></TD></TR>
|
||||||
<TR ALIGN="center"><TD ><A HREF = "compute_pe.html">pe</A></TD><TD ><A HREF = "compute_pe_atom.html">pe/atom</A></TD><TD ><A HREF = "compute_pressure.html">pressure</A></TD><TD ><A HREF = "compute_reduce.html">reduce</A></TD><TD ><A HREF = "compute_stress_atom.html">stress/atom</A></TD><TD ><A HREF = "compute_temp.html">temp</A></TD></TR>
|
<TR ALIGN="center"><TD ><A HREF = "compute_pe.html">pe</A></TD><TD ><A HREF = "compute_pe_atom.html">pe/atom</A></TD><TD ><A HREF = "compute_pressure.html">pressure</A></TD><TD ><A HREF = "compute_reduce.html">reduce</A></TD><TD ><A HREF = "compute_stress_atom.html">stress/atom</A></TD><TD ><A HREF = "compute_temp.html">temp</A></TD></TR>
|
||||||
<TR ALIGN="center"><TD ><A HREF = "compute_temp_asphere.html">temp/asphere</A></TD><TD ><A HREF = "compute_temp_com.html">temp/com</A></TD><TD ><A HREF = "compute_temp_deform.html">temp/deform</A></TD><TD ><A HREF = "compute_temp_dipole.html">temp/dipole</A></TD><TD ><A HREF = "compute_temp_partial.html">temp/partial</A></TD><TD ><A HREF = "compute_temp_ramp.html">temp/ramp</A></TD></TR>
|
<TR ALIGN="center"><TD ><A HREF = "compute_temp_asphere.html">temp/asphere</A></TD><TD ><A HREF = "compute_temp_com.html">temp/com</A></TD><TD ><A HREF = "compute_temp_deform.html">temp/deform</A></TD><TD ><A HREF = "compute_temp_partial.html">temp/partial</A></TD><TD ><A HREF = "compute_temp_ramp.html">temp/ramp</A></TD><TD ><A HREF = "compute_temp_region.html">temp/region</A></TD></TR>
|
||||||
<TR ALIGN="center"><TD ><A HREF = "compute_temp_region.html">temp/region</A></TD><TD ><A HREF = "compute_temp_sphere.html">temp/sphere</A>
|
<TR ALIGN="center"><TD ><A HREF = "compute_temp_sphere.html">temp/sphere</A>
|
||||||
</TD></TR></TABLE></DIV>
|
</TD></TR></TABLE></DIV>
|
||||||
|
|
||||||
<P>These are compute styles contributed by users, which can be used if
|
<P>These are compute styles contributed by users, which can be used if
|
||||||
|
|||||||
@ -9,34 +9,43 @@
|
|||||||
|
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
<H3>compute rotate/dipole command
|
<H3>compute erotate/sphere command
|
||||||
</H3>
|
</H3>
|
||||||
<P><B>Syntax:</B>
|
<P><B>Syntax:</B>
|
||||||
</P>
|
</P>
|
||||||
<PRE>compute ID group-ID rotate/dipole
|
<PRE>compute ID group-ID erotate/sphere
|
||||||
</PRE>
|
</PRE>
|
||||||
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
||||||
<LI>rotate/dipole = style name of this compute command
|
<LI>erotate/sphere = style name of this compute command
|
||||||
</UL>
|
</UL>
|
||||||
<P><B>Examples:</B>
|
<P><B>Examples:</B>
|
||||||
</P>
|
</P>
|
||||||
<PRE>compute 1 all rotate/dipole
|
<PRE>compute 1 all erotate/sphere
|
||||||
</PRE>
|
</PRE>
|
||||||
<P><B>Description:</B>
|
<P><B>Description:</B>
|
||||||
</P>
|
</P>
|
||||||
<P>Define a computation that calculates the total rotational energy of a
|
<P>Define a computation that calculates the rotational kinetic energy of
|
||||||
group of atoms with point dipole moments.
|
a group of spherical particles.
|
||||||
</P>
|
</P>
|
||||||
<P>The rotational energy is calculated as the sum of 1/2 I w^2 over all
|
<P>The rotational energy is computed as 1/2 I w^2, where I is the moment
|
||||||
the atoms in the group, where I is the moment of inertia of a
|
of inertia for a sphere and w is the particle's angular velocity.
|
||||||
disk/spherical (2d/3d) particle, and w is its angular velocity.
|
</P>
|
||||||
|
<P>IMPORTANT NOTE: For <A HREF = "dimension.html">2d models</A>, particles are treated
|
||||||
|
as spheres, not disks, meaning their moment of inertia will be the
|
||||||
|
same as in 3d.
|
||||||
</P>
|
</P>
|
||||||
<P><B>Output info:</B>
|
<P><B>Output info:</B>
|
||||||
</P>
|
</P>
|
||||||
<P>The scalar value calculated by this compute is "extensive", meaning it
|
<P>The scalar value calculated by this compute is "extensive", meaning it
|
||||||
it scales with the number of atoms in the simulation.
|
it scales with the number of atoms in the simulation.
|
||||||
</P>
|
</P>
|
||||||
<P><B>Restrictions:</B> none
|
<P><B>Restrictions:</B>
|
||||||
|
</P>
|
||||||
|
<P>This compute requires that particles be represented as extended
|
||||||
|
spheres and not point particles. This means they will have an angular
|
||||||
|
velocity and a diameter which is determined either by the
|
||||||
|
<A HREF = "shape.html">shape</A> command or by each particle being assigned an
|
||||||
|
individual radius, e.g. for <A HREF = "atom_style.html">atom_style granular</A>.
|
||||||
</P>
|
</P>
|
||||||
<P><B>Related commands:</B> none
|
<P><B>Related commands:</B> none
|
||||||
</P>
|
</P>
|
||||||
|
|||||||
@ -6,34 +6,43 @@
|
|||||||
|
|
||||||
:line
|
:line
|
||||||
|
|
||||||
compute rotate/dipole command :h3
|
compute erotate/sphere command :h3
|
||||||
|
|
||||||
[Syntax:]
|
[Syntax:]
|
||||||
|
|
||||||
compute ID group-ID rotate/dipole :pre
|
compute ID group-ID erotate/sphere :pre
|
||||||
|
|
||||||
ID, group-ID are documented in "compute"_compute.html command
|
ID, group-ID are documented in "compute"_compute.html command
|
||||||
rotate/dipole = style name of this compute command :ul
|
erotate/sphere = style name of this compute command :ul
|
||||||
|
|
||||||
[Examples:]
|
[Examples:]
|
||||||
|
|
||||||
compute 1 all rotate/dipole :pre
|
compute 1 all erotate/sphere :pre
|
||||||
|
|
||||||
[Description:]
|
[Description:]
|
||||||
|
|
||||||
Define a computation that calculates the total rotational energy of a
|
Define a computation that calculates the rotational kinetic energy of
|
||||||
group of atoms with point dipole moments.
|
a group of spherical particles.
|
||||||
|
|
||||||
The rotational energy is calculated as the sum of 1/2 I w^2 over all
|
The rotational energy is computed as 1/2 I w^2, where I is the moment
|
||||||
the atoms in the group, where I is the moment of inertia of a
|
of inertia for a sphere and w is the particle's angular velocity.
|
||||||
disk/spherical (2d/3d) particle, and w is its angular velocity.
|
|
||||||
|
IMPORTANT NOTE: For "2d models"_dimension.html, particles are treated
|
||||||
|
as spheres, not disks, meaning their moment of inertia will be the
|
||||||
|
same as in 3d.
|
||||||
|
|
||||||
[Output info:]
|
[Output info:]
|
||||||
|
|
||||||
The scalar value calculated by this compute is "extensive", meaning it
|
The scalar value calculated by this compute is "extensive", meaning it
|
||||||
it scales with the number of atoms in the simulation.
|
it scales with the number of atoms in the simulation.
|
||||||
|
|
||||||
[Restrictions:] none
|
[Restrictions:]
|
||||||
|
|
||||||
|
This compute requires that particles be represented as extended
|
||||||
|
spheres and not point particles. This means they will have an angular
|
||||||
|
velocity and a diameter which is determined either by the
|
||||||
|
"shape"_shape.html command or by each particle being assigned an
|
||||||
|
individual radius, e.g. for "atom_style granular"_atom_style.html.
|
||||||
|
|
||||||
[Related commands:] none
|
[Related commands:] none
|
||||||
|
|
||||||
|
|||||||
@ -53,7 +53,7 @@ particles, so they do not rotate.
|
|||||||
inertia tensor for the aspherical particle and w is its angular
|
inertia tensor for the aspherical particle and w is its angular
|
||||||
velocity, which is computed from its angular momentum.
|
velocity, which is computed from its angular momentum.
|
||||||
</P>
|
</P>
|
||||||
<P>IMPORTANT NOTE: Fo <A HREF = "dimension.html">2d models</A>, particles are treated
|
<P>IMPORTANT NOTE: For <A HREF = "dimension.html">2d models</A>, particles are treated
|
||||||
as ellipsoids, not ellipses, meaning their moments of inertia will be
|
as ellipsoids, not ellipses, meaning their moments of inertia will be
|
||||||
the same as in 3d.
|
the same as in 3d.
|
||||||
</P>
|
</P>
|
||||||
|
|||||||
@ -50,7 +50,7 @@ The rotational kinetic energy is computed as 1/2 I w^2, where I is the
|
|||||||
inertia tensor for the aspherical particle and w is its angular
|
inertia tensor for the aspherical particle and w is its angular
|
||||||
velocity, which is computed from its angular momentum.
|
velocity, which is computed from its angular momentum.
|
||||||
|
|
||||||
IMPORTANT NOTE: Fo "2d models"_dimension.html, particles are treated
|
IMPORTANT NOTE: For "2d models"_dimension.html, particles are treated
|
||||||
as ellipsoids, not ellipses, meaning their moments of inertia will be
|
as ellipsoids, not ellipses, meaning their moments of inertia will be
|
||||||
the same as in 3d.
|
the same as in 3d.
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ degrees of freedom (2 translational, 1 rotational).
|
|||||||
moment of inertia for a sphere and w is the particle's angular
|
moment of inertia for a sphere and w is the particle's angular
|
||||||
velocity.
|
velocity.
|
||||||
</P>
|
</P>
|
||||||
<P>IMPORTANT NOTE: Fo <A HREF = "dimension.html">2d models</A>, particles are treated
|
<P>IMPORTANT NOTE: For <A HREF = "dimension.html">2d models</A>, particles are treated
|
||||||
as spheres, not disks, meaning their moment of inertia will be the
|
as spheres, not disks, meaning their moment of inertia will be the
|
||||||
same as in 3d.
|
same as in 3d.
|
||||||
</P>
|
</P>
|
||||||
|
|||||||
@ -36,7 +36,7 @@ The rotational kinetic energy is computed as 1/2 I w^2, where I is the
|
|||||||
moment of inertia for a sphere and w is the particle's angular
|
moment of inertia for a sphere and w is the particle's angular
|
||||||
velocity.
|
velocity.
|
||||||
|
|
||||||
IMPORTANT NOTE: Fo "2d models"_dimension.html, particles are treated
|
IMPORTANT NOTE: For "2d models"_dimension.html, particles are treated
|
||||||
as spheres, not disks, meaning their moment of inertia will be the
|
as spheres, not disks, meaning their moment of inertia will be the
|
||||||
same as in 3d.
|
same as in 3d.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user