Current-Carrying Wire in Uniform Magnetic Field

Consider an infinitely long cylindrical wire that carries a current in the perpendicular uniform magnetic field . This Demonstration shows the resultant field in the spaces both inside and outside the cylinder. Assume that the current density is constant in the cross section of wire and that the relative permeabilities , inside and outside the cylinder are different. The directions of the applied field and wire current are the and axes, respectively. The field pattern is plotted in the - plane using color for strength and arrows for direction; the field intensity is normalized by . You can vary the relative permeabilities, the applied magnetic field , the wire diameter , and the wire current .


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Snapshot 1: the 10mm-diameter nonmagnetic wire carries (i.e. ) in field
Snapshot 2: the 10mm-diameter nonmagnetic wire carries (i.e. ) in field
Snapshot 3: the 10mm-diameter ferromagnetic cylinder of is in field
The resultant field both inside and outside the cylinder can be obtained considering the vector potentials of the uniform field and the wire current . As the result, the field is described in the following equations in cylindrical coordinates :
Here is the radius of the cylinder (or , using a wire of diameter ). The third component is zero. Those fields are transformed to Cartesian in the graphics displayed.
For Snapshots 1 and 2, the magnetic field at the wire surface due to the wire current is calculated to be and , respectively. Since in those examples, they correspond to the cases and . The unsymmetrical field patterns suggest that an upward electromagnetic force should be generated.
Snapshot 3 shows the effect of an outside magnetic field on the ferromagnetic material. According to the above equation, the field inside the cylinder is , with direction along the axis, the direction of the applied field. The field intensity is very small since .
[1] J. A. Stratton, Electromagnetic Theory, New York: McGraw–Hill, 1941.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+