hn.today

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

github.com106 points19 comments
Screenshot of Open-source, GPU-first EM simulation and automated meshing for KiCad

FieldForge is an open-source electromagnetic simulation workflow for analyzing PCB signal integrity from KiCad designs, targeting 1-50 GHz. A KiCad plugin lets users select a net or differential pair; the software extracts board geometry and layer stackup through KiCad’s IPC interface, builds a simulation mesh, runs a solver, and displays resulting Touchstone S-parameters. The project combines C++/CUDA field-solver components with Python geometry and solver tools, and integrates openEMS, Palace, Gmsh, and a GPU-capable method-of-moments solver. Its interface supports differential and mixed-mode results, plots, and machine-readable reports, avoiding a Gerber export and manual meshing workflow.

The repository reports working end-to-end board extraction, automated meshing, GPU FDTD, and shielded method-of-moments simulations, with tests and reproducible validation reports. In analytic checks, automatically meshed microstrip and stripline impedances differ from reference values by −1.74% and +1.21%, respectively, within a 2% threshold. Comparisons against gerber2ems report a 95th-percentile differential transmission difference of 0.32 dB and reflection difference of 2.34 dB over 0.2-6 GHz; validation notes limitations in the reference tool above 12 GHz. Via-transition validation extends to 50 GHz. The solver can synthesize frequency bands adaptively, but falls back to individual frequency-point solves when fitting is unreliable. Remaining work includes unattended mesh-convergence handling, open-media MoM, routing integration, and further measurement correlation above 6 GHz.

Read on github.com19 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Rust

Laravel Rust

Laravel for Rust is a full-stack web framework with routing, validation, database tools, background jobs, and real-time features. It also supports Inertia for frontend integration and is released under the MIT license. (github.com)

The Uberization of Software

The Uberization of Software

Ride-hailing apps greatly expanded demand for trips but undercut the value of taxi medallions and squeezed driver earnings by removing the supply limits that had protected them. The essay argues that software engineering faces a similar paradox: rising demand can lower workers’ pay when technology rapidly expands the supply of labor. (lsrx.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.