
3D Electromagnetics, powered by Palace
The cylinder_cavity_pec example is an eigenmode analysis of a dielectric-filled cylindrical cavity with perfect electric conductor (PEC) walls. Palace computes the lowest resonant frequencies and mode shapes of the closed cavity — the reference resonator case against which lossy-wall, Floquet, and waveguide variants are compared.
- Source-free curl-curl eigenproblem — Palace solves ∇×(μ⁻¹∇×E) = ω²εE for eigenpairs (ωn, En); ideal PEC walls make the modes lossless (real frequencies)
- Targeted eigensolve — a target frequency biases the solver toward the fundamental TE111 band near 2.9 GHz
- High order (4) on a hexahedral mesh for accurate frequencies and clean mode shapes — a strong validation baseline for cavity eigensolvers
- Problem type: Eigenmode, hexahedral mesh, length unit L0 = 1 cm
- Material: dielectric fill, εr = 2.08, μr = 1.0, loss tangent 0.0004
- Boundaries: cavity walls + end caps = PEC (lossless)
- Eigensolver: 15 eigenpairs, target 2.0 GHz, tolerance 1e-8
- Inner solve: GMRES + geometric-multigrid preconditioner, GPU device (order 4)
The core transferable physics: any bounded electromagnetic volume rings at a discrete set of resonant frequencies determined by its geometry and fill material. Solving the eigenproblem returns those frequencies and their field patterns. What changes across applications is the cavity shape and fill — and what the resonances control: filter pass-bands, oscillator stability, accelerator RF, or qubit environment.
Order-4 elements on a hex mesh resolve eigenfrequencies to a fraction of a percent — good enough to place filter poles without a physical prototype.
The eigensolver returns a whole band of modes and their shapes at once, so spurious and higher-order modes are identified up front.
The lossless PEC case is the reference every real design is measured against — and the anchor for the impedance, Floquet, and waveguide variants.
Multigrid-accelerated GMRES on GPU makes dimension sweeps to tune a resonant frequency a rapid, iterative exercise.
Select a domain to see how this simulation applies, with industry-specific scenarios and ROI.
Cavity resonators are the heart of high-performance microwave filters, oscillators, and combiners. The whole design hinges on placing resonant modes at precise frequencies and knowing where spurious modes fall. Because the resonance is set by cavity geometry and fill, an inaccurate prediction means machined hardware that lands off-frequency and needs mechanical tuning or scrap.
Traditional practice leans on tables, formulas, and prototype-and-tune cycles. Each machined cavity iteration costs $3K–$20K and days of lab time; a complex multi-cavity filter can consume a dozen iterations before it meets spec.
Eigenmode simulation predicts the full mode spectrum up front, letting designers dimension the cavity and tuning elements before cutting metal.
| Application | How this simulation maps |
|---|---|
| Cavity filter design | Eigenfrequencies place the pass-band; higher modes reveal spurious responses |
| Dielectric resonator oscillators | Fundamental mode frequency and field pattern set oscillator frequency and coupling |
| Combiner / multiplexer cavities | Mode spectrum guides channel spacing and isolation |
Scenario: A microwave-filter shop develops 40 cavity designs/year, each averaging 8 machined tuning iterations. Eigenmode simulation cuts iterations to 2.5.
Fewer machining cycles also free scarce precision-machining capacity for production rather than prototypes.
Run your cavity
Swap in your cavity geometry and fill material, set the target frequency, and read the mode spectrum.
Sweep the dimensions
Vary radius/length to tune the fundamental frequency and separate it from spurious modes.
Add realistic loss
Move to cylinder_cavity_impedance for finite-Q lossy walls, or cylinder_floquet/cylinder_waveguide for periodic structures.
Run this example on NumericalAI's cloud platform. No installation, no infrastructure management — just results.
© 2026 NumericalAI, all rights reserved. |Privacy Policy |Terms of Service |Executive brief |FAQ