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 How to extract values from Mode List data in Eigensolver Analysis Reply To: How to extract values from Mode List data in Eigensolver Analysis

mwhitby
Subscriber
My apologies for the repeated comments. I only meant to add it once but there must've been some sort of system error.
Thank you for your help! I am having some slight issues while trying this.
Firstly, the loss = getresult("mode1","loss); code outputs loss = 509627 whereas in the table for mode 1 loss is listed as 5096.3. Is this a scale problem? Is there a way to fix this?
Secondly, the E = getresult("mode1","E"); code doesn't give me the TE polarization fraction. It says that E = E vs x, y ,z ,lambda/f. How can I get this to give the TE polarization fraction?

Thank you for your help!

[bingo_chatbox]