Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel mode analysis not working through Python API #288

Open
trilbytim opened this issue Feb 8, 2024 · 0 comments
Open

Panel mode analysis not working through Python API #288

trilbytim opened this issue Feb 8, 2024 · 0 comments

Comments

@trilbytim
Copy link

When calling a Panel mode analysis through the Python API the analysis does not run due to a failure to find critical files, giving an error message such as:
`ERROR 7: Could not open History file: /home/timbo/Documents/Avian/CFD/elliptical test/VSP/planktest/planktest_DegenGeom.history
File: /home/runner/work/OpenVSP/OpenVSP/src/geom_core/VSPAEROMgr.cpp Line:2236
ERROR 7: Could not open Polar file: /home/timbo/Documents/Avian/CFD/elliptical test/VSP/planktest/planktest_DegenGeom.polar
File: /home/runner/work/OpenVSP/OpenVSP/src/geom_core/VSPAEROMgr.cpp Line:2486
ERROR 7: Could not open Load file: /home/timbo/Documents/Avian/CFD/elliptical test/VSP/planktest/planktest_DegenGeom.lod
File: /home/runner/work/OpenVSP/OpenVSP/src/geom_core/VSPAEROMgr.cpp Line:2729

Error: Aerothermal database (*.adb) file not found. Execute VSPAERO before running the CpSlicer`

Steps to reproduce:
Demonstration script and test file is here:
planktest.zip
When used through the Open VSP GUI, both VLM and Panel modes successfully solve for this example. However when running through the Python script it will exit with the above error messages. If the commenting is changed on lines 18 and 19 to change the analysis mode to VLM then it does solve correctly.
NOTE: If a VLM analysis is performed first and then the Panel mode is run, then it does run without errors. However on examining the output it can be seen that it's in fact just performing another VLM run.

System: Ubuntu 22.04, Python 3.11 running in Anaconda environment
OpenVSP version: 3.36 (this appears to have been broken somewhere between v3.31 and v3.36, because it was previously working)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant