Platform: All Platforms Versions: All versions

Problem Description

A "Matrix has zero on diagonal" error occurs.

Solution

When the equations have a structure such that the stiffness matrix (Jacobian matrix) has zeros on the diagonal, it is not possible to use the following linear system solvers/preconditioners/smoothers: all versions of SOR and Jacobi (diagonal scaling). Try the Vanka preconditioner/smoother instead.