An adjoint solution provides guidance on where best to adapt a computational mesh in order to resolve quantities of engineering interest.
Once the governing equations for the system (Equation 35–25) have been
converged there remains a discretization error, , such that
(35–33) |
While specific estimates for this discretization error may be tricky to define, it is often
estimated to be , where
is the local grid size, and
is the order of the discretization scheme. That is,
for a first-order scheme and
for a second order scheme. Alternatively,
can be considered to be the residual associated with a solution that is not
converged fully.
The correction to the flow field, , that compensates for this inhomogeneity is given by
(35–34) |
from which it follows quickly that
(35–35) |
This simple expression provides an estimate of the effect of the presence of
on the observation,
.
The presence of discretization errors, or lack of convergence, on the engineering quantity of interest is assessed by weighting the inhomogeneous term by the local adjoint solution. It is clear that even in regions of the domain where the residuals or discretization errors are small, an accompanying adjoint velocity or pressure that is large in magnitude implies that there may be a significant source of error in the observable. A finer mesh in regions where the adjoint is large will reduce the influence of discretization errors that may adversely affect the engineering result of interest. In practice, adapting cells which have large magnitude adjoint velocity and/or adjoint pressure will achieve this goal.