Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

MODE中如何用脚本在指定波长下计算有效折射率

    • Ralotee99
      Subscriber

      想用脚本修改波长,再进行模式计算,得到有效折射率后将其存入变量中,但找不到合适的脚本语言。

      感觉只能用脚本修改扫描中的波长参数来修改波长,但用这种方法又不知道如何将扫描出来的有效折射率结果存入变量中。

      请各位老师帮忙解答疑惑!万分感谢!

    • sidi.lu
      Subscriber

      您好,参考以下写法;

      addfde;

      ?set; #查看fde中可以设置的参量

      set("wavelength",0.55e-6); #设置波长

      findmodes; #等同 calculate mode 按钮

      neff1 = getdata("mode1","neff"); #提取mode1 的有效折射率存入neff1

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]