Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Magnetic Field of a Bar Magnet

  1. Nov 30, 2009 #1
    So I'm making a simulation to help me understand electromagnetics.
    Basically I have a stationary bar magnet, along with a moving electron.
    Each frame the electron has a force applied to it via the Lorentz force law, F = q(E+v cross B).
    Now E = 0, but how do I calculate B?

    The Biot-Savart law relates to currents, but a bar magnet doesn't have any current.

    Cheers
     
  2. jcsd
  3. Nov 30, 2009 #2
    A bar magnet is like many tiny current loops. However the treatment is actually easier if you use the magnetic scalar potential (which works as long as the electron doesn't go through the current loop).

    For a bar magnet with a constant magnetization parallel to the magnet you can calculate the magnetic scalar potential by assuming that there is a constant magnetic density m spread over both the pole surfaces. Each magnetic density bit contributes
    [tex]\mathrm{d}V_m=\frac{m\mathrm{d}A}{4\pi r}[/tex]
    (where dA is a surface element) to the scalar magnetic potential. The magnetic field from this potential - once you have summed over both pole surfaces - is
    [tex]\vec{H}=\frac{\vec{B}}{\mu_0\mu_r}=-\nabla V_m[/tex]
     
    Last edited: Nov 30, 2009
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Magnetic Field of a Bar Magnet
  1. Bar Magnet (Replies: 2)

Loading...