Internal evaluation error: unexpected NaN encountered

Solution Number: 1188
Title: Internal evaluation error: unexpected NaN encountered
Platform: All Platforms
Applies to: COMSOL Multiphysics
Versions: All versions
Categories: Error Messages
Keywords:

Problem Description

The error "Internal evaluation error: unexpected NaN encountered" occurs.

Solution

This error occurs when Not-a-Number (NaN) values appear unexpectedly. Such values can be the result of floating-point operations such as 0/0, resulting in undefined or unrepresentable values (see http://en.wikipedia.org/wiki/NaN). A possible cause is improperly defined coupling operators. As a first step, check that the definitions of the source and destination domains of any coupling operator or periodic boundary conditions are correct.


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.