Overview
plasmacoll collides charged markers with prescribed neutral gases by the null-collision Monte
Carlo method: the collision step of a particle-in-cell code, or of a homogeneous reactor in a
constant electric field. Around the operator it has the cross sections (tables and fits), their
rate coefficients over a Maxwellian or any electron distribution, a two-term Boltzmann solver
for the electrons of a gas mixture and the charge-state fractions of a fast beam, all from the
same CollisionProcess objects. Collisions never change the targets: the gas is an input.
Each equation on these pages is declared on the code that implements it, as a method card, and checked by the tests: 35 closed forms and fits against SymPy rules, seven discretisations against their order of convergence. The pages of the section list the cards module by module; this one shows how they fit together.
The collision step
Section titled “The collision step”Markers are positions, velocities and weights in NumPy or CuPy arrays; a product takes the position and weight of the incident marker.
- Neutral backgrounds: drifting Maxwellians with density and temperature profiles, from which each candidate draws a partner velocity.
- Cross sections tabulated against the centre-of-mass or the lab energy, linear between their points.
- Null-collision method: the frequency of every process, its bound over all speeds, and the step: a marker is a candidate with probability and then collides with process with probability :
collide
functionsourceCollide one species' markers for one time step dt (s).
- max speed
- probability
- selection
- rate
- Assumes
- at most one collision per marker and step, so ; warns once when exceeds
max_collision_probability(0.1) - with a NumPy generator the gaps between candidates are geometric, the same independent draw per marker at O(candidates); other generators draw one number per marker
- each candidate draws one neutral velocity per background and uniform in ; the real frequencies use the density factor where the marker is (exact thinning)
- candidates whose total frequency exceeds are counted in
bound_violationsand warned about once: their rate is too low - the largest temperature factor; eight thermal speeds leave about per component for a faster neutral
- at most one collision per marker and step, so ; warns once when exceeds
- References
- Vahedi and Surendra, Comput. Phys. Commun. 87, 179 (1995)00171-W)
- Skullerud, J. Phys. D 1, 1567 (1968)
- Built from
- Collision kinematics of each kind of process (elastic, excitation, ionization with its energy sharing, attachment, charge exchange, stripping, beam ionization…) in the centre-of-mass frame, with the scattering angles of the null-collision page.
- Merging and splitting keep the number of markers in bounds, conserving weight, momentum and energy; the zero-dimensional reactor adds a field and repeats the step.
Swarms, rates and beams
Section titled “Swarms, rates and beams”- Rate coefficients: over a Maxwellian of relative speeds, tabulated in log-log, and the rate over a tabulated electron energy distribution.
- Two-term Boltzmann solver: the steady electron energy distribution in a reduced field, with Scharfetter-Gummel fluxes and collision integrals that conserve the particles exactly, and from it the transport and rate coefficients:
solve_eedf
functionsourceReturn the steady electron energy distribution in a uniform DC field.
- boltzmann
- coefficients
- superelastic
- cross sections
- growth
- flux
- collisions
- kernel
- normalisation
- Order
- 2
- Assumes
- two-term expansion in a uniform DC field; the mole fractions from the mixture's densities; the density-weighted gas temperature unless given
- a state's fraction is its population times the fraction of its gas, its mass that of the gas
- excitation and dissociation move electrons down by (into the cell of ), superelastic collisions up (into the cell of , only from below the grid end, with evaluated from so that it stays finite at ); ionization replaces one electron by two sharing (equal: the cell of , twice; uniform and Opal: the kernel , whose columns sum to 2); attachment removes them: the columns of the operator sum to zero, so particles are conserved exactly
- uniform grid of =
num_cells(200) cells, at the centres; for , floored at ; no flux through and the grid end - collision integrals by 3-point Gauss-Legendre on the sub-intervals between the edges, table energies, threshold and the edges shifted by (by for superelastic, for equal sharing); the harmonic mean (van Leer) of the one-sided differences of , zero at an extremum, clipped to
- spatial growth: the gradient term split half and half to the cells next to each edge, the term diagonal
- the first row replaced by the normalisation; a dense solve per iteration, negative values clipped; iterated (damped when the error grows) until
rtol() - without
max_energythe grid end is adjusted (from 10 eV, at most 40 times, with temporal growth) until falls by 10 to 20 decades across the grid; spatial growth is then solved on that grid from the temporal solution - the gas temperature enters the inelastic terms only through the superelastic collisions of the populated levels; not included: electron-electron collisions, the continuous approximation for rotations (CAR), the frame correction of table energies; elastic processes with the momentum-transfer cross section (isotropic) only
- the order is that of the mean energy on a fixed grid (Reid's ramp model)
- References
- Hagelaar and Pitchford, Plasma Sources Sci. Technol. 14, 722 (2005)
- Scharfetter and Gummel, IEEE Trans. Electron Devices 16, 64 (1969)
- Reid, Aust. J. Phys. 32, 231 (1979)
- Built from
- Charge states of a fast beam along a path, by the matrix exponential of the transition matrices, and the same cross sections as Monte Carlo processes; beam in gas assembles them for a hydrogen or deuterium beam in H₂.
The fits are cards too, with their sources and ranges of validity:
H₂ and H⁻ (Janev, Reiter and Samm),
hydrogen atoms,
elastic e + H, H₂ (Park et al.),
secondary electrons of fast ions (Rudd),
surface yields (Vaughan),
Ar⁺ in argon (Phelps),
metals (Lotz), caesium,
fusion reactions (Bosch and Hale) with the reactivity of a fast
ion in a Maxwellian target, and vibrational populations. Electron-argon sets are LXCat
files the user downloads; the proton tables of proton_hydrogen_processes are inputs.
Units and conventions
Section titled “Units and conventions”Energies and temperatures () in eV, masses, speeds, densities and cross sections in SI (CODATA 2018; and exact), the reduced field in Td ( V m²). Electron cross sections are looked up at the electron’s energy with the target at rest (lab frame), ion-neutral ones mostly at the centre-of-mass energy; every process says which. is normalised by .
Not in the model
Section titled “Not in the model”- Coulomb collisions, recombination, and collisions between two tracked species (except a
tracked species as the target of a
DynamicProfile, which the collisions do not change). - More than one collision per marker and step; products collide from the next step on.
- The energy and momentum of untracked partners: detachment fragments, the ion recoil in electron-impact ionization, the recoils in beam ionization, the binding energies in stripping.
- Gas depletion and heating: the consumed neutrals are reported, nothing is solved for the gas.
- In the Boltzmann solver: multi-term corrections, time dependence, electron-electron collisions, the continuous approximation for rotations (rotational levels are taken one by one), and superelastic collisions in the Monte Carlo collisions.
- Vibrational kinetics: the populations are a prescribed Boltzmann distribution.
- Data: the beam-gas placeholders, deuterium from hydrogen at equal speed, the capture fit above 200 keV, Park’s momentum transfer above a few hundred eV, Lotz without the deeper subshells.
Verification
Section titled “Verification”Besides the checks of the cards, the tests compare the collided fraction with , the relaxation of ions and electrons with closed forms of Maxwell molecules (temperature, drift velocity, Wannier’s energy), the Boltzmann solver with the Maxwellian and Druyvesteyn distributions, Reid’s and the Lucas-Saelee model gases and BOLOS, the charge-state fractions and the beam markers with each other, and the fits with the values printed in their sources.