Guilin Sun
Ansys Employee

You will need to modify the setup script to add a dipole, set the theta and phi properly. replacing "

addplane;" to adddipole - Script command, and check other part of the script to make sure it works fine.

 

In addition, in general the dipole source will not work in periodic case, since this will mean the dipole is also periodic, is this you really want? and the S parameter uses one field component as S, do you think it is sufficient to use one E field component to quantify the system?

 

Please make sure the simulation does not violate any physics.