We’re updating our badges platform. Badge issuance is temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

使用脚本调用Conductive材料电导率时的问题

    • 241200070
      Subscriber

      老师好。我在我的模型中使用Conductive 2D建模一种材料,我希望在模型树脚本中将其电导率定义为参数simga,类似对于石墨烯的调用:

      material_name = "gr_FDTD_Gamma0.00658eV";

      setmaterial(material_name, "chemical potential (eV)", EF); 

      #setmaterial(material_name, "scattering rate (eV)", 0.01); 

      setmaterial(material_name, "temperature (K)", 300); 

      然而我发现Conductive材料的电导率名称无法在脚本中正确输入,导致调用不到它。我不清楚是否是由于名称的上标?

      我尝试输入Conductivity (Ωm)-1或是Conductivity (Ωm)^-1均无法正确调用。请问我应该如何在脚本中正确输入电导率名称?

       

       

    • sidi.lu
      Subscriber

      您好,请使用以下语句:

      temp = addmaterial("Conductive 2D");

      setmaterial(temp,"name","myMaterial");

      setmaterial("myMaterial",”conductivity”,38000);

      setmaterial("myMaterial",”layer thickness”,2e-8);

       

    • 241200070
      Subscriber

      感谢您的解答。不过addmaterial似乎并不是可用命令。我先在材料库中手动新建材料,再通过temp语句成功调用了。😄

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