lammps/doc/doc2/compute_smd_contact_radius....

59 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 smd/contact_radius command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>compute ID group-ID smd/contact_radius
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
<LI>smd/contact_radius = style name of this compute command
</UL>
<P><B>Examples:</B>
</P>
<PRE>compute 1 all smd/contact_radius
</PRE>
<P><B>Description:</B>
</P>
<P>Define a computation which outputs the contact radius, i.e., the radius used to prevent particles from penetrating each other.
The contact radius is used only to prevent particles belonging to different physical bodies from penetrating each other. It is used by the contact pair styles,
e.g., smd/hertz and smd/tri_surface.
</P>
<P>See <A HREF = "USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</A> to using Smooth Mach Dynamics in
LAMMPS.
</P>
<P>The value of the contact radius will be 0.0 for particles not in the
specified compute group.
</P>
<P><B>Output info:</B>
</P>
<P>This compute calculates a per-particle vector, which can be accessed by
any command that uses per-particle values 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 per-particle vector values will be in distance <A HREF = "units.html">units</A>.
</P>
<P><B>Restrictions:</B>
</P>
<P>This compute is part of the USER-SMD 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 = "dump.html">dump custom</A> smd/hertz smd/tri_surface
</P>
<P><B>Default:</B> none
</P>
</HTML>