Collision processes
A CollisionProcess names its kind, the background it collides with and its
cross_section. All kinematics are evaluated with a neutral partner drawn from the background’s
Maxwellian, in the centre-of-mass frame where that matters. is the incident mass, the
neutral mass, the reduced mass, the centre-of-mass velocity,
the neutral’s velocity and the relative velocity. “Scattered” means
isotropically, or with the process’s scattering model.
| Kind | Reaction | What happens | Product roles |
|---|---|---|---|
elastic | scattered, kept | none | |
backscatter | reversed: for equal masses the ion leaves with the neutral’s velocity | optional neutral | |
excitation | scattered, reduced by the energy loss | none | |
dissociation | as excitation | optional fragment | |
ionization | shared by the two electrons, both scattered in the neutral frame; ion at | electron, ion | |
dissociative_ionization | as ionization | electron, ion, optional fragment | |
attachment | electron removed, negative ion created at | negative_ion | |
dissociative_attachment | as attachment | negative_ion, optional fragment | |
detachment | negative ion removed, electron emitted isotropically about with | electron | |
charge_transfer | incident removed; with an ion product, created at | optional ion, neutral | |
stripping | incident moved to the projectile species at its own velocity; electrons at that velocity, ion at | projectile, optional electron, ion | |
beam_ionization | fast projectile keeps its velocity; ion at ; electron isotropic about , energy of width sharing_energy up to | ion, optional electron |
products maps each role to a species name, for example
{"electron": "e", "ion": "Ar+"}. Every species involved needs a mass in species_masses.
Products take the position and the weight of the incident marker, which conserves charge and
particle number marker by marker, so markers may carry any weight. A code with one fixed weight
per species must give species that exchange particles the same weight. To keep the number of
markers in check, see marker weights.
Tracking neutrals
Section titled “Tracking neutrals”Neutrals are a prescribed background, not markers, but the fast neutrals of charge exchange and the fragments of dissociation can be kept as a species of their own:
neutral(backscatter,charge_transfer): the fast neutral, with the incident ion’s velocity before the collision.fragment(the dissociative kinds): one neutral fragment at the neutral’s velocity.
Without a species for these roles they are dropped. Those species usually have no processes of their own and only receive products.
Energy loss and sharing
Section titled “Energy loss and sharing”Excitation, dissociation, ionization and detachment lose energy_loss (eV), which defaults to
the threshold of the cross section. Ionization shares the residual energy between the
primary and the secondary electron:
energy_sharing="equal"(default): half each."uniform": a uniformly distributed fraction."opal": the secondary energy drawn from the Opal–Peterson–Beaty distribution , withsharing_energy=win eV (about 10 eV for argon, 8.3 eV for H₂). This is the usual choice for electron swarms and discharges: most secondaries are slow.
If the incident species is not the product electron (ion impact, ), the electron takes its share of the centre-of-mass energy and is emitted isotropically from , and incident and target ion separate along the incident direction with the rest.
Scattering models
Section titled “Scattering models”scattering sets the angular distribution of elastic, excitation, dissociation and ionization
collisions about the incident direction:
"isotropic"(default)."vahedi_surendra": with in eV and uniform (Vahedi and Surendra, Comput. Phys. Commun. 87, 179 (1995))."okhrimovskyy": with and the energy in Hartree (Okhrimovskyy et al., Phys. Rev. E 65, 037402 (2002)).
Both are screened-Coulomb forms for electrons: isotropic at low energy and forward-peaked above a
few eV. They change which cross section belongs in the elastic process. With isotropic
scattering it must be the momentum-transfer cross section, so that momentum relaxes at the
right rate; with an anisotropic model it must be the integral elastic cross section. Ionized
electrons are scattered with their own energies after the collision.
plasmacoll.scattering_cosine(model, energy, uniform) evaluates the models directly.
Energy frames
Section titled “Energy frames”energy_frame selects the energy the cross section is looked up at:
"center_of_mass"(default): . Use it for ion-neutral data given in the centre-of-mass frame."lab": , the incident particle’s energy in the rest frame of the target. This is the convention of electron cross-section compilations such as LXCat, and of most ion-beam data.
For electrons the two agree to . For ions on a gas of similar mass they differ by a factor , so pick the one the data was tabulated in.
Marker weights
Section titled “Marker weights”Every ionization doubles a marker, and attachment and charge transfer remove them, so the number
of markers drifts away from what a run can afford. plasmacoll.population controls it on any
marker container:
merge_markers(markers, target, cell_size=None)groups markers in the same spatial cell and velocity octant by speed and replaces every group of three or more by two markers that keep the group’s weight, momentum and kinetic energy exactly (Vranic et al., Comput. Phys. Commun. 191, 65 (2015)).split_markers(markers, max_weight)divides markers heavier thanmax_weightinto equal copies.
ZeroDReactor(..., max_markers=N) merges a species down to markers whenever it exceeds .
Process sets for hydrogen
Section titled “Process sets for hydrogen”plasmacoll.proton_hydrogen_processes returns the six processes of a test-particle model for protons
in negative-ion sources: momentum transfer with H and H₂, charge exchange with H (backscatter) and
H₂ (charge transfer), and rotational and vibrational excitation of H₂. It takes the cross-section
tables as input. See negative-ion sources.
Process sets for argon
Section titled “Process sets for argon”plasmacoll.argon_electron_processes(lxcat_file) turns a downloaded LXCat argon set into elastic,
excitation and ionization processes, and plasmacoll.argon_ion_processes() returns Phelps’
isotropic and backscatter Ar⁺ + Ar processes. See argon and metals.
Charge changes of a fast beam
Section titled “Charge changes of a fast beam”A fast beam of negative ions, atoms and positive ions changes charge state on a gas or a plasma:
single stripping , double stripping , ionization and electron
capture . ChargeStateTransitions holds their cross sections per target, and
charge_state_fractions(transitions, {target: line_density}) integrates the fractions of each
state along a path. The stripping kind does the same marker by marker: the incident marker moves
to the species of its new state with its own velocity (the momentum transfer and the binding
energies are negligible at beam energies), the released electrons, charge_change of them per
event as one marker of that weight, move with the projectile’s velocity, and a capture can leave
the ionized target behind at the neutral’s velocity. Momentum is conserved exactly when the
incident mass is the product’s plus the electrons’. detachment, in contrast, is for thermal
negative ions: it drops the atom and emits the electron isotropically.
stripping_processes builds the processes from the same ChargeStateTransitions, so the markers
follow the fractions on average:
transitions = plasmacoll.ChargeStateTransitions( { "H2": { ("-", "0"): 1.2e-20, ("-", "+"): 1.5e-21, ("0", "+"): 6e-21, ("+", "0"): 1e-21, } })processes = plasmacoll.stripping_processes( transitions, {"-": "H-", "0": "H", "+": "H+"}, electron="e", # track the stripped electrons ions={"H2": "H2+"}, # and the ions a capture leaves behind)Each transition becomes a process "<from>-><to>:<target>" of the species of its initial
state on the background named like the target (or as given in backgrounds), with the constant
cross section looked up in the lab frame. Its collision frequency equals the
fractions’ where the beam is much faster than the target particles. The cross
sections are inputs: the beam stripping data of hydrogen and deuterium (the ORNL “Redbook”,
IAEA/ALADDIN) are not shipped.
A beam in the gas of its beam line
Section titled “A beam in the gas of its beam line”hydrogen_beam_on_h2() collects the reactions of a hydrogen (or, at the same speed, deuterium)
beam with H₂ against the projectile’s energy: the H⁻ stripping and the H⁺ capture from Janev,
Reiter and Samm (2003, eqs. (159) and (144)–(145)), the ionization of the gas by protons from
Rudd’s model, and labelled placeholders for the rest (double stripping, the stripping of the
neutrals, the ionization by H and H⁻). reactions.placeholders lists them. The ionization of the
gas, the source of the backstreaming ions of an accelerator, is the beam_ionization kind: the
projectile keeps its velocity, the slow ion and electron are new markers.
reactions = plasmacoll.hydrogen_beam_on_h2(max_energy=1.2e6)reactions.transitions(1.0e5) # ChargeStateTransitions at 100 keV, for the fractionsreactions.ionization(1.0e5) # {"H2": {state: sigma}}processes = reactions.processes( {"-": "H-", "0": "H", "+": "H+"}, {"H2": "gas"}, # the background of the target electron="e", ions={"H2": "H2+"},)The gas along the beam is a NeutralBackground with a DensityProfile along the beam axis.
Out of scope
Section titled “Out of scope”The targets of the Monte Carlo collisions are always neutral gases. Binary Coulomb
collisions between charged species (electron–electron, electron–ion, ion–ion) are a
separate operator, plasmacoll.coulomb (Takizuka–Abe pairing with Nanbu or Takizuka–Abe
scattering; see the Coulomb collisions example). Recombination and mutual neutralization
are not part of plasmacoll.