Guilin Sun
Ansys Employee

As you can see:

out = farfield2d("mname", f, n, illumination, periods, index, direction);

the value of "f" here is the frequency index; you can get the result at frequency number 5 like this:

efar5=farfield2d("monitor",5);

You cannot directly specify wavelength or frequency, but the frequency point only.