Good morning.
I am trying to optimize an airfoil with the panel method, but the following error appears:
Could not load base_case_VSPGeom VSP Degen Geometry, CART3D Tri, or VSPGEOM Tri file...
The code (changing the
SetComputationFileName and
ComputeDegenGeom inputs obviously) works perfectly for VLM. What can I do?
My code is the following:
ReadVSPFile("base_case.vsp3");
ReadApplyDESFile("aoas_rot.des");
Update();
//==== Set File Name ====//
SetComputationFileName(VSPAERO_PANEL_TRI_TYPE, "TestDegenScript.vspgeom");
//==== Run Degen Geom ====//
ComputeDegenGeom(SET_ALL, VSPAERO_PANEL_TRI_TYPE);
// Run CompGeom to generate geometry
string compGeom = "VSPAEROComputeGeometry";
SetAnalysisInputDefaults(compGeom);
string compGeom_results = ExecAnalysis(compGeom);
// Alpha Sweep analysis using VSPAero
string myAnalysis = "VSPAEROSweep";
SetAnalysisInputDefaults(myAnalysis);
// List inputs, type, and current values
// PrintAnalysisInputs(myAnalysis);
// Set inputs for VSPAero
array<int> analysis_method(1, PANEL);
SetIntAnalysisInput(myAnalysis, "AnalysisMethod", analysis_method);
Thanks for the help :))