Skip to content
Projects

Relaxation

Download notebookView on GitHubRun when the site was built.

Ions that collide with a neutral gas forget their drift and their temperature. Maxwell-molecule cross sections make the relaxation rates closed-form, which tests the collision kinematics directly.

For Maxwell molecules, σ=K/g\sigma = K/g, the collision frequency ν=nK\nu = nK does not depend on speed, and the moments relax with closed-form rates.

For isotropic elastic scattering of a particle of mass mm on a neutral of mass MM, averaging the energy after a collision over the scattering angle and the neutral’s velocity gives

d⟨E⟩dt=−2mM(m+M)2 ν (⟨E⟩−32kTg).\frac{d\langle E\rangle}{dt} = -\frac{2mM}{(m+M)^2}\,\nu\, \left(\langle E\rangle - \tfrac32 k T_g\right).

Energy relaxes fastest for equal masses, at rate ν/2\nu/2, and slowly for very different masses. Resonant charge exchange (backscatter) hands the ion the neutral’s velocity, so the collided fraction is exactly thermal.

import numpy as np
import plasmacoll
from plasmacoll.constants import ATOMIC_MASS, ELEMENTARY_CHARGE, kelvin_to_ev
M = 4 * ATOMIC_MASS # the neutral gas
density, K = 1e20, 1e-15 # nu = n K = 1e5 /s
nu = density * K
T_gas = kelvin_to_ev(300.0) # kT in eV
gas = plasmacoll.NeutralBackground("gas", density, T_gas, M)
def reactor(kind, mass, temperature, drift=(0.0, 0.0, 0.0), seed=0):
reduced_mass = mass * M / (mass + M)
process = plasmacoll.CollisionProcess(
kind, "gas", plasmacoll.CrossSection.maxwell_molecule(K, reduced_mass)
)
mcc = plasmacoll.MonteCarloCollisions(
{"ion": mass}, [gas], {"ion": [process]}, seed=seed
)
ions = plasmacoll.ParticleArrays.maxwellian(
100_000, mass, temperature, drift=drift, seed=seed + 1
)
return plasmacoll.ZeroDReactor(mcc, {"ion": ions})

Elastic scattering: the mass ratio sets the rate

Section titled “Elastic scattering: the mass ratio sets the rate”

Three ion masses start hot in a 300 K gas. Points are the simulation and dashed lines the formula above. The rate is symmetric in m↔Mm \leftrightarrow M: an ion ten times lighter than the gas relaxes as slowly as one ten times heavier.

dt = 0.02 / nu
E_gas = 1.5 * T_gas
with pp.figure(
title="Elastic relaxation, Maxwell molecules (dashed: closed form)"
) as fig:
ax = fig[0]
for index, ratio in enumerate((1.0, 0.25, 0.05)):
mass = ratio * M
history = reactor("elastic", mass, temperature=kelvin_to_ev(3000.0)).run(
dt, 400, every=10
)
t, energy = history.time * nu, history.mean_energy_ev["ion"]
rate = 2 * mass * M / (mass + M) ** 2
expected = E_gas + (energy[0] - E_gas) * np.exp(-rate * t)
ax.plot(t, energy, "o", color=f"C{index}", label=f"$m/M$ = {ratio:g}")
ax.plot(t, expected, "--", color=f"C{index}", linewidth=1.5)
ax.axhline(E_gas, color="0.4", linewidth=1)
ax.annotate(
"3/2 kT of the gas",
(0, E_gas),
xytext=(0, 4),
textcoords="offset points",
color="0.4",
)
ax.set_xlabel(r"time $\nu t$")
ax.set_ylabel(r"mean ion energy $\langle E \rangle$ [eV]")
ax.legend()
Loading figure…

With resonant charge exchange the fraction f=e−νtf = e^{-\nu t} of ions that have not collided keeps the initial drift u0u_0 and temperature T0T_0, and the rest is at the gas temperature. The kinetic temperature about the mean velocity of this two-population mix is

T=Tg+(T0−Tg)f+Mu023kf(1−f),T = T_g + (T_0 - T_g) f + \frac{M u_0^2}{3k} f (1-f),

which first rises as the beam and the thermalized ions separate in velocity.

u0, T0 = 2000.0, kelvin_to_ev(3000.0)
history = reactor("backscatter", M, T0, drift=(u0, 0.0, 0.0), seed=4).run(
dt, 250, every=10
)
t = history.time * nu
f = np.exp(-t)
expected = T_gas + (T0 - T_gas) * f + M * u0**2 * f * (1 - f) / (3 * ELEMENTARY_CHARGE)
with pp.figure(title="Resonant charge exchange of a drifting ion beam") as fig:
ax = fig[0]
ax.plot(t, history.temperature["ion"], "o", color="C0", label="simulation")
ax.plot(t, expected, "--", color="k", linewidth=1.5, label="two-population formula")
ax.set_xlabel(r"time $\nu t$")
ax.set_ylabel("ion temperature $T$ [eV]")
ax.legend()
Loading figure…

The match holds to within a percent or two at νΔt=0.02\nu\Delta t = 0.02. The remaining difference is the time-step error discussed in Ionization and attachment.