NACA 4 digit Airfoil Generator
"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.
Citation pour cette source
J. Divahar (2026). NACA 4 digit Airfoil Generator (https://fr.mathworks.com/matlabcentral/fileexchange/19915-naca-4-digit-airfoil-generator), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Non-linearly Spaced Vector Generator, rafael-aero/XFOILinterface, CB2: Airfoil Optimization with GUI
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.4.0.0 | *Option to generate closed or open Trailing Edge
|
||
| 1.0.0.0 | Typing Errors |
