maxwell采用Optislang优化报错
模型没有干涉问题。感谢各位大佬解答。报错信息:
2025-May-07 18:53:52.180016 ERROR p2z24.aedt 0.3 p2z24.aedt processed erroneously
2025-May-07 18:53:52.177521 ERROR p2z24.aedt 0.3 "rippleTcoef" could not be evaluated : Object "rippleTcoef1" not known.
2025-May-07 18:53:52.177048 ERROR p2z24.aedt 0.3 "avgTorq" could not be evaluated : Object "avgTorq1" not known.
2025-May-07 18:53:52.176015 INFO Evolutionary Algorithm 0.1 Collected Design 1
2025-May-07 18:53:52.174515 WARNING Evolutionary Algorithm 0.1 Error calculating criteria: obj_rippleTcoef: Object "rippleTcoef" not known.
2025-May-07 18:53:52.174515 WARNING Evolutionary Algorithm 0.1 Error calculating criteria: obj_avgTorq: Object "avgTorq" not known.
2025-May-07 18:53:52.174515 WARNING Evolutionary Algorithm 0.1 Error calculating criteria: "rippleTcoef" is uninitialized
2025-May-07 18:53:52.174515 WARNING Evolutionary Algorithm 0.1 Error calculating criteria: "avgTorq" is uninitialized
2025-May-07 18:53:52.173020 ERROR p2z24.aedt 0.2 p2z24.aedt processed erroneously
2025-May-07 18:53:52.170016 ERROR p2z24.aedt 0.2 "rippleTcoef" could not be evaluated : Object "rippleTcoef1" not known.
2025-May-07 18:53:52.169515 ERROR p2z24.aedt 0.2 "avgTorq" could not be evaluated : Object "avgTorq1" not known.
2025-May-07 18:53:52.166017 ERROR p2z24.aedt 0.1 p2z24.aedt processed erroneously
2025-May-07 18:53:52.164035 ERROR p2z24.aedt 0.1 "rippleTcoef" could not be evaluated : Object "rippleTcoef1" not known.
2025-May-07 18:53:52.164035 ERROR p2z24.aedt 0.1 "avgTorq" could not be evaluated : Object "avgTorq1" not known.
2025-May-07 18:53:52.088178 INFO p2z24.aedt integration function "run_solver" received run_mode flag "Regular DSO" and 4 designs: ['0.1', '0.2', '0.3', '0.4']
AEDT completes with warning(s)!
Please check log file:
D:\Ansys_optislang_worksapce\t\ta.opd\Evolutionary_Algorithm\Design0001\p2z24_AEDT2_script_solve_vartable.log
excerpt from file (around lines with warning flag):
line 34: b' Starting the result export routine ...\r\n'
line 35: b' Project:p2z24, Design:SynRM_shaftnonmagnetic_15000 (Transient, XY), A variable value edit has caused changes in the geometry topology. The model may no longer be in sync with saved meshes. This could result in an incorrect physics setup for new solutions, and failure to post process existing field solutions on parts of the model. To avoid these issues, delete all solutions and meshes, and solve again. (06:53:42 PMMay 07, 2025)\r\n'
line 36: b' Project:p2z24, Design:SynRM_shaftnonmagnetic_15000 (Transient, XY), A variable value edit has caused changes in the geometry topology. The model may no longer be in sync with saved meshes. This could result in an incorrect physics setup for new solutions, and failure to post process existing field solutions on parts of the model. To avoid these issues, delete all solutions and meshes, and solve again. (06:53:42 PMMay 07, 2025)\r\n'
line 37: b' ... result export done\r\n'
line 38: b' time: May 07 2025 18:53:42\r\n'
line 39: b' *** last step done, script finished ***\r\n'
line 40: b'Stopping Batch Run: 6:53:43 PMMay 07, 2025\r\n'
响应值也对应处理过了,之前仿真成功过,这次不知道为啥总是失败 用集成在workbench里面的optislang吧。我直接打开optislang也是和你一样的情况灵敏度分析没有计算参数结果,用workbench里的optislang就没出现问题 随冰企鹅 发表于 2025-6-3 15:32
用集成在workbench里面的optislang吧。我直接打开optislang也是和你一样的情况灵敏度分析没有计算参数结果 ...
谢谢,我后来用workbench里的optislang,只能每次运行一个计算,无法多个仿真同时运算。您知道原因吗?谢谢 xiaohai123 发表于 2025-6-3 16:02
谢谢,我后来用workbench里的optislang,只能每次运行一个计算,无法多个仿真同时运算。您知道原因吗?谢 ...
一样的,我并行任务数设置的是4或者6,都是单个运行。用的是2022R2版 随冰企鹅 发表于 2025-6-3 21:19
一样的,我并行任务数设置的是4或者6,都是单个运行。用的是2022R2版
谢谢,感谢解答,我用的是22R1
页:
[1]