<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Dear Mang Cai, </div>
<div class=""><br class="">
</div>
<div class="">For the sake of comparison, you can add:</div>
<div class=""> </div>
<div class="">
<div class=""> Print[ Torque_vw, OnRegion NodesOf[Rotor_Bnd_MB], LastTimeStepOnly, Format RegionValue,</div>
<div class=""> File > StrCat[Dir,"Tr_vw", ExtGnuplot], StoreInVariable $Trotor_vw,</div>
<div class=""> SendToServer StrCat[po_mecT, "rotor vw"], Color "Ivory"] ;</div>
<div class=""> Print[ Torque_vw, OnRegion NodesOf[Stator_Bnd_MB], LastTimeStepOnly, Format RegionValue,</div>
<div class=""> File > StrCat[Dir,"Ts_vw", ExtGnuplot], StoreInVariable $Tstator_vw</div>
<div class=""> SendToServer StrCat[po_mecT, "stator vw"], Color "Ivory"] ;</div>
</div>
<div class=""><br class="">
</div>
<div class="">to the PostOperation Get_Torque.</div>
<div class=""><br class="">
</div>
<div class="">We have not done it by default because the computation is a bit slow.</div>
<div class=""><br class="">
</div>
<div class="">Note that if you want to use the virtual work result for the actual movement, you should also modify:</div>
<div class="">
<div class=""><br class="">
</div>
<div class="">// Torque computed in postprocessing</div>
<div class=""> Torque_mag[] = $Tstator ;</div>
</div>
<div class=""><br class="">
</div>
Best regards,
<div class="">Ruth<br class="">
<div class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
—<br class="">
Prof. Ruth V. Sabariego<br class="">
KU Leuven <br class="">
Dept. Electrical Engineering ESAT/Electa, EnergyVille<br class="">
<a href="http://www.esat.kuleuven.be/electa" class="">http://www.esat.kuleuven.be/electa</a></div>
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<a href="http://www.energyville.be" class="">http://www.energyville.be</a></div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Free software: <a href="http://gmsh.info" class="">http://gmsh.info</a> | <a href="http://getdp.info" class="">http://getdp.info</a> | <a href="http://onelab.info" class="">http://onelab.info</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 06 Feb 2016, at 20:58, Mang Cai <<a href="mailto:m.cai@tu-braunschweig.de" class="">m.cai@tu-braunschweig.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Dear sir,<br class="">
<br class="">
I have analyse the machine_magstadyn_a.pro file of the electrical machines library of the onelab project carefully and found that the electromagnetic force and torque calculation based on the maxwell tensor is implemented. But that based on Virtual Work is
only partly implemented, during the postprocessing phase, the Kern function of VirtualWork[{d a}] is unfortunately does not exist.<br class="">
<br class="">
Can someone give me some advices to complete this work?<br class="">
Because it should be very useful to compare the force and torque calculated through the two different approaches.<br class="">
<br class="">
Thank you very much.<br class="">
_______________________________________________<br class="">
getdp mailing list<br class="">
<a href="mailto:getdp@onelab.info" class="">getdp@onelab.info</a><br class="">
http://onelab.info/mailman/listinfo/getdp<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>