<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; ">Indeed, that was the problem. ;-)<div><br></div><div>BTW, you should due to the axisymmetry, you should multiply CompZ[A] by X[] for getting the actual magnetic vector potential.</div><div><br></div><div>Ruth</div><div><br></div><div><br></div><div> </div><div><div><div>On 12 Feb 2013, at 15:49, Frederic Trillaud <<a href="mailto:ftrillaudp@pumas.ii.unam.mx">ftrillaudp@pumas.ii.unam.mx</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Ruth,<br><br>I think that I found my answer. Here is a solution using VolAxiSphVolume<br>and VolAxi instead of VolSphVolume and Vol in the Jacobian method. The<br>picture in my previous email was obviously the module of B and not the<br>potential vector! (my bad). Here is a new picture with, I think, a<br>relatively good solution.<br><br>Frederic<br><br>On Tue, 2013-02-12 at 11:01 +0100, Ruth V. Sabariego wrote:<br><blockquote type="cite">Hi Frederic,<br>The problem came from your geometry: the physical line for the<br>symmetry and infinity where you define the dirichlet boundary<br>condition was not properly defined.<br>You have to use the geometrical lines and not the loops.<br>See the small correction in the geo file. <br><br><br>Best regards,<br>Ruth<br><br><br><br><br><br>On 11 Feb 2013, at 21:05, Frederic Trillaud<br><<a href="mailto:ftrillaudp@pumas.ii.unam.mx">ftrillaudp@pumas.ii.unam.mx</a>> wrote:<br><br><blockquote type="cite">Dear all,<br><br>I have an issue with the solution of a 2D axi-symmetric problem<br>consisting of a solenoid magnet. The magnet field is not as<br>expected!<br><br>Here are the files to run the model in the example.zip attached<br>folder.<br><br>solenoid2D.par -> parameters<br>solenoid2D.geo -> gmsh geometry<br>main.pro -> model in getdp<br>magnetostaticProblem.pro -> formulation<br>etc...<br><br>gmsh -2 solenoid2D.geo -msh solenoid2D.msh<br>getdp main -msh solenoid2D.msh -solve potentialVectorResolution<br>getdp main -msh solenoid2D.msh -pos fieldMap<br><br>Dirichlet is applied on the axis of symmetry and the on the external<br>shell. A fixed current density is given normal to the cross-section<br>plan.<br><br>I have tried with different Jacobian volume, VolAxi and<br>VolAxiSphVolume<br>but without success in addition to what is included in the given<br>test.<br><br>Best regards,<br><br>Frederic<br><Example.zip>_______________________________________________<br>getdp mailing list<br><a href="mailto:getdp@geuz.org">getdp@geuz.org</a><br>http://www.geuz.org/mailman/listinfo/getdp<br></blockquote><br>—<br>Dr. Ir. Ruth V. Sabariego<br>University of Liege, Electrical Engineering and Computer Science<br><a href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a><br><br><br><br><br><br><br><br><br><br><br><br><br></blockquote><span><moduleB.png></span></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -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); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -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); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -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); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>—</div><div>Dr. Ir. Ruth V. Sabariego</div><div>University of Liege, Electrical Engineering and Computer Science</div><div><a href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a></div><div><br></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>