Guilin Sun
Ansys Employee

 

We have dedicated Photonics Forums:

Photonics Chinses

Photonics (ansys.com)

You can also add them to “My Channel” by clicking the “+” of the icons at the top right corner:

 

Grating analysis scripts assume infinite number of periods, thus it uses plane waves for the decompision of the monitor data.

farfield script is for non-periodic structure, and it uses the standard near-2-far transformation in FDTD community. You may find a book chapter by searching

Chapter 14
Near-to-Far-Field Transformation