Home Forums FDTD Scripting Modal Idx calculation

Viewing 2 reply threads
  • Author
    Posts
    • #12234
      Anish Lamichhane
      Participant

      Hi,

      I wanted to write a script that can calculate modal refractive index in a rectangular wave guide for different wavelength. However I found it rather difficult to do it. I could not find the variable that is related to this calculation in the VB scripting manuals for the software as well.

      Has anyone tried something like this before?

      Thank for any suggestion in advance.

      -Anish Lamichhane

    • #12345
      Damian Marek
      Participant

      Hi Anish,

      You can perform a parameter sweep via scripting to get this information. Actually if you go to the Tools tab there is an option for generating a “Dispersion Script” you can set the two boundary wavelengths and the number of steps.

      Regards

    • #12589
      Anish Lamichhane
      Participant

      Thank you Damian for your help.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.