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.
Hi,
I am using Anaconda3 and I installed Aeropy. When I try the sample code:
from aeropy.xfoil_module import find_coefficients find_coefficients(airfoil='naca0012', alpha=12.)
I got this error:
runfile('C:/Users/x/untitled2.py', wdir='C:/Users/x')
Traceback (most recent call last):
File "C:\Users\x\untitled2.py", line 9, in
find_coefficients(airfoil='naca0012', alpha=12.)
File "C:\Users\x\anaconda3\lib\site-packages\aeropy\xfoil_module.py", line 983, in find_coefficients
call(airfoil, alpha, Reynolds=Reynolds,
File "C:\Users\x\anaconda3\lib\site-packages\aeropy\xfoil_module.py", line 229, in call
ps = sp.Popen(['xfoil.exe'],
File "C:\Users\x\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 105, in init
super(SubprocessPopen, self).init(*args, **kwargs)
File "C:\Users\x\anaconda3\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\x\anaconda3\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato
Hi, I am using Anaconda3 and I installed Aeropy. When I try the sample code:
from aeropy.xfoil_module import find_coefficients find_coefficients(airfoil='naca0012', alpha=12.)
I got this error: runfile('C:/Users/x/untitled2.py', wdir='C:/Users/x') Traceback (most recent call last):File "C:\Users\x\untitled2.py", line 9, in
find_coefficients(airfoil='naca0012', alpha=12.)
File "C:\Users\x\anaconda3\lib\site-packages\aeropy\xfoil_module.py", line 983, in find_coefficients call(airfoil, alpha, Reynolds=Reynolds,
File "C:\Users\x\anaconda3\lib\site-packages\aeropy\xfoil_module.py", line 229, in call ps = sp.Popen(['xfoil.exe'],
File "C:\Users\x\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 105, in init super(SubprocessPopen, self).init(*args, **kwargs)
File "C:\Users\x\anaconda3\lib\subprocess.py", line 854, in init self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\x\anaconda3\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato
How can figure it out? Best Dario