-
-
February 12, 2025 at 2:12 pm
2023020268
Subscriber在通过FDTD对结构的透射谱进行扫参仿真。可以怎样编写脚本一次性以txt文件的形式保存扫参中所有的透射谱数据。
-
February 12, 2025 at 5:26 pm
-
February 14, 2025 at 6:21 am
olivia.liu
Subscriber首先定义好sweep的名称,扫描的目标结果以及对应名称。之后使用getsweepresult提取扫描结果。具体的步骤请参考:参数扫描工具 – Ansys Optics --- Parameter sweep utility – Ansys Optics
导出数据推荐使用matlabsave - Script command – Ansys Optics 和 savedata - Script command – Ansys Optics
如果要保存为txt的形式,代码可以参考这个链接中的建议 Ansys Insight: 如何将结果数据如何保存成txt格式 或者使用plot将数据可视化后由窗口导出

-
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Innovation Space
Trending discussions
Top Contributors
-
6745
-
1906
-
1484
-
1324
-
1047
Top Rated Tags
© 2026 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.