Angled plane wave sources incompatible with absorbing boundaries - workaround? Plans to address this? #3251
-
|
If I try to use a angled plane wave source with absorbing boundaries in the lateral dimensions (e.g. propagation in z, absorbing in x or y), I get the following error: ValidationError: 1 validation error for Simulation
boundary_spec
Angled plane wave sources are not compatible with the absorbing boundary along dimension 0. Either set the source ``angle_theta`` to ``0``, or use Bloch boundaries that match the source angle. (type=value_error.setup)Is there a workaround for this? The couple I can think of:
Are there plans to add this feature into Tidy3D? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There are currently no plans to expand the existing functionalities.
In general, the best solution would be broadband fixed-angle support in the TFSF source. However, this is somewhat involved, and not really on our to-do list right now (maybe some day in the future). However, I would say that it it not impossible, and maybe only a bit cumbersome to do broadband simulations by sticking several fixed-k simulations with several different center frequencies. I think just a few of those would give you pretty good results, because each is close to accurate for some small bandwidth around the center. This might even be cheaper to do in some cases, because broadband fixed angle simulations can require a significant reduction of the time step to be stable.
I would say, the other option to consider along these lines is a GaussianBeam source with absorbing boundaries. Then you can use the field projection monitors. Of course it is not equivalent to plane-wave illumination, but depending on what you're trying to do, you could get useful results. |
Beta Was this translation helpful? Give feedback.
There are currently no plans to expand the existing functionalities.
In general, the best solution would be broadband fixed-angle support in the TFSF source. However, this is somewhat involved, and not really on our to-do list right now (maybe some day in the future). However, I would say that it it not impossible, and maybe only a bit cumbersome to do broadband simulations by sticking several fixed-k simulations with several different center frequencies. I think just a few of those would give you pretty good results, because each is close to accurate …