Some users are confused by the fact that our flux planes must be aligned with x/y/z. Because of energy conservation, however, you don't need a different orientation even for waveguides that are at an oblique angle.
It might be nice to have a tutorial example illustrating this.
I was thinking of an example that looked at transmission around a gradual bend, i.e. a straight waveguide into a circular bend of radius R, coming out at a 45-degree angle. As the radius R increases, the transmission should go exponentially to 100% (in the limit of infinite resolution, of course).
So, you could have a 2d example:
-
a straight-waveguide simulation (along the x direction) to get the incident power (for normalization) alo
-
a bent-waveguide simulation to get the transmitted power into the waveguide exiting at a 45-degree angle, but using a Cartesian flux plane (e.g. perpendicular to x). even though you compute the flux "at an angle" the power should divided by the incident power from (1) as R increases.
(Of course, PML doesn't quite work for a waveguide exiting at a 45-degree angle either, but we can cite our paper here, and simply use a thick enough pPML.)
Some users are confused by the fact that our flux planes must be aligned with x/y/z. Because of energy conservation, however, you don't need a different orientation even for waveguides that are at an oblique angle.
It might be nice to have a tutorial example illustrating this.
I was thinking of an example that looked at transmission around a gradual bend, i.e. a straight waveguide into a circular bend of radius R, coming out at a 45-degree angle. As the radius R increases, the transmission should go exponentially to 100% (in the limit of infinite resolution, of course).
So, you could have a 2d example:
a straight-waveguide simulation (along the x direction) to get the incident power (for normalization) alo
a bent-waveguide simulation to get the transmitted power into the waveguide exiting at a 45-degree angle, but using a Cartesian flux plane (e.g. perpendicular to x). even though you compute the flux "at an angle" the power should divided by the incident power from (1) as R increases.
(Of course, PML doesn't quite work for a waveguide exiting at a 45-degree angle either, but we can cite our paper here, and simply use a thick enough pPML.)