Home / Blog / Open-source, GPU-first EM simulation and automated meshing…
Tech News

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

FieldForge launched an open-source GPU-first EM simulation and automated meshing engine for KiCad that validates PCB signal integrity from 1 to 50 GHz.

By Dillip Chowdary • Nov 30, 2026 • Source: github.com

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

At a glance

Product
FieldForge
Platform
KiCad 9 IPC API
Frequency range
1–50 GHz
Supported architectures
NVIDIA CUDA sm_61 and sm_86
Core licenses
Apache-2.0 and GPL-3.0-or-later
Measurement limit
±25% window systematics on two-probe

Open-source developer 0xSufi released FieldForge, an open-source GPU-first electromagnetic simulation and automated meshing framework designed for high-speed printed circuit board signal integrity analysis from 1 to 50 GHz. According to github.com's report, the software extracts exact trace geometries and dielectric stackups directly from KiCad without requiring intermediate Gerber file conversions or manual mesh construction.

This report details the technical architecture, validation gates, and solver execution pipelines implemented across FieldForge for hardware engineers designing high-frequency printed circuit boards. It examines the automated meshing algorithms, CUDA Yee time-domain kernels, and shielded method-of-moments solvers that together generate Touchstone S-parameter models for single-ended traces and differential pairs.

01Headless extraction and automated meshing gates

FieldForge extracts board layout geometry directly from KiCad 9 using an inter-process communication API rather than exporting intermediate fabrication files. The extraction pipeline captures copper polygons, vias, and dielectric stackup definitions across three KiCad format generations. Testing validates clean extraction across complex boards including the eight-layer Antmicro Jetson Orin baseboard, HackRF One, Castor and Pollux, and StickHub.

The automated grid generator implements edge snapping between one-third and two-thirds grid boundaries while maintaining mesh smoothness below 1.5. In openEMS benchmark runs against analytic formulas, microstrip impedance error reached minus 1.74 percent, and stripline trace error reached plus 1.21 percent. Both results satisfied the 2.0 percent pass threshold without requiring manual mesh intervention.

| Benchmark Coupon | Metric Evaluated | Target Limit | Measured Result | | Microstrip Line | Z0 Analytic Error | ±2.0% | −1.74% | | Stripline Trace | Z0 Analytic Error | ±2.0% | +1.21% | | Differential Pair | \|ΔSDD21\| p95 (0.2–6 GHz) | 0.50 dB | 0.32 dB | | Differential Pair | \|ΔSDD11\| (0.2–6 GHz) | 3.00 dB | 2.34 dB |

Head-to-head coupon comparisons against gerber2ems demonstrated 95th-percentile insertion loss variance of 0.32 dB and return loss variance of 2.34 dB from 0.2 to 6 GHz. Both measurements passed their respective validation gates of 0.5 dB and 3.0 dB. However, reference cross-validation tests indicate that passivity limits emerge when evaluating frequencies above 12 GHz.

02Plugin workflow and execution command loop

A graphical plugin implemented in PyQt6 embeds directly into KiCad to accelerate signal analysis. Hardware designers select an individual net or differential pair to trigger automatic net-region cutout meshing and geometry extraction. The plugin then runs simulation routines and displays resulting Touchstone S-parameter curves inside an interactive interface panel.

For boundary-element calculations, FieldForge generates Palace and Gmsh models featuring prism extrusion, lumped ports, and surface impedance boundary conditions. These simulation payloads can be queued directly to laboratory servers following documented runbooks. Alternatively, developers can bypass the graphical interface to execute extraction and solve commands directly in terminal environments.

  1. Run continuous integration Execute the test suite across unit, KiCad, solver, and CUDA tiers.
  2. Extract board geometry Launch the graphical application or run the moment solver with target board files and frequency bands.
  3. Generate network plots Render Touchstone output, Smith charts, and Riemann hemisphere projections using the plotting module.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

03CUDA Yee kernels and modular physics ABI

The finite-difference time-domain engine executes on custom CUDA Yee kernels targeting NVIDIA Pascal sm_61 and Ampere sm_86 microarchitectures. Exact-advection stability gates protect simulation accuracy, enabling via-transition validation sweeps to reach 50 GHz. For higher throughput, an alternative fused z-march engine employs ping-pong memory buffers to maximize simulation capacity while maintaining bit-compatible physics.

Physics modules compose around the core step function through a modular application binary interface without internal engine coupling. During each simulation step, routines evaluate Debye dispersion snapshots, advance Yee fields, apply surface impedance damping across conductor faces, and gather port currents. Additive accessor functions provide external tools with read-only access to fields, mesh spacing tables, and material maps.

Absorbing boundary conditions use physical-distance graded convolutional perfectly matched layers within the pyff library as the canonical implementation. Diagnostic measurement utilities include a two-probe gated transmission tool and a window-immune sealed-box resonator quality-factor calculator. Simulation fields can also be exported through field-dump modules and inspected using a standalone command-line visualizer.

04Shielded method of moments and parameter synthesis

The shielded method-of-moments solver provides an accelerated calculation pipeline that processes board files or cached geometry using dense GPU acceleration. The framework utilizes adaptive band synthesis to solve complete frequency ranges using approximately 8 to 12 discrete points. If a rational fit violates passivity or fails to converge, the solver automatically falls back to honest linear-point calculations.

Differential pairs generate mixed-mode SDD and SCC Touchstone data alongside reports verifying reciprocity and passivity. For example, analyzing a bridge3090 differential pair across 0.2 to 6 GHz required 12 solved frequency points to generate mixed-mode parameters and Smith charts. Network analysis tools also generate four-port magnitude heatmaps, such as those evaluated for the NVCLK1_P network at 2 GHz.

05Architecture tiers and upcoming engineering milestones

The project architecture partitions source code across distinct licensing boundaries to balance modular reuse with open licensing. Core C++20 and CUDA time-domain kernels alongside the pyff modeling libraries use the Apache-2.0 license. Meanwhile, the KiCad plugin client and PyQt6 interface use the GPL-3.0-or-later license, integrating external components including openEMS, Palace, and OrthoRoute.

Development priorities focus on closing unattended convergence loops across a public mesh test gauntlet. The roadmap also calls for completing open-media method-of-moments integrations and implementing signal-integrity-aware routing algorithms within board layout environments. Furthermore, developers plan to correlate physical coupon measurements above 6 GHz against simulated solver outputs to expand high-frequency validation data.

Note: The two-probe gated transmission measurement instrument carries documented window systematics of plus or minus 25 percent, whereas the sealed-box resonator technique provides window-immune alternative metrics. Furthermore, engineers should observe that reference cross-validation tools exhibit documented passivity limits when simulating frequencies above 12 GHz.

Frequently asked questions

What board layout tools does FieldForge support?

FieldForge extracts geometry from KiCad 9 using an inter-process communication API. The extraction pipeline has been validated across three KiCad format generations, including designs for the HackRF One and Antmicro Jetson Orin.

How accurate is the automated meshing in benchmark tests?

The automated openEMS meshing backend achieved an impedance error of minus 1.74 percent on microstrip lines and plus 1.21 percent on stripline traces. Both results pass the strict 2.0 percent validation gate without manual mesh editing.

What GPU architectures accelerate the time-domain simulations?

FieldForge executes CUDA Yee kernels optimized for NVIDIA Pascal sm_61 and Ampere sm_86 architectures. Numerical stability gates protect calculations, enabling via-transition validation sweeps to reach 50 GHz.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →