Skip to content
Projects

plasma_plots.theory.sheaths

Sheaths, space-charge-limited flow, probes and low-pressure discharges, in SI units.

Densities are in m⁻³, temperatures in eV (k_B T / e), voltages in V, lengths in m and currents in A, as in parameters. Ions have the mass mass_number × m_p and the charge charge_number × e; the functions that apply to any particle (space-charge-limited flow, probes) take mass in kg and charge in C instead, with the electron as the default.

Examples

The Bohm speed and ion saturation current density of a 1e18 m⁻³, 5 eV hydrogen plasma:

>>> print(
... f"{bohm_speed(5.0):.4g} m/s, {bohm_current_density(1e18, 5.0):.4g} A/m²"
... )
2.188e+04 m/s, 2127 A/m²

Attributes

NameDescription
PASCHEN_GASESNo description.

Functions

NameDescription
ambipolar_diffusionCompute the ambipolar diffusion coefficient D_a = (μ_i D_e + μ_e D_i)/(μ_i + μ_e).
bohm_current_densityCompute the ion current density J = Z e n_s u_B to a wall, with n_s = n exp(−1/2).
bohm_diffusionCompute the Bohm diffusion coefficient D_B = T_e / (16 e B).
bohm_speedCompute the Bohm speed u_B = √((Z T_e + γ_i T_i) / m_i) at the sheath edge.
child_langmuirCompute the space-charge-limited current density J of a planar diode.
floating_potentialCompute the floating potential V_f of a wall relative to the plasma.
ion_saturation_currentCompute the ion saturation current I = Z e n_s u_B A of a strongly negative planar probe.
langmuir_blodgettCompute the space-charge-limited current of coaxial cylinders or concentric spheres.
mean_free_pathCompute the mean free path λ = 1/(n σ) of a particle in a gas.
oml_currentCompute the orbital-motion-limited (OML) current collected by a probe.
paschen_breakdownCompute the breakdown voltage V_b = B p d / (ln(A p d) − ln ln(1 + 1/γ)).
sheath_widthCompute the width of a sheath with the potential drop voltage to a wall.

PASCHEN_GASESattributemodule attribute#

PASCHEN_GASES = {
  name: (a / 0.01 * 133.322368, b / 0.01 * 133.322368) for name,
  (a, b) in {
    'air': (15.0, 365.0),
    'N2': (12.0, 342.0),
    'H2': (5.0, 130.0),
    'He': (3.0, 34.0),
    'Ne': (4.0, 100.0),
    'Ar': (12.0, 180.0)
  }.items()
}

ambipolar_diffusionfunction#

def ambipolar_diffusion(ion_mobility, electron_temperature, ion_temperature=0.0, electron_mobility=None)

Compute the ambipolar diffusion coefficient D_a = (μ_i D_e + μ_e D_i)/(μ_i + μ_e).

With the Einstein relations D = μ T/e this is D_a = μ_i μ_e (T_e + T_i)/(μ_i + μ_e), which for μ_e ≫ μ_i is D_a = μ_i (T_e + T_i) = D_i (1 + T_e/T_i).

Parameters

NameTypeDefaultDescription
ion_mobilityfloat or array_likerequiredIon mobility μ_i, in m²/(V s).
electron_temperaturefloat or array_likerequiredElectron temperature T_e, in eV.
ion_temperaturefloat or array_like0.0Ion temperature T_i, in eV. Default: 0.
electron_mobilityfloat or array_likeNoneElectron mobility μ_e, in m²/(V s). Default: None, the limit μ_e ≫ μ_i.

Returns

float or numpy.ndarray
D_a, in m²/s.

Examples

>>> # N₂⁺ ions in N₂ (μ_i ≈ 2e-4 m²/Vs at 1 Torr), T_e = 3 eV, T_i = 0.03 eV
>>> print(f"{ambipolar_diffusion(2e-4, 3.0, 0.03):.4g} m²/s")
0.000606 m²/s

bohm_current_densityfunction#

def bohm_current_density(density, electron_temperature, mass_number=1, charge_number=1, ion_temperature=0.0)

Compute the ion current density J = Z e n_s u_B to a wall, with n_s = n exp(−1/2).

Parameters

NameTypeDefaultDescription
densityfloat or array_likerequiredPlasma density n far from the wall (the bulk density), in m⁻³.
electron_temperaturefloat or array_likerequiredElectron temperature T_e, in eV.
mass_numberfloat or array_like1Ion mass in proton masses. Default: 1.
charge_numberfloat or array_like1Ion charge number Z. Default: 1.
ion_temperaturefloat or array_like0.0Ion temperature T_i, in eV, entering the Bohm speed. Default: 0.

Returns

float or numpy.ndarray
J, in A/m².

Examples

>>> print(f"{bohm_current_density(1e18, 5.0):.4g} A/m²")
2127 A/m²

bohm_diffusionfunction#

def bohm_diffusion(electron_temperature, field)

Compute the Bohm diffusion coefficient D_B = T_e / (16 e B).

Parameters

NameTypeDescription
electron_temperaturefloat or array_likeElectron temperature T_e, in eV.
fieldfloat or array_likeMagnetic field B, in T.

Returns

float or numpy.ndarray
D_B, in m²/s.

Examples

>>> print(f"{bohm_diffusion(10.0, 0.01):.4g} m²/s")
62.5 m²/s

bohm_speedfunction#

def bohm_speed(electron_temperature, ion_temperature=0.0, mass_number=1, charge_number=1, ion_gamma=1.0)

Compute the Bohm speed u_B = √((Z T_e + γ_i T_i) / m_i) at the sheath edge.

Parameters

NameTypeDefaultDescription
electron_temperaturefloat or array_likerequiredElectron temperature T_e, in eV.
ion_temperaturefloat or array_like0.0Ion temperature T_i, in eV. Default: 0 (cold ions).
mass_numberfloat or array_like1Ion mass in proton masses. Default: 1.
charge_numberfloat or array_like1Ion charge number Z. Default: 1.
ion_gammafloat1.0Adiabatic index γ_i of the ions. Default: 1 (isothermal ions; the fluid Bohm criterion with 3 gives the 1-D adiabatic ions of parameters.sound_speed()).

Returns

float or numpy.ndarray
u_B, in m/s: the speed the ions have to reach at the sheath edge.

Examples

>>> print(f"{bohm_speed(5.0):.4g} m/s") # hydrogen
2.188e+04 m/s
>>> print(f"{bohm_speed(5.0, mass_number=40):.4g} m/s") # argon
3460 m/s

child_langmuirfunction#

def child_langmuir(voltage, gap, mass=electron_mass, charge=elementary_charge, initial_velocity=0.0)

Compute the space-charge-limited current density J of a planar diode.

For particles starting at rest, J = (4/9) ε₀ √(2|q|/m) V^{3/2} / d². Particles injected with the speed v₀ into a space-charge-limited gap (zero field at the emitter) carry

J = (4/9) ε₀ √(2|q|/m) S (S + 3 w₀)² / d², w₀ = v₀ √(m/(2|q|)), S = √(w₀² + V) − w₀,

which is the Child–Langmuir law for v₀ = 0 and the space-charge-free 2 ε₀ v₀ V / d² for large v₀.

Parameters

NameTypeDefaultDescription
voltagefloat or array_likerequiredAccelerating voltage V across the gap, in V.
gapfloat or array_likerequiredGap width d, in m.
massfloat or array_likeelectron_massParticle mass m, in kg. Default: the electron mass.
chargefloat or array_likeelementary_chargeParticle charge q, in C (its sign doesn’t matter). Default: e.
initial_velocityfloat or array_like0.0Injection speed v₀ along the gap, in m/s. Default: 0.

Returns

float or numpy.ndarray
J, in A/m².

Examples

>>> # 1 keV electrons across 1 cm
>>> print(f"{child_langmuir(1e3, 1e-2):.4g} A/m²")
738.1 A/m²
>>> # H⁻ ions, 10 kV over 1 cm
>>> print(f"{child_langmuir(1e4, 1e-2, mass=1.00794 * proton_mass):.4g} A/m²")
542.5 A/m²

floating_potentialfunction#

def floating_potential(electron_temperature, mass_number=1, charge_number=1, secondary_emission=0.0, ion_temperature=0.0, electron_mass=electron_mass)

Compute the floating potential V_f of a wall relative to the plasma.

The wall charges until the ion current Z Γ_i (at the Bohm flux) equals the net electron current (1 − δ) Γ_e of a Maxwellian, Γ_e = n_s √(T_e/(2π m_e)) exp(e V_f / T_e), giving

V_f = (T_e / 2) ln( Z² (Z + γ_i T_i/T_e) 2π m_e / (m_i (1 − δ)²) ).

Parameters

NameTypeDefaultDescription
electron_temperaturefloat or array_likerequiredElectron temperature T_e, in eV.
mass_numberfloat or array_like1Ion mass in proton masses. Default: 1.
charge_numberfloat or array_like1Ion charge number Z. Default: 1.
secondary_emissionfloat or array_like0.0Secondary-electron emission coefficient δ, the electrons emitted per incident electron (0 <= δ < 1). Default: 0.
ion_temperaturefloat or array_like0.0Ion temperature T_i, in eV, entering the Bohm speed (isothermal ions). Default: 0.
electron_massfloatelectron_massElectron mass, in kg. Default: the electron mass.

Returns

float or numpy.ndarray
V_f, in V, negative: the wall potential minus the plasma potential.

Raises

ValueError
If secondary_emission is not below 1 (the wall then emits more than it collects and a space-charge-limited sheath forms instead).

Examples

>>> print(f"{floating_potential(1.0):.4f} V") # hydrogen: about −2.84 T_e
-2.8388 V
>>> print(f"{floating_potential(1.0, mass_number=40):.4f} V") # argon
-4.6832 V

ion_saturation_currentfunction#

def ion_saturation_current(density, electron_temperature, area, mass_number=1, charge_number=1, ion_temperature=0.0)

Compute the ion saturation current I = Z e n_s u_B A of a strongly negative planar probe.

Valid when the sheath is thin compared with the probe (otherwise see oml_current()).

Parameters

NameTypeDefaultDescription
densityfloat or array_likerequiredPlasma density n, in m⁻³.
electron_temperaturefloat or array_likerequiredElectron temperature T_e, in eV.
areafloat or array_likerequiredCollecting area A, in m².
mass_number1As in bohm_current_density().
charge_number1As in bohm_current_density().
ion_temperature1As in bohm_current_density().

Returns

float or numpy.ndarray
I, in A (positive: the magnitude of the ion current).

Examples

>>> # 1 mm² hydrogen probe
>>> print(f"{ion_saturation_current(1e18, 5.0, 1e-6):.4g} A")
0.002127 A

langmuir_blodgettfunction#

def langmuir_blodgett(voltage, anode_radius, cathode_radius, geometry='cylindrical', mass=electron_mass, charge=elementary_charge, total=False)

Compute the space-charge-limited current of coaxial cylinders or concentric spheres.

With γ = ln(r_a/r_c) the current is, per unit length for cylinders and in total for spheres,

I = (8π ε₀ / 9) √(2|q|/m) V^{3/2} / (r_a β²) (cylinders), I = (16π ε₀ / 9) √(2|q|/m) V^{3/2} / α² (spheres),

with the Langmuir–Blodgett functions β(γ) = γ − 2/5 γ² + 11/120 γ³ − … and α(γ) = γ − 3/10 γ² + 3/40 γ³ − …, summed to γ¹⁰. For r_a/r_c → 1 both reduce to the planar child_langmuir() law with d = r_a − r_c. The emitter may be inside (r_a > r_c) or outside (r_a < r_c, γ < 0).

Parameters

NameTypeDefaultDescription
voltagefloat or array_likerequiredVoltage V between emitter and collector, in V.
anode_radiusfloat or array_likerequiredCollector radius r_a, in m.
cathode_radiusfloat or array_likerequiredEmitter radius r_c, in m.
geometry('cylindrical', 'spherical')"cylindrical"Default: "cylindrical".
massfloat or array_likeelectron_massParticle mass m, in kg. Default: the electron mass.
chargefloat or array_likeelementary_chargeParticle charge q, in C (its sign doesn’t matter). Default: e.
totalboolFalseFalse: the current density at the collector in A/m² (comparable to child_langmuir()); True: the current per unit length in A/m (cylinders) or the total current in A (spheres). Default: False.

Returns

float or numpy.ndarray
The current density in A/m², or the current as selected by total.

Raises

ValueError
If geometry is unknown or |γ| exceeds 4 (r_a/r_c outside about 1/55 to 55), where the series isn’t converged.

Examples

>>> # electrons, 1 kV, anode radius 5 mm, cathode radius 1 mm
>>> print(f"{langmuir_blodgett(1e3, 5e-3, 1e-3, total=True):.4g} A/m")
121 A/m
>>> print(
... f"{langmuir_blodgett(1e3, 5e-3, 1e-3, geometry='spherical', total=True):.4g} A"
... )
0.8126 A

mean_free_pathfunction#

def mean_free_path(cross_section, density=None, pressure=None, temperature=300.0)

Compute the mean free path λ = 1/(n σ) of a particle in a gas.

Give either the gas density or its pressure.

Parameters

NameTypeDefaultDescription
cross_sectionfloat or array_likerequiredCollision cross section σ, in m².
densityfloat or array_likeNoneGas number density n, in m⁻³.
pressurefloat or array_likeNoneGas pressure p, in Pa; then n = p/(k_B T).
temperaturefloat or array_like300.0Gas temperature T, in K (not eV; the gas is cold), used with pressure. Default: 300.

Returns

float or numpy.ndarray
λ, in m.

Raises

ValueError
If not exactly one of density and pressure is given.

Examples

>>> # an electron in argon at 1 Pa, 300 K, with σ = 1e-19 m² (about 1 eV)
>>> print(f"{mean_free_path(1e-19, pressure=1.0):.4g} m")
0.04142 m

oml_currentfunction#

def oml_current(density, temperature, potential, radius, length=None, geometry='cylindrical', mass=electron_mass, charge=-elementary_charge)

Compute the orbital-motion-limited (OML) current collected by a probe.

For a Maxwellian species with the random current I₀ = A n |q| √(T/(2π m)) and χ = −q V/T (positive when the probe attracts the species):

  • repelled (χ ≤ 0): I = I₀ exp(χ);
  • attracted sphere: I = I₀ (1 + χ);
  • attracted cylinder: I = I₀ [exp(χ) erfc(√χ) + (2/√π) √χ].

The OML limit holds when the sheath is thick enough for no orbit to be blocked by the angular momentum barrier, for probe radii of a few Debye lengths at most.

Parameters

NameTypeDefaultDescription
densityfloat or array_likerequiredDensity n of the collected species, in m⁻³.
temperaturefloat or array_likerequiredTemperature T of the collected species, in eV.
potentialfloat or array_likerequiredProbe potential V relative to the plasma, in V.
radiusfloat or array_likerequiredProbe radius, in m.
lengthfloat or array_likeNoneProbe length (cylinders only, end effects ignored), in m.
geometry('cylindrical', 'spherical')"cylindrical"Default: "cylindrical".
massfloat or array_likeelectron_massMass of the collected species, in kg. Default: the electron mass.
chargefloat or array_like-elementary_chargeCharge q of the collected species, in C. Default: −e (electrons; for ions pass the ion mass and +e).

Returns

float or numpy.ndarray
The magnitude of the collected current, in A.

Raises

ValueError
If geometry is unknown, or a cylinder is given without length.

Examples

>>> # a 1 mm thick, 1 cm long wire at +50 V in a 1e14 m⁻³, 2 eV plasma: electron current
>>> print(f"{oml_current(1e14, 2.0, 50.0, 0.5e-3, length=1e-2):.4g} A")
0.0006851 A
>>> # the same wire at −10 V collects ions (hydrogen) in the OML limit
>>> print(
... f"{oml_current(1e14, 2.0, -10.0, 0.5e-3, 1e-2, mass=proton_mass, charge=elementary_charge):.4g} A"
... )
7.658e-06 A

paschen_breakdownfunction#

def paschen_breakdown(pressure, gap, gas='air', secondary_emission=0.01, constants=None)

Compute the breakdown voltage V_b = B p d / (ln(A p d) − ln ln(1 + 1/γ)).

Parameters

NameTypeDefaultDescription
pressurefloat or array_likerequiredGas pressure p, in Pa.
gapfloat or array_likerequiredElectrode gap d, in m.
gasstr'air'A key of PASCHEN_GASES ("air", "N2", "H2", "He", "Ne", "Ar"). Default: "air".
secondary_emissionfloat or array_like0.01Secondary-emission coefficient γ of the cathode. Default: 0.01.
constantstuple of floatNone(A, B) in 1/(Pa m) and V/(Pa m), overriding gas.

Returns

float or numpy.ndarray
V_b, in V. nan where p d is too small for any voltage to break down (the denominator is not positive: left of the Paschen minimum’s asymptote).

Raises

ValueError
If gas is unknown.

Examples

>>> # air, 1 atm, 1 mm gap
>>> print(f"{paschen_breakdown(101325.0, 1e-3):.4g} V")
5035 V
>>> # too small a p d: no breakdown
>>> print(paschen_breakdown(1.0, 1e-3))
nan

sheath_widthfunction#

def sheath_width(density, electron_temperature, voltage, model='child-langmuir')

Compute the width of a sheath with the potential drop voltage to a wall.

Parameters

NameTypeDefaultDescription
densityfloat or array_likerequiredElectron (= ion) density n at the sheath edge, in m⁻³.
electron_temperaturefloat or array_likerequiredElectron temperature T_e, in eV, for the Debye length.
voltagefloat or array_likerequiredPotential drop V₀ across the sheath, in V (its sign doesn’t matter).
model('child-langmuir', 'matrix')"child-langmuir""child-langmuir": a collisionless, space-charge-limited ion sheath carrying the Bohm current, s = (√2/3) λ_D (2 V₀/T_e)^{3/4}; "matrix": the electrons are gone and the ions have the uniform density n, s = √(2 ε₀ V₀/(e n)) = λ_D √(2 V₀/T_e). Default: "child-langmuir".

Returns

float or numpy.ndarray
The sheath width s, in m.

Raises

ValueError
If model is unknown.

Examples

>>> print(f"{sheath_width(1e16, 3.0, 100.0):.4g} m")
0.001416 m
>>> print(f"{sheath_width(1e16, 3.0, 100.0, model='matrix'):.4g} m")
0.001051 m