Field energy becomes motion and heat
Domain-mean energy densities. Blue: magnetic. Green: kinetic. Orange and purple: Ohmic and viscous heat.
Where does the energy go when a magnetic field rearranges? Magnetic stresses accelerate the plasma. Electric resistance and viscosity convert part of the magnetic and fluid energy into heat. A thin nonideal region lets magnetic flux change its connection to the moving fluid.
Drag a magnetic footpoint, then follow the field, the flow and the energy released as heat.
One numerical state
Selected physical time
Domain-mean energy densities. Blue: magnetic. Green: kinetic. Orange and purple: Ohmic and viscous heat.
Gold: the selected island’s signed flux contrast. Both nulls can undergo diffusion.
The four fixed cases release an initially stressed periodic field. Local induction, finer-grid fields and time-step errors are checked separately from the global energy sum. A retained coarse ideal case demonstrates why conservation alone is insufficient. Solar footpoint driving, flare onset, particles and emitted light need additional models.
The canvas preview samples a verified 128-grid Python state; the full saved input is checked before JavaScript evolution.
The initial magnetic energy is subtracted only from the magnetic-change curve. Both magnetic and viscous wall work are included in the input.
Select a contour with the blue ring
The square has equal coordinate scales. Copper edges are conducting walls; solid beads follow their material positions.
Current colour saturates at the displayed limits; flow arrows are enlarged. Their motion follows accepted model time.
The transported boundary flux fixes the gauge. The blue line is the sampled contour component through its seed; pairing close to a null is not reported. The fluid is planar, incompressible, viscous and resistive, with no temperature equation. Model time has no assigned solar-second calibration; dissipated heat is not a predicted light curve.
Move a conductor and its magnetic footpoint moves with it. The bent field pushes the fluid, while concentrated current turns part of the work into heat. Choose an endpoint and watch the same field, flow and energy respond.
The hollow circle says where the upper material point should finish. The solid bead shows where it is now. Moving the circle does not instantly draw a new field: the calculation starts again from one shared prepared state, with the same initial position, speed and acceleration.
The conductor carries its boundary flux along. Magnetic tension then accelerates the fluid. Resistance dissipates energy where current is strong, and viscosity does so where neighbouring fluid elements shear past each other. The two accumulated heat quantities keep their physical meaning even when the conductor turns back.
This is a planar incompressible viscous-resistive conducting box. Its heat is an energy account, not a predicted solar light curve. The bounded target interval has finite independent comparisons; real-time requests do not each run that longer reference calculation.
BackgroundA bent magnetic field exerts a force on the surrounding plasma. The resulting motion can concentrate current into a thin layer, where resistance lets magnetic flux move relative to the fluid.
Why it mattersSolar flares release stored magnetic energy, but a useful first calculation must identify what it actually evolves. This small periodic model follows the field and fluid together.
Magnetic contours follow constant . Here is dimensionless magnetic diffusivity. The ideal case sets it to zero.
The magnetic potential and the streamfunction supply the field and velocity in the same periodic plane.
The initial energy moves between magnetic and kinetic forms and accumulates in the two heat reservoirs. These normalized reservoirs do not determine a temperature.
A closed periodic island also diffuses at its O point. The difference needs both local electric fields.
Typical misconceptionA drawn magnetic line is a thread made of particles.
Better mental modelThe line is a contour describing the instantaneous field. A fluid element follows the velocity, which is a different vector field.
Typical misconceptionAn almost perfect energy sum proves that reconnection is resolved.
Better mental modelA retained low-grid ideal example conserves global quantities while changing flux at magnetic nulls incorrectly. Local induction and a finer grid must also agree.
Typical misconceptionThe dissipated-energy curve is the light curve of a solar flare.
Better mental modelCalculating emitted X-rays also needs density, thermodynamics, conduction, radiation and instrument response. The GOES tutorial analyzes measured band irradiance separately.
Watch the default state, then drag the gold probe across the bright current layer.
What to observe: The green arrows and probe values trace the calculated fluid velocity. The gold curve is the magnetic contour through the probe.Choose Ideal flow and inspect the two energy curves.
What to observe: Magnetic and fluid energy exchange while the dissipative reservoirs remain zero over the tested short interval.Compare Diffusion and Viscosity, returning to the same saved time in the advanced group.
What to observe: Diffusion acts on the magnetic field. Viscosity damps the fluid. Their different energy curves follow different solutions.Save JSON and the history CSV. Compare the selected time, field map, probe and energy values.
What to observe: They retain the same case and numerical state; normalized values need a specified physical length, field and density before solar units can be assigned.You are hereMagnetic Reconnection
Continue exploring
What do magnetic fields do in disks, jets and hot plasma, and what light do we see from them?
From magnetic stress to reconnection · Reading path
Articles on this path that use this experiment, followed by the other experiments they suggest.