-
-
October 18, 2023 at 6:38 am
-
October 18, 2023 at 4:43 pm
Guilin Sun
Ansys Employee你最好先诊断为社么扫描后没有结果,请详细测试网上例子 https://optics.ansys.com/hc/en-us/articles/360034922913-Creating-nested-parameter-sweeps 好好了解其设置和提取。
之前有个帖子说到这个问题,但是具体出错的信息是什么?为什么会出现这种错误?这是最根本的问题。
如果这1万个文件都仿真完毕,你可以依次load每个文件(按扫描顺序),自己设置矩阵提取每个文件结果。你可能需要用的这个脚本 https://optics.ansys.com/hc/en-us/articles/360034925993-num2str
把循环变量转变为字符来调取仿真文件。有问题请另外发帖。
用Matlab也需要熟悉Lumerical脚本:https://optics.ansys.com/hc/en-us/articles/360034416614-MATLAB-Lumerical-integrations
https://optics.ansys.com/hc/en-us/articles/360042304834
-
October 20, 2023 at 3:35 am
1766756937
Subscriber您好,我这1万个文件都有结果,就是没有总的结果图,我要把这一万个文件里的数据汇总起来,因为FDTD没有出最后的结果图,如果从新跑的话,会花费大量时间,所以我想用matlab调用1万个原始文件,读取里面的数据,并画图。
-
October 20, 2023 at 3:39 am
1766756937
Subscriber请问有专门的脚本吗?请提供一下帮助?非常感谢您
-
October 20, 2023 at 4:36 pm
Guilin Sun
Ansys Employee你没有回复我的问题,出现的是什么错误信息导致没有数据?
你可以在扫描那里选择load结果,这样它会自动打开每个文件读取数据,然后再显示或者用脚本提取结果,如果原来没有说数据不能合成的化。当然你可以用任何软件调用文件,上次已经给你Matlab的链接,但是没有脚本能直接调用。
出错原因可能有
1: 如果扫描结构参数,你监视器记录的是场,因为网格变化,网格不同的场无法用矩阵表示
2:仿真后再读数据时,总内存不够,这样的话前面的建议重新读文件可能不能工作
3: 其它原因,一般可以直接再扫描那里VIsualize结果,或者用脚本调取结果。
请参考网上的测试例子,看看能否工作,顺便了解一下脚本。
此帖自这个回复后因故将不再查看是否有回复,有问题请另外写新帖。
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- 询问关于FDTD和matlab软件的互联问题 ——appopen
- Ansys Insight: FDTD 和 varFDTD 常见的发散原因以及处理
- Ansys Insight: 透射率反射率电场大于1,或者透射率反射率之和大于1的原因与解决方案–综合贴
- Ansys Insight: FDTD Solutions 的光源类型及其典型应用:初学者
- 左旋圆偏振光透过超表面后,获得的右旋圆偏振光能量比入射的左旋圆偏振光能量还要大?
- 有效折射率
- Ansys Insight: 关于FDTD 并行计算的有关问题
- Ansys Insight: 有关TE、TM偏振以及模式光源的问题
- 请问FDTD中如何改变光源的偏振态及如何获得能量的数值?
- Ansys Insight: 几个简单实用的脚本Script命令:用于结果分析
-
8740
-
4658
-
3151
-
1678
-
1452
© 2023 Copyright ANSYS, Inc. All rights reserved.