Permanent magnet B field equation

AI Thread Summary
To calculate the B field of a bar magnet, one can start by treating it as a magnetic dipole, but this approximation is only valid at larger distances. A more accurate approach involves modeling the ends of the bar magnet as uniformly charged disks, allowing for reasonable approximations based on distance and orientation. Resources shared include various educational websites and articles that provide insights into the calculations involved. The discussion also highlights the use of an array of point charges and Euler iteration with Coulomb's Law to visualize the magnetic field. Overall, the conversation emphasizes the need for a solid understanding of differential equations and Gauss's law for accurate calculations.
lincsimp
Messages
7
Reaction score
0
hey
how would I go about calculating the B field of a bar magnet?

I've already managed to calculate the electric field between two charged particles etc and draw that, but I just can't see where to start with this one as its not just a point at north and south but a whole load of atoms working together.

If anyone could point me to some equations that would be good or just provide some ideas about where to start...

(btw this is not a homework q, just something I was wondering)

thank you!
 
Physics news on Phys.org
Welcome to the forums,

Start here: http://instruct.tri-c.edu/fgram/web/Mdipole.htm
 
Last edited by a moderator:
Thank you hootenanny; that appears to be what I was looking for! I'll be back if/when any problems arise... :)
 
Hootenanny said:
Welcome to the forums,

Start here: http://instruct.tri-c.edu/fgram/web/Mdipole.htm
Don't trust that website. It starts:
"A bar magnet is a magnetic dipole, and its field varies in the space around the magnet in the same way as the electric field varies around an electric dipole. So we can use the results of the E calculations to find the magnetic field B and forces between magnets."
But, that is only a reasonable approximation when two bar magents are far apart. For magnets at any distance, you can treat the end surface of each bar magnet as a uniformly charged disk. Then make reasonable approximations from that model, depending on the distance and orientation of the magnets.
 
Last edited by a moderator:
Interesting question. I vaguely remember doing this in E&M. Do I remember incorrectly, or doesn't a bar magnet have the same field as a stack of Ampère dipoles (i.e. a solenoid)?
 
hmmm... so it looks as though this is something I'll have to derive for myself. I think I'm going to treat each end as a uniformly charged disk...

Google gave me:
http://www.richmond.edu/~ggilfoyl/genphys/132/102solutions/Ch26/EOC_Solution_26_15.pdf
https://www.physicsforums.com/archive/index.php/t-123091.html
http://ocw.mit.edu/NR/rdonlyres/Physics/8-022Fall-2004/9A6AC77A-6CA0-431A-BA90-9FBA4A5C7027/0/lecture2.pdf

I feel pretty close now, but I guess I'm going to need to refresh my differential equations and learn Gauss's law. If anyone's done a course on EMFs it be great if you could give some suggestions/etc., but otherwise it looks at though I'll have to figure it myself.

Thank you :)

John
 
Last edited by a moderator:
hi again

I decided to give up with the complicated integral's (although they would hae been fun!) for now and decided to use a large array of point charges in layers alternating +ve,-ve,+ve... (red = +ve, blue = -ve)

An Euler iteration with Coulomb's Law got me that image (and I could have had them coming back in the top if I'd waited). Does it look right? How could I speed it up? What would I need to change to make them look more like "elephant ears"?

thanks
 

Attachments

  • barmagnet.png
    barmagnet.png
    5.8 KB · Views: 661
Back
Top