plasmacoll
Install from PyPI with
pip install plasmacollNull-collision Monte Carlo collisions (MCC) of charged particles with neutral gases: the collision step of a particle-in-cell code, or, with ZeroDReactor, a homogeneous reactor for testing cross-section sets.
- Processes: elastic, charge exchange, excitation, ionization, attachment, detachment, dissociation and more, with isotropic or forward-peaked scattering.
- Cross sections from text tables, LXCat files or functions.
- Plain arrays: markers are positions, velocities and weights, and cunumpy runs the same code on CPU (NumPy) or GPU (CuPy).
- Validated against the closed-form relaxation, growth and decay rates of Maxwell-molecule gases and swarm drift in a field.
You can find the documentation and tutorials here.
Links:
From the documentation
- Electron, H₂⁺ and H⁻ densities in a 0D reactor against the analytic growth rate
- Elastic relaxation of Maxwell molecules against the closed form
- Inelastic collisions deplete the electron energy distribution above threshold
- Boltzmann populations of the vibrational levels of H₂
- Drift velocity and mean energy of an electron swarm in a field