<div dir="ltr">Hi,<div><br></div><div>Thanks a lot, it works too.</div><div><br></div><div>I've an other similar problem, but getdp create a NAN temperature field, I can't explain it. The geometry is different but still with 3 BCs, the main different is that now i define all the dimension of my geometry im meter, so the coordinates are small.</div><div><br><br>Le mardi 4 novembre 2014 17:12:43 UTC+1, michae...@infineon.com a écrit :<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">the point is that in GetDP it’s not allowed to subtract or add anything from/to</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">a Dof in a single Galerkin statement. Therefore you have to split your 2nd
</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Galerkin into two:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img width="662" height="95" src="https://groups.google.com/group/getdp-public/attach/93b1eb961df65c92/image001.png?part=0.0.1&authuser=0"></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Then it works
</span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img width="622" height="486" src="https://groups.google.com/group/getdp-public/attach/93b1eb961df65c92/image002.png?part=0.0.2&authuser=0"></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Michael</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> getdp [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="klz2HZbrsZMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">getdp-...@ace20.<wbr>montefiore.ulg.ac.be</a>]
<b>On Behalf Of </b>Hamid Badi<br>
<b>Sent:</b> Tuesday, November 04, 2014 1:14 PM<br>
<b>To:</b> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="klz2HZbrsZMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">getdp-...@googlegroups.com</a><br>
<b>Subject:</b> [Getdp] Multiple natural boundary conditions</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hello,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">My problem is common, i'd like to solve the heat equation with, for example, 2 natural Robin BC and one adibatique BC : -lambda.dnT = h.(T-Ti) on Gamma_i with i={1,2} and lambda.dnT = 0 on Gamma_3. </p>
</div>
<div>
<p class="MsoNormal">I write the weak form with u in Form0 of the heat equation leads to the classical form :</p>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<div style="border:solid #bbbbbb 1.0pt;padding:0cm 0cm 0cm 0cm;word-wrap:break-word">
<div>
<p class="MsoNormal" style="background:#fafafa"><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Equation</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<span> </span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Galerkin</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#000088">lambda</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[]</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">*</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Dof</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Grad</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
u</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">},</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Grad</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
u</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}];</span></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<span> </span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">In</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Omega</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Jacobian</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">JVol</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Integration</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> I1</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;}</span></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<span> </span><br>
<span> </span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Galerkin</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> h</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[]*</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">(</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Dof</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">u</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">-</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> T</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[]),</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">u</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}];</span></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<span> </span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">In</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Ambiance</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Jacobian</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">JSur</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Integration</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> I1</span></span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;}</span></span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
</span><span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}</span></span><span style="font-size:10.0pt;font-family:"Courier New""></span></p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">In my problem there is no essential BC so i do not have Constraint block.</p>
</div>
<div>
<p class="MsoNormal">The computation give a 0 temperature field, I do not understand what's wrong.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Moreover : </p>
</div>
<div>
<p class="MsoNormal">1 - I wan to store in a file the temperature field respects to the nodes but PostOperation block computes over elements.</p>
</div>
<div>
<p class="MsoNormal">2 - How can I compute the integral of the flux over Gamma_i, to do so, I need for each boundary edge : the flux and the normal vector</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Best regards.</p>
</div>
</div>
</div>
</div>
</blockquote></div></div>