leal26 / AeroPy

Python interface for XFOIL. The objective of this library is to be able to be able to call XFOIL from Python iteratively for any simulation in a total of 4 lines total.
MIT License
60 stars 31 forks source link

importing airfoil #25

Open jazzguru1 opened 2 years ago

jazzguru1 commented 2 years ago

Hello, I want to use an airfoil that is not a NACA section.

As far as I understand, I need to pass the call() function with airfoil='name of the file'.

However, when I do so I get the following error:

FileNotFoundError: [Errno 2] No such file or directory: 'Polar_''''the name of my file in here''_17114543.382491257_0.0_25.0_3'

Any insight on this would be much appreciated, thanks

complex-hub commented 1 month ago

Hey, I know this is over 2 years old now, but just in case you or someone else comes across this issue looking for a solution, the trick is to use the parameter NACA=False when calling the function. For example:

find_coefficients(airfoil="e423.dat", alpha=5, Reynolds=200000, NACA=False)