[Getdp] Torque and force calculation based on Virtual Work prinzip

Ruth Vazquez Sabariego ruth.sabariego at esat.kuleuven.be
Mon Feb 8 11:39:56 CET 2016


Dear Mang Cai,

For the sake of comparison, you can add:

 Print[ Torque_vw, OnRegion NodesOf[Rotor_Bnd_MB], LastTimeStepOnly, Format RegionValue,
    File >  StrCat[Dir,"Tr_vw", ExtGnuplot], StoreInVariable $Trotor_vw,
    SendToServer StrCat[po_mecT, "rotor vw"], Color "Ivory"] ;
  Print[ Torque_vw, OnRegion NodesOf[Stator_Bnd_MB], LastTimeStepOnly, Format RegionValue,
    File >  StrCat[Dir,"Ts_vw", ExtGnuplot], StoreInVariable $Tstator_vw
    SendToServer StrCat[po_mecT, "stator vw"], Color "Ivory"] ;

to the PostOperation Get_Torque.

We have not done it by default because the computation is a bit slow.

Note that if you want to use the virtual work result for the actual movement, you should also modify:

// Torque computed in postprocessing
  Torque_mag[] = $Tstator ;

Best regards,
Ruth
—
Prof. Ruth V. Sabariego
KU Leuven
Dept. Electrical Engineering ESAT/Electa, EnergyVille
http://www.esat.kuleuven.be/electa
http://www.energyville.be

Free software: http://gmsh.info | http://getdp.info | http://onelab.info







On 06 Feb 2016, at 20:58, Mang Cai <m.cai at tu-braunschweig.de<mailto:m.cai at tu-braunschweig.de>> wrote:

Dear sir,

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.

Can someone give me some advices to complete this work?
Because it should be very useful to compare the force and torque calculated through the two different approaches.

Thank you very much.
_______________________________________________
getdp mailing list
getdp at onelab.info<mailto:getdp at onelab.info>
http://onelab.info/mailman/listinfo/getdp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20160208/de8732f7/attachment.html>


More information about the getdp mailing list