In the metalens design, can I ask how I can determine the position of the normalized intensity of the focus spot along z-direction?
is there a script to do that?
Hello @HalimBishoy ,
Yes, you should be able to use a script to find the z location of the max intensity with the "find" script command. The "find" script command page has an example script that shows how to find the location of the maximum intensity:
If you are new to using our scripting language, I would recommend that you first take our online scripting course for an introduction to scripting:
Ansys customers with active commercial software licenses can access the customer portal and submit support questions. You will need your active account number to register.