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.
Traceback (most recent call last):
File "D:/Python/cnn_inverse/dataset_gen.py", line 38, in
find_pressure_coefficients(airfoil=filename, Reynolds=3e5, alpha=0.)
File "D:\Python\cnn_inverse\venv\lib\site-packages\aeropy\xfoil_module.py", line 980, in find_pressure_coefficients
Data = output_reader(filename, output='Cp', delete=delete)
File "D:\Python\cnn_inverse\venv\lib\site-packages\aeropy\xfoil_module.py", line 667, in output_reader
with open(filename, "r") as myfile:
FileNotFoundError: [Errno 2] No such file or directory: 'Cp_NACA63(1)-212.txt_0000'
I think the "call" command failed to generate the file for storing the cp value. I have tried to find part of the "call" code that generate that file, but I don't know which one. Is it "file_name" function? I this "file_name" function only yield the name not the file. Can you help me to overcome this issue? Thank in advance.
Hi, I am trying to get the "find_pressure_coefficients" for some airfoil that I store in a folder. My code is depicted as follows.
But I get an error like this.
I think the "call" command failed to generate the file for storing the cp value. I have tried to find part of the "call" code that generate that file, but I don't know which one. Is it "file_name" function? I this "file_name" function only yield the name not the file. Can you help me to overcome this issue? Thank in advance.