Photonics – Chinese

Photonics – Chinese

关于利用脚本设置边界条件的问题

    • Jonas_Hou
      Subscriber

      怎样利用脚本实现"allow symmetry on all boundaries"?

      没找到,麻烦有了解的告知一下。谢谢

    • Guilin Sun
      Ansys Employee

      需要先让它的值为1,再设置其它边界条件,比如

      setnamed("FDTD","allow symmetry on all boundaries",1);

      setnamed("FDTD","x min bc","symmetric");

      setnamed("FDTD","x max bc","symmetric");

      主要,对称-对称和反对称-反对称是周期边界条件。

      你试一下,边界条件

      # "PML"

      # "Metal"

      # "Periodic"

      # "Symmetric"

      # "Anti-Symmetric"

      # "Bloch"

      # "PMC"

      也可以按顺序号设置,例如PML是1,你可以

      setnamed("FDTD","x min bc",1);

    • Jonas_Hou
      Subscriber
      感谢解答
Viewing 2 reply threads
  • You must be logged in to reply to this topic.