Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Undefined value found error.

Please login with a confirmed email address before reporting spam

Hai ,
Can anyone help me to resolve this error while solving solid structural mechanics problem,
What is NaN/Inf ?
Error Message :

Undefined value found.

- Detail: Undefined value found in the equation residual vector.

There are 2032 degrees of freedom giving NaN/Inf in the vector for the variable mod1.u.

at coordinates: (-0.000868043,0.0470507,0.120069), (-0.00258011,0.0479841,0.120069), (-0.000868043,0.0493914,0.120069), (-0.00313503,0.0493914,0.120069), (-0.00189941,0.0465659,0.118934), ...

There are 2032 degrees of freedom giving NaN/Inf in the vector for the variable mod1.v.

at coordinates: (-0.000868043,0.0470507,0.120069), (-0.00258011,0.0479841,0.120069), (-0.000868043,0.0493914,0.120069), (-0.00313503,0.0493914,0.120069), (-0.00189941,0.0465659,0.118934), ...

There are 2032 degrees of freedom giving NaN/Inf in the vector for the variable mod1.w.

at coordinates: (-0.000868043,0.0470507,0.120069), (-0.00258011,0.0479841,0.120069), (-0.000868043,0.0493914,0.120069), (-0.00313503,0.0493914,0.120069), (-0.00189941,0.0465659,0.118934), ...

2 Replies Last Post 25.07.2014, 02:11 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 07.11.2013, 08:13 GMT-5
NaN means "Not a Number" and occures (at least in Matlab) if you try to calculate 0*Inf or 0/0.
Inf stands for Infinity and occures (at least in Matlab) if you try to divide by 0 or the result of your calculation does not fit into the datatype (like 2^2000).
I think the beaviour of COMSOL is similar.

So check if you set all the required parameters to a resonable value.
NaN means "Not a Number" and occures (at least in Matlab) if you try to calculate 0*Inf or 0/0. Inf stands for Infinity and occures (at least in Matlab) if you try to divide by 0 or the result of your calculation does not fit into the datatype (like 2^2000). I think the beaviour of COMSOL is similar. So check if you set all the required parameters to a resonable value.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 25.07.2014, 02:11 GMT-4
guys plz help me to solve the problem...
i am solving a problem relating to the transportation of fluid(gas).. but i am getting error as given below... what is the reason and how can i fix it...???


Undefined value found.
- Detail: Undefined value found in the equation residual vector.
There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.T
at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...
There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.u
at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...
There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.v
at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...
There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.y1
at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...
There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.y2
at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...
There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.y3
at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...
guys plz help me to solve the problem... i am solving a problem relating to the transportation of fluid(gas).. but i am getting error as given below... what is the reason and how can i fix it...??? Undefined value found. - Detail: Undefined value found in the equation residual vector. There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.T at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ... There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.u at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ... There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.v at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ... There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.y1 at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ... There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.y2 at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ... There are 24844 degrees of freedom giving NaN/Inf in the vector for the variable mod1.y3 at coordinates: (0.00045,0.119949), (0.00045,0.12), (0.00045,0.119975), (0.000437756,0.119962), (0.000425512,0.119975), ...

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.