Académique Documents
Professionnel Documents
Culture Documents
function tsr_Cp_Ct_meanA_minA_maxA_meanRe_minRe_maxRe_maxAlp...
= predictcpcurve_sm(fileCtang, fileCnorm, sol, tsr, uRe);
tableCtang = load(fileCtang);
tableCnorm = load(fileCnorm);
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 2 of 10
end
%=====================================================================
%Function to find corrects properties for a tube at certain theta
%Trial and error method used first to find correct induction factor
%in the specified interval at certain accuracy
%Used the slow but sure converge bisection method
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 3 of 10
a_left = a_MIN;
a_right = a_MAX;
%=====================================================================
%Function to calculate a trial(might incorrect) tube properties
%for a given guessed induction factor
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 4 of 10
%=====================================================================
%Get thrust coefficient acting ON the airfoil in TWICE entry into tube,
%for tangent and normal coefficients, normalised relative velocity,
%and airfoil area to swept area ratio => solidity + theta
function CtubeThru = getFoilThrust(sol, theta, Ur, Ctang, Cnorm);
%=====================================================================
%Get thrust coefficient BY wind momentum or Glauert empirical formula
%for a given induction factor
if a < 0.4
CtubeThru = 4 * a * (1 - a);
else
CtubeThru = 26 / 15 * a + 4 / 15;
end
%=====================================================================
%Function to calculate airfoil properties at certain theta position,
%tsr rotation, and induction factor
Re = Ur*uRe;
[Ctang, Cnorm]...
= getAirfoilCoefficients(tableCtang, tableCnorm, Re, alpha);
%=====================================================================
%Function to calculate normalised relative, normal, tangent velocity,
%and angle of attack for a given theta, tsr, and induction factor
Ur = sqrt(((1-a)*sin(theta/180*pi))^2 ...
+ ((1-a)*cos(theta/180*pi) + tsr)^2);
Un = (1-a)*sin(theta/180*pi);
Ut = ((1-a)*cos(theta/180*pi) + tsr);
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 5 of 10
%=====================================================================
function [Ctang, Cnorm]...
= getAirfoilCoefficients(tableCtang, tableCnorm, Re, alpha);
» tsr = [1.5:0.25:8]'
tsr =
1.5000
1.7500
2.0000
2.2500
2.5000
2.7500
3.0000
3.2500
3.5000
3.7500
4.0000
4.2500
4.5000
4.7500
5.0000
5.2500
5.5000
5.7500
6.0000
6.2500
6.5000
6.7500
7.0000
7.2500
7.5000
7.7500
8.0000
ure =
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 6 of 10
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
53000
» cp = predictcpcurve_sm('Ctang.A10.NACA12.table',...
'Cnorm.A10.NACA12.table', 0.1, tsr, ure)
PRINT_tsr =
PRINT_theta_a_Ur_alpha_Re_Thr =
PRINT_tsr =
PRINT_theta_a_Ur_alpha_Re_Thr =
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 7 of 10
PRINT_tsr =
PRINT_theta_a_Ur_alpha_Re_Thr =
PRINT_tsr =
PRINT_theta_a_Ur_alpha_Re_Thr =
PRINT_tsr =
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 8 of 10
PRINT_theta_a_Ur_alpha_Re_Thr =
PRINT_tsr =
PRINT_theta_a_Ur_alpha_Re_Thr =
PRINT_tsr =
PRINT_theta_a_Ur_alpha_Re_Thr =
PRINT_output_table_format =
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 9 of 10
tsr_Cp_Ct_meanA_minA_maxA_meanRe_minRe_maxRe_maxAlp
cp =
Columns 1 through 7
Columns 8 through 10
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019
Darrieus wind turbine analysis - Multiple streamtubes model code Page 10 of 10
Home About
Last updated at November 6, 2002
Comments are welcomed
file:///E:/0HOME_TRI/htmldarrieus/analyse-tubecode.htm 4/12/2019