1.. index:: compute smd/ulsph/strain 2 3compute smd/ulsph/strain command 4================================ 5 6Syntax 7"""""" 8 9.. code-block:: LAMMPS 10 11 compute ID group-ID smd/ulsph/strain 12 13* ID, group-ID are documented in :doc:`compute <compute>` command 14* smd/ulsph/strain = style name of this compute command 15 16Examples 17"""""""" 18 19.. code-block:: LAMMPS 20 21 compute 1 all smd/ulsph/strain 22 23Description 24""""""""""" 25 26Define a computation that outputs the logarithmic strain tensor. for 27particles interacting via the updated Lagrangian SPH pair style. 28 29See `this PDF guide <PDF/SMD_LAMMPS_userguide.pdf>`_ to using Smooth 30Mach Dynamics in LAMMPS. 31 32Output info 33""""""""""" 34 35This compute calculates a per-particle tensor, which can be accessed 36by any command that uses per-particle values from a compute as input. 37See the :doc:`Howto output <Howto_output>` page for an overview of 38LAMMPS output options. 39 40The per-particle vector has 6 entries, corresponding to the xx, yy, 41zz, xy, xz, yz components of the symmetric strain rate tensor. 42 43The per-particle tensor values will be given dimensionless, see 44:doc:`units <units>`. 45 46Restrictions 47"""""""""""" 48 49This compute is part of the MACHDYN package. It is only enabled if 50LAMMPS was built with that package. See the :doc:`Build package <Build_package>` page for more info. This compute can 51only be used for particles which interact with the updated Lagrangian 52SPH pair style. 53 54Related commands 55"""""""""""""""" 56 57:doc:`compute smd/tlsph/strain <compute_smd_tlsph_strain>` 58 59Default 60""""""" 61 62none 63