Photonics

Photonics

Topics related to Lumerical and more.

parabolic structure

    • minusunny
      Subscriber

      Hi,

       

      I am trying to draw a structure like this as an SWG width as W and a in the middle. May i know how to do this with a custom structure as a lumerical script.How do i describe this in the code? Is it possible to get a  sample code for this arrangement?

       

       

      Minu

      start = 0e-06;

      mm = N*period;

       for(i = 1:N)

      {

      stop = start + period;

       edge = stop - dc*period;

      addlen = (W_2-factor*W_2)/N;

      addrect;

      set('name','seg_mm'+num2str(i));

      set('x max',stop);

       set('x min',edge);

      set('y',0);

      set('y span',factor*W_2+addlen*i);

      set('z',0);

      set('z span',T);

      set('material',coremat);

      addtogroup('mm');

      start = stop;

      }

      I have this code but needs to be arranged in parabolic shape as shown above. How can i modify this

    • Niki Papachristou
      Forum Moderator

      Hi Minusunny,

      Thank you for reaching out to us! We have this object in our libery and there you can see the equation that is used to be built:

      I believe that if you use the script commands, addcustom - Script command, you will be able to built this structure.

      Kind Regards,

      Niki

Viewing 1 reply thread
  • The topic ‘parabolic structure’ is closed to new replies.