Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Arbitrary sign for eigen mode › Reply To: Arbitrary sign for eigen mode
March 22, 2024 at 8:43 pm
amitrotem2
Subscriber
Â
You mean this;
set("direction", "Backward")
Why would you disable that ? If you leave it as is you get values close to 1
Â
 ?abs(Smat);
result:Â
0.00548752 Â 0.0184426 Â 0.99328 Â 0.977123 Â
0.00729792 Â 0.0060976 Â 0.999832 Â 0.9935 Â
0.99337 Â 0.99988 Â 0.000633771 Â 0.000932185 Â
0.977351 Â 0.9933 Â 0.00385249 Â 0.00270568 Â
Â
The whole point is to have some shift along the Y direction like in Bragg grating. Are you worried about the intersection areas? you can add a narrow block along the other block, still get the same result. Even if y_shift is 20 nm, you still get the minus signs.
Â