**process post_statistics#
Description#
This post-processing computes and outputs statistical information about a specified variable in the form of a histogram. It divides the variable’s range into discrete bins and counts the number of values falling into each bin.
Syntax#
**process post_statistics
\(~\,\) *var variable
\(~\,\) *nb_intervals nb_intervals
[ *min_bound min_bound ]
[ *max_bound max_bound ]
[ *average_by_element
\(~\,\) *volume_correction ]
[ *write_gnuplot ]
[ *write_simopt ]
[ *output_file_ident infix ]
*varvariablethe variable name.
*nb_intervalsnb_intervalsnumber of bins/intervals
*min_boundmin_boundminimum bound (by default 0.)
*max_boundmax_boundmaximum bound (by default 0.). Note that if both min_bound = max_bound = 0, the bounds are computed automatically.
*average_by_elementa flag indicating whether to use element-averaged values instead of Gauss point values when generating the histogram.
*volume_correctiona flag that, when enabled, weights each element’s contribution to the histogram by its volume, giving more influence to larger elements. This option should be used with
*average_by_elementoption.*write_gnuplota flag to write a gnuplot executable to plot the histogram
*write_simopta flag to write a simopt project to plot the histogram
*output_file_identinfixinserts an infix into the output
.txtfile name to help distinguish it from others.
Example#
****post_processing
***global_post_processing
**file integ
**elset ALL_ELEMENT
**process post_statistics
*var sig11
*nb_intervals 8
*average_by_element
*volume_correction
****return
The output is given in sig11_hist__card_* .txt
# x_min_bound -1.064021e+02 x_max_bound 1.853522e+01
# nb_points 900
# average 3.980707e-02
# D abs 1.306285e+01
# D rel 3.281541e+02
# x frequency sig11
-9.859350e+01 5.813875e-05
-8.297634e+01 0.000000e+00
-6.735918e+01 1.327689e-04
-5.174201e+01 7.117676e-04
-3.612485e+01 1.155753e-02
-2.050769e+01 1.604365e-01
-4.890523e+00 3.652728e-01
1.072664e+01 4.618305e-01
D abs, and D rel are the absolute and the relative variance (normalized by the average value),
respectively.