TAGGED: Lumerical-FDTD
-
-
October 17, 2024 at 6:56 am
220231756
Subscriberfdtd.addmode()
fdtd.set('name', 'source')
fdtd.set('direction', 'Forward')
fdtd.set('injection axis', 'x-axis')
fdtd.set('x', -2.7e-6)
fdtd.set('y', 0)
fdtd.set('z', 0)
fdtd.set('y span', 1e-6)
fdtd.set('z span', 0.22e-6)
fdtd.set('wavelength start', 1.530e-6)
fdtd.set('wavelength stop', 1.560e-6)
fdtd.set('mode_selection', 'fundamental TE mode')
源代码如上,最后一设置TE基模时报错,显示无法lumapi设置 "in set, the requested property 'mode_selection' was not found"
想请问老师怎么解决这个呢 -
October 17, 2024 at 7:09 pm
Guilin Sun
Ansys Employeemode selection 中间没有下划线。
setnamed("source","mode selection","fundamental TM mode");
以后不知道里面变量名,可以用问号,例如
?setnamed("source")
可以知道里面所有的变量。
-
October 18, 2024 at 11:39 am
220231756
Subscriber谢谢老师,茅塞顿开!
-
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
1952
-
886
-
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.