simbilod / meshwell

GMSH wrapper, with integrated photonics focus
https://simbilod.github.io/meshwell/
GNU General Public License v3.0
19 stars 2 forks source link

Support adding surfaces to ports at edges of a simulation #20

Closed nikosavola closed 10 months ago

nikosavola commented 11 months ago

This would be useful for full-wave simulations with Palace

Screen recording 2023-08-02 16 31 54

simbilod commented 10 months ago

This would be useful generally. I have some work on a branch, but it is very difficult to make generalizable to arbitrary 2D and 1D entities.

Is there a quick workaround that would work help? Say, just allowing 2D planes like this in very specific configurations?

nikosavola commented 10 months ago

This would be useful generally. I have some work on a branch, but it is very difficult to make generalizable to arbitrary 2D and 1D entities.

Is there a quick workaround that would work help? Say, just allowing 2D planes like this in very specific configurations?

These would exist exclusively at the ends of waveguides on the simulation boundary. I guess that maybe allows for a hack?

simbilod commented 10 months ago

Closing for now as the strategy to do this is outlined in the docs, and has been implemented in gdsfactory. Feel free to reopen if more functionality is needed