<div dir="ltr">Thanks a lot, you'are my savior, that's works now.<div>I've two other questions :</div><div>- How can i compute/save the nodal temperature field ? Now the PostOperation block save the element field throught OnElementsOf.</div><div>- How can i compute the normal flux on a specified boundary : \int_{\gamma_i}{\lambda \partial_n{T}ds}. To do so I need the normal vector of each boundary edge. On which variable do I make sum : nodes or elements ?</div><div><br></div><div>Best regards.<br><br>Le mercredi 5 novembre 2014 08:50:54 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 small dimensions are fine. The problem is located in the definition of the
</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">physical groups: The lines have the same physical numbers as the surfaces,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">so GetDP cannot distinguish between them. Just use different numbers like</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">Physical Line(11) = {1};</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Physical Line(12) = {16};</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Physical Line(13) = {2,19,15,17,12,8};</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">Physical Surface(1) = {3};</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Physical Surface(2) = {2};</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Physical Surface(3) = {4};</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Physical Surface(4) = {1};</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">in the case.geo file and
</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">Interieur = 11;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exterieur = 12;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Adiabatique = 13;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Zone1 = 1;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Zone2 = 2;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Zone3 = 3;</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Zone4 = 4;</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">in the <a href="http://case.pro" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fcase.pro\46sa\75D\46sntz\0751\46usg\75AFQjCNF0Fqtwbx6eHF8k9_GwfLaL-SHNUg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fcase.pro\46sa\75D\46sntz\0751\46usg\75AFQjCNF0Fqtwbx6eHF8k9_GwfLaL-SHNUg';return true;">case.pro</a> file.</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>
<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""> Hamid Badi [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="EfJFLLFkSwwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">h.b...@bbs-slama.com</a>]
<br>
<b>Sent:</b> Wednesday, November 05, 2014 1:12 AM<br>
<b>To:</b> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="EfJFLLFkSwwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">getdp-...@googlegroups.com</a><br>
<b>Cc:</b> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="EfJFLLFkSwwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">h.b...@bbs-slama.com</a>; <a href="javascript:" target="_blank" gdf-obfuscated-mailto="EfJFLLFkSwwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ge...@geuz.org</a>; Asam Michael (IFAG ATV BP D PD DES1)<br>
<b>Subject:</b> Re: [Getdp] Multiple natural boundary conditions</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks a lot, it works too.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">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.</p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
Le mardi 4 novembre 2014 17:12:43 UTC+1, <a>michae...@infineon.com</a> a écrit :</p>
<div>
<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;border:solid windowtext 1.0pt;padding:0cm"><img width="662" height="95" src="https://groups.google.com/group/getdp-public/attach/c4b64b12c45f211/image001.jpg?part=0.0.1&authuser=0" alt="Das Bild wurde vom Absender entfernt."></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></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;border:solid windowtext 1.0pt;padding:0cm"><img width="622" height="486" src="https://groups.google.com/group/getdp-public/attach/c4b64b12c45f211/image002.jpg?part=0.0.2&authuser=0" alt="Das Bild wurde vom Absender entfernt."></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>
<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>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>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 style="font-size:10.0pt;font-family:"Courier New";color:#660066">Equation</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
      </span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Galerkin</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[</span><span style="font-size:10.0pt;font-family:"Courier New";color:#000088">lambda</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[]</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">*</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Dof</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Grad</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
 u</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">},</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Grad</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> u</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}];</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
        </span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">In</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Omega</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Jacobian</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">JVol</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Integration</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> I1</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;}</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
   <br>
  </span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Galerkin</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> h</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[]*</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">(</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Dof</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">u</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">-</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> T</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">[]),</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">{</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">u</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}];</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
       </span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">In</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Ambiance</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Jacobian</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">JSur</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#660066">Integration</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> I1</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">;}</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#666600">}</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>
</div>
</div>
</div>
</div>

</blockquote></div></div>