Open-source, GPU-first EM simulation and automated meshing for KiCad
By hackernews · · Repos
Open-source, GPU-first EM simulation + automated meshing for KiCad (1–50 GHz PCB SI).
Select a net or differential pair in KiCad → exact geometry + stackup extracted over the IPC API → auto-meshed openEMS / Palace model → Touchstone S-parameters plotted back in the plugin. No Gerber round-trip, no manual meshing.
Status: board extraction, automated meshing, GPU FDTD and shielded-MoM S-parameter production are working end to end, including mixed-mode pairs and via-transition sweeps through 50 GHz.
Shipped so far (each with tests + a committed validation report):
SI plots
Mixed-mode SDD parameters and the corresponding Smith chart for a real bridge3090 differential pair (12 solved points, 0.2–6 GHz):
The same SDD loci projected onto the Riemann hemisphere:
An |S(i,j)| heatmap for the NVCLK1_P four-port network at 2 GHz:
Generate these views with mom.plot: --mm for mixed-mode labels and --sphere for the hemisphere projection. The solver also writes the underlying Touchstone and JSON reports, so every figure remains machine-checkable.
Shielded-MoM product loop — one command to S-parameters:
What Hacker News is saying
- “EM simulation has been a desired feature in KiCad for a long time, going back probably nearly a decade to the proposed SparseLizard integration.”
- “I have been doing this with Claude for a USB hub, using OpenEMS and Palace (from AWS).”
- “this one leans on openEMS and Palace for a lot of the solving.”
- “I did something like this with the recent GPU features of OpenEMS, which has been good enough for hobby FPV antennas that have PCB elements carrying RF.”