File Exchange

image thumbnail

NACA 4 digit Airfoil Generator

version 1.4 (1.93 KB) by

Generates the NACA 4 digit airfoil coordinates

4.72727
11 Ratings

116 Downloads

Updated

View License

"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.

Comments and Ratings (14)

Dogba Djaze

Rami Shoukih

I'm having difficulty getting it to run, could anyone tell what I should do after i create both provided function files?

David Esteban

Joao Ribeiro

Gero Nootz

Thanks

kunal dagha

can u send data points NACA 0022 , NACA 2422 and NACA 4422 ....

Mahdi

Mahdi (view profile)

David Taylor

yaad ram

Amet Ervin

ZeRO LiFT

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

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.

Updates

1.4

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

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today