EMI simulations

I am trying to do an EMI simulation of the KiCad project with Ansys.
Did anybody try, or is it possible to export KiCad PCB design into one of the high-end tools (Ansys or Hyperlynx) to do EMI simulation?
Ansys has translators for Cadence and Mentor Graphics but nothing for KiCad.

Thanks,
Edi

1 Like

KiCad v6 → PCB Editor → File → Export → Hyperlynx.

2 Likes

Kicad can export hyperlynx files for electromagnetic modeling.
You can also see the site: openEMS.de | free and open electromagnetic field solver

OpenEMS is a free and open electromagnetic field solver using the FDTD method

Best regards.

2 Likes

I can’t open Kicad files exported to Hyprlynx.
Hyperlynx gives me this error message:
“Syntax error: Invalid layer for POLYGON or POLYLINEs at line 354”.

When I open .hyp file the line 354:
“{POLYGON T=POUR L=“In1.Cu” ID=1 X=0.8334783071 Y=3.2584645669”.

Then I exported 3 different KiCad boards into .hyp, and I always got the same error message (on a different line number but same error).
Syntax error: Invalid layer for POLYGON or POLYLINEs at line xxx

Any thoughts on what I should do?

1 Like

AFAIK @twl wrote the exporter, maybe he can say something.

1 Like

Try removing the dots from the layer names.

T.

2 Likes

Please see also FOSDEM 2022 - Advanced PCB simulation with KiCad

3 Likes

In case anyone else runs across this error, it’s caused by a missing stackup in the .hyp file. HyperLynx is running into a polygon which references a layer that it doesn’t know anything about because of the missing stackup information. If you open up the file you should see the “{STACKUP” header near the top, but the contents are empty, you’ll need to fill this out with your board stackup. You can reference the example .hyp files from the HyperLynx installation for the proper syntax.

3 Likes