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

← Back to Scene Gallery

OfficialEasyMagnet & Coil (Induction and Lorentz force)

Demonstrates the foundations of electromagnetism: induction (motion → electricity) and electromagnetic force (electricity → motion). [1. Induction & Generation] Initially the light bulb is connected and the battery switch is open. Dropping the magnet through the coil generates induced current that lights the bulb. Current direction reverses upon entry and exit, exerting upward braking force (yellow arrow) per Lenz's law. Dragging the magnet manually varies bulb brightness with speed. Reset with 'Restart'. [2. Force & Motor Principle] Closing the battery switch energizes the coil as an electromagnet, pushing the magnet upward via Lorentz force. Reversing battery polarity or magnet poles flips the force to attraction. Enabling mechanics on the coil while fixing the magnet demonstrates coil motion instead.

Oct 17, 2026 • 9 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

A cylinder magnet can slide up and down through a wire coil. The coil is connected to a small light bulb and to a battery with switches.

This scene shows two sides of electromagnetism:

What you are looking at

A vertical solenoid coil (N=20 turnsN = 20\text{ turns}, radius R=1.3 cmR = 1.3\text{ cm}) sits along the central vertical axis. Suspended directly above it is a strong permanent cylinder magnet (Br=1.2 TB_r = 1.2\text{ T}), free to slide vertically along the yy-axis.

Two independent circuits connect across the terminals of this single coil:

  1. Right branch (Generator circuit): Contains a miniature indicator lamp (R=0.5 ΩR = 0.5\ \Omega, rated 0.02 W0.02\text{ W}) and switch S1S_1 (closed by default).
  2. Left branch (Electromagnet / Actuator circuit): Contains a 10 V10\text{ V} battery and switch S2S_2 (open by default).

This setup demonstrates both halves of electromagnetism in one unified apparatus: electromagnetic induction (converting mechanical motion into electrical current) and electromagnetic force (converting electrical current into mechanical motion).

Part 1: Electromagnetic induction and Faraday's law

When the magnet falls under gravity, its magnetic field sweeps through the turns of the stationary coil. According to Faraday's law of induction, an electromotive force (EMF) E\mathcal{E} is induced proportional to the rate of change of magnetic flux ΦB\Phi_B:

E=−dΦBdt=−Nddt∫B⋅dA\mathcal{E} = - \frac{d\Phi_B}{dt} = - N \frac{d}{dt} \int \mathbf{B}\cdot d\mathbf{A}

By Ohm's law, this induced voltage drives a current Iind=E/RtotalI_{\text{ind}} = \mathcal{E} / R_{\text{total}} through the closed lamp branch, causing the bulb to illuminate brightly as the magnet plunges through the core.

Lenz's law and magnetic braking

The negative sign in Faraday's law represents Lenz's law: the induced current always flows in the direction that produces a magnetic field opposing the change in flux that created it:

  • As the magnet approaches (d∣ΦB∣/dt>0d|\Phi_B|/dt > 0): The induced current produces a magnetic field that repels the incoming magnet. Upward magnetic force vectors (shown in yellow) act as an electromagnetic brake, slowing the descent.
  • As the magnet exits (d∣ΦB∣/dt<0d|\Phi_B|/dt < 0): The current reverses direction, creating an attractive magnetic field that pulls back up on the departing magnet, continuing to brake its fall.
FLorentz=∫(J×B) dV\mathbf{F}_{\text{Lorentz}} = \int (\mathbf{J} \times \mathbf{B})\, dV

The kinetic energy lost by the falling magnet is converted directly into electrical energy, dissipated as heat and light in the bulb filament.

StageMagnet motionFlux change dΦB/dtd\Phi_B/dtInduced coil polarityForce on magnet
Entering topDownwardRapid increase (>0>0)Like pole faces magnetUpward repulsion (braking)
Inside centerPassing midpointExtrema (≈0\approx 0)Current crosses zeroZero instantaneous force
Exiting bottomDownwardRapid decrease (<0<0)Opposite pole faces magnetUpward attraction (braking)

Part 2: Electromagnetic force (motor principle)

Open the lamp switch S1S_1 and close the battery switch S2S_2. The battery now forces current I≈20 AI \approx 20\text{ A} through the coil, transforming it into a powerful electromagnet with magnetic dipole moment:

mcoil=NIA y^\mathbf{m}_{\text{coil}} = N I A\,\hat{\mathbf{y}}

The permanent magnet is immersed in the non-uniform magnetic field gradient produced by this energized solenoid. The resulting axial force is:

Fy=mmagnet⋅∂Bcoil∂yF_y = \mathbf{m}_{\text{magnet}} \cdot \frac{\partial \mathbf{B}_{\text{coil}}}{\partial y}

Depending on the direction of coil current relative to the magnet's pole orientation, the coil exerts an intense upward thrust, launching or levitating the magnet upward against gravity. This is the operating principle behind linear voice-coil actuators, solenoids, relays, and electric motors.

Try it

Comments