tidy3d icon indicating copy to clipboard operation
tidy3d copied to clipboard

Field projection for 2D sim or periodic sim in general

Open tomflexcompute opened this issue 1 year ago • 4 comments

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.

tomflexcompute avatar Jan 11 '24 19:01 tomflexcompute

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):

  • FieldProjectionCartesianMonitor with periodic boundaries
  • periodic boundaries on one side but not the other, like a 2D sim with pml
  • far_field_approx = False
  • near field plane that does not span the full plane along the periodic direction (this seems like a weird setup)

Am I missing something?

momchil-flex avatar Jan 11 '24 19:01 momchil-flex

Yeah that sounds very good.

tomflexcompute avatar Jan 11 '24 19:01 tomflexcompute

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.

tomflexcompute avatar Mar 12 '24 20:03 tomflexcompute

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

momchil-flex avatar Mar 13 '24 18:03 momchil-flex