Presets
Playback
Parameters
Model checks
The science
Mirror force and the magnetic moment
In a field that grows along the axis a gyrating particle feels F∥ = -μ dB/dz with magnetic moment μ = m v⊥² / (2B). While the field changes slowly over one gyro-orbit (ρ << L) the moment is an adiabatic invariant, so v⊥²/B stays constant and, with energy conservation, the particle turns round where B = B0 / sin²θ0, with θ0 the pitch angle at the centre.
Loss cone
If the mirror throat has Bmax = Rm B0, a particle escapes when sin²θ0 < 1/Rm. For an isotropic distribution the leaked fraction is 1 - √(1 - 1/Rm), so a mirror ratio of 3 leaks about 18 % and a ratio of 10 about 5 %. Collisions scatter the pitch angle and keep refilling the cone, so a real mirror leaks continuously.
The code integrates the full 3D Lorentz force with the Boris scheme in a parabolic on-axis profile B(z) = B0[1 + (Rm - 1)(z/L)²], with Br = -(r/2) dB/dz from div B = 0. Units are normalised (q B0/m = 1, speed = 1).
Honest simplifications: test particles only, with no plasma self-field, electric potential, or radial drifts of a real device; a particle is counted as lost when it crosses |z| = L; real machines also lose particles through drifts and instabilities, and the 3D page shows the apparatus as an illustrative reconstruction.
What to try
- Set the tracked pitch angle just below and just above the cone edge (the Cone edge and Just trapped presets) and see one particle escape and the other reflect.
- Raise the mirror ratio and watch the live leaked fraction follow the theory curve down.
- Turn on collisions: the loss cone refills and the confined number decays over time.
- Enlarge the launch radius to see finite-gyroradius corrections to the invariant.