PlasmaWaves.jl

PlasmaWaves.jlPlasma Wave Theory, Confirmation & Visual Demos

Analytical plasma wave physics, Symbolics.jl derivations, PlasmaBO.jl kinetic confirmation, and Makie figures & MP4 animations.

PlasmaWaves.jl​#

PlasmaWaves.jl combines analytical plasma wave theory, symbolic mathematical derivations (Symbolics.jl + Latexify.jl), kinetic numerical dispersion confirmation (PlasmaBO.jl + PlasmaDispersionBase.jl + PlasmaPopulations.jl), and Makie.jl figures, MP4 wave animations, and local Bonito.jl interactive apps.

Companion Lecture Notes

For full step-by-step physical derivations, historical context, and observational discussions, see the companion KeyNotes Plasma Physics Chapters. This site serves as the interactive computational & visual laboratory.

Wave Regimes Covered​#

RegimeWave Modes & PhysicsPage
Ideal MHDShear Alfvén (SAW), Circularly Polarized Alfvén (CPAW), Fast & Slow Magnetosonic, Friedrich phase & group diagrams, SAW phase mixingMHD & Alfvén Waves
Cold Plasma & Hall-MHDStix dielectric tensor \((R, L, P, S, D)\), Whistler / EMIC, O/X modes, Upper & Lower Hybrid, Faraday rotation, CMA diagramCold Plasma & Whistlers
Dispersive AlfvénKinetic Alfvén Wave (KAW: Bessel & two-fluid Padé), Inertial Alfvén Wave (IAW), finite \(E_\parallel\) & electron trappingKinetic & Inertial Alfvén
Kinetic / VlasovPlasma dispersion function \(Z(\zeta)\), Langmuir / Bohm-Gross + Landau damping, Ion-Acoustic wave (\(T_e/T_i\) damping), Bernstein wavesKinetic, Landau & Bernstein
Kinetic ConfirmationTracked branch comparisons of analytical dispersion against PlasmaBO.jl (BOHH)Theory vs. PlasmaBO
Symbolic DerivationsSymbolic determinants, group velocities, and LaTeX exportSymbolic Derivations

Quick Start​#

julia
using PlasmaWaves

# Create a normalized proton-electron plasma (v_A = 1, Ω_i = 1, d_i = 1)
p = normalized_plasma(; β_i = 0.2, β_e = 0.2)

# Ideal MHD & Transport Ratios
fast = fast_magnetosonic_wave(p, 1.0, π / 3)
slow = slow_magnetosonic_wave(p, 1.0, π / 3)
@show magnetic_compressibility(fast) alfven_ratio(slow)

# Confirm textbook theory against full kinetic PlasmaBO.jl
comp = confirm_alfven()