Open StevenJNPearce opened 5 years ago
You need to make sure your AFL file already contains a section for the Reynolds number in the polar. The polar you linked is for 0.05meg. So to splice in the polar data, open it up in Airfoil Maker, add an Re value of 0.05 meg, save and exit. Then run polar2afl
.
I'll add a warning message to polar2afl
to let you know that the polar file's Reynolds number wasn't found in the AFL file.
@skiselkov To reproduce:
1) Create an X-Plane afl with
File -> New
in X-Plane Airfoil Maker or use an existing 2) Get this polar file: http://airfoiltools.com/polar/text?polar=xf-usa35b-il-50000 3)./polar2afl inputafl.afl outputafl.afl xf-usa35b-il-50000.txt
The tool runs, it creates the output afl file, but it's identical to the input afl file i.e. the polar file(s) have not been spliced in.
I don't know if I'm doing something wrong, or if the tool is not working as intended.