Skip to content
Projects

Nonlocal eigenmodes

The equations of carafe.dispersion.eigenmodes, declared on the code that implements them and checked by the tests.

NonlocalDispersion

classsource

The linear eigenproblem on a 1D equilibrium and the options of the model.

electron continuity
−iω ae+u0xae′+ikyu0yae+1n0[ddx(n0 δux)+ikyn0 δuy]=0-i\omega\, a_e + u_{0x} a_e' + i k_y u_{0y} a_e + \frac{1}{n_0}\left[\frac{d}{dx}(n_0\,\delta u_x) + i k_y n_0\,\delta u_y\right] = 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)m_e(-i\omega + \mathbf u_0\cdot\nabla + \nu_{en})\,\delta\mathbf u + m_e(\delta\mathbf u\cdot\nabla)\mathbf u_0 = e\nabla\psi - T_e\nabla a_e - e\,\delta\mathbf u\times\mathbf B \quad (\text{no inertia: the left side is } m_e\nu_{en}\delta\mathbf u)
ion continuity
−iω ai+v0ai′+1n0ddx(n0 δvx)+iky δvy+νiz(ai−ae)=0-i\omega\, a_i + v_0 a_i' + \frac{1}{n_0}\frac{d}{dx}(n_0\,\delta v_x) + i k_y\,\delta v_y + \nu_{iz}(a_i - a_e) = 0
ion momentum
(−iω+v0∂x+νin) δv+v0′ δvxx^=−eM∇δϕ(-i\omega + v_0\partial_x + \nu_{in})\,\delta\mathbf v + v_0'\,\delta v_x\hat x = -\frac{e}{M}\nabla\delta\phi
poisson
(d2dx2−ky2)δϕ=−en0ε0[ai−Γ01/2ae−(1−Γ0)e δϕTe]or quasineutral […]=0\left(\frac{d^2}{dx^2} - k_y^2\right)\delta\phi = -\frac{e n_0}{\varepsilon_0}\left[a_i - \Gamma_0^{1/2} a_e - (1 - \Gamma_0)\frac{e\,\delta\phi}{T_e}\right] \quad \text{or quasineutral } [\ldots] = 0
gyroaverage
ψ=Γ01/2δϕ,Γ0=(1+b)−1,Γ01/2=(1+b/2)−1,b=ky2ρe2−ddxρe2ddx(fluid: Γ0=1)\psi = \Gamma_0^{1/2}\delta\phi, \quad \Gamma_0 = (1 + b)^{-1}, \quad \Gamma_0^{1/2} = (1 + b/2)^{-1}, \quad b = k_y^2\rho_e^2 - \frac{d}{dx}\rho_e^2\frac{d}{dx} \quad (\text{fluid: } \Gamma_0 = 1)
equilibrium flow
u0=meνen F0+eB F0×z^(meνen)2+(eB)2,F0x=−eE0−Ten0′n0−Te′\mathbf u_0 = \frac{m_e\nu_{en}\,\mathbf F_0 + e B\,\mathbf F_0\times\hat z}{(m_e\nu_{en})^2 + (eB)^2}, \quad F_{0x} = -eE_0 - \frac{T_e n_0'}{n_0} - T_e'
Assumes
  • slab (x,y)(x, y) with the model field B(x)z^B(x)\hat z, perturbations f(x) eikyy−iωtf(x)\,e^{i k_y y - i\omega t}; curl_free_field adds −(B′/B) n0 δux,E×B-(B'/B)\,n_0\,\delta u_{x,E\times B} to the electron flux divergence
  • isothermal electrons; the ionisation source removed with the equilibrium continuity (it appears only as νiz(ai−ae)\nu_{iz}(a_i - a_e)); δνiz=0\delta\nu_{iz} = 0
  • cold unmagnetised ions with the flow v0=−∫xLS dx′/niv_0 = -\int_x^L S\,dx'/n_i
  • gyroaverage: Padé Γ0\Gamma_0 of linear gyrokinetics at k∥=0k_\parallel = 0, ω≪ωce\omega \ll \omega_{ce}; the magnetic drift in its fluid form
  • second-order differences on a uniform grid, ae=ai=δϕ=0a_e = a_i = \delta\phi = 0 at both ends, first-order upwinding of the flows; dense eigensolve
References