BerkeleyPhotonicsGenerator / BPG

The Berkeley Photonics Generator (BPG) is a Python framework that enables the generation and simulation of photonics layout
BSD 3-Clause "New" or "Revised" License
35 stars 8 forks source link

Enable XY -> YZ/XZ axis transformation #83

Closed pvnbhargava closed 5 years ago

pvnbhargava commented 6 years ago

Lumerical unfortunately has a preferred axis, and only allows certain simulation types to be run along certain axes. For vertical grating couplers, the XY plane is not in alignment with the 2D FDTD simulation setup and must be rotated.

Initial approach

pvnbhargava commented 5 years ago

This turns out to be practically infeasible. It turns out that Lumerical makes hard assumptions that the vertices in all polygons represent those in the XY plane, and there is no way to change it around...

The "solution" is to just use 2.5D fdtd and live with the increase in simulation time for now