Ansys Learning Forum Maintenance

NOTICE: We will be performing backend maintenance of our Learning Forum from April 5 to April 12, 2021. The result will be a new infrastructure but with little impact to user experience and design. Currently the forum is accessible in read-only mode as we complete our final migration. Thank you for your patience. For urgent issues please visit HERE.


stack array of dipoles — Ansys Learning Forum

stack array of dipoles

MANNANMANNAN Member Posts: 9
edited April 2 in Photonics

x=linspace(-d/2,d/2,N); # x position vector


for (i=1:N) {

adddipole;

set("x",x(i)); 

set("y",0);

set("z",0);

This code will make a line of N dipoles along the x-axis between length -d till d.


Suggestions required in making a script that will make a cone of dipole along xz direction with radius r in x-direction and depth along z-axis 


Looking forward to hearing soon


   

Comments

Sign In or Register to comment.