**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
*stressstressstress tensor.
*straineelastic_strainelastic strain tensor.
*strainiinelastic_strainviscoplastic 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