Xfoil Interface
This simple function will use a system call to run Xfoil. It then loads the results into a data structure which you can then use in your Matlab script.
For example to deflect the trailing edge of a NACA0009 by 5deg at 65% chord and run multiple incidence angles...
[pol foil] = xfoil('NACA0009',[-5:15],1e6,0.2,'oper iter 150','gdes flap 0.65 0 5 exec')
The coefficents will be returned in the pol structure while the foil data and pressure distribution will be returned in foil structure.
XFOIL, first developed by Mark Drela at MIT, is a program for the design and analysis of subsonic isolated airfoils and is released under the GNU General Public License.
You can find Xfoil here:
http://web.mit.edu/drela/Public/web/xfoil/
Citation pour cette source
Gus Brown (2024). Xfoil Interface (https://www.mathworks.com/matlabcentral/fileexchange/30446-xfoil-interface), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Airfoil optimization using Xfoil and PARSEC geometric parameterization, Xfoil Interface Updated, CB2: Airfoil Optimization with GUI
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.3.0.0 | Fixed a typo in the description. |
||
1.1.0.0 | Fixed typo in description. |
||
1.0.0.0 |