Expand description
Physical operations on fields, with quantity checks: plane waves, the Poynting vector, power flow, far-field radiation intensity and directivity, fields from potentials, wave impedance.
See the book entry Fields on grids.
Functions§
- directivity
- The directivity pattern
D(Ω) = 4π U(Ω) / P_rad(dimensionless). - fields_
from_ potentials - The fields of the potentials:
E = -∇Φ - ∂A/∂t(with∂/∂t → ±jωper convention) andB = ∇ × A, on a volume domain. Returns(E, B)in the domain’s linear basis. - peak_
directivity - The largest value of the directivity pattern on its grid.
- plane_
wave - A uniform plane wave
E = E₀ p̂ e^{-jk k̂·r}andH = k̂ × E / ηon a (non-far-field) domain, both in Cartesian components.directionis the propagation direction (normalised here) andpolarizationthe Cartesian electric polarization (its component alongdirectionis removed, then it is normalised). - power_
through_ surface - The time-averaged power
∫ Re(S)·n̂ dAthrough a surface (normal+ẑfor planes, outward for spheres and cylinders). - poynting
- The complex Poynting vector
S = ½ E × H*(its real part is the time-averaged power density), in Cartesian components. Requires an electric and a magnetic field on the same domain. - poynting_
time - The instantaneous Poynting vector
S(t) = E(t) × H(t)of time-domain fields. - radiated_
power - The total radiated power
∫ U dΩof a far-field pattern. - radiation_
intensity - The radiation intensity
U = |E_ff|² / (2η)(W/sr) of a far-field patternE_ff = r e^{jkr} E. - wave_
impedance - The wave impedance
|E| / |H|at every sample (Ω);∞whereHvanishes.