**process L2norm#
Description#
This post-processing computes the norm \(L_2\) of a second order tensor \(\ten A\) for each element.
\[\|\ten A\|_{L^2(\Omega_e)} = \int_{\Omega_e} \ten A : \ten A \, dV\]
where \(\Omega_e\) is the elementary volume (or surface for 2D elements). It will also compute a global norm as
\[\|\ten A\|_{L^2(\Omega)}=\sqrt{\sum_e \|\ten A\|_{L^2(\Omega_e)}}\]
Syntax#
**process L2norm
\(~\,\) *list_var var
\(~\,\) *output_field out_var
[ *file_output output_file ]
[ *screen_output ]
*list_varvarthe variable of interest (second order tensor).
*output_fieldout_varthe name of the output field.
*file_outputoutput_filethe name of the output file containing the global \(L_2\) norm.
*screen_outputa flag that enables printing the results to the screen.
Example#
****post_processing
***global_post_processing
**file integ
**process L2norm
*list_var sig
*output_field energy
****return