Skip to content
Projects

plasma_plots.theory

Analytic theory to compare Struphy runs against.

Dispersion relations, plasma parameters, orbits, exact solutions and the properties of the numerical schemes.

Everything here is plain numpy (no scipy) and independent of Struphy. The modules:

  • special: the Faddeeva and plasma dispersion functions, complete elliptic integrals, Bessel functions.
  • parameters: plasma frequencies, lengths, speeds and dimensionless numbers, in SI units.
  • kinetic: kinetic dispersion relations: Langmuir waves and Landau damping, ion-acoustic waves, beam-plasma, bump-on-tail and two-stream instabilities, Weibel, electron cyclotron drift instability.
  • waves: fluid, MHD and cold-plasma waves: light waves, MHD waves at any angle, dissipative and Hall-MHD Alfvén waves, cold-plasma (Stix) waves, cutoffs and resonances, Faraday rotation, cavity modes, drift waves and Hasegawa–Wakatani, Alfvén and slow continua and the TAE frequency.
  • orbits: gyromotion, guiding-center drifts, trapped particles, bounce frequencies and banana widths in a large-aspect-ratio tokamak.
  • beams: charged-particle beams: perveance, Child–Langmuir extraction through an aperture, KV envelopes, beam divergence, aperture lenses and beam attenuation.
  • magnetron: crossed-field discharges: Hull cutoff, Brillouin flow, Hall parameter, critical ionisation velocity, Simon–Hoh, gradient-drift and lower-hybrid drift modes.
  • exact: exact solutions to verify simulations: the Riemann problem of gas dynamics (with vacuum), dam break, diffusion, advection, pressureless flow and its caustics.
  • equilibria: exact MHD equilibria to verify MHD codes: the Harris current sheet, the Bennett pinch, the Solov’ev tokamak equilibrium (Cerfon–Freidberg shapes, safety factor on the axis), and linear force-free (Lundquist) fields with the Taylor state.
  • numerics: accuracy of the numerics: amplification and phase errors of time integrators, and the numerical dispersion of spline finite elements.
  • sheaths: Bohm sheaths and floating potentials, Child–Langmuir and Langmuir–Blodgett space-charge-limited flow, OML probes, ambipolar and Bohm diffusion, Paschen breakdown and mean free paths.
  • collisions: Coulomb logarithm, collision rates, Spitzer resistivity, and the slowing down of fast ions (slowing-down time, critical energy, energy loss rates).
  • negative_ions: H⁻ sources: detachment and mutual-neutralization cross sections and thermal rates (Janev et al.), the electronegative Debye length and Bohm speed, H⁻ beam survival in gas and the current from surface production.

Examples

The Landau damping of a Langmuir wave at k λ_D = 0.5, against a Vlasov–Ampère run’s measured frequency and damping rate:

>>> from plasma_plots.theory import kinetic
>>> omega = kinetic.langmuir(0.5)
>>> round(omega.real, 4), round(omega.imag, 4)
(1.4157, -0.1534)

Modules

  • beamsCharged-particle beams: perveance, ion optics, beam envelopes and beam–gas processes, in SI units.
  • collisionsCoulomb collisions in SI units: the Coulomb logarithm, collision rates, Spitzer resistivity and
  • equilibriaExact MHD equilibria to verify MHD codes: the Harris current sheet, the Bennett pinch, the
  • exactExact solutions to verify simulations: the Riemann problem of gas dynamics (with vacuum), the
  • kineticKinetic dispersion relations of unmagnetized plasmas: Langmuir waves and Landau damping,
  • magnetronCrossed-field (magnetron) discharges: Hull cutoff, Brillouin flow, drifts and gradient-drift modes.
  • negative_ionsNegative hydrogen ions (H⁻): destruction processes, electronegative plasma and beam survival, in SI units.
  • numericsAccuracy of the numerics: amplification and phase errors of time integrators, and the numerical
  • orbitsCharged-particle orbits: gyromotion, guiding-center drifts and trapped particles in a tokamak.
  • parametersPlasma parameters in SI units: frequencies, lengths, speeds and Struphy's units.
  • sheathsSheaths, space-charge-limited flow, probes and low-pressure discharges, in SI units.
  • specialSpecial functions of plasma theory: the Faddeeva function, the plasma dispersion function and
  • wavesFluid, MHD and cold-plasma waves: light waves, MHD waves at any angle, dissipative and Hall-MHD