<?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.fr/community/forums/general/rss/thread/9095.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: convergence problem when using the weak constraint on Dirichlet boundary</title>
  <link>http://www.comsol.fr/community/forums/general/thread/9095/</link>
  <description>Most recent forum messages</description>
  <pubDate>Thu, 02 Sep 2010 23:28:41 +0000</pubDate>
  <image>
   <title>COMSOL Forums: convergence problem when using the weak constraint on Dirichlet boundary</title>
   <url>http://www.comsol.fr/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.fr/community/forums/general/thread/9095/</link>
  </image>
  <item>
   <title>convergence problem when using the weak constraint on Dirichlet boundary</title>
   <link>http://www.comsol.fr/community/forums/general/thread/9095/#p23462</link>
   <description>Hi, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I am recently building a semiconductor device model (similar but not identical to the MOSFET model in the library), which include the poisson equation and diffusion equation. I set the voltage at certain boundary (Dirichlet), and try to get the current. According to the manual, the lagrangian multiplier in a weak constraint would be an accurate representation of the flux. But when I try to use the weak constraint and solve the lagrangian multiplier, the model does not converge. The log file would be something like below:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Iter      ErrEst     Damping    Stepsize #Res #Jac #Sol&lt;br /&gt;&#13;
   1    1.2e-005   1.0000000          43  101   56  153&lt;br /&gt;&#13;
   2    6.3e-006   1.0000000    1.2e-005  102   57  155&lt;br /&gt;&#13;
   3    5.8e-006   1.0000000    6.3e-006  103   58  157&lt;br /&gt;&#13;
   4    4.9e-006   1.0000000    5.8e-006  104   59  159&lt;br /&gt;&#13;
   5    4.7e-006   1.0000000    4.9e-006  105   60  161&lt;br /&gt;&#13;
   6    3.6e-006   0.2422812    4.7e-006  107   61  164&lt;br /&gt;&#13;
   7    2.9e-006   0.1835810    3.6e-006  109   62  167&lt;br /&gt;&#13;
   8    2.5e-006   0.1498790    2.9e-006  111   63  170&lt;br /&gt;&#13;
   9    2.2e-006   0.1274153    2.5e-006  113   64  173&lt;br /&gt;&#13;
  10    1.9e-006   0.1111807    2.2e-006  115   65  176&lt;br /&gt;&#13;
  11    1.7e-006   0.1000000    1.9e-006  117   66  179&lt;br /&gt;&#13;
  12    1.6e-006   0.1000000    1.7e-006  119   67  182&lt;br /&gt;&#13;
  13    1.4e-006   0.1000000    1.6e-006  121   68  185&lt;br /&gt;&#13;
  14    1.3e-006   0.1000000    1.4e-006  123   69  188&lt;br /&gt;&#13;
  15    1.1e-006   0.1000000    1.3e-006  125   70  191&lt;br /&gt;&#13;
  16      1e-006   0.1000000    1.1e-006  127   71  194&lt;br /&gt;&#13;
  17    9.2e-007   0.1000000      1e-006  129   72  197&lt;br /&gt;&#13;
  18    8.3e-007   0.1000000    9.2e-007  131   73  200&lt;br /&gt;&#13;
  19    7.5e-007   0.1000000    8.3e-007  133   74  203&lt;br /&gt;&#13;
  20    6.7e-007   0.1000000    7.5e-007  135   75  206&lt;br /&gt;&#13;
  21    6.1e-007   0.1000000    6.7e-007  137   76  209&lt;br /&gt;&#13;
  22    5.5e-007   0.1000000    6.1e-007  139   77  212&lt;br /&gt;&#13;
  23    4.9e-007   0.1000000    5.5e-007  141   78  215&lt;br /&gt;&#13;
  24    4.4e-007   0.1000000    4.9e-007  143   79  218&lt;br /&gt;&#13;
  25      4e-007   0.1000000    4.4e-007  145   80  221&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Errest keeps decreasing but does not stop. If I increase the MaxIter, the ErrEst will go to even 1e-10 but it still not converge. If I do not use weak constraint, the model has no problem to converge. I tried to manually scale the lagrangian multiplier, since the order of magnitude of lm is much different from other varibles, but still no success. I am wondering anyone has seen similar convergence problem when using the weak constraint before? Any solution to this problem?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Thanks,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Wei</description>
   <pubDate>Thu, 02 Sep 2010 23:28:41 +0000</pubDate>
   <guid isPermaLink="false">9095.1283470121.23462</guid>
  </item>
 </channel>
</rss>

