antmicro / gerber2ems

Apache License 2.0
81 stars 10 forks source link

inconsistent results with two similar models #10

Open jwise opened 6 months ago

jwise commented 6 months ago

I'm messing with teaching myself microwave design, and I've found a case in which the mesher (or something?) appears to get confused. I have reproduced this as a "good case" and a "bad case", with one minimum polygon that differs.

Good case

Here's a set of fab files and a json:

good.zip

This runs as I would expect. Here's the exported F_Cu.png, and here's a representative frame from Paraview, as well as the meshed F_Cu:

F_Cu

image

F_Cu png_mesh

Bad case

In this, I add a single cutout, hoping to add a series inductor.

Here's a set of fab files and a json:

bad.zip

This does not run as I would expect. It appears that nothing seems to propagate from the input port (?). Here's the exported F_Cu.png, and here's a representative frame from Paraview, and the mesh:

F_Cu

image

F_Cu png_mesh

I am a little lost as to how to debug this :-) The meshes are very different but I'm not sure why one would be 'good' and the other would be 'bad'.