Aerodynamic Report
Author:
Trym Haddal, Hugo Schleicher
Last Updated:
6 yıl önce
License:
Creative Commons CC BY 4.0
Abstract:
TEP4160 lab report
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
\documentclass[5p,sort&compress]{elsarticle}
\usepackage{amssymb} % Mathematical symbols
\usepackage{amsmath} % More options for mathematics
\usepackage{subfigure} % More options for figures
\usepackage{epstopdf} % Convert eps to pdf
\usepackage[separate-uncertainty=true]{siunitx} % Proper formatting of units in math mode
\usepackage{color} % Supports text color if needed
\usepackage{soul} % https://ctan.org/pkg/soul
\usepackage{lmodern} % Loading fonts
\usepackage{hyperref} % To insert clickable references/urls
\usepackage{listings} % To input code in the text
\usepackage{amsmath}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{booktabs}
\setlength{\parskip}{2em}
\newcommand{\stirlingii}{\genfrac{\{}{\}}{0pt}{}}
% Choose the style of the reference list (do not change)
\bibliographystyle{elsarticle-num}
\journal{supervisor}
% Begin the document
\begin{document}
\begin{frontmatter}
\title{Lab report TEP4160}
\author{Haddal Trym}
\author{Schleicher Hugo}
% \address{hug.schleicher@gmail.com}
\begin{abstract}
This lab was realized to compute and obtain the necessary data for the lift of the the NREL S826. The airfoil was set in a wind tunnel and a Scanivalve MPS4264 pressure scanner aquired data from 32 pressure points located around the airfoil. The data were interpolated using a piecewise cubic Hermite polynomials to plot the $C_{p}$ and $C_{L} $ curves. The experimental results are close to the analytic ones, but diverge with the error $\Delta C_{L}$ as the maximal error is $5.93 \% $ of the total $C_{L}$.
\end{abstract}
\end{frontmatter}
%% How to make a heading and divide the documents into different sections
\section{Introduction}
There exists many types of airfoils. They have different lengths, shapes and material, which leads to different performance. Therefore, it can be useful to measure the properties of the different airfoils in order to choose the right one.
This experiment is based on the NREL S826 airfoil. On the airfoil, one of the middle section contains 32 pressure ports around the chord, on both the pressure and suction sides of the airfoil. The airfoil will be set at different angle of attacks (AoA), and the pressure will be calculated for each port. Then it will be mapped to a pressure scanner and interpreted with a Matlab code.
\section{Theory}
\subsubsection*{Calculation of the pressure coefficient $C_{p}$}
From the lectures notes, $C_{p}$ can be obtained by the eq.(1) :
\begin{equation}
-C_{p}= \frac{P-P_{\infty}}{\frac{1}{2}*\rho*U_{\infty}^2}
\end{equation}
Where $P $ and $P_{\infty}$ are respectively the local pressure and the atmosphere pressure far away. $U_{\infty}$ is the wind velocity of the wind tunnel.
\subsubsection*{Calculation of the lift coefficient $C_{L}$}
First, the expression for the pressure force acting normal to the chord line is given in the lecture notes as eq.(2),
\begin{equation}
C_{n} = \oint C_{p}(-\hat{n}*\hat{y})dl,
\end{equation}
with $C_{p}$ the coefficient of lift and $\hat{n}$ the unit normal vector pointing out of the surface, $\hat{y}$ is the unit vector in the direction normal to the chord line. dl is the length of an infinitesimal line element.
Similarly, the axial component can be express as eq.(3)
\begin{equation}
C_{a} = \oint C_{p}(-\hat{n}*\hat{x})dl,
\end{equation}
with $\hat{x}$, the unit vector pointing along the chord line.
A piecewise cubic Hermite interpolation (PCHIP) was used to estimate the surface location and $C_{p}$ values.
With some calculation and rearrangement , eq.(3) can be express as :
\begin{multline}
\binom{C_{a}}{C_{n}} = C_{p,0} \begin{bmatrix} dy_{0}+dy_{N-2} \\ -dx_{0}-dx_{N-2}\end{bmatrix}
+ \sum_{i=1}^{N-2} C_{p,i} \begin{bmatrix} dy_{i}+dy_{i-1} \\ -dx_{i}-dx_{i-1}\end{bmatrix}
\end{multline}
The eq.(4) gives the expression for the pressure force coefficient in the normal and axial direction in the coordinate system where the cord length is in the (x) direction.
To get the lift coefficient, the coordinate system need to be rotated by $\theta = - \alpha$ in eq.(4) .This gives the eq.(5):
\begin{equation}
\binom{C_{d}}{C_{l}} = \begin{bmatrix} cos(\alpha) & sin(\alpha) \\ -sin(\alpha) & cos(\alpha) \end{bmatrix} \binom{C_{a}}{C_{n}}
\end{equation}
Rewriting eq.(5) with eq.(4) , the final formula for $C_L$ is given in eq.(6),
\begin{multline}
C_{L} = \frac{1}{2}*[Cp_{0}*(-(dy_{0}+dy_{N-2})*sin(\alpha) \\
- (dx_{0}+dx_{N-2})*cos(\alpha))
\\
+ \sum_{i=1}^{N-2} Cp_{i}*(-(dy_{i}\\
+ dy_{i-1})*sin(\alpha)-(dx_{i}+dx_{i-1})*cos(\alpha))],
\end{multline}
with $d_{x}$ and $d_{y}$, the infinitesimal variations of the pressure point position are the differences in respectively the x and y direction between two pressure point.
\subsubsection*{Errors in the lift coefficient $C_{L}$}
The error of the lift coefficient $C_{L}$ is estimated as in eq.(7),
\begin{multline}
\Delta C_{L} = \sqrt{(\frac{\partial C_{L}}{\partial z_{1}})^2*(\sigma_{z_{1}})^2 + (\frac{\partial C_{L}}{\partial z_{2}})^2*(\sigma_{z_{2}})^2+ ...}
\end{multline}
The variances $\sigma_{z}$ are estimated using the variance of the time series, and the known accuracy of the measuring equipment, with eq.(8) :
\begin{equation}
\sigma_{\alpha} = \frac{\sum(x-\mu)^2}{N},
\end{equation}
with $\mu$ the average value.
To determine the error in the $C_{L}$ coefficient, it was assumed that there are no significant errors in the location of the points on the airfoil surface. With eq.(7) and partial differentiation of each $P_{i}$ value, the uncertainty of the lift coefficient $C_{L}$ was obtained in eq.(9),
\begin{multline}
\Delta C_{L} =[(\frac{C_{L}}{q_{\infty}}*\sigma_{q_{\infty}})^2\\
+(\sigma_{\alpha}*(sin(\alpha)-cos(\alpha))
*\sum_{i=0}^{N-2}\frac{C_{p,i+1}+C_{p,i}}{2}*\binom{d_{x_{i}}}{d_{y_{i}}})^2 \\
+ (\frac{1}{2*q_{\infty}}*((dy_{0}+dy_{N-2})*sin(\alpha)\\
+ (dx_{0}+dx_{N-2})*cos(\alpha))*\sigma_{P0})^2
\\
+\sum_{i=1}^{N-2} (\frac{1}{2*q_{\infty}}*((dy_{i}+dy_{i-1})*sin(\alpha)\\
+ (dx_{i}+dx_{i-1})*cos(\alpha))*\sigma_{Pi})^2 ]^\frac{1}{2}
\end{multline}
\section{Method}
First, the surface pressure was measured with a pressure scanner (Scanivalve MPS4264). The MATLAB script $get_qinf_T.m$ was used to find the target freestream velocity $U_{\infty}$.
A first offset measurement was taken with the pressure scanner, sample at 800 Hz for 10 seconds , while matlab was taking an offset measurement. After the offset measurment done , the wind tunnel VFD RPM was set to reach the target $U_{\infty}$ within $\pm 0.5 m/s$.
For each of the following $\alpha$= [-8 -6 -4 -2 0 2 4 6 7 8 9 10 11 12 13 14 16 18], the same procedure was repeated :
The turntable was set to the right angle of attack (as shown in fig.(1)). Then the dynamic pressure and the temperature were taken (\emph{1000} Hz for \emph{30} seconds for pressure, and \emph{14} Hz for \emph{10} seconds for the temperature).
While Matlab was taking the data , the pressure scanner was run to take measurement at \emph{800} Hz for \emph{60} seconds.
After changing the angle, a break of \emph{5} seconds was taken in order to fully settle the flow into a steady state before taking the next set of measurements.
The post-experiment calculations were realized with Matlab.
First, the pressure offset was
computed in order to get the right pressure measurement.
With the \emph{2} offset measurements and the getfiledate.m Matlab code, the time of each offset has been taken. A linear interpolation was realized to get the offset at any time.
The pressure points were linked to the corresponding measurement value of the scanner and the time of each measurement was obtained with the getfiledate.m code.
The new pressure were finally taken by subtraction of each corresponding time offset to the measurement pressure for every angle of attack.
The lower and upper $C_{p}$ values were computed with eq.(1). The denominator in the eq.(1) ($P-P_{\infty}$) correspond to the new pressure calculated by subtraction of the offset . As the pressure points does not surround the airfoil entirely, the $C_{p}$ curves had to be closed by interpolation of the data points using piecewises cubic Hermite polynomials (PCHIP) for the last three points to estimate a value for the trailing edge. An example of a $C_{p}$ curve for a certain angle of attack is shown in fig.(5).
Next, the $C_{L}$ values for each angle of attack were computed using eq.(6). The coordinate system used in eq.(6) is shown in fig.(2). fig.(5) shows the resulting plot of this calculation.
Finally, the errors in the lift coefficient were computed using eq.(9). The different variance values were given in the lab document and calculated using eq.(8). fig.(3) shows the resulting plot of this calculation.
\begin{figure}[h]
\centering
\includegraphics[width = 5cm]{A.pdf}
\caption{Set up of the airfoil experiment}
\label{fig:my_label}
\end{figure}
\begin{figure}[h]
\centering
\includegraphics[width = 8cm]{B.pdf}
\caption{Airfoil spatial measurement }
\label{fig:my_label}
\end{figure}
\section{Results}
The resulting slope of the $C_{l}$ for ${\alpha}\in [-8,8] $ is \textit{6.174} rad and \textit{6.209} rad for ${\alpha}\in [-4,4] $\ . This deviates by \textit{0.1090} and \textit{0.0745} respectively from the \textit{$2{\pi}$} value predicted by thin airfoil theory, indicating larger errors for higher AoA's.
The max theoretical error $\Delta C_{l}$ was calculated to be \textit{0.0887}, and occurred at ${\alpha=\ang{16}}$, which is in the stall region. Outside of the stall region the max error was calculated to be \textit{0.0391}, at ${\alpha=\ang{8}}$
\begin{figure}[h!]
\centering
\includegraphics[width = 5cm]{dCl(AoA)3.png}
\caption{Resulting plot of $\Delta C_{L}$}
\label{fig:my_label}
\end{figure}
The standard deviations presented in tab.1 were used in the result above. $\sigma{q_{inf}}$, and $\sigma{P_{i}}$ were found with eqn (8). However, $\sigma{P_{i}}$ is a vector for all of the pressure ports, and will not be presented.
\begin{table}[h!]
\caption{Value of variance}
\centering
\begin{tabular}{lllll}
\hline
$\sigma_{P_{0}}$ & $\sigma_{\alpha}$ & $\sigma_{q_{\inf}}$ & \\ \hline
3.000 & 0.250 & 0.453 & \\
{[}Pa{]} & {[}deg{]} & {[}Pa{]} & \\ \hline
\end{tabular}
\end{table}
\begin{figure}[h!]
\centering
\includegraphics[width = 5cm]{Cl(AoA)3.png}
\caption{Resulting plot of $C_{L}$ compared to experimental data}
\label{fig:my_label}
\end{figure}
\begin{figure}[h!]
\centering
\includegraphics[width = 5cm]{Cp(8deg)2.png}
\caption{- $C_{p}$ for $\alpha = \ang{8} $}
\label{fig:my_label}
\end{figure}
\section{Discussion}
According to thin airfoil theory, the Cl curve for cambered airfoils should be straight for low angles of attack with a slope of <textit{$2\pi$}. It should also have a positive lift at $\alpha = \ang{0} $. The resulting $C_{L}$ curve clearly follows this trend, albeit not perfectly, especially at higher AoA's. This likely follows from the assumption of a thin airfoil, as the NREL S826 has a non negligible aspect ratio of \textit{5} .
Furthermore, the boundary layer acts as a streamline, essentially adding some minute thickness to the airfoil flow. It would therefore experience a higher adverse pressure gradient due to the curvature, and thus earlier separation. This can also be observed in figure \textit{4}, where a high pressure gradient is starting to form already for $\alpha = \ang{8} $ at ~ $\frac{x}{c} \approx 0.2$.
Furthermore, stall can be predicted to be about $\alpha = \ang{12} $ from figure 3. This seems to fit well with previous experimental data shown in pink \cite{Airfoiltools.com}, . Larger theoretical errors are expected in this region, as separation and irregular flow further complicates the theory.
The discrepancies are also likely to be due to the measurement errors described in the theory section. The max calculated error $\Delta C_{L}$ is \textit{5.93} $\%$ of the total $C_{L}$.
\section{Conclusion}
The goal of this lab was experimentally measure pressure around an airfoil for different AoA's and to compare the resulting lift data with theory. This was done with numerical integration of the pressure distrubution, while also adjusting for measurment errors.
There seems to be good agreement between the lab data and theory. The resulting slope of the $C_{L}$ curve deviates at a maximum \textit{0.109} from thin airfoil theory outside the stall region. This is probably due to the thickness of the airfoil, as well as the measurement error in the equipment. As expected stall occurs at about $\alpha = \ang{12} $, which can be qualitatively observed in both the $C_{L}$ and $C_{P}$ curves.
% htb is a placement option where h = here, t = top of page, b = bottom of page
% htb means it first tries to place the figure at this point in the text, then the
% next option is the top of the page and the last option is the bottom of the page
% Tables and figures are placed by the document compiler, and if the figures end
% up all over the place even though the placement options has been set it is usually
% a sign that there are too many figures and too little text
% Note that siunitx use the number in the parenthesis as the uncertainty in the last digit of the number
% Use the *-symbol to remove numbering of section if required
\section*{References}
\bibliography{references}
\begin{thebibliography}{9}
\bibitem{pressure scanner}
Scanivalve: MPS4264 Miniature Pressure ScannerManual,
\\\texttt{http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html}
\bibitem{Airfoiltools.com}
Airfoil tools: Previous experimental data for the NREL S826,
\\\texttt{http://airfoiltools.com/airfoil/details?airfoil=s826-nr}
\end{thebibliography}
\end{document}