[Getdp] vector normal to a magnet

Joseph Frippiat frippiat.j at kst.be
Mon Oct 14 14:55:01 CEST 2013


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 :  <mailto:frippiat.j at kst.be> 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

 

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