Grad-Shafranov: flux surfaces

Magnetic field lines in a tokamak lie on nested flux surfaces. Hot plasma is only trapped where those surfaces are closed loops. Use the controls to find out what it takes to close them.

The physics

A plasma is stationary when the push of its pressure is balanced by the magnetic force: −∇p=J×B. Plotted here are representative magnetic field contours (not quite an equilibrium). In a donut-shaped machine (a tokamak) this turns into the Grad-Shafranov equation for a flux function Ψ:

R∂∂R (1R∂Ψ∂R) + ∂2Ψ∂Z2 = −μ0R2∂p∂Ψ −RBθ∂(RBθ)∂Ψ

Lines of constant Ψ are flux surfaces. Charged particles spiral along magnetic field lines, so they stay on their flux surface. To trap hot plasma we need closed surfaces: loops that never touch the wall. The plot is a slice through the donut: R is the distance from the central axis, Z is the height.

We use the solution ΨS=−μ0c1R48−c2Z2, where c1 = ∂p/∂Ψ and c2 = ¼ ∂(RBθ)²/∂Ψ, plus the field from external magnets, ΨV=c3R2.

Things to try