March 22, 2022 at 7:05 pmfdtdisgreatSubscriber
How do I calculate phi and theta from the results of gratingu1 and gratingu2? My guess would have been phi = arctan( u2/u1) and theta = arcsin( sqrt(u1^2 + u2^2) ), but for some of my results sqrt(u1^2 + u2^2) is greater than 1, so this cannot be true (where u1 and u2 are the results of gratingu1 and gratingu2 respectively for the same beam). I checked the online documentation of gratingu1 and gratingu2 and I couldn't see any information on this. Thank you in advance. (Note: I'm defining theta and phi as is conventionally done in spherical coordinates)March 29, 2022 at 10:11 pmTaylor RobertsonAnsys Employee
You are on the right track, and for more information on the coordinates I would refer to the following references.
This page should explicitly state the coordinate transformation
The following is a script command that should perform the transformation for you
Viewing 1 reply thread
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Earth Rescue – An Ansys Online Series
Ansys BlogTrending discussions
- “Import optical generation” or “delta generation rate”?
- Error on Lumerical device
- 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: Convergence issues in CHARGE
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Diverging Simulations
- Lumerical support has moved to the Ansys Learning Forum (ALF)
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- focusing efficiency
Top Rated Tags