<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/ulsph_stress command 
</H3>
<P><B>Syntax:</B>
</P>
<PRE>compute ID group-ID smd/ulsph_stress 
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
<LI>smd/ulsph_stress = style name of this compute command 
</UL>
<P><B>Examples:</B>
</P>
<PRE>compute 1 all smd/ulsph_stress 
</PRE>
<P><B>Description:</B>
</P>
<P>Define a computation that outputs the Cauchy stress tensor.
</P>
<P>See <A HREF = "USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</A> to using Smooth Mach Dynamics in LAMMPS.
</P>
<P><B>Output info:</B>
</P>
<P>This compute calculates a per-particle vector of vectors (tensors),
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 values will be given in <A HREF = "units.html">units</A> of pressure.
</P>
<P>The per-particle vector has 7 entries. The first six entries correspond to the xx, yy, zz, xy, xz, yz components
of the symmetric Cauchy stress tensor. The seventh entry is the second invariant of the stress tensor, i.e.,
the von Mises equivalent stress.
</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. This compute can only be used for particles which interact with the updated Lagrangian SPH pair style.
</P>
<P><B>Related commands:</B>
</P>
<PRE><A HREF = "compute_smd_ulsph_strain.html">smd/ulsph_strain</A>, <A HREF = "compute_smd_ulsph_strain_rate.html">smd/ulsph_strain_rate</A>
<A HREF = "compute_smd_tlsph_stress.html">smd/tlsph_stress</A> 
</PRE>
<P><B>Default:</B> none
</P>
</HTML>
