Code covered by the BSD License  

Highlights from
NACA 4 digit Airfoil Generator

4.0

4.0 | 3 ratings Rate this file 120 Downloads (last 30 days) File Size: 2.81 KB File ID: #19915
image thumbnail

NACA 4 digit Airfoil Generator

by Divahar Jayaraman

 

14 May 2008 (Updated 12 Feb 2009)

Generates the NACA 4 digit airfoil coordinates

| Watch this File

File Information
Description

"naca4gen.m" Generates the NACA 4 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 4 digit designation (eg. '2412')
[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.

Acknowledgements
This submission has inspired the following:
XFOIL - MATLAB interface
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
16 Sep 2008 yelko huacoto

Hola amigo, en realidad me parece muy noble de tu parte colgar la programacion del naca asi me puedo guiar para proximos trabajos.

22 Feb 2009 ZeRO LiFT

good , check step , check a2 , then check the camber ,good luck

24 Sep 2009 Amet Ervin  
13 Jan 2011 yaad ram  
Please login to add a comment or rating.
Updates
14 May 2008

Typing Errors

12 Feb 2009

 *Option to generate closed or open Trailing Edge
 *Additional separate outputs for camber line, upper surface and lower surface
 *A tst (test) file included

Tag Activity for this File
Tag Applied By Date/Time
aerospace Divahar Jayaraman 22 Oct 2008 10:01:19
aeronautics Divahar Jayaraman 22 Oct 2008 10:01:19
aerodef Divahar Jayaraman 22 Oct 2008 10:01:19
naca Divahar Jayaraman 22 Oct 2008 10:01:19
4 digit Divahar Jayaraman 22 Oct 2008 10:01:19
airfoil Divahar Jayaraman 22 Oct 2008 10:01:19
aerodynamics Divahar Jayaraman 22 Oct 2008 10:01:19
aircraft Divahar Jayaraman 22 Oct 2008 10:01:19
generator Divahar Jayaraman 22 Oct 2008 10:01:19
4 digit Frank Nelson 21 May 2009 17:47:31
4415 Frank Nelson 21 May 2009 17:47:44
4 digit Manh 04 May 2011 09:47:58
4 digit shiva swamy 08 May 2011 08:48:36

Contact us at files@mathworks.com