
3D Electromagnetics, powered by Palace
The waveguide example is a driven full-wave S-parameter extraction of a rectangular waveguide section excited through numeric wave ports. Palace solves the frequency-domain Maxwell equations with a wave-port excitation and reports the scattering parameters (return loss S₁₁, insertion S₂₁) — the reference driven workflow for all waveguide components.
- Wave-port excitation — the port solves its own 2D modal problem and launches the correct waveguide mode (TE₁₀), giving physically exact terminations with no lumped approximation
- S-parameters — the full-wave solution yields |S₁₁| (match) and |S₂₁| (transmission) versus frequency, the currency of every RF datasheet
- Energy balance — electric/magnetic energy and port power confirm a consistent, converged solution
- Problem type: Driven (frequency domain), X-band rectangular guide
- Excitation: numeric Wave Ports at each end, TE₁₀ mode
- Boundaries: metal walls = PEC; ports terminate the guide with the exact modal impedance
- Output: S-parameters vs frequency, field animation of the propagating mode
- Solver: GMRES + multigrid preconditioner, GPU device, high-order elements
The core transferable physics: any microwave structure can be characterized by driving it at its ports and measuring how power reflects and transmits — its S-parameters. Wave ports give the physically correct modal excitation for guided structures. Whatever the component (straight guide, bend, transition, filter), the same driven solve produces the datasheet-ready S-matrix.
Numeric wave ports solve the true modal field, launching and absorbing waves with the correct impedance — no artificial reflections to corrupt the S-parameters.
S₁₁/S₂₁ versus frequency map directly to return loss and insertion loss — the numbers customers specify and test against.
Port power and stored energy provide a built-in consistency check that the solution has converged.
Fast driven solves make broadband frequency sweeps of components practical for daily design iteration.
Select a domain to see how this simulation applies, with industry-specific scenarios and ROI.
Waveguide components — transitions, bends, tapers, filters, orthomode transducers — are specified entirely by their S-parameters: return loss, insertion loss, and bandwidth. Predicting these before machining is the difference between a first-article that passes and a cut-and-try loop on precision hardware.
Each machined waveguide iteration costs $3K–$25K and days of lab measurement. Complex components can absorb a dozen iterations to meet a demanding return-loss spec.
Driven wave-port simulation delivers the full S-parameter response so components are dimensioned to spec before metal is cut.
| Application | How this simulation maps |
|---|---|
| Transitions & tapers | S₁₁/S₂₁ vs frequency verify match and low loss across the band |
| Waveguide filters | Full-wave S-parameters set pass-band, rejection, and ripple |
| Bends, twists, junctions | Reflection and mode conversion quantified before build |
Scenario: A waveguide-component maker develops 35 components/year at 7 machined iterations each. Driven S-parameter simulation cuts iterations to 2.5.
Fewer machined iterations also free precision-machining capacity and shorten quote-to-delivery times.
Drive your component
Load your waveguide geometry, place wave ports, and run the driven solve to get S-parameters vs frequency.
Sweep the band
Run a frequency sweep to verify return and insertion loss across the full operating band.
Compare port strategies
For planar structures, see the cpw_* examples that contrast lumped, wave, and coax ports with uniform and adaptive sweeps.
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