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
Posted 19 ott 2009, 10:22 GMT-4 Chemical Reaction Engineering, Mesh, Studies & Solvers Version 4.3b 15 Replies
Please login with a confirmed email address before reporting spam
i can solve my semiconductor model with a relatively coarse mesh.
However the found solution is not good enough. It shows some
differences to a reference (PC1D) semiconductor model.
That is why i want to refine the mesh.
But if i refine the mesh i get following error:
---------------------------------------------------------------------
Error: 7248
Undefined value found.
Details:
Exception:
com.femlab.jni.FlNativeException: Undefined value found Solvermodel
Messages:
Undefined value found Solvermodel
Stack trace:
at solvermodel.cpp, row 1837, (Undefined value found in the equation residual vector.
There are 85 degrees of freedom giving NaN/Inf in the vector for the variable phii
at coordinates: (0.000493076,-5.8675e-005), (0.00049406,-5.80051e-005), (0.000495044,-5.73351e-005), (0.000494026,-5.58557e-005), (0.000493041,-5.65256e-005), ...
)
at com.femlab.solver.FlSolver.femStatic(Native Method)
at com.femlab.solver.FemStatic.run(Unknown Source)
at com.femlab.server.FlRunner.run(Unknown Source)
at com.femlab.util.i.run(Unknown Source)
at com.femlab.util.aa.run(Unknown Source)
----------------------------------------------------------------------------
The model is quite complex and has 5 coupled application modes.
I use the Parametric segregated Solver.
I think if there would be a problem with my initialisation values or boundary contitions,
i would not be able to solve the model even with a coarse mesh?
I found out, that the problem especially occurs, if i refine the mesh in a region with large gradients.
The Comsol solution is represented by green circles and the reference solution is shown as line in the attached figure.
Has anyone an idea how the finer mesh causes "undefined value"-problems and how to overcome them?
Thank you,
Stefan
Attachments:
Hello Stefan Eidelloth
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.
Please login with a confirmed email address before reporting spam
i push the icon restart y works.
Please login with a confirmed email address before reporting spam
My first reaction is that you are hitting a numerical limitation (you case is a typical examples of the type I send myself to COMSOL support).
As you say, normally you should have a denser mesh where your gradients are steep
Cannot comment further
Good luck
Ivar
Please login with a confirmed email address before reporting spam
If it works on second try with a "restart" it could come from the initial conditions, since normally a restart ""re-start" from current level of already calculated results
Ivar
Please login with a confirmed email address before reporting spam
Can you give me some advice with the following errors.
Error:
Time 1.386578133869988:
Error in Jacobian computation:
Undefined_value_found_Solvermodel
Undefined value found in the stiffness matrix.
Error:
Time 5.125383036305885:
Nonlinear solver did not converge.
Last time step is not converged.
I'm looking forward to your reply.
Thank you.
N.L
Please login with a confirmed email address before reporting spam
unfortunately no apart that forme it means you have a complex model ;)
But it looks like there is un undefined variable, so are you sure your BC are real everywhere or over the time ?
For the second it's eitherthe solver is stuck typically on a steep edge of some change, or it does not have enough steps to converge, and you should increase the maximum allowed steps
Try to split your problem, or solve just one physics to check that it is fully possible to fiond a solution in a simpler case
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thank you for your advice.
I sent a private message to Mr. Ivar.
Please help me.
Sincerely,
N.L
nhhieubk@gmail.com
Please login with a confirmed email address before reporting spam
Have you got any solution to this problem?
docnurulhasan@gmail.com
Please login with a confirmed email address before reporting spam
I did not further work on that specific issue
and i did not try the "restart option",
but please keep us updated if you do.
Currently I am working on a model with a
conductive boundarie instead of a resolved emitter.
This way I can avoid high gradients.
Best regards,
Stefan
Please login with a confirmed email address before reporting spam
I was having the same problem And I could fix it changing the Intial Value and the Values of variables not solved Option inside the Solver Manager...this may be happening because You have selected "Zero" for Variables not Solved option...try this way and let me know the results...
Leo
Please login with a confirmed email address before reporting spam
The reason is possibly that initial value is zero in the first calculation step. I changed the initial value from zero to a expression not Zero.
It worked.
Please login with a confirmed email address before reporting spam
Cheers
Aaron
RMC
Canada
Please login with a confirmed email address before reporting spam
Thank you so much for your time.
Roopesh
Attachments:
Please login with a confirmed email address before reporting spam
I am having the same problem, and I am also trying to solve a model for semiconductor. Can we share our experience doing this?
You can write me to gsantil@ieee.org
According to my lectures, there two options that I have to test:
- to modify the initial values.
- To modify the mesh.
I am trying both options, but without obtaining good results until now.
Best regards.
Gerard Franz
Please login with a confirmed email address before reporting spam
it is long time ago I worked on that issue. You might try to have an initial value expression with non-zero slope (if you did not already do so). And you might want to have a look at our CoBoGUI:
www.isfh.de/institut_solarforschung/software.php?_l=1
It uses a model where diffused regions are simplified to special boundary conditions.
Good luck,
Stefan
Please login with a confirmed email address before reporting spam
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.
