[Getdp] vector normal to a magnet
Joseph Frippiat
frippiat.j at kst.be
Mon Oct 14 20:42:03 CEST 2013
I don't understand the Vector[] usage..
With this :
For k In {1:nbMagnets}
br[ Rotor_Magnet~{k} ] = b_remanent * Vector[ Cos[Atan2[Y[],X[]]],
Sin[Atan2[Y[],X[]]], 0 ];
EndFor
I have a b field (not the wanted one) :
With this :
For k In {1:nbMagnets}
br[ Rotor_Magnet~{k} ] = b_remanent * Vector[
Cos[Atan2[Y[],X[]]+Pi/4], Sin[Atan2[Y[],X[]]+Pi/4], 0 ];
EndFor
I have nothing :
Why ?
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
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/34cac20e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cejdcfid.png
Type: image/png
Size: 69929 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20131014/34cac20e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faajaiba.png
Type: image/png
Size: 15711 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20131014/34cac20e/attachment-0001.png>