<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div>Hello Marco,</div>
<div><br>
</div>
<div><br>
</div>
<div>Yes.</div>
</div>
<div>The first three terms in the formulation below</div>
<div>describe equations associated with the test functions</div>
<div>of the edge unknowns (or node unknowns in 2D) </div>
<div>of the magnetic vector potential field ‘a’</div>
<div>in the whole domain of computation ‘Domain’.</div>
<div>They express the weak form fo the Euler-Lagrange equation:</div>
<div><br>
</div>
<div>curl (nu curl a) + sigma( dadt + grad u) = 0 (curl h = j)</div>
<div><br>
</div>
<div><br>
</div>
<div>The next 2 terms are associated with the test functions</div>
<div>of the node unknowns of the scalar electric potential ‘v’,</div>
<div>only for nodes in the conducting domain ‘DomainC’. </div>
<div>
<div>They express the weak form fo the Euler-Lagrange equation:</div>
</div>
<div><br>
</div>
<div>div ( sigma( dadt + grad u) ) = 0 (div j=0)</div>
<div><br>
</div>
<div>By analyzing the ‘Quantity’ section of the ‘Formulation’ field,</div>
<div>which I reproduce below</div>
<div>
<div>
<blockquote type="cite">
<pre class="code highlight" lang="cpp"><span id="LC179" class="line" lang="cpp"> <span class="n">Quantity</span> <span class="p">{</span></span>
<span id="LC180" class="line" lang="cpp"> <span class="p">{</span> <span class="n">Name</span> <span class="n">a</span> <span class="p">;</span> <span class="n">Type</span> <span class="n">Local</span> <span class="p">;</span> <span class="n">NameOfSpace</span> <span class="n">Hcurl_a_3D</span> <span class="p">;</span> <span class="p">}</span></span>
<span id="LC181" class="line" lang="cpp"></span>
<span id="LC182" class="line" lang="cpp"> <span class="p">{</span> <span class="n">Name</span> <span class="n">v</span> <span class="p">;</span> <span class="n">Type</span> <span class="n">Local</span> <span class="p">;</span> <span class="n">NameOfSpace</span> <span class="n">Hregion_u_3D</span> <span class="p">;</span> <span class="p">}</span></span>
<span id="LC183" class="line" lang="cpp"> <span class="p">{</span> <span class="n">Name</span> <span class="n">U</span> <span class="p">;</span> <span class="n">Type</span> <span class="n">Global</span> <span class="p">;</span> <span class="n">NameOfSpace</span> <span class="n">Hregion_u_3D</span> <span class="p">[</span><span class="n">U</span><span class="p">]</span> <span class="p">;</span> <span class="p">}</span></span>
<span id="LC184" class="line" lang="cpp"> <span class="p">{</span> <span class="n">Name</span> <span class="n">I</span> <span class="p">;</span> <span class="n">Type</span> <span class="n">Global</span> <span class="p">;</span> <span class="n">NameOfSpace</span> <span class="n">Hregion_u_3D</span> <span class="p">[</span><span class="n">I</span><span class="p">]</span> <span class="p">;</span> <span class="p">}</span></span>
<span id="LC185" class="line" lang="cpp"> <span class="p">}</span></span>
</pre>
</blockquote>
<div>together with the informations contained </div>
<div>in the « FunctionSpace » section and the declared « Constraints » acting on it,</div>
</div>
</div>
<div>GetDP is able to decide which Dofs are fixed</div>
<div>and which are unknowns (and then associated with a test function).</div>
<div>This is all automatic.</div>
<div>That is the reason why it is enough in the Formulation description</div>
<div>to give the weak form of the equations you want to solve. </div>
<div><br>
</div>
<div>Regards, </div>
<div><br>
</div>
<div>Fr. </div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
<div>Equation {</div>
<div> Galerkin { [ nu[] * Dof{d a} , {d a} ] ;<br>
</div>
<div> In Domain ; Jacobian Vol ; Integration I1 ; }<br>
</div>
<div> Galerkin { DtDof[ sigma[] * Dof{a} , {a} ] ;<br>
</div>
<div> In DomainC ; Jacobian Vol ; Integration I1 ; }<br>
</div>
<div> Galerkin { [ sigma[] * Dof{d v} , {a} ] ;<br>
</div>
<div> In DomainC ; Jacobian Vol ; Integration I1 ; }<br>
</div>
<div><br>
</div>
<div> Galerkin { DtDof[ sigma[] * Dof{a} , {d v} ] ; // <====== A1</div>
<div> In DomainC ; Jacobian Vol ; Integration I1 ; }<br>
</div>
<div> Galerkin { [ sigma[] * Dof{d v} , {d v} ] ; // <====== A2</div>
<div> In DomainC ; Jacobian Vol ; Integration I1 ; }</div>
<div><br>
</div>
<div> GlobalTerm { [ Dof{I} , {U} ] ; In SurfaceElecWithI ; }</div>
<div><br>
</div>
<div> Galerkin { [ - js0[] , {a} ] ; In DomainS ;</div>
<div> Jacobian Vol ; Integration I1 ; }</div>
<div> }</div>
<div> </div>
<div>I don't understand how A1 and A2 can be part of the same integral. I mean, based on the micro strip tutorial,</div>
<div> every Galerkin{....} term belonging to Equation{...} is added up and this sum is then made equal to zero. And this equation should hold for a single test function.</div>
<div>But here A1 and A2 have a test function different from the other terms. Does this mean that GetDP generates automatically two equations? One for test functions a' and one for test functions v’?<br>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div>
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
<div><br>
</div>
<div dir="ltr" data-setdir="false">I'm lost, help please :D</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">Marco</div>
</div>
</div>
_______________________________________________<br>
getdp mailing list<br>
<a href="mailto:getdp@onelab.info">getdp@onelab.info</a><br>
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgetdp&data=02%7C01%7Cfrancois.henrotte%40uclouvain.be%7Cefa4dbe094fe44e3665d08d7a83200b0%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637162805466833982&sdata=xGSf9biUZB6zyCJRp3JikPklFdzb%2BYMznDFJydncgG0%3D&reserved=0<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="orphans: 2; widows: 2;">
<div>--</div>
<div>François Henrotte Dr Ir - <span style="text-align: -webkit-auto;"><a href="mailto:francois.henrotte@uclouvain.be">francois.henrotte@uclouvain.be</a></span><span style="text-align: -webkit-auto;"> - </span><span style="text-align: -webkit-auto;"><a href="mailto:francois.henrotte@uliege.be">francois.henrotte@uliege.be</a> </span></div>
<div>UCLouvain - Bât. Euler a.217 - Av. G. Lemaître 4-6 , <span style="text-align: -webkit-auto;">B-1348 Louvain-la-Neuve - </span><span style="text-align: -webkit-auto;">+32(0)10 47 23 64 </span></div>
<div><span style="text-align: -webkit-auto;">ULiège - Institut Montefiore I154 - Allée de la Découverte 10, B-4000 Liège - +32(0)4 366 37 36 </span></div>
<div><span style="text-align: -webkit-auto;"><br>
</span></div>
</div>
</div>
<div><span style="text-align: -webkit-auto;"><br>
</span></div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</body>
</html>