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
| Name | Description |
|---|---|
PASCHEN_GASES | No description. |
Functions
| Name | Description |
|---|---|
ambipolar_diffusion | Compute the ambipolar diffusion coefficient D_a = (μ_i D_e + μ_e D_i)/(μ_i + μ_e). |
bohm_current_density | Compute the ion current density J = Z e n_s u_B to a wall, with n_s = n exp(−1/2). |
bohm_diffusion | Compute the Bohm diffusion coefficient D_B = T_e / (16 e B). |
bohm_speed | Compute the Bohm speed u_B = √((Z T_e + γ_i T_i) / m_i) at the sheath edge. |
child_langmuir | Compute the space-charge-limited current density J of a planar diode. |
floating_potential | Compute the floating potential V_f of a wall relative to the plasma. |
ion_saturation_current | Compute the ion saturation current I = Z e n_s u_B A of a strongly negative planar probe. |
langmuir_blodgett | Compute the space-charge-limited current of coaxial cylinders or concentric spheres. |
mean_free_path | Compute the mean free path λ = 1/(n σ) of a particle in a gas. |
oml_current | Compute the orbital-motion-limited (OML) current collected by a probe. |
paschen_breakdown | Compute the breakdown voltage V_b = B p d / (ln(A p d) − ln ln(1 + 1/γ)). |
sheath_width | Compute 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
| Name | Type | Default | Description |
|---|---|---|---|
ion_mobility | float or array_like | required | Ion mobility μ_i, in m²/(V s). |
electron_temperature | float or array_like | required | Electron temperature T_e, in eV. |
ion_temperature | float or array_like | 0.0 | Ion temperature T_i, in eV. Default: 0. |
electron_mobility | float or array_like | None | Electron 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²/sbohm_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
| Name | Type | Default | Description |
|---|---|---|---|
density | float or array_like | required | Plasma density n far from the wall (the bulk density), in m⁻³. |
electron_temperature | float or array_like | required | Electron temperature T_e, in eV. |
mass_number | float or array_like | 1 | Ion mass in proton masses. Default: 1. |
charge_number | float or array_like | 1 | Ion charge number Z. Default: 1. |
ion_temperature | float or array_like | 0.0 | Ion 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
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²/sbohm_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
| Name | Type | Default | Description |
|---|---|---|---|
electron_temperature | float or array_like | required | Electron temperature T_e, in eV. |
ion_temperature | float or array_like | 0.0 | Ion temperature T_i, in eV. Default: 0 (cold ions). |
mass_number | float or array_like | 1 | Ion mass in proton masses. Default: 1. |
charge_number | float or array_like | 1 | Ion charge number Z. Default: 1. |
ion_gamma | float | 1.0 | Adiabatic 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") # hydrogen2.188e+04 m/s>>> print(f"{bohm_speed(5.0, mass_number=40):.4g} m/s") # argon3460 m/schild_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
| Name | Type | Default | Description |
|---|---|---|---|
voltage | float or array_like | required | Accelerating voltage V across the gap, in V. |
gap | float or array_like | required | Gap width d, in m. |
mass | float or array_like | electron_mass | Particle mass m, in kg. Default: the electron mass. |
charge | float or array_like | elementary_charge | Particle charge q, in C (its sign doesn’t matter). Default: e. |
initial_velocity | float or array_like | 0.0 | Injection 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
| Name | Type | Default | Description |
|---|---|---|---|
electron_temperature | float or array_like | required | Electron temperature T_e, in eV. |
mass_number | float or array_like | 1 | Ion mass in proton masses. Default: 1. |
charge_number | float or array_like | 1 | Ion charge number Z. Default: 1. |
secondary_emission | float or array_like | 0.0 | Secondary-electron emission coefficient δ, the electrons emitted per incident electron
(0 <= δ < 1). Default: 0. |
ion_temperature | float or array_like | 0.0 | Ion temperature T_i, in eV, entering the Bohm speed (isothermal ions). Default: 0. |
electron_mass | float | electron_mass | Electron 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_emissionis 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 Vion_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
| Name | Type | Default | Description |
|---|---|---|---|
density | float or array_like | required | Plasma density n, in m⁻³. |
electron_temperature | float or array_like | required | Electron temperature T_e, in eV. |
area | float or array_like | required | Collecting area A, in m². |
mass_number | 1 | As in bohm_current_density(). | |
charge_number | 1 | As in bohm_current_density(). | |
ion_temperature | 1 | As 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 Alangmuir_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
| Name | Type | Default | Description |
|---|---|---|---|
voltage | float or array_like | required | Voltage V between emitter and collector, in V. |
anode_radius | float or array_like | required | Collector radius r_a, in m. |
cathode_radius | float or array_like | required | Emitter radius r_c, in m. |
geometry | ('cylindrical', 'spherical') | "cylindrical" | Default: "cylindrical". |
mass | float or array_like | electron_mass | Particle mass m, in kg. Default: the electron mass. |
charge | float or array_like | elementary_charge | Particle charge q, in C (its sign doesn’t matter). Default: e. |
total | bool | False | False: 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
geometryis 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 Amean_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
| Name | Type | Default | Description |
|---|---|---|---|
cross_section | float or array_like | required | Collision cross section σ, in m². |
density | float or array_like | None | Gas number density n, in m⁻³. |
pressure | float or array_like | None | Gas pressure p, in Pa; then n = p/(k_B T). |
temperature | float or array_like | 300.0 | Gas 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
densityandpressureis 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 moml_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
| Name | Type | Default | Description |
|---|---|---|---|
density | float or array_like | required | Density n of the collected species, in m⁻³. |
temperature | float or array_like | required | Temperature T of the collected species, in eV. |
potential | float or array_like | required | Probe potential V relative to the plasma, in V. |
radius | float or array_like | required | Probe radius, in m. |
length | float or array_like | None | Probe length (cylinders only, end effects ignored), in m. |
geometry | ('cylindrical', 'spherical') | "cylindrical" | Default: "cylindrical". |
mass | float or array_like | electron_mass | Mass of the collected species, in kg. Default: the electron mass. |
charge | float or array_like | -elementary_charge | Charge 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
geometryis unknown, or a cylinder is given withoutlength.
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 Apaschen_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
| Name | Type | Default | Description |
|---|---|---|---|
pressure | float or array_like | required | Gas pressure p, in Pa. |
gap | float or array_like | required | Electrode gap d, in m. |
gas | str | 'air' | A key of PASCHEN_GASES ("air", "N2", "H2", "He", "Ne",
"Ar"). Default: "air". |
secondary_emission | float or array_like | 0.01 | Secondary-emission coefficient γ of the cathode. Default: 0.01. |
constants | tuple of float | None | (A, B) in 1/(Pa m) and V/(Pa m), overriding gas. |
Returns
float or numpy.ndarray- V_b, in V.
nanwhere 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
gasis 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))nansheath_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
| Name | Type | Default | Description |
|---|---|---|---|
density | float or array_like | required | Electron (= ion) density n at the sheath edge, in m⁻³. |
electron_temperature | float or array_like | required | Electron temperature T_e, in eV, for the Debye length. |
voltage | float or array_like | required | Potential 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
modelis 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