**process welaswplas#

Description#

It computes the elastic and plastic strain energies given by

\[\begin{split}\begin{aligned} W_e &= \dfrac{1}{3}\int_{cycle}\left<\trace{\ten \sigma}\right>\cdot\left<\trace{d\ten \varepsilon^e}\right>\\ W_p &= \int_{cycle} \ten \sigma^{dev}:d\ten \varepsilon^p \end{aligned}\end{split}\]

Syntax#

**process welaswplas \(~\,\) *stress stress \(~\,\) *straine elastic_strain \(~\,\) *straini inelastic_strain

*stress stress

stress tensor.

*straine elastic_strain

elastic strain tensor.

*straini inelastic_strain

viscoplastic strain tensor.

Output: DWp (increment of plastic strain energy), and DWe (increment of elastic strain energy).

Example#

***local_post_processing
 **file integ
 **elset ALL_ELEMENT
 **process welaswplas
  *stress sig
  *straine eel
  *straini epi