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

Please login with a confirmed email address before reporting spam

I had great trouble meshing a geometry. After I refined the mesh and was finally able to mesh it, I clicked the compute button. 78 seconds later, I got this message:

Undefined value found.
- Detail: Undefined value found in the equation residual vector.
.There are 1 degrees of freedom giving NaN/Inf in the vector for the variable mod1.emw.S1x
. at coordinates: (0,0,0), ...
There are 1 degrees of freedom giving NaN/Inf in the vector for the variable mod1.emw.S2x
. at coordinates: (0,0,0), ...

There is also a warning:

Inverted mesh element near coordinates (1.08012e-007, 3.25e-008, 6.4316e-007).

Can anyone help me with this? What's the problem? What should I do?

4 Replies Last Post Jun 22, 2017, 4:16 p.m. EDT
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 1, 2013, 3:39 a.m. EST
Hi

from the error message it's as if some material data is missing, and or perhaps some domain not meshed (only their boundaries ?)

The inverted mesh warning, is not too tough, as if the model is detailed, the mesh becomes easily poor in some regions (check the statistics of the mesh) and then COMSOL reduces the discretization locally, which means that the results locally might be not very good. But a too poor mesh can also fully invert the "linear" case then it's really becoming locally wrong ;)

Sometimes you can improve the mesh by cutting up your parts into smaller items, isolating small features, by layers, and if possible, start to de-feature (remove all chamfers, holes etc that have no true effect on your model)


--
Good luck
Ivar
Hi from the error message it's as if some material data is missing, and or perhaps some domain not meshed (only their boundaries ?) The inverted mesh warning, is not too tough, as if the model is detailed, the mesh becomes easily poor in some regions (check the statistics of the mesh) and then COMSOL reduces the discretization locally, which means that the results locally might be not very good. But a too poor mesh can also fully invert the "linear" case then it's really becoming locally wrong ;) Sometimes you can improve the mesh by cutting up your parts into smaller items, isolating small features, by layers, and if possible, start to de-feature (remove all chamfers, holes etc that have no true effect on your model) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 3, 2014, 2:24 a.m. EST
Hi,I encountered a problem with emw.s1x.
I defined the PI's two port, & comsol told me the same message as you. Could you share the solution with me?Thank U!
Hi,I encountered a problem with emw.s1x. I defined the PI's two port, & comsol told me the same message as you. Could you share the solution with me?Thank U!

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Jan 26, 2017, 5:50 a.m. EST
Hi Ray
please how did you resolve this problem!!
can you help me because it look like the same problem
Hi Ray please how did you resolve this problem!! can you help me because it look like the same problem

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Jun 22, 2017, 4:16 p.m. EDT
I had this problem and was able to solve it by assigning a material to the interior boundaries. This wasn't necessary in 5.0.

Sami
I had this problem and was able to solve it by assigning a material to the interior boundaries. This wasn't necessary in 5.0. Sami

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.