Cross-Solver Validation
Use these scripts to reproduce a comparison for a specific RF configuration. They are available in a source checkout and are not installed with the Python wheel.
RF checks
Section titled “RF checks”| Script | What it checks | Important limit |
|---|---|---|
validation/crossval/05_patch_antenna.py | 2.4 GHz finite-ground-plane patch resonance against an analytic estimate and OpenEMS | Harminv resonance is the primary result; absolute probe-feed S11 is secondary |
validation/crossval/11_waveguide_port_wr90.py | WR-90 empty guide, PEC short, and dielectric slab | Analytic checks, including the Airy slab result, determine the exit status. Optional local Meep, OpenEMS, and Palace files add diagnostic columns but are not required for exit code 0; see Benchmarks for the numerical ranges and checks. |
Run a script from the repository root, for example:
python validation/crossval/05_patch_antenna.pyAn exit code of 0 means all configured checks passed. Exit code 1 means a
check failed. Exit code 2 means a required external solver or reference was
unavailable, so the comparison is inconclusive.
Interpret the result
Section titled “Interpret the result”A comparison applies to the geometry, mesh, frequency range, source, port,
material model, boundary, and output used by that script. It is not a general
accuracy guarantee for related designs. Record those settings and the numerical
thresholds when citing a result. In a source checkout, validation/README.md
lists the remaining cavity, waveguide, material, and port checks.