-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVTail.m
76 lines (62 loc) · 2.74 KB
/
VTail.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
classdef VTail
%VTail Summary of this class goes here
% Detailed explanation goes here
properties
s; % area in ft^2
b; % span in ft
e = 1; % Oswald efficiency number
cla = 6.5; % 2D lift coefficient slop
tcRatio; % maximum thickness of wing over chord (t/c)m
W_to; % take-off weight
N = 6.6; % ultimate load factor
Taper = 1; % taper ratio
xcRatio; % chordwise location of the airfoil maximum thickness point [Raymer 283]
tau = 0.3 % rudder area persentage
% Computed Properties
getWeight; % get weight [lbm]
getSwet; % get wetted area [ft^2]
getChordRoot; % get root chord length [ft]
getChord; % get average chord length [ft]
get3DCla; % get 3D lift coefficient slop
getAR; % get aspect ratio
getSidewashRate; % similar to downwash, estimated based on NACA TN 3356 pg29
getZ; % the distance of the vertical tail aerodynamic center above the vehicle center of mass [ft]
end
methods
% Constructor
function VT = VTail(W_to, s, b, t, xcRatio)
VT.W_to = W_to;
VT.s = s;
VT.b = b;
VT.xcRatio = xcRatio;
VT.tcRatio = t;
end
function getZ = get.getZ(VT)
getZ = 2.5 + VT.b/3;
end
function getAR = get.getAR(VT)
getAR = VT.b/(VT.s/VT.b);
end
function get3DCla = get.get3DCla(VT)
get3DCla = VT.cla /(1 + VT.cla/(pi*VT.e*VT.getAR));
end
function getSidewashRate = get.getSidewashRate(VT)
getSidewashRate = 0.23 * VT.getAR; % estimated from NACA TN 3356 pg29
end
function getWeight = get.getWeight(VT)
getWeight = 98.5 * ((VT.W_to*VT.N/100000)^.87...
* (VT.s/100)^1.2...
* (VT.b/(VT.getChordRoot*12))^.5...
)^.458;
end
function getChordRoot = get.getChordRoot(VT)
getChordRoot = 2*VT.s/(VT.b * (1+VT.Taper));
end
function getChord = get.getChord(VT)
getChord = (2/3)*VT.getChordRoot*+(1+VT.Taper-(VT.Taper)/(1+VT.Taper));
end
function getSwet = get.getSwet(VT)
getSwet = 2 *(1 + 0.5* VT.tcRatio) * VT.b * VT.getChord;
end
end
end