The equations of carafe.spatial.neutrals, declared on the code that implements them and checked by the tests.
The plasma and the neutral gas iterated to a common steady state.
- pass
- Nk+1=steady NeutralFluid2D(plasmak),plasmak+1=steady Fluid2D(rNk+1+(1−r)Nk, ⟨Tg⟩)
- mean free path
- λi←λi⟨N⟩⟨N⟩start
- stop
- smaxmaxnsmax∣Δns∣<tolerance (10−3),at most 30 passes
- Assumes
- the plasma model has one gas temperature: the density-weighted mean of the neutrals'
- each plasma solve from the last state with Δt=10−7 s, retried with the default; a failed solve stops the passes
- Built from
The particle and energy flux of a drifting Maxwellian through a plane.
- particles
- Γ=nueff=2πnvp(e−s2+πs(1+erfs)),vp=m2eT,s=vpu
- energy
- Q=4πenmvp3((1+s2)e−s2+πs(1+erfs)(23+s2))+(1+2z)TΓ
- Assumes
- the particles of a drifting Maxwellian that cross a plane along its normal; without drift nvˉ/4 and (2+z/2)T each
- z internal degrees of freedom carrying z/2T per particle; T floored at 10−4 eV
- References
K(T) = sigma sqrt(8 k T / (pi mu)): hard spheres of sigma [m^2].
- rate
- K(T)=σπμ8eT,μ=ma+mbmamb
- Assumes
- the mean relative speed of a Maxwellian pair; T in eV, floored at 10−4 eV
The neutral gas on the cells of a grid; see the module docstring.
- continuity
- ∂tn+∇⋅(nu)=Rn
- momentum
- ∂t(mnu)+∇⋅(mnuu)=−∇(neT)+μ(∇2u+31∇∇⋅u)−j∑μnjnνnj(u−uj)+SR
- energy
- ∂t(23+znT)+∇⋅Q=P,Q=25+zTnu−κ∇T
- transport
- μ=∑jμnjνnj32mneT,κ=∑jμnjνnj25+zneT,μnj=m+mjmmj,νnj=njKnj
- exchange
- Pnj=m+mjμnjnνnj(3(Tj−T)+emj∣u−uj∣2)
- walls
- Γout=nueff,back: (1−∑γ)Γout+products+ion wall products,(1−α)incident+α(2+z/2)Twall
- rhie chow
- Γf=nf(uˉf−aP(∇p)f−∇pf)⋅n^
- Assumes
- Knj at the pair temperature (mjT+mTj)/(m+mj); j includes the species itself in the denominators only
- products born at the heavy reactants' centre-of-mass velocity and mass-weighted temperature; r–z keeps −μur/r2, ∇μ is dropped
- cell-centred velocities and temperatures, Rhie–Chow face fluxes, no-slip walls with the kinetic fluxes; backward Euler, Newton in lnn, lnT
- the continuum limit at Knudsen numbers 0.1–0.3: no kinetic check yet; collision rates and wall data are placeholders
- References
- Built from