Platform: All Platforms Applies to: COMSOL Multiphysics® Versions: All versions

Problem Description

The error "Wrong number of DOFs in initial value" occurs.


The current solution or the stored solution has for some reason the wrong number of degrees of freedom, sometimes due to a change of the implementation of elements between two versions of the software. To overcome this problem, use an initial expression for the values of the dependent variables (see the Values of Dependent Variables section in the study step's Settings window). Then the initial value expressions is evaluated without using the current or stored solution.