This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · posts/landau-damping-from-the-dispersion-relation

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 .

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.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 32–56

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.

[2]lines 67–85

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.

[3]lines 99–127

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 .

[4]lines 144–218

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.

[5]lines 237–352