5.6 Under-relaxation

Sec. 5.5 concludes that the matrix of a typical transport equation is not guaranteed to be diagonally dominant. Some action may therefore be required to ensure a convergent solution.

Under-relaxation is a general method used to improve solution convergence by limiting the amount a variable changes during a solution step.

PICT\relax \special {t4ht=

During a solution step, assume a single value of a field eqn in one cell changes from its current value eqn to the new value eqn. Under-relaxation would limit the change eqn by a fraction eqn, eqn, so that the value taken from that solution step is

 = c + c n = (1 ) + : \relax \special {t4ht=
(5.13)
In some situations, Eq. (5.13 ) is applied after a solution step. This simple approach is known as field under-relaxation, which has one notable disadvantage that it requires additional storage of the intermediate field eqn in computer memory.

When a solution step involves solving a matrix equation, the new values eqn come from an iterative method like Gauss-Seidel. Combining the under-relaxation of Eq. (5.13 ) with the Gauss-Seidel calculation of Eq. (5.4 ) gives:

 0 1 c ---BB XN CC i = (1 ) i + ai;i@bi ai;j jA : ji=⇔1j \relax \special {t4ht=
(5.14)
Rearranging Eq. (5.14 ) gives the following relation:
 XN 1-ai;i i + ai;j j = bi + 1- 1 ai;i ci: j=1 i⇔j \relax \special {t4ht=
(5.15)
Equation 5.15 is simply the matrix equation eqn modified by:
  • increasing the diagonal coefficients eqn by division by eqn;
  • multiplying the difference between the new and original eqn coefficients by the current eqn and adding it to the source eqn.

Modifying the matrix equation this way, known as equation under-relaxation, provides an alternative to Eq. (5.13 ) for under-relaxing a solution of eqn, without the temporary storage of eqn.

Ensuring diagonal dominance

The modification to eqn expressed by Eq. (5.15 ) inspires a strategy to ensure diagonal dominance of the matrix as follows.

Each diagonal coefficient which does not satisfy Eq. (5.9 ) is increased until it is diagonally equal. The change to the coefficient is multiplied by the current eqn and added to eqn.

This approach to ensure diagonal dominance is effective since it only modifies matrix coefficients where necessary. Otherwise, if the discretisation schemes, and eqn and eqn are favourable, then no changes to the matrix are necessary.

Notes on CFD: General Principles - 5.6 Under-relaxation