Guilin Sun
Ansys Employee

This example uses plane wave and periodic-type BCs so it is for periodic structure. If you want to simulate non-periodic structure you can use Gaussian beam.

For the script, Lines 172~175 are not Ex,Ey. The subscripts xy are meant for incident xy polarization.

Â