Skip to content
Projects

Inductive field 2D

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

InductiveField2D

classsource

The magnetoquasistatic field of coil windings, conductors and a plasma.

field
∇×∇×a=μ0(Jcoil+Jplasma),E=−iωa,a=Az(x,y) or Aϕ(r,z)\nabla\times\nabla\times a = \mu_0 (J_\mathrm{coil} + J_\mathrm{plasma}), \qquad E = -i\omega a, \qquad a = A_z(x, y) \text{ or } A_\phi(r, z)
cold
J=σE,σ=nee2me(ν+iω)J = \sigma E, \qquad \sigma = \frac{n_e e^2}{m_e(\nu + i\omega)}
viscous
iωnemeu+nemeνu+∇×(μe∇×u)=−neeE,μe=23neeTeν,J=−eneui\omega n_e m_e u + n_e m_e \nu u + \nabla\times(\mu_e\nabla\times u) = -n_e e E, \qquad \mu_e = \tfrac23\frac{n_e e T_e}{\nu}, \qquad J = -e n_e u
cold system
PT(K+iωμ0 diag(σV))P a=PTμ0VJcoilP^T\left(K + i\omega\mu_0\,\mathrm{diag}(\sigma V)\right) P\, a = P^T \mu_0 V J_\mathrm{coil}
viscous system
(Kμ0Vene−iωVneeVneme(iω+ν)+Kμ)(au)=(μ0VJcoil0)\begin{pmatrix} K & \mu_0 V e n_e \\ -i\omega V n_e e & V n_e m_e(i\omega + \nu) + K_\mu \end{pmatrix}\begin{pmatrix} a \\ u \end{pmatrix} = \begin{pmatrix} \mu_0 V J_\mathrm{coil} \\ 0 \end{pmatrix}
coil
Jcoil=sign⋅IAwinding on each winding’s cellsJ_\mathrm{coil} = \mathrm{sign}\cdot\frac{I}{A_\mathrm{winding}} \text{ on each winding's cells}
Assumes
  • magnetoquasistatic: no displacement current (the vacuum wavelength at 1–2 MHz is far larger than the source)
  • perfect conductors: grounded (a=0a = 0) or, in a cut, floating (one shared unknown, zero net current); PP the projection to the unknowns
  • viscous electrons do not slip at the plasma's edge (u=0u = 0); the RF Lorentz force of the in-plane drift is not in the momentum balance
  • nen_e, ν\nu and TeT_e prescribed; zero viscosity reproduces the cold plasma; one complex LU per frequency
References
Built from

InductiveSolution

classsource

The time-harmonic field of InductiveField2D.solve, as complex amplitudes.

fields
E=−iωa,J=σE (cold),J=−eneu (viscous)E = -i\omega a, \qquad J = \sigma E \ (\text{cold}), \quad J = -e n_e u \ (\text{viscous})
power
P=∑cells12Re(JE∗) dV=Re(−12∑EJcoil∗ dV)P = \sum_\mathrm{cells} \tfrac12\mathrm{Re}(J E^*)\, dV = \mathrm{Re}\left(-\tfrac12\sum E J_\mathrm{coil}^*\, dV\right)
resistance
Rp=2P∣I∣2,η=RpRp+Rnet,∣I∣=P ∣I1∣2P1 (for_power)R_p = \frac{2P}{|I|^2}, \qquad \eta = \frac{R_p}{R_p + R_\mathrm{net}}, \qquad |I| = \sqrt{\frac{P\,|I_1|^2}{P_1}} \ (\texttt{for\_power})
lorentz
F=−e2Re(u n^×B∗)={(e2Re(uBy∗), −e2Re(uBx∗))cut(−e2Re(uBz∗), e2Re(uBr∗))r–z\mathbf F = -\frac{e}{2}\mathrm{Re}\left(u\,\hat{\mathbf n}\times\mathbf B^*\right) = \begin{cases}\left(\tfrac e2\mathrm{Re}(u B_y^*),\ -\tfrac e2\mathrm{Re}(u B_x^*)\right) & \text{cut} \\ \left(-\tfrac e2\mathrm{Re}(u B_z^*),\ \tfrac e2\mathrm{Re}(u B_r^*)\right) & r\text{–}z\end{cases}
friction
Pν=12∑nemeν∣u∣2 dV,Pμ=12Re(uHKμu)P_\nu = \tfrac12\sum n_e m_e \nu |u|^2\, dV, \qquad P_\mu = \tfrac12\mathrm{Re}(u^H K_\mu u)
Assumes
  • amplitudes of eiωte^{i\omega t}; volumes and powers are totals in r–z and per metre in a cut (a device's power is depth times it)
  • the conductors are lossless, so the absorbed power equals the active power of the windings

InductiveTimeStepper

classsource

Trapezoidal steps of the plasma current with Ampere's law at the new time.

current
Jn+1(1+νΔt2)=Jn(1−νΔt2)−ϵ (an+1−an),ϵ=nee2meJ^{n+1}\left(1 + \frac{\nu\Delta t}{2}\right) = J^n\left(1 - \frac{\nu\Delta t}{2}\right) - \epsilon\,(a^{n+1} - a^n), \qquad \epsilon = \frac{n_e e^2}{m_e}
field
(K+μ0Vϵ1+νΔt/2)an+1=μ0V(Jcoiln+1+Jn(1−νΔt/2)+ϵan1+νΔt/2)\left(K + \frac{\mu_0 V\epsilon}{1 + \nu\Delta t/2}\right) a^{n+1} = \mu_0 V\left(J_\mathrm{coil}^{n+1} + \frac{J^n(1 - \nu\Delta t/2) + \epsilon a^n}{1 + \nu\Delta t/2}\right)
electric
En+1=−2(an+1−an)Δt−EnE^{n+1} = -\frac{2(a^{n+1} - a^n)}{\Delta t} - E^n
modified frequency
ω′=2Δttan⁡ωΔt2\omega' = \frac{2}{\Delta t}\tan\frac{\omega\Delta t}{2}
Order
2
Assumes
  • the trapezoidal rule for ∂tJ=ϵE−νJ\partial_t J = \epsilon E - \nu J, E=−∂taE = -\partial_t a, with Ampère's law at the new time; one real LU for all steps
  • its periodic steady state is the harmonic solution at ω′\omega'; cold plasma only
  • the order is that of the field and the current after one period of a smooth drive