forked from lijiext/lammps
70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
.. index:: compute damage/atom
|
|
|
|
compute damage/atom command
|
|
===========================
|
|
|
|
Syntax
|
|
""""""
|
|
|
|
.. parsed-literal::
|
|
|
|
compute ID group-ID damage/atom
|
|
|
|
* ID, group-ID are documented in :doc:`compute <compute>` command
|
|
* damage/atom = style name of this compute command
|
|
|
|
Examples
|
|
""""""""
|
|
|
|
.. parsed-literal::
|
|
|
|
compute 1 all damage/atom
|
|
|
|
Description
|
|
"""""""""""
|
|
|
|
Define a computation that calculates the per-atom damage for each atom
|
|
in a group. This is a quantity relevant for :doc:`Peridynamics models <pair_peri>`. See `this document <PDF/PDLammps_overview.pdf>`_
|
|
for an overview of LAMMPS commands for Peridynamics modeling.
|
|
|
|
The "damage" of a Peridymaics particles is based on the bond breakage
|
|
between the particle and its neighbors. If all the bonds are broken
|
|
the particle is considered to be fully damaged.
|
|
|
|
See the `PDLAMMPS user guide <http://www.sandia.gov/~mlparks/papers/PDLAMMPS.pdf>`_ for a formal
|
|
definition of "damage" and more details about Peridynamics as it is
|
|
implemented in LAMMPS.
|
|
|
|
This command can be used with all the Peridynamic pair styles.
|
|
|
|
The damage value will be 0.0 for atoms not in the specified compute
|
|
group.
|
|
|
|
**Output info:**
|
|
|
|
This compute calculates a per-atom vector, which can be accessed by
|
|
any command that uses per-atom values from a compute as input. See
|
|
:ref:`Section_howto 15 <howto_15>` for an overview of
|
|
LAMMPS output options.
|
|
|
|
The per-atom vector values are unitlesss numbers (damage) >= 0.0.
|
|
|
|
Restrictions
|
|
""""""""""""
|
|
|
|
|
|
This compute is part of the PERI package. It is only enabled if
|
|
LAMMPS was built with that package. See the :ref:`Making LAMMPS <start_3>` section for more info.
|
|
|
|
Related commands
|
|
""""""""""""""""
|
|
|
|
:doc:`compute dilatation <compute_dilatation>`, :doc:`compute plasticity <compute_plasticity>`
|
|
|
|
**Default:** none
|
|
|
|
|
|
.. _lws: http://lammps.sandia.gov
|
|
.. _ld: Manual.html
|
|
.. _lc: Section_commands.html#comm
|