EMDyna Sandbox Scene Details
Overview Manual & Theory Validation Suite Python API Gallery Open Simulator

← Back to Scene Gallery

OfficialBasicForce on a Conductor in a Magnetic Field (Current, Magnet Strength, and Force)

A straight wire passes 4 mm above a disc magnet with its N-pole facing up (radius 1.5 cm). The wire forms a loop powered by a DC source (initially 6 V), a 5.5 Ω resistor, and a switch. A magnetic force acts on the wire perpendicular to both current and magnetic field (yellow arrow). The "Wire above magnet" probe measures current and force per meter. This scene is from "Force on a Current-Carrying Conductor" (/classroom). [Highlights] - Click the power supply and change voltage to 1.5, 3, 4.5, or 6 V; current and force scale in equal proportion (force is proportional to current). - Click the magnet and change "Magnet material" among Ferrite (0.35 T), Alnico (1.0 T), Neodymium (1.2 T), and High-grade Neodymium (1.4 T); force is proportional to magnet strength. - Reversing the voltage sign or clicking "Swap N/S poles" reverses the force arrow. Doing both returns it to the original direction. - From field B and current I at the wire, force per unit length is F = B I (at 6 V with Neodymium, B is approx. 0.25 T, I is approx. 1 A, and F is approx. 0.25 N/m). Electric motors use this force to rotate coils.

Oct 26, 2026 • 10 views

Launch & Remix in Simulator

Read the explanation, with equations and figures ↓

Modify this scene in the simulator, then open the "Scene" tab and click "Publish Current Scene to Gallery" to share your remix!

·

In short

When electric current flows through a wire placed near a magnet, the wire gets pushed sideways. This motor effect is called the Lorentz force.

What you are looking at

The magnetic Lorentz force exerted on a current-carrying wire by a static magnetic field:

  • A straight copper wire runs horizontally along the xx-axis positioned 4 mm4\text{ mm} directly above the top pole face of a cylindrical disc magnet (radius 1.5 cm1.5\text{ cm}, thickness 10 mm10\text{ mm}, North pole facing upward +y+y, default Neodymium Br=1.2 TB_r = 1.2\text{ T}).
  • The wire is closed into a circuit loop powered by a DC voltage source (V=6 VV = 6\text{ V}, internal resistance 0.5 Ω0.5\ \Omega) in series with a ballast resistor (R=5.5 ΩR = 5.5\ \Omega) and a switch (Rtot≈6.0 ΩR_{\text{tot}} \approx 6.0\ \Omega, current I≈1 AI \approx 1\text{ A}).
  • A measurement probe placed directly above the magnet center monitors:
  • Wire current II in milliamperes (mA\text{mA}).
  • Electromagnetic force per unit length F′F' in millinewtons per meter (mN/m\text{mN/m}).
  • Yellow force vector arrows visualize the local magnitude and direction of the force acting on each wire segment.

The force acts perpendicular to both the electric current and the magnetic field lines, pushing the wire laterally sideways along the zz-axis. This fundamental interaction provides the driving torque in all electric motors and voice-coil actuators.

Linear proportionality laws

  1. Proportionality to current (F′∝IF' \propto I): With a constant magnetic field, the force is strictly linear with the electrical current.
  2. Proportionality to magnet remanence (F′∝BrF' \propto B_r): Because the magnetic field BB is directly proportional to the magnet's remanence BrB_r, switching between magnetic materials scales the force in exact proportion to BrB_r.
  3. Direction inversion: - Reversing voltage (V=−6 VV = -6\text{ V}) reverses current flow: F\mathbf{F} points along −z^-\hat{\mathbf{z}}. - Reversing the magnet poles (S-pole up) reverses B\mathbf{B}: F\mathbf{F} points along −z^-\hat{\mathbf{z}}. - Reversing both current and magnet field simultaneously cancels both sign changes: F\mathbf{F} returns to +z^+\hat{\mathbf{z}}.

Lorentz force on a current-carrying conductor

An electric current II consists of moving charged particles with drift velocity vd\mathbf{v}_d. Under an external magnetic flux density B\mathbf{B}, each charge qq experiences the microscopic Lorentz force f=q(vd×B)\mathbf{f} = q(\mathbf{v}_d \times \mathbf{B}). Summing over all conduction electrons in a wire segment dld\mathbf{l} yields the macroscopic Laplace–Lorentz force:

dF=I(dl×B)d\mathbf{F} = I (d\mathbf{l} \times \mathbf{B})

For a straight wire segment of length LL in a perpendicular magnetic field B⊥B_\perp, the total force magnitude is:

F=ILB⊥F = I L B_\perp

Dividing by length gives the force per unit length F′F':

F′=dFdl=IB⊥F' = \frac{dF}{dl} = I B_\perp

Direction and Fleming's left-hand rule

Directly above the center of the disc magnet, the magnetic field points vertically upward along the +y+y axis (B=By^\mathbf{B} = B \hat{\mathbf{y}}). The current flows horizontally along the +x+x axis (dl=dlx^d\mathbf{l} = dl \hat{\mathbf{x}}). Taking the vector cross product:

x^×y^=z^\hat{\mathbf{x}} \times \hat{\mathbf{y}} = \hat{\mathbf{z}}

The resulting force pushes the conductor along the +z+z axis. This spatial geometry is classically described by Fleming's left-hand rule (Thumb: Force, First finger: Field, seCond finger: Current).

Field of the disc magnet

The axial magnetic field B(y)B(y) generated at a distance yy above the surface of a cylindrical magnet of radius RR, length LL, and remanence BrB_r is:

B(y)=Br2[y+L(y+L)2+R2−yy2+R2]B(y) = \frac{B_r}{2} \left[ \frac{y + L}{\sqrt{(y + L)^2 + R^2}} - \frac{y}{\sqrt{y^2 + R^2}} \right]

For R=15 mmR = 15\text{ mm}, L=6 mmL = 6\text{ mm}, y=4 mmy = 4\text{ mm}, and Br=1.2 TB_r = 1.2\text{ T} (Neodymium):

B≈0.254 T≈0.212BrB \approx 0.254\text{ T} \approx 0.212 B_r

At a current of I=0.998 AI = 0.998\text{ A}, the theoretical force per unit length is:

F′=BI≈(0.2544 T)×(0.998 A)≈0.254 N/m=254 mN/mF' = B I \approx (0.2544\text{ T}) \times (0.998\text{ A}) \approx 0.254\text{ N/m} = 254\text{ mN/m}

which agrees with the simulated readout to within 0.5%0.5\%.

Simulation measurements

Voltage and current sweep (Neodymium Br=1.2 TB_r = 1.2\text{ T})

Voltage VVCurrent IIForce per length F′F'Ratio F′/IF' / I
1.5 V249 mA249\text{ mA}63.4 mN/m63.4\text{ mN/m}255 mN/(A⋅m)255\text{ mN}/(\text{A}\cdot\text{m})
3.0 V499 mA499\text{ mA}127 mN/m127\text{ mN/m}255 mN/(A⋅m)255\text{ mN}/(\text{A}\cdot\text{m})
4.5 V748 mA748\text{ mA}190 mN/m190\text{ mN/m}254 mN/(A⋅m)254\text{ mN}/(\text{A}\cdot\text{m})
6.0 V998 mA998\text{ mA}254 mN/m254\text{ mN/m}255 mN/(A⋅m)255\text{ mN}/(\text{A}\cdot\text{m})

Magnet material sweep (V=6.0 VV = 6.0\text{ V}, I≈1 AI \approx 1\text{ A})

Magnet materialRemanence BrB_rForce per length F′F'Ratio F′/BrF' / B_r
Ferrite0.35 T0.35\text{ T}73.9 mN/m73.9\text{ mN/m}211 mN/(T⋅m)211\text{ mN}/(\text{T}\cdot\text{m})
Alnico1.0 T1.0\text{ T}211 mN/m211\text{ mN/m}211 mN/(T⋅m)211\text{ mN}/(\text{T}\cdot\text{m})
Neodymium1.2 T1.2\text{ T}254 mN/m254\text{ mN/m}212 mN/(T⋅m)212\text{ mN}/(\text{T}\cdot\text{m})
High-grade NdFeB1.4 T1.4\text{ T}296 mN/m296\text{ mN/m}211 mN/(T⋅m)211\text{ mN}/(\text{T}\cdot\text{m})

Try it

Comments