Example: Airfoil profiles

Published 2007-01-16 | Author: Kjell Magne Fauske

A few airfoil profiles from the extensive UIUC Airfoil Coordinates Database. The data is provided in a convenient x,y coordinate format suitable for plotting using PGF/TikZ's plot file construct.

Note that the data is released under the GNU General Public License. To use the data files with PGF/TikZ, you have to comment out the lines not containing coordinates.

Download the airfoils used in the example: airfoildata.zip

Download as: [PDF] [TEX]  •  [Open in Overleaf]

Airfoil profiles

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de. En français: TeXnique.fr.

% Airfoil profiles from the UIUC Airfoil Coordinates Database
% http://www.ae.uiuc.edu/m-selig/ads/coord_database.html
% Data is released under the GNU General Public Licence. See
% http://www.ae.uiuc.edu/m-selig/pd/gpl.html for more details. 
\documentclass{article}
\usepackage{tikz}
\begin{document}

\newcounter{y}
\setcounter{y}{0}

\begin{tikzpicture}
    \foreach \lbl / \fn in {EPPLER 625/e625.dat,
                            WORTMANN FX 2/fx2.dat,
                            EPPLER 664 (EXTENDED)/e664ex.dat,
                            CLARK Y/clarcy.dat,
                            Eiffel 10 (Wright)/eiffel10.dat,
                            FX 69-PR-281/fx69pr281.dat,
                            NACA Munk M-4 airfoil/m4.dat}{
        % Some profiles look better when using plot[smooth]
        \draw[yshift=-\arabic{y}cm,scale=3] node[left=0.5cm] {\lbl}
            plot file{data/\fn} -- cycle;
        \stepcounter{y}
    }
\end{tikzpicture}

\end{document}

Comments

  • #1 Wolfgang Gruber, October 31, 2008 at 5:19 p.m.

    M4 plot data is missing in zip-file

  • #2 Kjell Magne Fauske, October 31, 2008 at 6:43 p.m.

    Sorry about that. I have now uploaded new version that contains the missing file. Thanks for reporting this.

Adding comments is currently not enabled.