**process energy_norm#
Description#
For two input tensors \(\ten A\) and \(\ten B\) this post-processing computes
the local energy norm \(\displaystyle \int_{\Omega_e}\ten A:\ten B\)
the global energy norm \(\displaystyle \sqrt{\sum_{e}\int_{\Omega_e}\ten A:\ten B}\)
Syntax#
**process energy_norm
\(~\,\) *list_var var1 var2
\(~\,\) *output_field out_name_field
[ *file_output out_name_file ]
[ *screen_output ]
*list_var- var1
name of the first input (stress) tensor variable
- var2
name of the second input (strain) tensor variable
*output_fieldout_name_fieldname of the output field containing the square energy norm, local to each element
*file_outputout_name_filename of the output file containing the global energy norm. Note that this value is also available in the
.postfile. It may just be faster to find and reuse if saved in another file*screen_outputoutputs directly to the screen.
Example#
**process energy_norm
*list_var sig eto
*output_field energy_sig
*file_output global_energy.res
*screen_output
Note
The user must supply appropriate tensors to guarantee a physically consistent solution.
**process elasticity_energy_norm#
Description#
For an input tensor \(\ten A\), this post-processing computes
the local energy \(\displaystyle \int_{\Omega_e}\ten A:(\tenf C^{-1}:\ten A)\)
the global energy \(\displaystyle \sqrt{\sum_{e}\int_{\Omega_e}\ten A:(\tenf C^{-1}:\ten A)}\)
The elasticity matrix \(\tenf C\), assumed to be isotropic, is recomputed based on the specified values of Young modulus and Poisson ratio.
Syntax#
**process elasticity_energy_norm
*list_var var_name
*young E_value
*poisson nu_value
*output_field out_name_field
[ *file_output out_name_file ]
[ *screen_output ]
*list_varvar_namename of the input (stress) tensor variable
*youngE_valuevalue of the Young’s modulus
*poissonnu_valuevalue of the Poisson’s ratio
*output_fieldout_name_fieldname of the output tensor containing the square energy norm, local to each element
*file_outputout_name_filename of the output file containing the global energy norm. Note that this value is also available in the
.postfile.*screen_outputoutputs directly to the screen.
Example#
****post_processing
***global_post_processing
**file integ
**process elasticity_energy_norm
*list_var sig
*young 2e5
*poisson 0.33
*output_field energy
****return