<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="http://www.comsol.dk/community/forums/general/rss/thread/1246.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: Undefined value found</title>
  <link>http://www.comsol.dk/community/forums/general/thread/1246/</link>
  <description>Most recent forum messages</description>
  <pubDate>Wed, 25 Jan 2012 12:39:24 +0000</pubDate>
  <image>
   <title>COMSOL Forums: Undefined value found</title>
   <url>http://www.comsol.dk/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/</link>
  </image>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p69124</link>
   <description>Hi Gerard,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
http://www.isfh.de/institut_solarforschung/software.php?_l=1&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
It uses a model where diffused regions are simplified to special boundary conditions.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Good luck,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Stefan</description>
   <pubDate>Wed, 25 Jan 2012 12:39:24 +0000</pubDate>
   <guid isPermaLink="false">1246.1327495164.69124</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p69123</link>
   <description>Hi Stefan,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am having the same problem, and I am also trying to solve a model for semiconductor. Can we share our experience doing this?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
You can write me to gsantil@ieee.org&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
According to my lectures, there two options that I have to test:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
- to modify the initial values.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
- To modify the mesh.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am trying both options, but without obtaining good results until now.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best regards.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Gerard Franz</description>
   <pubDate>Wed, 25 Jan 2012 10:58:06 +0000</pubDate>
   <guid isPermaLink="false">1246.1327489086.69123</guid>
  </item>
  <item>
   <title>Re: Undefined value found, error 7248</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p28208</link>
   <description>I am facing a similar problem now. I am trying to couple heat and mass transfer in a transient problem. For mass transfer, there is drastic difference in concentrations between subdomains. In one of the boundaries, sublimation is assigned. Please find the attached file. I set the 'Initial value' in the Solver Manager window to 'Initial value expression' and it did not work. I tried to do using stationary solver and store the values. However that also didn't work.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you so much for your time.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Roopesh</description>
   <pubDate>Thu, 04 Nov 2010 14:15:14 +0000</pubDate>
   <guid isPermaLink="false">1246.1288880114.28208</guid>
  </item>
  <item>
   <title>Re: Undefined value found, error 7248</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p20279</link>
   <description>I had this problem as well in my 3D model. Initially I thought this was a mesh problem and that I need only refine it. This though did not correct the problem. Reading the above comments I set the 'Initial value' in the Solver Manager window to 'Initial value expression' instead of 'Initial value expression evaluated using current solution'. I then provided initial values in all application modes (as well as weak form terms that I specifically defined) before running the model and this seemed to work.&lt;br /&gt;&#13;
Cheers&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Aaron&lt;br /&gt;&#13;
RMC&lt;br /&gt;&#13;
Canada</description>
   <pubDate>Fri, 23 Jul 2010 19:04:54 +0000</pubDate>
   <guid isPermaLink="false">1246.1279911894.20279</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p12251</link>
   <description>I had the same problem.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
It worked.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 16 Apr 2010 11:34:24 +0000</pubDate>
   <guid isPermaLink="false">1246.1271417664.12251</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p12014</link>
   <description>Hello All..!!!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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 &amp;quot;Zero&amp;quot; for Variables not Solved option...try this way and let me know the results...&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Leo&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Tue, 13 Apr 2010 18:55:33 +0000</pubDate>
   <guid isPermaLink="false">1246.1271184933.12014</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p12002</link>
   <description>Hi,&lt;br /&gt;&#13;
I did not further work on that specific issue &lt;br /&gt;&#13;
and i did not try the &amp;quot;restart option&amp;quot;,  &lt;br /&gt;&#13;
but please keep us updated if you do.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Currently I am working on a model with a&lt;br /&gt;&#13;
conductive boundarie instead of a resolved emitter.&lt;br /&gt;&#13;
This way I can avoid high gradients.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best regards,&lt;br /&gt;&#13;
Stefan</description>
   <pubDate>Tue, 13 Apr 2010 15:17:00 +0000</pubDate>
   <guid isPermaLink="false">1246.1271171820.12002</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p11984</link>
   <description>Hi Stefan&lt;br /&gt;&#13;
Have you got any solution to this problem?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
docnurulhasan@gmail.com</description>
   <pubDate>Tue, 13 Apr 2010 12:29:42 +0000</pubDate>
   <guid isPermaLink="false">1246.1271161782.11984</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p10321</link>
   <description>Hello Mr. Ivar KJELBERG&lt;br /&gt;&#13;
Thank you for your advice.&lt;br /&gt;&#13;
I sent a private message to Mr. Ivar.&lt;br /&gt;&#13;
Please help me. &lt;br /&gt;&#13;
Sincerely,&lt;br /&gt;&#13;
N.L&lt;br /&gt;&#13;
nhhieubk@gmail.com </description>
   <pubDate>Thu, 18 Mar 2010 07:20:07 +0000</pubDate>
   <guid isPermaLink="false">1246.1268896807.10321</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p10303</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
unfortunately no apart that forme it means you have a complex model ;)&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
But it looks like there is un undefined variable, so are you sure your BC are real everywhere or over the time ?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Thu, 18 Mar 2010 06:18:01 +0000</pubDate>
   <guid isPermaLink="false">1246.1268893081.10303</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p10243</link>
   <description>Hello Mr. Ivar&lt;br /&gt;&#13;
Can you give me some advice with the following errors. &lt;br /&gt;&#13;
Error:&lt;br /&gt;&#13;
    Time 1.386578133869988: &lt;br /&gt;&#13;
    Error in Jacobian computation:&lt;br /&gt;&#13;
    Undefined_value_found_Solvermodel&lt;br /&gt;&#13;
    Undefined value found in the stiffness matrix.&lt;br /&gt;&#13;
Error:&lt;br /&gt;&#13;
    Time 5.125383036305885: &lt;br /&gt;&#13;
    Nonlinear solver did not converge.&lt;br /&gt;&#13;
    Last time step is not converged.&lt;br /&gt;&#13;
I'm looking forward to your reply.&lt;br /&gt;&#13;
Thank you.&lt;br /&gt;&#13;
N.L</description>
   <pubDate>Wed, 17 Mar 2010 13:12:12 +0000</pubDate>
   <guid isPermaLink="false">1246.1268831532.10243</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p9775</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
If it works on second try with a &amp;quot;restart&amp;quot; it could come from the initial conditions, since normally a restart &amp;quot;&amp;quot;re-start&amp;quot; from current level of already calculated results&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Ivar&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 12 Mar 2010 06:08:11 +0000</pubDate>
   <guid isPermaLink="false">1246.1268374091.9775</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p9772</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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).&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
As you say, normally you should have a denser mesh where your gradients are steep&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Cannot comment further&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Fri, 12 Mar 2010 06:06:03 +0000</pubDate>
   <guid isPermaLink="false">1246.1268373963.9772</guid>
  </item>
  <item>
   <title>Re: Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p9751</link>
   <description>Hey, i have the same problem&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
i push the icon restart y works.</description>
   <pubDate>Thu, 11 Mar 2010 20:37:52 +0000</pubDate>
   <guid isPermaLink="false">1246.1268339872.9751</guid>
  </item>
  <item>
   <title>Undefined value found</title>
   <link>http://www.comsol.dk/community/forums/general/thread/1246/#p3253</link>
   <description>Hi, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
i can solve my semiconductor model with a relatively coarse mesh.&lt;br /&gt;&#13;
However the found solution is not good enough. It shows some &lt;br /&gt;&#13;
differences to a reference (PC1D) semiconductor model.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
That is why i want to refine the mesh. &lt;br /&gt;&#13;
 &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
But if i refine the mesh i get following error:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
---------------------------------------------------------------------&lt;br /&gt;&#13;
Error: 7248&lt;br /&gt;&#13;
Undefined value found.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Details:&lt;br /&gt;&#13;
Exception:&lt;br /&gt;&#13;
	com.femlab.jni.FlNativeException: Undefined value found Solvermodel&lt;br /&gt;&#13;
Messages:&lt;br /&gt;&#13;
	Undefined value found Solvermodel&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Stack trace:&lt;br /&gt;&#13;
	at solvermodel.cpp, row 1837, (Undefined value found in the equation residual vector.&lt;br /&gt;&#13;
There are 85 degrees of freedom giving NaN/Inf in the vector for the variable phii&lt;br /&gt;&#13;
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), ... &lt;br /&gt;&#13;
)&lt;br /&gt;&#13;
	at com.femlab.solver.FlSolver.femStatic(Native Method)&lt;br /&gt;&#13;
	at com.femlab.solver.FemStatic.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.server.FlRunner.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.util.i.run(Unknown Source)&lt;br /&gt;&#13;
	at com.femlab.util.aa.run(Unknown Source)&lt;br /&gt;&#13;
----------------------------------------------------------------------------&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The model is quite  complex and has 5 coupled application modes.&lt;br /&gt;&#13;
I use the Parametric segregated Solver.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I think if there would be a problem with my initialisation values or boundary contitions,&lt;br /&gt;&#13;
i would not be able to solve the model even with a coarse mesh?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I found out, that the problem especially occurs, if i refine the mesh in a region with large gradients.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
The Comsol solution is represented by green circles and the reference solution is shown as line in the attached figure.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Has anyone an idea how the finer mesh causes &amp;quot;undefined value&amp;quot;-problems and how to overcome them?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thank you,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Stefan&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Mon, 19 Oct 2009 12:22:26 +0000</pubDate>
   <guid isPermaLink="false">1246.1255954946.3253</guid>
  </item>
 </channel>
</rss>

