Guilin Sun
Ansys Employee

You will need to get RCWA result in the analysis script inside "model", and output it in the "Output" as usual:

then you can sweep the layer thickness. Please try.