Dear OpenVSP crew.
I'm trying to build an iterative script that does analysis of a model and make slight modifycations to it. But right now I'm facing an issue that, when trying to run the geometry computation, vspaero complains abount not finding the .adb file, being referenced in other question on the form as the "Could not load AsaMista_DegenGeom VSP Degen Geometry, CART3D Tri, or VSPGEOM Tri file..." error.
Seems to be an initialization issue, since once I bring files made with manual analysis, the script works just fine. I may be missing an initialization API call.
My importing lines are:
...
vsp.ReadVSPFile("AsaMista.vsp3") # Opening a more featured wing file
vsp.Update()
comp_geom = "VSPAEROComputeGeometry"
vsp.SetAnalysisInputDefaults(comp_geom)
vsp.SetIntAnalysisInput(comp_geom, "AnalysisMethod", (1, vsp.VORTEX_LATTICE))
# Executing Analysis
comp_geom_results = vsp.ExecAnalysis(comp_geom)
....
Then a VSPAERO analysis...
Once again, if there are files from other manual analyses inside the script folder, everything seems to work well. Thanks in advance!