Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Photonics Arbitrary sign for eigen mode Reply To: Arbitrary sign for eigen mode

Guilin Sun
Ansys Employee

Unfortunately the seeds for FDE are random and might be machine dependent. and the back propagation modes are also physical. I could not duplicate your result:

what OS version you are using?

 

You may try to disable the "rand", or reset it like this: 

?randreset();

I do not see the necessity here using "rand".

 

I tested your script. with randreset as well as disabled "rand", they all give the same result on Win11:

 

We need to duplicate the issue if it is a bug.

[bingo_chatbox]