Skip to content

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.

ScriptWhat it checksImportant limit
validation/crossval/05_patch_antenna.py2.4 GHz finite-ground-plane patch resonance against an analytic estimate and OpenEMSHarminv resonance is the primary result; absolute probe-feed S11 is secondary
validation/crossval/11_waveguide_port_wr90.pyWR-90 empty guide, PEC short, and dielectric slabAnalytic 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:

Terminal window
python validation/crossval/05_patch_antenna.py

An 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.

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.