Skip to content
Projects

Overview

carafe models the low-temperature plasmas of negative-ion sources, neutralizers and magnetrons at three levels of detail: volume-averaged (0D) balances of every species and the electron energy, 1D and 2D fluids of the same species on a grid, and the inductive RF field that heats them. The same reactions drive all of them, so a model can be checked against the level below it.

Each equation on these pages is declared on the code that implements it, as a method card, and checked by the tests: 26 closed forms against SymPy rules and seven discretisations against their order of convergence. The pages of the section list the cards module by module; this one shows how they fit together.

  1. Reactions run at R=K(T)∏rnrR = K(T)\prod_r n_r, with rate coefficients from plasmacoll’s cross sections (Maxwellian averages), fits, or the collisional-radiative tables of OpenCR.
  2. Global model: the particle balance of every species, quasi-neutrality, Bohm losses through the walls (with an edge-to-centre ratio and cusp leak widths), the electron energy with the sheath of floating walls, and optionally the gas temperature. The steady state is a pseudo-time integration in the logarithms of the unknowns, polished by a root finder:

GlobalModel

classsource

The balances of a plasma in a chamber; see the module docstring.

particles
dnsdt=∑reactionsνsR+∑sourcescsS−Γsw+∑walls(products)+FsV−nsSpV\frac{dn_s}{dt} = \sum_\mathrm{reactions} \nu_s R + \sum_\mathrm{sources} c_s S - \Gamma^w_s + \sum_\mathrm{walls} (\text{products}) + \frac{F_s}{V} - \frac{n_s S_p}{V}
sources
S=rate(Te,Tg [,n])∏pern,ne=∑sZsnsS = \text{rate}(T_e, T_g\,[, n]) \prod_\mathrm{per} n, \qquad n_e = \sum_s Z_s n_s
ion wall loss
Γiw=nieTeMi AiV\Gamma^w_i = n_i \sqrt{\frac{e T_e}{M_i}}\, \frac{A_i}{V}
neutral wall loss
Γnw=γ vˉ4 n AwV,vˉ=8eTgπm\Gamma^w_n = \gamma\, \frac{\bar v}{4}\, n\, \frac{A_w}{V}, \qquad \bar v = \sqrt{\frac{8 e T_g}{\pi m}}
electron wall loss
Γe=Γ++q˙−,Γ+=∑iZiΓiw,q˙−=−∑sources∑sZscsS\Gamma_e = \Gamma_+ + \dot q_-, \qquad \Gamma_+ = \sum_i Z_i \Gamma^w_i, \qquad \dot q_- = -\sum_\mathrm{sources} \sum_s Z_s c_s S
energy
ddt(32neTe)=PabseV−∑R εe+∑S εsrc−Pw\frac{d}{dt}\left(\tfrac32 n_e T_e\right) = \frac{P_\mathrm{abs}}{eV} - \sum R\,\varepsilon_e + \sum S\,\varepsilon_\mathrm{src} - P_w
wall energy
Pw=2TeΓe+12Te∑iΓiw+Γ+Δϕ+(Γe−Γ+)(12Te+Δϕ)P_w = 2 T_e \Gamma_e + \tfrac12 T_e \sum_i \Gamma^w_i + \Gamma_+ \Delta\phi + (\Gamma_e - \Gamma_+)\left(\tfrac12 T_e + \Delta\phi\right)
sheath
Δϕ=∑iZiΓiwVf,iΓ+−Teln⁡ΓeΓ+,Vf,i=Teln⁡Mi2πme\Delta\phi = \frac{\sum_i Z_i \Gamma^w_i V_{f,i}}{\Gamma_+} - T_e \ln\frac{\Gamma_e}{\Gamma_+}, \qquad V_{f,i} = T_e \ln\sqrt{\frac{M_i}{2\pi m_e}}
Assumes
  • a uniform plasma with Maxwellian electrons; Bohm losses need λD≪\lambda_D \ll the chamber
  • νs\nu_s the stoichiometric change, csc_s the change per source event, FsF_s the feed (1/s), SpS_p the pumping speed (unknown neutrals only)
  • negative ions do not reach the walls; the Bohm speed carries no factor ZZ
  • the presheath 12Te\tfrac12 T_e is per ion and the sheath drop per charge, the same only for Z=1Z = 1
  • nen_e floored at 1 m−3^{-3} in the energy equation; a fixed species' dn/dtdn/dt is reported, not integrated
References
  • Lieberman and Lichtenberg, Principles of Plasma Discharges and Materials Processing, 2nd ed. (2005), ch. 10
Built from
  1. Three devices are global models with their own closures: the neutralizer (a fast beam’s charge states on the gas and its plasma, iterated to a fixed point), the RF driver (the transformer model of the coil, with Nagaoka’s coefficient and the exact solenoid as reference) and the magnetron (the ionization region with sputtering, the sputter wind and secondary-electron heating). The ionization region model (IRM) of a HiPIMS pulse is the fuller version of the magnetron: thermal and hot electrons, cold, warm and hot argon with metastables and Ar2+, the metal with M+ and M2+, ohmic heating by the share ff of the discharge voltage over the region and back-attraction βt\beta_t of the ions to the target, driven by the measured ID(t)I_D(t) and VD(t)V_D(t); (βt,f)(\beta_t, f) are fitted to the discharge current:

IonizationRegion

classsource

The ionization region model of a HiPIMS discharge; see the module docstring.

geometry
V=π(r22−r12)(z2−z1),SRT=π(r22−r12),SBP=SRT+2π(r1+r2)(z2−z1)V = \pi (r_2^2 - r_1^2)(z_2 - z_1), \qquad S_\mathrm{RT} = \pi (r_2^2 - r_1^2), \qquad S_\mathrm{BP} = S_\mathrm{RT} + 2\pi (r_1 + r_2)(z_2 - z_1)
quasineutrality
ne=nAr++2nAr2++nM++2nM2+−nhn_e = n_{\mathrm{Ar}^+} + 2 n_{\mathrm{Ar}^{2+}} + n_{\mathrm{M}^+} + 2 n_{\mathrm{M}^{2+}} - n_h
ions
ΓiBP=niuB,iSBP,Γit=βt1−βt ΓiBP,uB,i=eTe/Mi\Gamma_i^\mathrm{BP} = n_i u_{B,i} S_\mathrm{BP}, \qquad \Gamma_i^t = \frac{\beta_t}{1 - \beta_t}\, \Gamma_i^\mathrm{BP}, \qquad u_{B,i} = \sqrt{e T_e / M_i}
neutrals
dnXdt−=vˉX4SBPVnX,dnArdt+=vˉAr4SBPVn0,vˉX=8eTXπmX\frac{dn_X}{dt} \mathrel{-}= \frac{\bar v_X}{4} \frac{S_\mathrm{BP}}{V} n_X, \qquad \frac{dn_\mathrm{Ar}}{dt} \mathrel{+}= \frac{\bar v_\mathrm{Ar}}{4} \frac{S_\mathrm{BP}}{V} n_0, \qquad \bar v_X = \sqrt{\frac{8 e T_X}{\pi m_X}}
target
Ei=Zie(1−f)VD,Γsput=∑iYi(Ei) Γit,ΓSE=∑iγiΓit,Y=aEbE_i = Z_i e (1 - f) V_D, \qquad \Gamma_\mathrm{sput} = \sum_i Y_i(E_i)\, \Gamma_i^t, \qquad \Gamma_\mathrm{SE} = \sum_i \gamma_i \Gamma_i^t, \qquad Y = a E^b
hot electrons
dnhdt=ΓSEV−∑jkj(TH) nhnjεj32TH−nhτh\frac{dn_h}{dt} = \frac{\Gamma_\mathrm{SE}}{V} - \frac{\sum_j k_j(T_H)\, n_h n_j \varepsilon_j}{\tfrac32 T_H} - \frac{n_h}{\tau_h}
current
IDmodel=e(∑iZiΓit+ΓSE)=e(Γe+Γh−∑iZiΓiBP)I_D^\mathrm{model} = e \left(\sum_i Z_i \Gamma_i^t + \Gamma_\mathrm{SE}\right) = e\left(\Gamma_e + \Gamma_h - \sum_i Z_i \Gamma_i^\mathrm{BP}\right)
energy
ddt(32neTe)=IDfVDeV−∑coldRjεj−2TeΓeV,ΓeV=Se−dnedt\frac{d}{dt}\left(\tfrac32 n_e T_e\right) = \frac{I_D f V_D}{e V} - \sum_\mathrm{cold} R_j \varepsilon_j - 2 T_e \frac{\Gamma_e}{V}, \qquad \frac{\Gamma_e}{V} = S_e - \frac{dn_e}{dt}
outputs
αt=∑MZ+ΓMZ+tΓsput,Fflux=ΓM+BP+ΓM2+BPΓMBP+ΓM+BP+ΓM2+BP\alpha_t = \frac{\sum_{M^{Z+}} \Gamma_{M^{Z+}}^t}{\Gamma_\mathrm{sput}}, \qquad F_\mathrm{flux} = \frac{\Gamma_{M^+}^\mathrm{BP} + \Gamma_{M^{2+}}^\mathrm{BP}}{\Gamma_M^\mathrm{BP} + \Gamma_{M^+}^\mathrm{BP} + \Gamma_{M^{2+}}^\mathrm{BP}}
Assumes
  • a uniform annulus over the racetrack; the measured ID(t)I_D(t), VD(t)V_D(t) drive it, βt∈[0,1)\beta_t \in [0, 1) and f∈(0,1)f \in (0, 1) are fitted
  • two electron groups: Maxwellian thermal electrons with an energy equation, hot electrons at a fixed THT_H that thermalize after losing 32TH\tfrac32 T_H
  • ions leave at the Bohm speed of the thermal electrons (no factor ZZ); a share βt\beta_t of them returns to the target
  • Ar ions return as hot Ar from the target and as warm Ar from the bulk (probability warm_return); metal ions stick
  • newborn electrons carry no energy; electrons leave for the bulk with 2Te2 T_e; the cold gas flows in at the filling density
  • rate coefficients, yields, secondary yields, temperatures of the atom groups and the geometry are PLACEHOLDERS
References
Built from
  1. Fluid 1D: drift-diffusion of every species with Scharfetter-Gummel fluxes, the electron energy equation and Poisson’s equation, ions optionally with inertia; backward Euler and Newton’s method:

Fluid1D

classsource

A plasma between x = 0 and length on cells cells; see the module docstring.

continuity
∂tns+∂xΓs=Ss,Γs=zsμsnsE−Ds∂xns\partial_t n_s + \partial_x \Gamma_s = S_s, \qquad \Gamma_s = z_s \mu_s n_s E - D_s \partial_x n_s
energy
∂tw+∂xΓw=−ΓeE−Ploss+Pexte,w=32neTe,Γw=Γ[53μe,53De](w)\partial_t w + \partial_x \Gamma_w = -\Gamma_e E - P_\mathrm{loss} + \frac{P_\mathrm{ext}}{e}, \qquad w = \tfrac32 n_e T_e, \qquad \Gamma_w = \Gamma[\tfrac53\mu_e, \tfrac53 D_e](w)
poisson
∂x2ϕ=−eε0∑szsns,E=−∂xϕ\partial_x^2 \phi = -\frac{e}{\varepsilon_0}\sum_s z_s n_s, \qquad E = -\partial_x\phi
momentum
∂tΓ+∂xΓ2n=zeMnE−eTgM∂xn−(ν+Ln)Γ,ν=eMμ\partial_t \Gamma + \partial_x \frac{\Gamma^2}{n} = \frac{z e}{M} n E - \frac{e T_g}{M} \partial_x n - \left(\nu + \frac{L}{n}\right)\Gamma, \qquad \nu = \frac{e}{M\mu}
losses
Ploss=∑R εe−∑S εsrcP_\mathrm{loss} = \sum R\,\varepsilon_e - \sum S\,\varepsilon_\mathrm{src}
grid
xi=(i+12)h,Ei+1/2=−ϕi+1−ϕih,Ei−1/2−Ei+1/2h+eρiε0=0x_i = (i + \tfrac12) h, \qquad E_{i+1/2} = -\frac{\phi_{i+1} - \phi_i}{h}, \qquad \frac{E_{i-1/2} - E_{i+1/2}}{h} + \frac{e\rho_i}{\varepsilon_0} = 0
staggered
Γi+1/2=ui+1/2 ni+ni+12,Πi+1−Πih−νΓi+1/2SG+(ν+L/n‾)Γi+1/2=0\Gamma_{i+1/2} = u_{i+1/2}\, \frac{n_i + n_{i+1}}{2}, \qquad \frac{\Pi_{i+1} - \Pi_i}{h} - \nu \Gamma^\mathrm{SG}_{i+1/2} + \left(\nu + \overline{L/n}\right)\Gamma_{i+1/2} = 0
Order
2
Assumes
  • D=μTD = \mu T unless given (TeT_e for electrons, TgT_g otherwise); constant transport coefficients; no gas or ion energy equation
  • Scharfetter-Gummel fluxes on uniform cells; DeD_e on a face with the mean TeT_e of its cells; the Joule term the mean of −ΓE-\Gamma E on the two faces
  • a momentum ion: its face velocity an unknown, Π=Γ2/nˉ\Pi = \Gamma^2/\bar n upwinded on the cells, its force e/(Mμ)e/(M\mu) times the SG flux with D=μTgD = \mu T_g; without inertia the SG flux exactly
  • LL the rate of the reactions destroying it (ions born at rest); Poisson's equation needs the Debye length resolved
  • the order is that of a steady diffusion problem with held densities (the problem of the tests)
References
Built from
  1. Fluid 2D on the cells of a cell grid (a cut or r–z, tensor or refined patches): inertial ions with Rusanov fluxes, quasi-neutral with sheath walls or with Poisson’s equation, heated and pushed by the RF field.
  2. Inductive field 2D: the magnetoquasistatic field of the coil and a cold or viscous electron plasma, time-harmonic or stepped in time; in 3D on a Yee edge grid with surface-impedance conductors on cut cells, solved directly or by COCG.
  3. Field and plasma are iterated to the absorbed or the generator power; the neutral gas (H and H2 as Navier-Stokes fluids with kinetic walls) is iterated with the plasma.
  1. Drift fluid 2D: the axial-azimuthal plane with Hall-tensor electrons, inertial ions, the gas and full Poisson, stepped by SSP-RK3 with an implicit permittivity, optionally with the sputtered metal (atoms and singly charged ions, self-sputtering and a secondary yield per ion species); its linear modes and the local dispersion relations (cold or kinetic ions) and the nonlocal eigenmodes across a 1D profile (drift-fluid, inertial or gyro-averaged electrons) describe the gradient-drift instability behind the spokes.
  2. Gas dynamics: argon and the sputtered metal as one compressible gas (MUSCL, HLLC, SSP-RK3), driven by the sputter wind; the gas and drift fluid are split on windows, the plasma’s ionization and returned ions driving the gas and the gas setting the plasma’s NN.
  3. The transport budget is a diagnostic of PIC moments: the yy-averaged momentum identity of the cross-field flux.

Temperatures in eV (TT stands for kBT/ek_B T/e), everything else SI; GasDynamics takes its temperatures in K. Time-harmonic fields are amplitudes of eiωte^{i\omega t}. In a 2D cut, volumes, powers and currents are per metre along zz (a device’s are depth times them); in r–z they are totals. In the magnetron plane xx runs from the cathode to the anode and yy along E×B\mathbf E\times\mathbf B; gradient lengths L=f/f′L = f/f' are signed.

  • No Boltzmann-electron closure: the electrons are always a drift-diffusion fluid; quasi-neutrality only in Fluid2D.
  • GlobalModel: a uniform plasma with Maxwellian electrons; the edge-to-centre ratio is an input; per-ion and per-charge wall energies mix for Z>1Z > 1.
  • Fluid1D: constant transport coefficients, no gas or ion energy equation. Fluid2D: ions at TgT_g, a fixed gas unless coupled, no volume sources with an electron energy.
  • The inductive field: no displacement current, no in-plane drift force in the momentum balance, no viscous time stepper; the 0D driver has no stochastic heating, shields or mutual coupling.
  • DriftFluid2D: no electron inertia, no electron-ion or ion-ion collisions, no race-track curvature, no gas temperature; of the metal, no doubly charged ions, no electron collisions with the atoms but their ionization, and the atoms a beam along xx. Magnetron: no metastables, no multiply charged ions, no gas heating.
  • GasDynamics and NeutralFluid2D are continuum models at Knudsen numbers of 0.1 to 1, without a kinetic check.
  • Several data sets are placeholders, said where they are used: the illustrative hydrogen driver and deuterium neutralizer, the magnetron materials, the drift fluid’s argon rates.

Besides the checks of the cards, the tests compare the global model’s balances with closed forms (Te from the particle balance, negative ions, wall recombination), the neutralizer’s fractions with plasmacoll’s, the transformer model with the Bessel column it is the thin-skin limit of, Fluid2D on a slab with Fluid1D to round-off and with ambipolar and collisionless closed forms, the coupled fluid column with the global model, the 2D field with line currents, loops, solenoids and conducting columns, the 3D field with its 2D limit and cut cells with planes and tubes, the neutral gas with its 0D limit, the drift fluid’s growth rates with its local dispersion relation, and the gas dynamics with Sod’s problem and its conservation.