Code covered by the BSD License  

Highlights from
Xfoil Interface

5.0

5.0 | 4 ratings Rate this file 26 Downloads (last 30 days) File Size: 3.87 KB File ID: #30446
image thumbnail

Xfoil Interface

by Gus Brown

 

17 Feb 2011 (Updated 18 Feb 2011)

Run Xfoil from Matlab. This is an interface to the original XFoil program.

| Watch this File

File Information
Description

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/

MATLAB release MATLAB 7.4 (R2007a)
Other requirements 'Xfoil.exe' needs to be downloaded and placed in the same directory as this m function.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
17 Feb 2011 Nate Jensen  
21 Feb 2011 Pavel  
04 Jun 2011 David Pate  
21 Nov 2011 Pierre

Absolutely impressive !
I just made some modifications in order to run it on a Linux config, but really very few.
Very great work !
Thanks,
Pierre

Please login to add a comment or rating.
Updates
17 Feb 2011

Fixed typo in description.

18 Feb 2011

Fixed a typo in the description.

Tag Activity for this File
Tag Applied By Date/Time
aerospace Gus Brown 17 Feb 2011 11:22:14
data import Gus Brown 17 Feb 2011 11:22:14
system Gus Brown 17 Feb 2011 11:22:14
interface Gus Brown 17 Feb 2011 11:22:14

Contact us at files@mathworks.com