flexcompute / tidy3d

Fast electromagnetic solver (FDTD) at scale.
https://docs.flexcompute.com/projects/tidy3d/en/latest/
GNU Lesser General Public License v2.1
173 stars 40 forks source link

Field projection for 2D sim or periodic sim in general #1378

Open tomflexcompute opened 7 months ago

tomflexcompute commented 7 months ago

If I understand correctly our field projection at the moment only works with absorbing boundaries. If so, is it possible to add support for 2D simulations and periodic simulations in general? Priority for this is not high.

momchil-flex commented 7 months ago

Really missing Shash for this one.

Note that DiffractionMonitor is basically equivalent to the FieldProjectionAngleMonitor/FieldProjectionKSpaceMonitor for a plane covering the entire simulation domain with periodic boundaries with far_field_approx=True. So I think use cases that still need to be covered are (in order of decreasing priority imo):

Am I missing something?

tomflexcompute commented 7 months ago

Yeah that sounds very good.

tomflexcompute commented 5 months ago

Since the opening of this issue, a number of users have asked about field projection for 2D sims. The use cases include the initial design of grating couplers in 2D and finite diffractive gratings that are translation invariant in one dimension.

Bumping the priority of this issue up a bit but it's fine if it's going to take some time.

momchil-flex commented 5 months ago

Ok, noted about higher priority, but it will still take some time.