Matrix has zero on diagonal

Solution Number: 1179
Title: Matrix has zero on diagonal
Platform: All Platforms
Applies to: All Products
Versions: All versions
Categories: Error Messages
Keywords: error message

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.


Disclaimer

COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.