Airfoil polars from XFOIL for scripting purposes

Szymon SzyszkoSzymon Szyszko asked 3 years ago

Hello, 
I started preparing for setting up a scripted job using flow5. Considering that xfoil is not part of flow5 and Xflr5 does not support any sort of scripting, is it possible to import Xfoil polars from the xfoil native output file into scripted flow5 project? The project  I’m working on is optimization orientated. For this reason, the script will be “trying” many different airfoils on many different aircraft configurations. This means it is impossible to manually prepare .xfl file containing polars for all those airfoils. If that is impossible at present, would that be something that could get implemented within next 2-3 months? 
Thanks in advance,
 
Szymon

André Deperroistechwinder Staff replied 3 years ago

Yes, the plan is to implement script analysis for foils in xflr5. The idea is to use xml files to generate .xfl or .plr files which can then be used in the plane scripts.
If you have more specific requirements, feel free to express them.
Will do my best to have the module operational in a few weeks at most.
André

2 Answers
André Deperroistechwinder Staff answered 3 years ago

The latest repository version of xflr5 v6.49 is now capable of foil script analysis. If you need a compiled executable, let me know.
A template script is available for download in the documentation section:
https://flow5.tech/data/foil_script.xml
The script can be run from the GUI (Ctrl+X) or from the command line:
xflr5 -p -s foil_script.xml
The feature is still experimental, so feel free to report bugs and make suggestions for improvements.
André
 

Szymon SzyszkoSzymon Szyszko answered 3 years ago

Thank you André for that. I will work with that in 1-2 months time from now, I will report any bugs/issues I will find! Again, thanks for the quick response and for dealing with that! Szymon