matthuszagh / pyems

High-level python interface to OpenEMS with automatic mesh generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementing hyperlynx imports to simulate

obstinacyvalue opened this issue · comments

I was wondering if there were plans to try and easily implement importing hyperlynx files from openEMS:

https://openems.de/index.php/Tutorial:_Importing_with_hyp2mat.html

I wouldn't mind taking a crack at trying to do it myself but wanted to know if this functionality fits in with the project as you have built it so far.

Right now I am creating PCBs in KiCAD and using the octave script provided to simulate. Ideally I would try and leverage your optimization methods to iterate the layout.

I'm not too familiar with hyperlynx import, though I do think this is conceptually compatible with pyems and I would be happy to review and potentially accept a PR that implements it.

However, it may not be easy to use the optimization methods in conjunction with a hyperlynx import. Pyems doesn't provide additional functionality for modifying an existing csxcad structure. That being said, pyems will not prevent you from accessing the csxcad primitives yourself and modifying them to your liking. If you write a function that does that as you see fit, you can still use pyems's optimization methods and other functionality (meshing etc.).