Be the first to rate this file! 208 downloads (last 30 days) File Size: 2.98 KB File ID: #23241

NACA 5 digit Airfoil Generator

by Divahar Jayaraman

 

10 Mar 2009

Code covered by BSD License  

Generates the NACA 5 digit airfoil coordinates

Download Now | Watch this File

File Information
Description

"naca5gen.m" Generates the NACA 5 digit airfoil coordinates with desired no. of panels (line elements) on it.
 
FEATURES:
 *Accurate coordinate generation with the required precision
 *Option to generate closed or open Trailing Edge
 *Additional separate outputs for camber line, upper surface and lower surface
 *A tst (test) file included
 
INPUTS:
[1] NACA 5 digit designation (eg. '23012')
[2] No of panels (line elements) PER SIDE (upper/lower)
[3] Type of chord station spacing (Half cosine spacing / Uniform spacing)
 
OUTPUTS:
[1] One can plot the generated airfoil, camber line and the leading edge circle by setting an option input wantPlot=1
[2] A data file can be generated by setting the option input wantFile=1
 
EXTENSION:
Being a function, the airfoil generator can be called several times from a loop to generate any number of airfoil data files.

MATLAB release MATLAB 7.4 (R2007a)
Zip File Content  
Other Files naca5gen.m,
tst_naca5gen.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 Mar 2009 ZeRO LiFT

very good mr Divahar ,for more airfoils check nasa technical memorandum report number 4741 dec.1996,it gives exact coordinates ,good luck.

16 Oct 2009 Austin Bond

This program works well for the example given but when I plot a NACA 65016 their is an obvious discontinuity at the point of max camber. I believe the equations used are correct, but I'm not exactly sure how the k1 constant is obtained. Either way I believe the z-values at the point of max camber are wrong.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
5 digit Divahar Jayaraman 10 Mar 2009 13:35:35
aerodef Divahar Jayaraman 10 Mar 2009 13:35:35
aerodynamics Divahar Jayaraman 10 Mar 2009 13:35:35
aeronautics Divahar Jayaraman 10 Mar 2009 13:35:35
aerospace Divahar Jayaraman 10 Mar 2009 13:35:35
aircraft Divahar Jayaraman 10 Mar 2009 13:35:35
airfoil Divahar Jayaraman 10 Mar 2009 13:35:35
generator Divahar Jayaraman 10 Mar 2009 13:35:35
naca Divahar Jayaraman 10 Mar 2009 13:35:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com