image thumbnail

Xfoil Interface Updated

version 1.3.0.0 (13.6 KB) by Louis Edelman
This is an updated version of Gus Brown's code run faster in modern MATLAB and work with Xfoil 6.99

3.9K Downloads

Updated 21 Mar 2018

View License

Copyright (c) 2011, Gus Brown with Modification by Louis Edelman 2015
All rights reserved.
http://www.mathworks.com/matlabcentral/fileexchange/30446-xfoil-interface
Generates a command script to rapidly run Xfoil for a designated airfoil coordinates file, NACA airfoil, or coordinates matrix. Give the flexibility to pull detailed data (Cp, Cf, H, etc) or just the polar data for a single alpha or vector of alphas. All data is stored as a structured data set with the first left hand operator corresponding to the polar data and the second the detailed results.
Note that you need to have Xfoil 6.99 (http://web.mit.edu/drela/Public/web/xfoil) in the same directory to run this code.
If not requested as an output, parsing the detailed results will be skipped to save on cost.
Outputs can be manipulated as standard double precision vectors or matrices using standard structured data calls.

Cite As

Louis Edelman (2021). Xfoil Interface Updated (https://www.mathworks.com/matlabcentral/fileexchange/49706-xfoil-interface-updated), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Xfoil Interface

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!