The equations of carafe.dispersion.eigenmodes, declared on the code that implements them and checked by the tests.
The linear eigenproblem on a 1D equilibrium and the options of the model.
- electron continuity
- −iωae+u0xae′+ikyu0yae+n01[dxd(n0δux)+ikyn0δuy]=0
- electron momentum
- me(−iω+u0⋅∇+νen)δu+me(δu⋅∇)u0=e∇ψ−Te∇ae−eδu×B(no inertia: the left side is meνenδu)
- ion continuity
- −iωai+v0ai′+n01dxd(n0δvx)+ikyδvy+νiz(ai−ae)=0
- ion momentum
- (−iω+v0∂x+νin)δv+v0′δvxx^=−Me∇δϕ
- poisson
- (dx2d2−ky2)δϕ=−ε0en0[ai−Γ01/2ae−(1−Γ0)Teeδϕ]or quasineutral […]=0
- gyroaverage
- ψ=Γ01/2δϕ,Γ0=(1+b)−1,Γ01/2=(1+b/2)−1,b=ky2ρe2−dxdρe2dxd(fluid: Γ0=1)
- equilibrium flow
- u0=(meνen)2+(eB)2meνenF0+eBF0×z^,F0x=−eE0−n0Ten0′−Te′
- Assumes
- slab (x,y) with the model field B(x)z^, perturbations f(x)eikyy−iωt;
curl_free_field adds −(B′/B)n0δux,E×B to the electron flux divergence - isothermal electrons; the ionisation source removed with the equilibrium continuity (it appears only as νiz(ai−ae)); δνiz=0
- cold unmagnetised ions with the flow v0=−∫xLSdx′/ni
gyroaverage: Padé Γ0 of linear gyrokinetics at k∥=0, ω≪ωce; the magnetic drift in its fluid form- second-order differences on a uniform grid, ae=ai=δϕ=0 at both ends, first-order upwinding of the flows; dense eigensolve
- References