Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language

设置波导的折射率

    • 1445644840
      Subscriber

      老师您好,我在使用mode仿真时使用了结构库里的结构,但是我想设置其折射率,应该怎么设置呢?

      我是直接在脚本里写了一句

      “set("index",N)”

      但是不行会报错,所以不知道怎么设置了,希望老师能解答。

       

    • Guilin Sun
      Ansys Employee

      应该在Properties那里设置折射率,不要选材料库中的材料,它们是两个不同的变量。

      遗憾的是这个组别的材料都设置为硅,可以参考其它组,例如

      set("material",mat_coating);

      if(get("material")=="")

      { set("index",index_coating); }

      }

      如果你知道不会再用材料库中的材料,可以直接设置:

      set("index",index_coating);

      当然你需要事先设置index_coating。

      你可以打开结构看看其材料是不是已经选了材料库材料?

       

       

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