[Getdp] vector normal to a magnet

Patrick Dular Patrick.Dular at ulg.ac.be
Mon Oct 14 15:28:20 CEST 2013


Hello,

You can use the 'Rotate' function (here to rotate a vector in the 
xy-plane around the z-axis):

Rotate[ _bRemanentVectorInTheFrameOfTheMagnet[],  0, 0, 
_RotationAngleOfEachMagnetInRadians ]

with, e.g.,

_bRemanentVectorInTheFrameOfTheMagnet[] = b_remanent * Vector[0,1,0]; // 
with the normal to the magnet along the local y-axis

You know the '_RotationAngleOfEachMagnetInRadians' value from your 
geometry data.

Check the result by post-processing your new br[] function.

Patrick


On 14/10/13 14:55, Joseph Frippiat wrote:
>
> Hello,
>
> using the examples « Rotating electric machines » from OneLab, I try 
> to build a model for this permanent magnet electrical machine :
>
> In the file pmsm.pro from OneLab, one imposes a radial Br on the 
> magnet with:
>
>   // For a radial remanent b
>
>   For k In {1:nbMagnets}
>
> br[ Rotor_Magnet~{k} ] = (-1)^(k-1) * b_remanent * Vector[ 
> Cos[Atan2[Y[],X[]]], Sin[Atan2[Y[],X[]]], 0 ];
>
> EndFor
>
> How do I construct a vector normal to the magnets ?
>
> Thanks for any help,
>
> Joseph
>
> --
>
> Joseph Frippiat
> Senior Developer - UPS Division
>
> *KST S.A.* - Site of Battice
> Cour Lemaire, 16
> B-4651 BATTICE
> BELGIUM
> Tel : +.32.4.247.01.67
> Fax : +.32.87.31.42.21
> E-mail : frippiat.j at kst.be <mailto:frippiat.j at kst.be>
> Web : www.kst-ups.com
>
> Head office : Cour Lemaire, 16 - 4651 Battice (Belgium)
> RPM Liège (Belgium) : 0423.472.603
>
>
>
> _______________________________________________
> getdp mailing list
> getdp at geuz.org
> http://www.geuz.org/mailman/listinfo/getdp


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20131014/e46aa821/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 10780 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20131014/e46aa821/attachment.png>