Amrita Pati
Ansys Employee

You are welcome! Now if you go to the Script Tab in the Analysis Tab, then you will see the code that is used for calculating "S" and "S-polarization" results.

You can get line numbers that are causing the errors. Find these lines in the Script tab and try to identify what is causing the error.

Regards,
Amrita