Computational Electromagnetics
From Maxwell's Equations to a Solvable Matrix
Every CEM technique begins with the same physics: the four Maxwell curl and divergence equations together with the constitutive relations of the materials present. Because analytic solutions exist only for canonical geometries such as infinite parallel plates or perfect spheres, real RF hardware demands a numerical approach. The solver discretizes either the volume or the surface of the structure into a mesh, expands the unknown fields or currents in a finite set of basis functions, and applies boundary conditions to reduce the continuous problem to a large but finite system of linear equations. Solving that system yields the field distribution, from which engineers extract S-parameters, radiation patterns, input impedance, and loss.
The choice among methods is fundamentally a choice of where to spend computational effort. Surface methods like the method of moments mesh only conductors and use a Green's function that already satisfies the radiation condition, making them efficient for open antenna problems but producing a dense matrix. Volume methods like FEM and FDTD mesh the whole space including dielectrics and air, producing sparse matrices that handle inhomogeneous, enclosed, and resonant structures gracefully. FDTD is unique in marching the fields forward in time, so a single broadband pulse excitation captures the entire frequency response through a transform.
Accuracy in CEM is governed less by the underlying equations and more by discretization. A mesh that is too coarse aliases short-wavelength features and shifts resonant frequencies; a mesh that is too fine wastes memory and runtime. Adaptive refinement, where the solver iteratively adds elements wherever the field error is largest, has become the standard way to reach a converged, mesh-independent answer without manual tuning.
Governing Relations and Discretization
∇ × (∇ × E) − k02εrE = 0, k0 = ω√(μ0ε0)
Method of moments matrix form:
[Z]·[I] = [V], where Zmn = 〈fm, L(fn)〉
FDTD update (Yee scheme, Courant limit):
Δt ≤ 1 / (c√(1/Δx2 + 1/Δy2 + 1/Δz2))
Meshing rule of thumb: cell size ≈ λmin / 10 to λmin / 20
Where E = electric field, k0 = free-space wavenumber, εr = relative permittivity, [Z] = impedance matrix, L = integro-differential operator, c = speed of light, and λmin is the wavelength at the highest analyzed frequency.
Solver Method Comparison
| Method | Domain | Mesh | Matrix | Memory Scaling | Best For |
|---|---|---|---|---|---|
| Method of Moments (MoM) | Frequency | Surface | Dense | O(N2), MLFMM O(N·logN) | Wire and aperture antennas, arrays, RCS |
| Finite Element (FEM) | Frequency | Volume (tetrahedral) | Sparse | ~O(N1.5) | Waveguide filters, connectors, resonators |
| FDTD | Time | Volume (Yee grid) | Explicit, matrix-free | O(N) | Wideband, transient, dispersive volumes |
| Transmission-Line Matrix | Time | Volume (structured) | Explicit | O(N) | EMC, shielding, broadband structures |
| Hybrid FEM-MoM | Frequency | Volume + surface | Mixed | Problem dependent | Antenna-on-platform, radomes |
Frequently Asked Questions
When should I use FEM versus MoM versus FDTD for an RF problem?
Match the method to the geometry. MoM meshes only conductors and handles open radiators (wire antennas, arrays, scatterers) efficiently via the free-space Green's function. FEM, with its conforming tetrahedral mesh, is strongest for enclosed, inhomogeneous, resonant structures such as waveguide filters and connector transitions. FDTD suits wideband, transient, and large dispersive problems because one time-domain run yields the full sweep. Commercial tools often hybridize, for example FEM with a MoM boundary.
Why does my CEM simulation produce inaccurate S-parameters at the band edges?
Band-edge error is almost always meshing or convergence, not physics. Use at least 10 to 20 cells per wavelength at the top frequency, with local refinement at sharp metal edges and thin dielectrics. In FDTD, respect the Courant time step and use 8 to 12 PML cells to stop boundary reflections. In FEM, run adaptive refinement to a delta-S target of 0.01 to 0.02 and confirm mesh independence. Keep ports far enough from discontinuities that evanescent modes have decayed.
How much memory and runtime does a full-wave CEM solve require?
Cost scales with electrical size and method. MoM is dense: memory grows as N2 and direct solve as N3, so fast methods like MLFMM cut this to roughly N·logN. FEM and FDTD are sparse but volumetric, so memory grows with the cube of the electrical dimension. A 5G antenna module runs from minutes to a few hours on a workstation; an electrically large platform for radar cross section may need a GPU cluster and many hours. Sweeps are costly for MoM and FEM but nearly free for FDTD.