Page MenuHomec4science

compute_smd_rho.html
No OneTemporary

File Metadata

Created
Sat, Nov 30, 13:16

compute_smd_rho.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/rho command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>compute ID group-ID smd/rho
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
<LI>smd/rho = style name of this compute command
</UL>
<P><B>Examples:</B>
</P>
<PRE>compute 1 all smd/rho
</PRE>
<P><B>Description:</B>
</P>
<P>Define a computation that calculates the per-particle mass density.
The mass density is the mass of a particle which is constant during
the course of a simulation, divided by its volume, which can change due to mechanical deformation.
</P>
<P>See <A HREF = "USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</A> to use Smooth Mach Dynamics in LAMMPS.
</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">How-to discussions, section 6.15</A>
for an overview of LAMMPS output options.
</P>
<P>The per-particle values will be in <A HREF = "units.html">units</A> of mass over volume.
</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 = "compute_smd_vol.html">smd/vol</A>
</P>
<P><B>Default:</B> none
</P>
</HTML>

Event Timeline