<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0" -->

---
title: Open-source, GPU-first EM simulation and automated...
description: FieldForge lets you pick a net or differential pair in KiCad and get S-parameters back without a Gerber round-trip or manual meshing. It extracts geometry and...
canonical: https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Open-source, GPU-first EM simulation and automated meshing for KiCad | daily.dev
og:description: FieldForge lets you pick a net or differential pair in KiCad and get S-parameters back without a Gerber round-trip or manual meshing. It extracts geometry and...
og:url: https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0
og:image: https://api.daily.dev/og/posts/ISrUrrex0.png
og:image:alt: Open-source, GPU-first EM simulation and automated meshing for KiCad
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 0 upvotes · 0 comments

## Summary

FieldForge lets you pick a net or differential pair in KiCad and get S-parameters back without a Gerber round-trip or manual meshing. It extracts geometry and stackup over the KiCad IPC API, auto-meshes an openEMS or Palace model, and plots Touchstone results in a PyQt6 plugin. Validation shows microstrip Z0 within -1.74% and stripline within +1.21% of analytic values. A head-to-head against gerber2ems on diff pairs passed its gates. GPU FDTD and a shielded-MoM path reach 50 GHz for via transitions. Core code is Apache-2.0 and the plugin is GPL-3.0-or-later.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/0xSufi/fieldforge>

## Questions this post answers

### Is there an open-source way to run EM simulation on KiCad nets without exporting Gerbers or meshing by hand?

FieldForge extracts net geometry and stackup from KiCad over the IPC API, auto-meshes an openEMS or Palace model, and returns Touchstone S-parameters in a PyQt6 plugin panel. It needs no Gerber round-trip and no manual mesh edits, covers 1–50 GHz PCB signal integrity, and supports differential pairs with mixed-mode SDD/SCC output.

_Engineers choosing open-source SI tooling for KiCad boards follow these projects on daily.dev._

### How accurate is an automated meshing flow for microstrip and stripline impedance compared to analytic values?

With FieldForge's auto graded grid and openEMS backend, microstrip Z0 came out -1.74% and stripline +1.21% versus analytic values. Both fall inside a 2% gate with zero manual mesh edits. The grid uses 1/3–2/3 edge snapping with smoothness of 1.5 or less.

_Anyone validating simulation accuracy before trusting results can keep up with such tooling on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 17 comments across hackernews (as of 2026-11-30).

**TL;DR:** Reaction centers on the broader vision of AI-driven PCB/IC design workflows, with the EM simulation tool itself drawing mostly practical, constructive engagement rather than pushback; several people share parallel efforts using openEMS/Palace and note mesh handling as the key difficulty.

**Sentiment:** 55% positive · 40% mixed · 5% skeptical

**The case for**

- Several people report success using similar openEMS/Palace-based simulation workflows for real hobby and product work.
- The auto-meshing and direct KiCad geometry extraction are seen as solving a long-desired gap in KiCad's tooling.
- Discrete adjoint-based optimization built on similar solvers is already considered good enough for hobby-level antenna/PCB design.

**The pushback**

- Simulation performance is a concern — a simple differential pair can take 30 minutes to an hour on GPU, which is slower than expected given multigrid solvers.
- Mesh quality/handling is repeatedly flagged as the trickiest and most sensitive part of getting accurate results.

**By community**

- hackernews (positive): Engagement is mostly constructive, with commenters sharing their own similar simulation experiments and discussing practical performance and meshing tradeoffs.

**Open questions**

- Which specific GPU hardware yields the reported 30-minute-to-hour simulation times.
- Whether autonomous AI agents can realistically close the loop on physical PCB design and testing without human intervention.

**Highlights**

> I have been doing this with Claude for a USB hub, using OpenEMS and Palace (from AWS). These methods are very sensitive to the mesh used, so better spend some time first to get that right. A simple super speed pair of a few cm takes like 30mins to an hour to simulate/extract using a GPU. I was expecting better performance, especially since Palace has a multigrid solver, but apparently this is where we are.
> — [amelius on hackernews · 1 comments](https://news.ycombinator.com/item?id=50700185)

> EM simulation has been a desired feature in KiCad for a long time, going back probably nearly a decade to the proposed SparseLizard integration. Last year at an industry conference I chatted with one of the leaders on the project and he definitely hinted that simulation capabilities are of great interest to users. I suspect that, with how easy it is to get both EM solver engines as well as setup GUIs using LLMs, it's just a matter of time until the community latches on to whichever solution ends up being the best.
> — [stn8188 on hackernews](https://news.ycombinator.com/item?id=50699428)

> 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. Tinkering with the mesh handling like a lot of PDE modelling is the tricky part. I'm at a point where the discrete adjoints are good-enough-for-hobby-work level of precision and good enough for numerical optimization (e.g. tweak a patch antenna design to be optimal for a narrow range of frequencies and fit mass and size constraints). Seems like others are approaching the space for broader PCB design.
> — [thearn4 on hackernews](https://news.ycombinator.com/item?id=50700743)

> Yes, author here. This is part of a larger work: a system to reverse engineer any PCB or IC using AI and reproduce it. Part of the process is testing signal integrity, since the purpose is sending the designed boards/artifacts for real production. The exact purpose of fieldforge is to allow EM simulation and signal integrity analysis on KiCad via openEMS and Palace.
> — [binyu on hackernews · 1 comments](https://news.ycombinator.com/item?id=50703490)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=50698780) · 84 points · 17 comments

## Similar posts on daily.dev

- [Bruteforcing Accidental Antenna Designs](https://daily.dev/posts/bruteforcing-accidental-antenna-designs-gfuyxzo5b) · Hackaday · 0 upvotes · 0 comments
- [DiffusionGemma: The Developer Guide](https://daily.dev/posts/diffusiongemma-the-developer-guide-qhlk3itzo) · Google Developers · 1 upvotes · 0 comments
- [Graphics Programming weekly - Issue 461 - November 1st, 2026](https://daily.dev/posts/graphics-programming-weekly---issue-461---november-1st-2026-kwlnglixx) · Jendrik Illner · 0 upvotes · 0 comments
- [Onsemi Launches Elite Pairing Studio for Faster SiC Power Design](https://daily.dev/posts/onsemi-launches-elite-pairing-studio-for-faster-sic-power-design-xgsqbno2k) · Embedded.com · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Open-source, GPU-first EM simulation and automated meshing for KiCad","url":"https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0"},"datePublished":"2026-11-30T18:37:58.744Z","dateModified":"2026-11-30T22:08:34.380Z","description":"FieldForge lets you pick a net or differential pair in KiCad and get S-parameters back without a Gerber round-trip or manual meshing. It extracts geometry and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9bed5e5c89034c2e973673039e195c75?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9bed5e5c89034c2e973673039e195c75?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Open-source, GPU-first EM simulation and automated meshing for KiCad"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/open-source-gpu-first-em-simulation-and-automated-meshing-for-kicad-isrurrex0#faq","mainEntity":[{"@type":"Question","name":"Is there an open-source way to run EM simulation on KiCad nets without exporting Gerbers or meshing by hand?","acceptedAnswer":{"@type":"Answer","text":"FieldForge extracts net geometry and stackup from KiCad over the IPC API, auto-meshes an openEMS or Palace model, and returns Touchstone S-parameters in a PyQt6 plugin panel. It needs no Gerber round-trip and no manual mesh edits, covers 1–50 GHz PCB signal integrity, and supports differential pairs with mixed-mode SDD/SCC output. Engineers choosing open-source SI tooling for KiCad boards follow these projects on daily.dev."}},{"@type":"Question","name":"How accurate is an automated meshing flow for microstrip and stripline impedance compared to analytic values?","acceptedAnswer":{"@type":"Answer","text":"With FieldForge's auto graded grid and openEMS backend, microstrip Z0 came out -1.74% and stripline +1.21% versus analytic values. Both fall inside a 2% gate with zero manual mesh edits. The grid uses 1/3–2/3 edge snapping with smoothness of 1.5 or less. Anyone validating simulation accuracy before trusting results can keep up with such tooling on daily.dev."}}]}
```

