CLOSED — charging
Moving charge (current) Magnetic field (B)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

RL Circuit: Self-Inductance & Current Transients

Every real coil — a motor winding, a relay, a transformer, a solenoid — resists sudden changes in current because of its own self-inductance. This simulator renders an actual 3D solenoid wired into a battery-resistor-switch loop: close the switch and the current climbs smoothly toward V/R along the exponential curve I(t) = (V/R)(1 − e^(−tR/L)); open it and the coil's collapsing magnetic field drives the same current back down to zero. Tune the voltage, resistance and inductance to see the time constant τ = L/R stretch or compress the transient live, watch charge markers move along the wire at a rate proportional to the instantaneous current, and see the magnetic field arrows inside the coil grow and collapse with it — exactly the physics behind why switching off an inductive load without a flyback diode can spike the voltage.