demoAIPlasma physics
Landau damping from the root of the dispersion relation
A Langmuir wave in a collisionless plasma still decays: electrons moving near its phase velocity take energy from it. Newton's method on the kinetic dispersion relation, with the plasma dispersion function from lib/zfunc, puts the least-damped root at at (in units of ), matching a 30-digit mpmath root to . The usual small- damping formula is 1.3% off there and 59% off at .
Open in the workbenchDownload .vivOutputs below are from the site build’s run; Run all runs it again in your browser.
Look inside this program
- Atlas
The program’s map: every function and which calls which.
There’s no recorded run of this program yet.
A Langmuir wave is an oscillation of the electrons in a plasma against the ions, at about the plasma frequency . In a plasma with no collisions at all it still decays. Electrons moving a little slower than the wave are pushed forward by it and take energy; electrons moving a little faster are held back and give energy. In a Maxwellian distribution the slower ones outnumber the faster ones at any speed above the mean, so the wave loses. This is Landau damping (Landau, 1946).
The rate comes out of the kinetic dispersion relation. For a Maxwellian with thermal speed and Debye length , a wave exists when
where is the plasma dispersion function. Its roots are complex,
, and is the damping rate. comes from
lib/zfunc, which computes it by Weideman's rational expansion and is tested
there against scipy.special.wofz. Units: , so
means . posts/refs/landau_root.py finds the same roots with scipy and
with mpmath at 30 digits.
The root at
A good starting guess is the Bohm-Gross frequency , the fluid-theory answer, on the real axis. From there Newton's method moves the guess down into the lower half plane. The cell runs 30 steps; the step size is at the level of rounding after six.
Printed
Tests 3 of 3 pass
- at k lambda_D = 0.5 the root is 1.4156618886045364 - 0.15335946690960483 i (mpmath, 30 digits) (passes)
- scipy.optimize.newton with scipy.special.wofz finds the same root to 1e-12 (passes)
- the wave's phase velocity is 2.83 thermal speeds, out in the tail of the Maxwellian (passes)
Where the roots are
The dispersion relation has more than one root. The heatmap shows over part of the complex plane at ; roots are the dark points. The one found above is the highest, the least damped, and it is the one a wave settles into. The others lie deeper below the axis and die out faster: Newton's method started at the next dark point, near , converges to , which decays 7.5 times faster than the first. Re is across and Im up.
Printed
Tests 1 of 1 pass
- the next root, 1.7895705949216291 - 1.1441430104277659 i (mpmath), is damped 7.5 times faster (passes)
Against the small- formula
For long waves, , the phase velocity is far out in the tail and the damping can be expanded. The usual result is
The cell follows the root from to , each Newton solve starting from the previous root. At the formula gives against the exact , 1.3% low. That agreement is an accident of where the error changes sign: at the formula gives against , 59% too high, and at it is still 18% high. The real part is above Bohm-Gross by 0.5% at and by 7% at .
Printed
Tests 4 of 4 pass
- along the curve the roots at k = 0.2, 0.3, 0.5 are the mpmath roots to 1e-11 (passes)
- the small-k formula is 1.3% low at k = 0.5, 59% high at 0.3 and 18% high at 0.2 (passes)
- the small-k formula gives 0.1514 at k = 0.5 and 0.0200 at k = 0.3 (passes)
- Re omega exceeds Bohm-Gross by 0.54% at k = 0.2 and 7.0% at k = 0.5 (passes)
The wave itself
The root says how fast a wave decays; the last cell watches one decay. It solves the linearized Vlasov equation for one Fourier mode, at , on 512 velocities from to :
from a density bump , by fourth-order Runge-Kutta with . Nothing in it knows about or the root. The field oscillates and its peaks fall on a straight line in ; the slope of that line is the measured damping rate, and the spacing of the peaks, half a period, gives the frequency. Both are compared with the root above.
Printed
Tests 1 of 1 pass
- the measured damping rate and frequency are the root's within 1e-4, relative (passes)