-
-
August 1, 2025 at 2:29 am
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均无法正确调用。请问我应该如何在脚本中正确输入电导率名称?
-
August 5, 2025 at 7:15 am
sidi.lu
Subscriber您好,请使用以下语句:
temp = addmaterial("Conductive 2D");
setmaterial(temp,"name","myMaterial");
setmaterial("myMaterial",”conductivity”,38000);
setmaterial("myMaterial",”layer thickness”,2e-8);
-
August 6, 2025 at 7:18 am
241200070
Subscriber感谢您的解答。不过addmaterial似乎并不是可用命令。我先在材料库中手动新建材料,再通过temp语句成功调用了。😄
-
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3962
-
1415
-
1272
-
1119
-
1015
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.