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/trapped-electron-bounce-period

The bounce period of an electron trapped in a plasma wave

In the frame of a large-amplitude plasma wave, an electron near the wave's phase velocity moves like a pendulum. Released 0.1 radian from the bottom of a trough, it takes time units to bounce back, which is from the complete elliptic integral, and to six digits. Electrons with speed below at the trough stay in it; faster ones pass over the crests.

Landau damping is the linear theory of a wave losing energy to the electrons that move at nearly its phase velocity. It assumes the wave is small enough that those electrons go straight through it. O'Neil (Phys. Fluids 8, 2255,

  1. asked what happens when the wave is large: the resonant electrons are

caught in its potential troughs and bounce back and forth there, and the damping stops after about one bounce. The time scale of that nonlinear stage is the bounce period, and this post computes it.

In the frame moving with the wave, the potential is static, , and an electron obeys . That is the pendulum equation. In units with it reads , and small oscillations about the bottom of a trough have the bounce frequency .

The program integrates the equation with velocity Verlet and measures the period. The references are a closed form, the complete elliptic integral , which the program computes with the arithmetic-geometric mean, and posts/refs/trapped-electron-bounce-period.py, which gets from scipy's ellipk and the period from scipy's solve_ivp without either of the program's methods.

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 35–77

The period at

A pendulum released from rest at angle has the period

where . For a small release angle the series gives : the period grows with amplitude because the restoring force is weaker than .

At and the elliptic integral gives , and is short by , the size of the next term. The Verlet run lands within of the elliptic value: its phase error is of a period, and the test allows twice that.

[2]lines 100–130

A deeper trough bounces faster

The only frequency in the problem is , so quadrupling the wave amplitude halves the bounce period at the same release angle. The program runs with the time step halved, which keeps the same, and the period comes out half of the period to rounding.

[3]lines 142–147

At large amplitude the period diverges at the separatrix

An electron released at rest near the crest, , takes longer and longer to start moving, and grows like as . The first figure puts the Verlet periods beside at six release angles; the program checks each against the elliptic integral, and the reference script checks against solve_ivp at the same angles.

[4]lines 160–189

Trapped and passing electrons

The energy is conserved. An electron at the bottom of a trough () with speed reaches the crest (, where the potential energy is ) only if , that is . The curve , , is the separatrix: inside it electrons are trapped and bounce, outside they stream past the crests. The trapped band is wide in velocity, and it is the electrons in this band that O'Neil's theory follows.

The program finds the boundary without using the energy: it launches electrons from the trough, marks an electron as passing when it gets past , and bisects on . The boundary comes out at to the bisection's tolerance.

[5]lines 209–295