Guilin Sun
Ansys Employee
The code looks good for me. In order to make the dipoles to be in a cone in xz plane, you will need to change x(i) and z(i) as a cone, and then place the dipoles there. Please try to modify your script.n