Skip to content
Projects

Trapped particles

Trapped particles in a tokamak: the fraction of trapped particles in a large-aspect-ratio tokamak, and how it grows towards the plasma edge.

On a flux surface of inverse aspect ratio ϵ=r/R\epsilon = r/R the magnetic field varies as B∝1/(1+ϵcos⁡θ)B \propto 1/(1 + \epsilon\cos\theta), and particles with small enough parallel velocity bounce between the high-field regions. The trapped fraction is about 1.46ϵ1.46\sqrt{\epsilon} for small ϵ\epsilon.

Trapped particles, figure 1
trapped_particles.py
import matplotlib.pyplot as plt
import numpy as np
from plasma_plots.theory import orbits
epsilon = np.linspace(0.01, 0.6, 100)
fig, ax = plt.subplots(figsize=(7, 4), layout="constrained")
ax.plot(epsilon, orbits.trapped_fraction(epsilon), lw=2, label="exact")
ax.plot(epsilon, 1.46 * np.sqrt(epsilon), "--", lw=1.5, label=r"$1.46\sqrt{\epsilon}$")
ax.set(
xlabel=r"inverse aspect ratio $\epsilon$",
ylabel="trapped fraction",
title="Trapped fraction",
)
ax.legend(frameon=False)
print(f"epsilon = 0.3: f_t = {orbits.trapped_fraction(0.3):.3f}")
plt.show()
Printed output
epsilon = 0.3: f_t = 0.723