-
-
December 19, 2024 at 1:41 amRalotee99Subscriber
想用脚本修改波长,再进行模式计算,得到有效折射率后将其存入变量中,但找不到合适的脚本语言。
感觉只能用脚本修改扫描中的波长参数来修改波长,但用这种方法又不知道如何将扫描出来的有效折射率结果存入变量中。
请各位老师帮忙解答疑惑!万分感谢!
-
December 24, 2024 at 11:36 amsidi.luSubscriber
您好,参考以下写法;
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.
Ansys Innovation Space
Trending discussions
Top Contributors
-
1882
-
802
-
599
-
591
-
366
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.