Fill out the form to download

Required field
Required field
Not a valid email address
Required field
Required field
  • Set up your own cloud-native simulation in minutes.

  • Documentation

    CFD Numerics: Relaxation Factors

    Relaxation factors control the under-relaxation of the solution. This is a technique used for improving the stability of a calculation, especially in solving steady-state analysis, where the first iterations are critical.

    Numerics panel relaxation factors for incompressible turbulent case
    Figure 1: The Relaxation factor settings are located in the Numerics panel, and have different default values depending on the properties of the simulation.

    Manual Relaxation

    The best choice of the relaxation factor is one that is small enough to ensure stability but large enough to move the iterative process to convergence at a decent speed. For example, if \(α\) is the relaxation factor then a value of \(α\) that is: 

    • < 0.15 is not advisable as it will slow down the solution too much.
    • > 0.7 can cause unstable solution.
    • > 0.9 is not recommended as it can cause divergence.

    In the case of manual relaxation, values between 0.3 < \(α\) < 0.7 are recommended.

    Auto-Relaxation

    The auto-relaxation feature is designed to dynamically change the factor \(α\) for the flow variables to speed up convergence while trying to keep the solution stable. In some cases, if this causes divergence, it is recommended to try with manual relaxation factors that are fixed over the iterations. 

    Under-Relaxation

    The method of under-relaxation is basically limiting the amount by which a variable changes from the previous iteration to the next one. Due to the nonlinearity in the equations, it is important to control the change of the variable.

    Because of the non-linearities of the equations being solved, it is necessary to control the change of variable \(φ\). This is achieved by under-relaxation as follows:

    $$ {φ_P}^n = {φ_P}^{n-1} + α \times\ ({{φ_P}^{n*}\ – {φ_P}^{n-1}}) $$

    Where \(α\) is the factor that defines the relaxation such that:

    • \(α\) < 1 means under-relaxation. This will slow down the convergence rate but increase the stability.
    • \(α\) = 1 means no relaxation at all. The predicted value of \(φ\) is simply used.
    • \(α\) > 1 means over-relaxation. It can sometimes be used to accelerate the convergence rate but will decrease stability.

    And:

    • \(n\) refers to the new, used value of \(φ_P\);
    • \(n-1\) refers to the previous value of \(φ_P\);
    • \(n*\) refers to the new, predicted value of \(φ_P\).

    This means that the new value of the variable \(φ\) depends upon the old value, the computed change of \(φ\), and \(α\).

    The under-relaxation factor \(α\), specifies the amount of under-relaxation, such that:

    • If \(α\) decreases, the under-relaxation increases.
    • If \(α\) < 1 means the solution is under-relaxed. The specified fraction of the predicted value change is used. This may slow convergence but increases stability.
    • If \(α\) = 1 there is guaranteed matrix diagonal equality, and no under-relaxation. The predicted value is simply taken.
    • If \(α\) = 0 the solution does not change with successive iterations.

    Last updated: July 6th, 2022

    Contents