- #1
illuzioner
- 3
- 0
Hi,
I a question related to an equation for a magnetic field vector,
B, from a dipole in cylindrical coordinates. This is the equation I found for the B field (thought I'm not 100% certain this is correct).
B = (u0*m/4*Pi*r^2)* {2 Cos[theta] , Sin[theta]}
where the first index is the r component and the second is the theta
component.
I am attempting to recreate the field lines as shown on page 3 in:
http://www.intalek.com/Index/Projects/Research/MagneticForcesandTorq.pdf
so I need to find r as a function of theta.
I can calculate the magnitude of the field vector at any point. However, if I take that magnitude, set it equal to a constant and solve for r as a function of theta, I'm not getting the shape of the curve I see in the above pdf file.
How can I do this? Is there any simple source code anyone knows of that can do this?
Thanks!
I a question related to an equation for a magnetic field vector,
B, from a dipole in cylindrical coordinates. This is the equation I found for the B field (thought I'm not 100% certain this is correct).
B = (u0*m/4*Pi*r^2)* {2 Cos[theta] , Sin[theta]}
where the first index is the r component and the second is the theta
component.
I am attempting to recreate the field lines as shown on page 3 in:
http://www.intalek.com/Index/Projects/Research/MagneticForcesandTorq.pdf
so I need to find r as a function of theta.
I can calculate the magnitude of the field vector at any point. However, if I take that magnitude, set it equal to a constant and solve for r as a function of theta, I'm not getting the shape of the curve I see in the above pdf file.
How can I do this? Is there any simple source code anyone knows of that can do this?
Thanks!