Skip to main content

Module physics

Module physics 

Source
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) and B = ∇ × 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} and H = k̂ × E / η on a (non-far-field) domain, both in Cartesian components. direction is the propagation direction (normalised here) and polarization the Cartesian electric polarization (its component along direction is removed, then it is normalised).
power_through_surface
The time-averaged power ∫ Re(S)·n̂ dA through 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 pattern E_ff = r e^{jkr} E.
wave_impedance
The wave impedance |E| / |H| at every sample (Ω); ∞ where H vanishes.