Skip to content
Projects

plasma_plots.theory.negative_ions

Negative hydrogen ions (H⁻): destruction processes, electronegative plasma and beam survival, in SI units.

Densities are in m⁻³, temperatures and energies in eV (k_B T / e), cross sections in m², rate coefficients in m³/s, frequencies in 1/s and speeds in m/s, as in parameters, which this module reuses together with sheaths and beams.

Examples

The Maxwellian rate coefficients of the two main plasma losses of H⁻ at T_e = 1 eV, and the fraction of a 50 keV H⁻ beam that survives 0.5 m of 0.01 Pa H₂ gas:

>>> print(f"{electron_detachment_rate_coefficient(1.0):.3e} m^3/s")
1.472e-14 m^3/s
>>> print(f"{mutual_neutralization_rate_coefficient(1.0):.3e} m^3/s")
6.092e-14 m^3/s
>>> print(f"{beam_survival_fraction(50e3, h2_density=2.4e18, length=0.5):.4f}")
0.9450

Attributes

NameDescription
DETACHMENT_THRESHOLDNo description.

Functions

NameDescription
beam_survival_fractionCompute the fraction of an H⁻ beam that is not stripped by H₂ and H gas on its path.
bohm_speed_electronegativeCompute the Bohm speed of an electronegative plasma, u_B = √(T_e (1 + α_s) / (m_i (1 + γ α_s))).
debye_length_electronegativeCompute the Debye length of an electron–H⁻–H⁺ plasma, 1/λ_D² = Σ_s 1/λ_s².
destruction_frequenciesCompute the loss frequencies ν = n <σ v> of an H⁻ ion in a hydrogen plasma, per channel.
electron_detachment_cross_sectionCompute the cross section of electron-impact detachment, e + H⁻ → e + H + e.
electron_detachment_rate_coefficientCompute the rate coefficient of e + H⁻ → e + H + e for Maxwellian electrons.
h2_detachment_cross_sectionCompute the cross section of H⁻ + H₂(v = 0) → H + H₂ + e, the stripping of an H⁻ beam on H₂.
hydrogen_detachment_cross_sectionCompute the cross section of H⁻ + H(1s) detachment, to H + H + e or to H₂ + e.
ion_flux_electronegativeCompute the positive-ion flux Γ₊ = n₊ u_B = (1 + α_s) n_e u_B at the sheath edge.
maxwellian_rate_coefficientCompute the rate coefficient <σ v> of a cross section σ(E) averaged over two Maxwellians.
mutual_neutralization_cross_sectionCompute the cross section of mutual neutralization, H⁺ + H⁻ → H(n) + H(1s), n = 2, 3.
mutual_neutralization_rate_coefficientCompute the thermal rate coefficient of H⁺ + H⁻ → H(n) + H for Maxwellian ions.
sheath_edge_electronegativityCompute α_s = n₋/n_e at the sheath edge for Boltzmann electrons and negative ions.
surface_production_currentCompute the extractable H⁻ current I = e Y Γ S A from a surface-production flux.

DETACHMENT_THRESHOLDattributemodule attribute#

DETACHMENT_THRESHOLD = 0.754

beam_survival_fractionfunction#

def beam_survival_fraction(energy, h2_density=0.0, length=None, atom_density=0.0, positions=None, axis=-1)

Compute the fraction of an H⁻ beam that is not stripped by H₂ and H gas on its path.

The product of two neutral_beam_attenuation(): the H₂ loss by h2_detachment_cross_section() at the laboratory energy E of the beam and the H loss by hydrogen_detachment_cross_section() (both channels) at the relative energy E/2.

Parameters

NameTypeDefaultDescription
energyfloat or array_likerequiredLaboratory energy of the H⁻, in eV.
h2_densityfloat or array_like0.0H₂ density, in m⁻³. Default: 0.
lengthfloat or array_likeNonePath length in m for constant densities; or give positions instead.
atom_densityfloat or array_like0.0H density, in m⁻³. Default: 0.
positionsNoneSee neutral_beam_attenuation().
axisNoneSee neutral_beam_attenuation().

Returns

float or numpy.ndarray
The surviving fraction of the beam. The H atom channel uses the 0.1 eV – 20 keV fit range, i.e. up to 40 keV beams.

Examples

50 keV, 0.5 m of H₂ at 2.4e18 m⁻³ (about 0.01 Pa):

>>> print(f"{beam_survival_fraction(50e3, h2_density=2.4e18, length=0.5):.4f}")
0.9450

bohm_speed_electronegativefunction#

def bohm_speed_electronegative(electron_temperature, electronegativity, negative_ion_temperature, mass_number=1)

Compute the Bohm speed of an electronegative plasma, u_B = √(T_e (1 + α_s) / (m_i (1 + γ α_s))).

The Braithwaite–Allen criterion for cold positive ions and Boltzmann negative ions, with α_s = n₋/n_e at the sheath edge and γ = T_e/T₋: the electropositive bohm_speed() times √((1 + α_s)/(1 + γ α_s)). For γ > 1 the ions need less than the electropositive speed. For γ > 5 + √24 ≈ 9.9 the sheath-edge condition becomes multi-valued in the potential, and Braithwaite and Allen take the lower branch (the speed here is the criterion at a given α_s, not that selection).

Parameters

NameTypeDefaultDescription
electron_temperaturefloat or array_likerequiredT_e, in eV.
electronegativityfloat or array_likerequiredα_s = n₋/n_e at the sheath edge (see sheath_edge_electronegativity()).
negative_ion_temperaturefloat or array_likerequiredT₋, in eV.
mass_numberfloat or array_like1Positive-ion mass in proton masses. Default: 1.

Returns

float or numpy.ndarray
u_B, in m/s. At α_s = 0 it is sheaths.bohm_speed(T_e).

Examples

5 eV electrons, α_s = 1 and H⁻ at 1 eV (γ = 5):

>>> print(f"{bohm_speed_electronegative(5.0, 1.0, 1.0):.4g} m/s")
1.264e+04 m/s

debye_length_electronegativefunction#

def debye_length_electronegative(electron_density, electron_temperature, electronegativity, negative_ion_temperature, positive_ion_temperature=None)

Compute the Debye length of an electron–H⁻–H⁺ plasma, 1/λ_D² = Σ_s 1/λ_s².

Each Boltzmann species shields with its own length, λ_s² = ε₀ T_s / (n_s e²) (see debye_length()). With n₋ = α n_e and n₊ = (1 + α) n_e,

1/λ_D² = e² n_e / ε₀ · [1/T_e + α/T₋ + (1 + α)/T₊],

from linearising Poisson’s equation for Boltzmann electrons, negative and positive ions. For α → 0 and cold-ion shielding dropped (the default) λ_D is the electron Debye length.

Parameters

NameTypeDefaultDescription
electron_densityfloat or array_likerequiredn_e, in m⁻³.
electron_temperaturefloat or array_likerequiredT_e, in eV.
electronegativityfloat or array_likerequiredα = n₋ / n_e.
negative_ion_temperaturefloat or array_likerequiredT₋, in eV.
positive_ion_temperaturefloat or array_likeNoneT₊, in eV. Default: None: the positive ions do not shield (hot ions), leaving the electrons and the H⁻. Pass T₊ to include them.

Returns

float or numpy.ndarray
λ_D, in m. For T₊ = T₋ = T_e it is λ_e / √(2 + 2α).

Examples

1e18 m⁻³ electrons at 1 eV, α = 10 and H⁻ at 0.5 eV, without positive-ion shielding:

>>> print(f"{debye_length_electronegative(1e18, 1.0, 10.0, 0.5) * 1e6:.4f} um")
1.6222 um

destruction_frequenciesfunction#

def destruction_frequencies(electron_density, electron_temperature, positive_ion_density=None, ion_temperature=1.0, atom_density=0.0, atom_temperature=0.1)

Compute the loss frequencies ν = n <σ v> of an H⁻ ion in a hydrogen plasma, per channel.

Channels: electron detachment (e + H⁻), mutual neutralization (H⁺ + H⁻) and the detachment of H⁻ by H atoms (both the H + H + e and the H₂ + e channel of eq. 71 together). The loss by H₂ gas is not included: it needs the energy of a beam (h2_detachment_cross_section()).

Parameters

NameTypeDefaultDescription
electron_densityfloat or array_likerequiredn_e, in m⁻³.
electron_temperaturefloat or array_likerequiredT_e, in eV.
positive_ion_densityfloat or array_likeNoneH⁺ density, in m⁻³. Default: electron_density (no H⁻ and no other ion).
ion_temperaturefloat or array_like1.0Temperature of the H⁺ and the H⁻, in eV. Default: 1.
atom_densityfloat or array_like0.0Density of H atoms, in m⁻³. Default: 0.
atom_temperaturefloat or array_like0.1Temperature of the H atoms, in eV. Default: 0.1.

Returns

dict of float or numpy.ndarray
{"electron detachment": ..., "mutual neutralization": ..., "atom detachment": ...}, each ν in 1/s. The H⁻ lifetime is 1 over the sum.

Examples

>>> nu = destruction_frequencies(1e18, 1.0, atom_density=1e19)
>>> print({k: f"{float(v):.3g}" for k, v in nu.items()})
{'electron detachment': '1.47e+04', 'mutual neutralization': '6.09e+04', 'atom detachment': '2.42e+04'}

electron_detachment_cross_sectionfunction#

def electron_detachment_cross_section(energy)

Compute the cross section of electron-impact detachment, e + H⁻ → e + H + e.

The fit σ = 2.06/E · ln(e + 2.335e-4 E) · exp(−13.75/E^0.868) · [1 − (0.754/E)²] × 1e-13 cm² of Janev et al., eq. (58), with E the electron energy in eV (the figure of the source covers 1 eV to 10 keV). Below the threshold of 0.754 eV, the binding energy of H⁻, the cross section is zero.

Parameters

NameTypeDescription
energyfloat or array_likeElectron energy E, in eV.

Returns

float or numpy.ndarray
σ, in m².

Examples

The source quotes σ ≈ 2.3e-15 cm² at 65 eV:

>>> print(f"{electron_detachment_cross_section(65.0) * 1e4:.3e} cm^2")
2.208e-15 cm^2

electron_detachment_rate_coefficientfunction#

def electron_detachment_rate_coefficient(electron_temperature, negative_ion_temperature=None)

Compute the rate coefficient of e + H⁻ → e + H + e for Maxwellian electrons.

<σ v> of electron_detachment_cross_section(): the relative energy is the electron energy to within m_e/m_H⁻, so the H⁻ temperature hardly matters.

Parameters

NameTypeDefaultDescription
electron_temperaturefloat or array_likerequiredT_e, in eV.
negative_ion_temperaturefloat or array_likeNoneH⁻ temperature, in eV. Default: electron_temperature.

Returns

float or numpy.ndarray
<σ v>, in m³/s. The threshold is 0.754 eV, so the rate falls steeply below T_e ≈ 0.3 eV.

Examples

>>> print(f"{electron_detachment_rate_coefficient(1.0):.3e} m^3/s")
1.472e-14 m^3/s

h2_detachment_cross_sectionfunction#

def h2_detachment_cross_section(energy)

Compute the cross section of H⁻ + H₂(v = 0) → H + H₂ + e, the stripping of an H⁻ beam on H₂.

The sum σ = σ< + σ> of Janev et al., eqs. (159a–c), with the laboratory energy E of the H⁻: σ< = 81.10e-16 cm² / (E^0.63 [1 + 2.03e-6 E^1.95]) · {1 − exp[−0.057 (E/2.18 − 1)^0.94]} and σ> = 1.22e3 e-16 cm² / (E^0.5 [1 + 6.91e-4 E^0.40]) · exp(−125.0/E^0.663). The source states “E in keV” below eq. (159c), but the threshold 2.18 in (159b) is the 2.18 eV endothermicity it quotes, and only E in eV reproduces its figure 34 and its stated maximum of about 1e-15 cm² near 2 keV, so E is in eV here. The source fits measurements from threshold to the MeV range. σ< is zero below the 2.18 eV threshold, where its printed form is undefined.

Parameters

NameTypeDescription
energyfloat or array_likeLaboratory energy of the H⁻, in eV.

Returns

float or numpy.ndarray
σ, in m².

Examples

The maximum of about 1.2e-15 cm² near 2 keV:

>>> print(f"{h2_detachment_cross_section(2e3) * 1e4:.3e} cm^2")
1.207e-15 cm^2

hydrogen_detachment_cross_sectionfunction#

def hydrogen_detachment_cross_section(energy, channel='detachment')

Compute the cross section of H⁻ + H(1s) detachment, to H + H + e or to H₂ + e.

The polynomial fit ln σ = Σ_{j=0..8} a_j (ln E)^j of Janev et al., eq. (71), with the coefficients of their table 11, valid for the relative collision energy 0.1 eV to 20 keV.

Parameters

NameTypeDefaultDescription
energyfloat or array_likerequiredRelative collision energy E, in eV (the centre-of-mass energy).
channel('detachment', 'associative')"detachment""detachment": H⁻ + H → H + H + e. "associative": H⁻ + H → H₂ + e. Default: "detachment".

Returns

float or numpy.ndarray
σ, in m².

Examples

>>> print(f"{hydrogen_detachment_cross_section(10.0) * 1e4:.4e} cm^2")
1.1947e-15 cm^2

ion_flux_electronegativefunction#

def ion_flux_electronegative(electron_density_edge, electronegativity, electron_temperature, negative_ion_temperature, mass_number=1)

Compute the positive-ion flux Γ₊ = n₊ u_B = (1 + α_s) n_e u_B at the sheath edge.

Parameters

NameTypeDefaultDescription
electron_density_edgefloat or array_likerequiredElectron density at the sheath edge, in m⁻³.
electronegativityfloat or array_likerequiredα_s = n₋/n_e at the sheath edge.
electron_temperaturefloat or array_likerequiredT_e, in eV.
negative_ion_temperaturefloat or array_likerequiredT₋, in eV.
mass_numberfloat or array_like1Positive-ion mass in proton masses. Default: 1.

Returns

float or numpy.ndarray
Γ₊, in m⁻² s⁻¹; multiply by e for the current density. The edge density is an input: the presheath that relates it to the bulk is not modelled.

Examples

>>> print(f"{ion_flux_electronegative(1e17, 1.0, 5.0, 1.0):.4g} m^-2 s^-1")
2.527e+21 m^-2 s^-1

maxwellian_rate_coefficientfunction#

def maxwellian_rate_coefficient(cross_section, temperature, mass_a=electron_mass, mass_b=proton_mass, temperature_b=None, energy_range=None, points=2000)

Compute the rate coefficient <σ v> of a cross section σ(E) averaged over two Maxwellians.

With the relative motion Maxwellian at T_rel = (m_b T_a + m_a T_b)/(m_a + m_b) and the reduced mass μ, <σ v> = √(8/(π μ)) T_rel^(−3/2) ∫ σ(E) E exp(−E/T_rel) dE (E and T in energy units, E the relative energy ½ μ v²), integrated here with the trapezoidal rule on a logarithmic energy grid.

Parameters

NameTypeDefaultDescription
cross_sectioncallablerequiredσ(E) in m², taking the relative energy E in eV as a numpy array.
temperaturefloat or array_likerequiredTemperature T_a of the first species, in eV.
mass_afloatelectron_massMasses in kg. Defaults: an electron and a proton (the reduced mass is m_e to within m_e/m_H⁻ for e + H⁻); pass two proton masses for H⁺ + H⁻.
mass_bfloatelectron_massMasses in kg. Defaults: an electron and a proton (the reduced mass is m_e to within m_e/m_H⁻ for e + H⁻); pass two proton masses for H⁺ + H⁻.
temperature_bfloat or array_likeNoneTemperature of the second species, in eV. Default: temperature.
energy_rangetuple of floatNoneLowest and highest relative energy of the integral, in eV; the part of the Maxwellian outside is dropped. Default: 1e-4 to 60 times T_rel.
pointsint2000Number of grid points. Default: 2000.

Returns

float or numpy.ndarray
<σ v>, in m³/s.

Examples

A constant σ = 1e-19 m² between electrons and protons at 1 eV:

>>> print(
... f"{maxwellian_rate_coefficient(lambda e: 1e-19 + 0 * e, 1.0):.4e} m^3/s"
... )
6.6942e-14 m^3/s

mutual_neutralization_cross_sectionfunction#

def mutual_neutralization_cross_section(energy, final_level=None)

Compute the cross section of mutual neutralization, H⁺ + H⁻ → H(n) + H(1s), n = 2, 3.

The polynomial fits ln σ = Σ_{j=0..8} a_j (ln E)^j of Janev et al., eq. (63), with the coefficients of their table 10, in cm² and eV; the source gives them for the relative collision energy 0.1 eV to 20 keV. The n = 1 and n ≥ 4 channels are not populated.

Parameters

NameTypeDefaultDescription
energyfloat or array_likerequiredRelative collision energy E, in eV (the centre-of-mass energy).
final_level(2, 3)2Return only the capture into this level of the H atom. Default: the sum of both.

Returns

float or numpy.ndarray
σ, in m².

Examples

>>> print(f"{mutual_neutralization_cross_section(1.0) * 1e4:.4e} cm^2")
3.0329e-14 cm^2

mutual_neutralization_rate_coefficientfunction#

def mutual_neutralization_rate_coefficient(positive_ion_temperature, negative_ion_temperature=None, energy_range=(0.1, 20000.0))

Compute the thermal rate coefficient of H⁺ + H⁻ → H(n) + H for Maxwellian ions.

<σ v> of mutual_neutralization_cross_section(), with the reduced mass m_p / 2 and the relative temperature (T₊ + T₋)/2 (equal masses).

Parameters

NameTypeDefaultDescription
positive_ion_temperaturefloat or array_likerequiredH⁺ temperature, in eV.
negative_ion_temperaturefloat or array_likeNoneH⁻ temperature, in eV. Default: positive_ion_temperature.
energy_rangetuple of float(0.1, 20000.0)Relative energies of the integral, in eV. Default: (0.1, 2e4), the range of validity of the fit; the part of the Maxwellian below 0.1 eV is dropped, which underestimates the rate for T below about 0.3 eV.

Returns

float or numpy.ndarray
<σ v>, in m³/s.

Examples

>>> print(f"{mutual_neutralization_rate_coefficient(1.0):.3e} m^3/s")
6.092e-14 m^3/s

sheath_edge_electronegativityfunction#

def sheath_edge_electronegativity(bulk_electronegativity, potential_drop, electron_temperature, negative_ion_temperature)

Compute α_s = n₋/n_e at the sheath edge for Boltzmann electrons and negative ions.

From T_e ∇ln n_e = T₋ ∇ln n₋ integrated through a presheath of potential drop V: n_e = n_e0 exp(−V/T_e) and n₋ = n₋0 exp(−V/T₋), so α_s = α₀ exp[−V (1/T₋ − 1/T_e)]. For T₋ < T_e the H⁻ are expelled faster than the electrons and α_s < α₀.

Parameters

NameTypeDescription
bulk_electronegativityfloat or array_likeα₀ = n₋/n_e in the bulk.
potential_dropfloat or array_likePotential drop V ≥ 0 from the bulk to the sheath edge, in V.
electron_temperaturefloat or array_likeT_e, in eV.
negative_ion_temperaturefloat or array_likeT₋, in eV.

Returns

float or numpy.ndarray
α_s. It equals α₀ for T₋ = T_e or V = 0.

Examples

>>> print(f"{sheath_edge_electronegativity(5.0, 2.0, 2.0, 0.5):.4f}")
0.2489

surface_production_currentfunction#

def surface_production_current(flux, yield_, survival=1.0, area=1.0)

Compute the extractable H⁻ current I = e Y Γ S A from a surface-production flux.

Parameters

NameTypeDefaultDescription
fluxfloat or array_likerequiredFlux Γ of the converting particles (H⁺, H atoms, or the sum weighted by their yields) onto the surface, in m⁻² s⁻¹.
yield_float or array_likerequiredH⁻ yield Y per incident particle.
survivalfloat or array_like1.0Fraction S of the H⁻ that reaches the extraction aperture, e.g. from beam_survival_fraction(). Default: 1.
areafloat or array_like1.0Area A of the surface, in m². Default: 1 (a current density in A/m²).

Returns

float or numpy.ndarray
I, in A.

Examples

A 1e22 m⁻² s⁻¹ atom flux with a 5 % yield and 70 % survival, on 1 cm²:

>>> print(f"{surface_production_current(1e22, 0.05, 0.7, 1e-4) * 1e3:.4f} mA")
5.6076 mA