***disc_error_estimator#
Description#
This command drives the computation of the finite element estimated solution error due to mesh discretization. All available methods are based on the errors indicators of type Zienkiewicz and Zhu (ZZ).
Syntax#
The command has the following syntax:
***disc_error_estimator
\(~\,\) **estimator estimator-type
\(~\,\) **name error-estimation-given-name
[ **elset elset-name ]
[ **field field-name ]
[ **quantity TENSOR2 | SCALAR ]
[ **norm ]
[ **relative_error type ]
[ **metric metric-type ]
**nameis the name given to the global error estimation and also to the computed field of local contributions to the global estimation error.
**elsetdenotes the element set on which the discretization error will be computed. By default, it will be computed on all elements.
**fielddenotes the name of the gradient field used to estimate the error. By default the stress field is used to compute a ZZ type error estimator.
**quantitydefines the type of the gradient field used to estimate the discretization error. It can be a scalar field (SCALAR) or a tensorial field (TENSOR2, which is the default value).
normtakes one of the values
L2orH1. It defines the norm used to estimate the error : \(L_2\) or energy norm. By default, the energy norm is used.**relative_errorwhen activated, the error estimation is given as a percentage relative to either the maximum of the error contributions or the energy of the structure. The type can be either
maximumorenergy.**metricdescribed in , it allows the computation of a mesh size map.
**estimator zz2defines an error indicator based on the Zienkiewicz and Zhu estimator of second type for linear problems. It’s syntax is the following one :
\(~\,\) **estimator zz2
[ **quadratic ]
The quadratic option should be activated when used with quadratic finite elements.
**estimator zz2_heterogeneousdefines an error indicator based on the Zienkiewicz and Zhu estimator of second type for linear problems, but adapted to heterogeneous problems. It’s syntax is the following one:
\(~\,\) **estimator zz2_heterogeneous
[ **penalization double-value ]
The indicator is implemented through a penalization technique, and may
require an adjustement. When the penalization coefficient equals zero,
the estimator is equivalent to the previous zz2 estimator applied on
each heterogeneous element set.
**estimator zz2_incrdefines an error indicator proposed by Boroomand and Zienkiewicz for non linear problems.
**estimator meandefines an error indicator based on the Zienkiewicz and Zhu estimator of first type for linear problems. It’s syntax is the following one:
\(~\,\) **estimator mean
[ **quadratic ]
The quadratic option should be activated when used with quadratic finite elements.
Example#
***disc_error_estimator
**relative_error energy
**field sig
**name relative_energy_error_hole
**elset ALL_ELEMENT
**quantity TENSOR2
**estimator zz2
***disc_error_estimator
**field sig
**name error_hole
**elset ALL_ELEMENT
**quantity TENSOR2
**estimator zz2