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

Problem Description

An error "Initial guess leads to undefined function value" occurs.

Solution

This error message usually appears when you have set up an expression that returns “not a value”; that is, it is undefined for the initial condition you have set. For instance, this happens if an expression contains a divisor that becomes zero or a logarithm of a negative value. To solve such a problem, change the expression or the initial value so that the expression is well-defined when substituting the initial value of the variables. Also, watch out for warnings in the Log window.