FILENOTFOUNDERROR:和driver_scaling_report.html

发布于 2025-02-13 00:45:51 字数 310 浏览 1 评论 0原文

我很难使用ScipyoptimizedRiver调试我的OpenMDAO模型。

模型输入是设计变量的向量,标量输出是在单独的流求解器中计算的。这确实涉及设置目录以将结果从流量求解器中保存下来,但这与OpenMDAO Python文件的位置不同,我认为这可能是问题的一部分。错误如下所示:

FILENOTFOUNDERROR:[ERRNO 2]否此类文件或目录:'reverth/Quards1/driveres_scaling_report.html'

该文件显然从当前目录中丢失了,但是当我运行执行器磁盘示例时,我不确定为什么问题此文件将在正确的位置自动生成。

I am having trouble debugging my openmdao model with the ScipyOptimizeDriver.

The model inputs are a vector of design variables and the scalar output is calculated in a separate flow solver. This does involve a setting up directories to save the results from the flow solver but this is separate from where the openmdao python file is located, which I think could be part of the problem. The error is shown below:

FileNotFoundError: [Errno 2] No such file or directory: 'reports/problem1/driver_scaling_report.html'

The file is evidently missing from the current directory but I am not sure why, when I run the actuator disk example problem this file is automatically generated in the correct place.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文