Scripting issue – analysis file error

Szymon SzyszkoSzymon Szyszko asked 3 years ago

Hi Andre!
 
I tried running some example scripts today, but I encountered the following error:

Error reading the project file: C:\Users\gk20950\OneDrive – University of Bristol\Documents\albatros flow5\test_script\analyses_3d\T2_analysis.xml

The script kept executing though, not giving any more detail about the bug. The full log is attached below
All XML files are recently exported using most recent flow5 version. Do you have any idea what might have went wrong? 
 
Thanks
 
Szymon

flow5 v7.08
11.04.2021 11:57:40
Error reading the project file: C:\Users\gk20950\OneDrive – University of Bristol\Documents\albatros flow5\test_script\analyses_3d\T2_analysis.xml
Reading foil .dat files
added foil: NACA 0009
Adding foils and their polars from the .plr files
added foil and polars for: E207 AIRFOIL
added foil and polars for: NACA 0009
added foil and polars for: NACA 0009 flap-down-10deg
added foil and polars for: NACA 0009 flap-down-15deg
added foil and polars for: NACA 0009 flap-down-5deg
added foil and polars for: NACA 0009 flap-up-10deg
added foil and polars for: NACA 0009 flap-up-15deg
added foil and polars for: NACA 0009 flap-up-5deg
added foil and polars for: mod_NACA 2410
Available foils:
E207 AIRFOIL
NACA 0009
NACA 0009 flap-down-10deg
NACA 0009 flap-down-15deg
NACA 0009 flap-down-5deg
NACA 0009 flap-up-10deg
NACA 0009 flap-up-15deg
NACA 0009 flap-up-5deg
mod_NACA 2410
Adding XFoil polars from the .txt files
 
—–Starting plane analyses—–
Adding planes from the .xml files
added the plane: Scripting test from file Scripting test.xml

Adding the plane analyses from the xml files
The directory does not exist
Making the analysis pairs (plane, analysis)
Made 0 valid analysis pairs (plane, polar) to run
_____Plane analyses completed_____
 
—–Starting boat analyses—–
No xml Boat files to load
Making the analysis pairs (boat, analysis)
Made 0 valid analysis pairs (boat, polar) to run
_____ Boat analyses completed_____
 

1 Answers
André Deperroistechwinder Staff answered 3 years ago

Hi Szymon,
The error seems to be due to T2_analysis.xml not being a project file?
The field “load_project_file” expects a .xfl or a .fl5 file.
André