where J is a (linear) functional and the primal approximate solution

is defined by a variational formulation
where j is an equation index, and where the equations are defined from the field components.
where
is the estimated maximum norm of the error for the dual solution to equation j and mesh element
K. Since the exact dual solution is often not known, the weight function
z −
πhz must be approximated by some method. For Lagrange basis functions, the method uses the polynomial-preserving recovery technique (built-in through the
ppr operator) to estimate the dual solution and thereby the error
where xl are a number of coordinates in the mesh element
K. These coordinates are a union of Lagrange points and Gauss points. For non-Lagrange basis functions, the polynomial-preserving recovery (PPR) technique is not supported, and the method uses a less accurate method based on the dual solution gradient and the following estimate of the dual solution error:
Ideally, since the error representation (Equation 19-1) is exact, the error estimate above has the potential of being very accurate. The method is not fail-safe, however. For example, the underlying PDE problem needs to be well-posed and its solution sufficiently regular. Sufficiently regular means that not only is the solution bounded in some norm, but also a number of derivatives need to be bounded in some norm. Well-posedness for the dual problem and sufficient regularity for the dual solution are also required.
The residual and dual weights (Equation 19-2 and
Equation 19-3) for a component
comp1.u are stored in dependent variables called
comp1.res.u and
comp1.dualw.u, respectively. The error variable is defined as the product of these and is accessible as
comp1.err.u. These variables are accessible for plotting under
Plot Group>Expression and then, for example,
Component 1>Solid Mechanics>Error estimation>err.u - Error estimate u.
You can access the residual and dual weights directly through the dependent variable names. For a Stationary study step called stat (similarly for a Frequency Domain study step), the total global error is
stat.errEst and the error contribution from a variable
comp1.q is
comp1.stat.errEst.q. The error contribution from
comp1.q can be evaluated under
Results>Derived Values by adding a
Global Evaluation node, and then under
Expression selecting
Global Definitions>Error estimation>stat.errEst - Error estimate global - Stationary. The error contribution from
comp1.q can be evaluated by selecting
Component1>Global Definitions>Error estimation>stat.errEst.q - Error estimate q.