Calculating Magnetic Field Lines

  • #1
525
16

Main Question or Discussion Point

I guess this is maybe more of a vector calculus question, but here it goes. Say I have an arbitrary current distribution [itex]\vec{J}[/itex] with the corresponding magnetic field given by
[tex]\vec{\nabla}\times\vec{H} = \vec{J}[/tex]
[tex]\vec{\nabla}\cdot\vec{H} = 0[/tex]
What is the best way to calculate the field/flow lines of [itex]\vec{H}[/itex] (contours to which [itex]\vec{H}[/itex] is always tangent)? Do I need to calculate the magnetic field and then find the field lines from that, or is there an easier way to directly extract information about the geometry of the field lines from the equations above if I don't care about the magnitude of the magnetic field?

Edit: If it makes things easier, I'd still be interested to see the answer to this question with the added assumption that everything is uniform in the z-direction and [itex]\vec{J}[/itex] only has a z component (i.e. the magnetic field is 2D: it has no z-dependence and no z-component)
 
Last edited:

Answers and Replies

  • #2
marcusl
Science Advisor
Gold Member
2,714
377
If you want H in a source-free region (no currents or magnetization), then Laplace's equation holds and you can define an effective magnetic scalar potential that is analogous to the usual electric potential. Equipotential lines and streamlines then play the same role as in electrostatics problems: you get orthogonal potential lines and field lines. This is by far the easiest approach.

Since J has only a z component, the problem is two-dimensional problem, further simplifying it.
 
  • #3
525
16
If you want H in a source-free region (no currents or magnetization), then Laplace's equation holds and you can define an effective magnetic scalar potential that is analogous to the usual electric potential. Equipotential lines and streamlines then play the same role as in electrostatics problems: you get orthogonal potential lines and field lines. This is by far the easiest approach.

Since J has only a z component, the problem is two-dimensional problem, further simplifying it.
That does make sense, but unfortunately I do care about being able to do it inside the source region as well. Is there any simple technique there?
 
  • #4
marcusl
Science Advisor
Gold Member
2,714
377
No, nothing simple. You typically work with the vector potential. Complexity will depend on the source geometry and boundary conditions.
 
  • #5
jasonRF
Science Advisor
Gold Member
1,259
304
I guess this is maybe more of a vector calculus question, but here it goes. Say I have an arbitrary current distribution [itex]\vec{J}[/itex] with the corresponding magnetic field given by
[tex]\vec{\nabla}\times\vec{H} = \vec{J}[/tex]
[tex]\vec{\nabla}\cdot\vec{H} = 0[/tex]
What is the best way to calculate the field/flow lines of [itex]\vec{H}[/itex] (contours to which [itex]\vec{H}[/itex] is always tangent)? Do I need to calculate the magnetic field and then find the field lines from that, or is there an easier way to directly extract information about the geometry of the field lines from the equations above if I don't care about the magnitude of the magnetic field?
The way I know how to do this requires you to calculate the field first. Once you know [itex]\mathbf{H}(\mathbf{r})[/itex]then you just construct the equations for the field lines. Let [itex]d\mathbf{r}[/itex] be a differential vector parallel to the magnetic field; then we know [itex]d\mathbf{r} \times \mathbf{H} = 0[/itex]. This yields differntial equations for the field lines. For example, in Cartesian coordinates this yields
[tex]
\frac{dx}{H_x} = \frac{dy}{H_y} =\frac{dz}{H_z}
[/tex]
and in spherical coordinates this is
[tex]
\frac{dr}{H_r} = \frac{rd\theta}{H_\theta} =\frac{r \sin\theta d\phi}{H_\phi}
[/tex]
jason
 
Last edited:
Top