abaqus Isight学习

在这里插入图片描述

Running Isight build 5.22.1  date 2021-09-08 20:51:54[win64] Microsoft Windows 8  (build 9200), 64-bit
<Error><2022-08-12 21:14:27.847><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:27.852><Local>stderr: 
<Error><2022-08-12 21:14:27.853><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:27.854><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:27.988><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:27.99><Local>stderr: 
<Error><2022-08-12 21:14:27.991><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:28.003><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:28.113><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:28.114><Local>stderr: 
<Error><2022-08-12 21:14:28.115><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:28.127><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:28.193><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:28.194><Local>stderr: 
<Error><2022-08-12 21:14:28.195><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:28.207><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:28.281><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:28.283><Local>stderr: 
<Error><2022-08-12 21:14:28.284><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:28.293><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:28.357><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:28.358><Local>stderr: 
<Error><2022-08-12 21:14:28.359><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:28.369><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:28.435><Local>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<Error><2022-08-12 21:14:28.436><Local>stderr: 
<Error><2022-08-12 21:14:28.437><Local>stderr: F:\jiaoben\week4\week4script.py
<Error><2022-08-12 21:14:28.448><Local>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
	at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
	at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)


<Error><2022-08-12 21:14:28.46><Local>Component "Optimization1" failed execution.
Number of failed design evaluations exceeded specified maximum of 5
com.engineous.sdk.runtime.RtSubflowFailedException: Number of failed design evaluations exceeded specified maximum of 5
	at com.engineous.frameworks.designdriver.plan.AbstractPlan.evaluateDesignPointSet(AbstractPlan.java:6130)
	at com.engineous.frameworks.designdriver.plan.AbstractPlan.evaluateDesignPointSet(AbstractPlan.java:5976)
	at com.engineous.frameworks.designdriver.plan.AbstractPlan.evaluateDesignPointSet(AbstractPlan.java:5935)
	at com.engineous.frameworks.designdriver.utils.OptApi.evaluateDesignPointSet(OptApi.java:115)
	at com.engineous.sdk.designdriver.techniques.AbstractOptimizationTechnique.evaluateDesignPointSet(AbstractOptimizationTechnique.java:2179)
	at com.engineous.plugin.optimization.miga.MIGA.evaluateGeneration(MIGA.java:178)
	at com.engineous.plugin.optimization.miga.MIGA.executeMIGA(Native Method)
	at com.engineous.plugin.optimization.miga.MIGA.executeTechnique(MIGA.java:145)
	at com.engineous.sdk.designdriver.techniques.AbstractOptimizationTechnique.execute(AbstractOptimizationTechnique.java:794)
	at com.engineous.frameworks.designdriver.plan.OptimizationPlanImpl.executePlan(OptimizationPlanImpl.java:567)
	at com.engineous.frameworks.designdriver.component.AbstractExecutor.execute(AbstractExecutor.java:210)
	at com.engineous.component.optimization.OptimizationExecutor.execute(OptimizationExecutor.java:169)
	at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
	at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)



在这里插入图片描述
原因:很可能是使用兼容性模式运行的缘故。后来换了个电脑就好了

报错找不到mass.txt

原因:关掉create new folder后就可以了

如何批量计算

需要
1.勾选允许创建子文件夹,并删空runtime dir(这个是在左侧有一个图标完成的)
勾选允许创建子文件夹,并**删空runtime dir**

2.在Optimization双击勾选批量计算的框
3.在Optimization右键找到属性,修改max batch

脚本中需要注意的是os.getcwd就是返回当前工作目录,即子文件夹,按照这个思路理解脚本,就能明白1.为何需要复制cae文件到子文件下,即加上os.getcwd的前缀,2.为何计算结果文件路径也要加上os.getcwd的前缀。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页
评论

打赏作者

构建的乐趣

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值