Skip to content
Projects

Grounded strip

The equations of tree_d_3d.strip, declared on the code that implements them and checked by the tests.

GroundedStripField

classsource

Field and potential of line charges between plates at x = 0 and x = L.

map
ζ=eiπz/L,z=x+iy:0<x<L → Im⁡ζ>0,x=0,L → Im⁡ζ=0\zeta = e^{i\pi z/L}, \qquad z = x + iy: \quad 0 < x < L \ \to\ \operatorname{Im}\zeta > 0, \quad x = 0, L \ \to\ \operatorname{Im}\zeta = 0
green
ϕ(z)=−2ke∑jqjln⁡∣ζ−ζjζ−ζˉj∣=−2ke∑jqjln⁡∣sin⁡((z−zj)/2a)sin⁡((z+zˉj)/2a)∣,a=Lπ\phi(z) = -2k_e\sum_j q_j \ln\left|\frac{\zeta - \zeta_j}{\zeta - \bar\zeta_j}\right| = -2k_e\sum_j q_j \ln\left|\frac{\sin\big((z - z_j)/2a\big)}{\sin\big((z + \bar z_j)/2a\big)}\right|, \qquad a = \frac{L}{\pi}
field
Ex−iEy=2ke W′(ζ) iπLζ,W=∑jqj[ln⁡(ζ−ζj)−ln⁡(ζ−ζˉj)]E_x - iE_y = 2k_e\, W'(\zeta)\, \frac{i\pi}{L}\zeta, \qquad W = \sum_j q_j \big[\ln(\zeta - \zeta_j) - \ln(\zeta - \bar\zeta_j)\big]
Assumes
  • line charges strictly between grounded plates at x=0x = 0 and x=Lx = L (ϕ=0\phi = 0 there exactly), open in yy
  • one image −qj-q_j at ζˉj\bar\zeta_j per charge: one free-space log sum over 2N2N sources in the mapped plane, by the FMM (order 14, θ\theta 0.5) or directly
  • probes at arbitrary points use the Barnes-Hut walk in the mapped plane
Built from

field_at_charges

functionsource

Potential (V) and field (V/m, shape (2, N)) acting on every charge.

self term
Ex−iEy+=2keqi ζ′′2ζ′=iπkeqiL,ϕ−=2keqiln⁡∣ζ′(zi)∣=2keqiln⁡π∣ζi∣LE_x - iE_y \mathrel{+}= 2k_e q_i\,\frac{\zeta''}{2\zeta'} = \frac{i\pi k_e q_i}{L}, \qquad \phi \mathrel{-}= 2k_e q_i \ln|\zeta'(z_i)| = 2k_e q_i \ln\frac{\pi|\zeta_i|}{L}
image force
Ex=−πkeqLcot⁡πxL,Ey=0(a lone charge)E_x = -\frac{\pi k_e q}{L}\cot\frac{\pi x}{L}, \qquad E_y = 0 \qquad \text{(a lone charge)}
softening
Δϕ=−keqln⁡r2+ε2r2,ΔE=2keq d(1r2+ε2−1r2),r<c ε\Delta\phi = -k_e q \ln\frac{r^2 + \varepsilon^2}{r^2}, \qquad \Delta\mathbf E = 2k_e q\, \mathbf d \left(\frac{1}{r^2 + \varepsilon^2} - \frac{1}{r^2}\right), \qquad r < c\,\varepsilon
Assumes
  • a charge's own term ln⁡(ζ−ζi)\ln(\zeta - \zeta_i) is dropped from the sum and its regular part ln⁡ζ−ζiz−zi→ln⁡ζ′(zi)\ln\frac{\zeta - \zeta_i}{z - z_i} \to \ln\zeta'(z_i) restored: the image force of the plates plus all other charges and their images
  • softening has no fixed image in the mapped plane (∣dζ/dz∣=π∣ζ∣/L|d\zeta/dz| = \pi|\zeta|/L): pairs closer than c εc\,\varepsilon (cc = cutoff = 6) in the physical plane get the free-space difference; beyond, the neglected change is below 1/(1+c2)1/(1 + c^2) of a pair field
  • a lone charge at mid-gap feels no force