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.

About the error: Undefined value found in the equation residual vector

Please login with a confirmed email address before reporting spam

Hi,

I am doing a structural modeling and I am getting this error:
------------------------------
Undefined value found.
- Detail: Undefined value found in the equation residual vector.
There are 628 degrees of freedom giving NaN/Inf in the vector for the variable mod1.solid.pw
at coordinates: (0.452,0), (0.443445,0),...
------------------------------
Sounds like those points stated in the error are on my boundaries.
My material is hyperelastic and I get the above error after I apply my user-defined strain energy function. When I use incompressible material assumption the above message in invoked, but when I try to see how compressible material behaves I get this error:
------------------------------
Failed to find a solution.
System matrix is zero.
Returned solution is not converged.
------------------------------
I have added a few variables, and I believe that my strain energy function should work fine for the entire domain. Also, I am using exactly the same boundary conditions that I used with a built-in strain energy function and I could get correct solution. So I expect that my BC's should work fine with the new function.

I also doubt that my user-defined strain energy function is causing the problem, because when I use a constant value for the strain energy function, I still get exactly the same error.

I changed the initial values for displacement in the Initial Values from zero to another small value, but had no luck to get rid of the error. Manually entering a Scaling factor for the variable mod1.solid.pw did not help either.

I appreciate your help suggesting what the problem can be from.

Jessica

0 Replies Last Post 19 août 2011, 11:42 UTC−4
COMSOL Moderator

Hello Jessica

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.