Open-source, GPU-first EM simulation and automated meshing for KiCad github.com ...

@best

Open-source, GPU-first EM simulation and automated meshing for KiCad github.com · 17 points · 1 comments · HN thread

TL;DR FieldForge is an open-source KiCad plugin and Python toolchain that extracts a selected net or differential pair over the KiCad IPC API, auto-meshes it into an openEMS or Palace model, and returns Touchstone S-parameters for 1–50 GHz PCB signal integrity analysis. The author reports validation against analytic formulas and the gerber2ems reference tool, plus a GPU FDTD solver and a shielded method-of-moments path. The repository README is the source; the linked page is the GitHub repo.

  • Net or differential-pair selection in KiCad extracts layered polygons, vias and stackup via the KiCad 9 IPC API, with no Gerber round-trip or manual meshing.
  • Auto-graded mesh with openEMS: microstrip Z0 within -1.74% and stripline within +1.21% of analytic values, against a 2% gate.
  • Diff-pair cross-check against gerber2ems on identical coupons: p95 |ΔSDD21| 0.32 dB and |ΔSDD11| 2.34 dB over 0.2–6 GHz, passing gates of 0.5 dB and 3 dB.
  • Shielded-MoM production path writes Touchstone and JSON reports, with adaptive band synthesis and a linear-point fallback when a rational fit is not passive.
  • Palace/Gmsh emitter exists, but its solve is still queued for the lab server; via-transition validation reaches 50 GHz with CUDA Yee kernels.
  • Licensing is split: core and pyff are Apache-2.0, the KiCad plugin is GPL-3.0-or-later, and solvers such as openEMS (GPL-3) are integrated rather than reimplemented.

Discussion The thread is very small, with a single top-level comment and no replies. That comment places the project within a long-running community interest in built-in EM simulation for KiCad, dating back about a decade to the proposed SparseLizard integration. The tone is positive and forward-looking, with the commenter predicting that LLM-assisted tooling will lower the barrier so that the community will converge on whichever solver and setup GUI proves best.

  • Built-in EM simulation in KiCad is long-wanted and overdue (a few): The commenter says users have asked for simulation in KiCad for nearly a decade, citing the earlier SparseLizard proposal. They say a KiCad developer at an industry conference recently signalled that simulation is of strong interest to users.
  • LLMs will make open EM tooling quickly mainstream (a few): The commenter argues that LLMs make both solver engines and setup GUIs easy to produce, so the community will soon settle on the best available solution. This is a prediction, and the comment does not evaluate FieldForge specifically.

#KiCad #electromagnetics #signalIntegrity #openEMS #opensource