TAGGED: -reflection, polarisation, transmission
-
-
October 24, 2023 at 8:59 pm
Albi.Pani
SubscriberHi, in one of my simulation I am using "grating_s_parameters" function and many time it worked ok. But some time it gives me this error:
Can not find result 'S_polarization' in the result provider 'grating_s_parameters'
I have tried to figure out the origin of this problem but I still don't know, have you any suggestions?
-
October 25, 2023 at 12:56 am
Amrita Pati
Ansys EmployeeHi,
I believe S-polarization is relevant only when you expect the metamaterial to cause polarization rotation. For instance, if the input is s-polarized and the output light is s-polarized then only the "S" result should suffice. But if the input is s-polarized but the output is a combination of both s and p then the "S-polarization" result is relevant. For more information, please refer to: Metamaterial S parameter extraction.
It is possible that for some reason this result is not being calculated because of an error.
Go to the Analysis tab of the grating_s_params object, and click on Run Analysis. If there is any error, you should see them appear in red font in the same screen.
Regards,
Amrita -
October 25, 2023 at 3:13 am
Albi.Pani
SubscriberHi Amrita, thank you for the answer.
I have tried to run the analysis and the error is:
Error: prompt line 202: in expression A(i,...) the indices were out of range
Error: Result S: variable not found.
Error: Result S_polarization: variable not found
Have you any suggestions? I don't know what indeces it is talking about.
-
October 25, 2023 at 3:48 am
Amrita Pati
Ansys EmployeeYou 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
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Finding your Ansys (or Lumerical) account number
- Error on Lumerical device
- Ansys Insight: About override mesh in FDTD: its use and settings
- Lumerical – error message when trying to open from Linux terminal
-
8740
-
4658
-
3151
-
1678
-
1452
© 2023 Copyright ANSYS, Inc. All rights reserved.