You are on page 1of 6

% % % % % % % % %

function [CD,CL,CY,Cl,Cm,Cn,Thrust] = AeroModelMach(x,u,Mach,alphar,betar,V) Aerodynamic Coefficients of the Aircraft, Thrust Model, and Geometric and Inertial Properties November 16, 2012 =============================================================== Copyright 2006 by ROBERT F. STENGEL. All rights reserved. Business Jet -- Low-Angle-of-Attack, Mach-Dependent Model Landing Gear: Up or Down (GEAR = 1 or 0) Flap Setting, u(6): 0 deg or 38 deg (0 or 0.66 rad) Symmetric Spoiler: Deployed or Closed (SPOIL = 1 or 0) global m Ixx Iyy Izz Ixz S b c GEAR CONHIS SPOIL SMI

Typical Mass and Inertial Properties m = 4536; Ixx = 35926.5; Iyy = 33940.7; Izz = 67085.5; Ixz = 3418.17;

% Mass, kg % Roll Moment of Inertia, kg-m^2 % Pitch Moment of Inertia, kg-m^2 % Yaw Moment of Inertia, kg-m^2 % Nose-high(low) Product of Inertia,

kg-m^2 % Geometric Properties c = b = S = ARw = taperw = 0.507; sweepw = ARh = sweeph = ARv sweepv = lvt %

2.14; 10.4; 21.5; 5.02; 13 * .01745329; 4;

% Mean Aerodynamic Chord, m % Wing Span, m % Reference Area, m^2 % Wing Aspect Ratio % Wing Taper Ratio % Wing 1/4-chord sweep angle, rad % Horizontal Tail Aspect % Horiz Tail 1/4-chord sweep angle, rad % Vertical Tail Aspect Ratio % Vert Tail 1/4-chord sweep angle, rad % Vert Tail Length, m

Ratio 25 * .01745329; = 0.64; 40 * .01745329; = 4.72;

Thrust Properties StaticThrust =

26243.2;

% Static Thrust @ Sea Level, N

Current Thrust [airDens,airPres,temp,soundSpeed] = Atmos(-x(6)); Thrust = u(4) * StaticThrust * (airDens / 1.225)^0.7 ... * (1 - exp((-x(6) - 17000) / 2000)); % Thrust at Altitude, N

Current Mach Effects, normalized to Test Condition B (Mach = 0.1734) PrFac = 1 / (sqrt(1 - Mach^2) * 1.015); % Prandtl Factor WingMach = 1 / ((1 + sqrt(1 + ((ARw/(2 * cos(sweepw)))^2) ... * (1 - Mach^2 * cos(sweepw)))) * 0.268249); % Modified Helmbold equation HorizTailMach = 1 / ((1 + sqrt(1 + ((ARh/(2 * cos(sweeph)))^2) ... * (1 - Mach^2 * cos(sweeph)))) * 0.294539); % Modified Helmbold equation VertTailMach = 1 / ((1 + sqrt(1 + ((ARv/(2 * cos(sweepv)))^2) ... * (1 - Mach^2 * cos(sweepv)))) * 0.480338); % Modified Helmbold equation % % % Current Longitudinal Characteristics ==================================== Lift Coefficient CLo if GEAR >= 1 CLo end if u(6) >= 0.65 CLo end if SPOIL >= 1 CLo end

= =

0.1095; CLo - 0.0192;

% Zero-AoA Lift Coefficient (B) % Gear-down correction

CLo + 0.5182;

% 38 deg-flap correction

CLo - 0.1897;

% 42 deg-Symmetric Spoiler correction

CLar = 5.6575; if u(6) >= 0.65 CLar = CLar - 0.0947; end CLqr = 4.231 * c / (2 * V);

% Lift Slope (B), per rad

% Pitch-Rate Effect, per rad/s CLdSr = 1.08; if u(6) >= 0.65 CLdSr = end % Stabilator Effect, per rad CLdSr - 0.4802; % 38-flap correction

CLdEr = 0.5774; % Elevator Effect, per rad if u(6) >= 0.65 CLdEr = CLdEr - 0.2665; % 38 deg-flap correction end CL = CLo + (CLar*alphar + CLqr*x(8) + CLdSr*u(7) + CLdEr*u(1)) ... * WingMach; % Total Lift Coefficient, w/Mach Correction

Drag Coefficient CDo = if GEAR >= 1 CDo = end if u(6) >= 0.65 CDo = end if SPOIL >= 1 CDo = end

0.0255; CDo + 0.0191;

% Parasite Drag Coefficient (B) % Gear-down correction

CDo + 0.0836;

% 38 deg-flap correction

CDo + 0.0258;

% 42 deg-Symmetric Spoiler correction

epsilon = 0.0718; if u(6) >= 0.65 epsilon = 0.079; end CD =

% Induced Drag Factor % 38 deg-flap correction

CDo * PrFac + epsilon * CL^2; % Total Drag Coefficient, w/Mach Correction

Pitching Moment Coefficient Cmo = 0; Coefficient (B) if GEAR >= 1 Cmo = Cmo + 0.0255; end if u(6) >= 0.65 Cmo = Cmo - 0.058; end if SPOIL >= 1 Cmo = Cmo - 0.0154; end Cmar = -1.231; if u(6) >= 0.65

% Zero-AoA Moment

% Gear-down correction

% 38 deg-flap correction

% 42 deg-Symmetric Spoiler correction

% Static Stability (B), per rad

Cmar end Cmqr =

Cmar + 0.0138;

-18.8 * c / (2 * V); % Pitch-Rate + Alpha-Rate Effect, per rad/s

CmdSr = -2.291; % Stabilator Effect, per rad if u(6) >= 0.65 CmdSr = CmdSr + 0.121; % 38 deg-flap correction end CmdEr = -1.398; % Elevator Effect, per rad if u(6) >= 0.65 CmdEr = CmdEr + 0.149; % 38 deg-flap correction end Cm = Cmo + (Cmar*alphar + Cmqr*x(8) + CmdSr*u(7) + CmdEr*u(1)) ... * HorizTailMach; % Total Pitching Moment Coefficient, w/Mach Correction

% % %

Current Lateral-Directional Characteristics =========================================== Side-Force Coefficient CYBr = -0.7162; if u(6) >= 0.65 CYBr = CYBr + 0.0826; end CYdAr = -0.00699;

% Side-Force Slope (B), per rad

% Aileron Effect, per rad

CYdRr = 0.1574; % Rudder Effect, per rad if u(6) >= 0.65 CYdRr = CYdRr - 0.0093; % 38 deg-flap correction end CYdASr = 0.0264; if u(6) >= 0.65 CYdASr = CYdASr + 0.0766; end CY = (CYBr*betar + CYdRr*u(3)) * VertTailMach ... + (CYdAr*u(2) + CYdASr*u(5)) * WingMach; % Total Side-Force Coefficient, w/Mach Correction % Asymmetric Spoiler Effect, per rad

% 38 deg-flap correction

Yawing Moment Coefficient CnBr = 0.1194; if u(6) >= 0.65 CnBr = CnBr - 0.0092; end Cnpr =

% Directional Stability (B), per rad

CL * (1 + 3 * taperw)/(12 * (1 + taperw)) * (b / (2 * V)); % Roll-Rate Effect, per rad/s

Cnrr

(-2 * (lvt / b) * CnBr * VertTailMach - 0.1 * CL^2) ... * (b / (2 * V)); % Yaw-Rate Effect, per rad/s % Aileron Effect, per rad CndAr + 0.0028;

CndAr = 0; if u(6) >= 0.65 CndAr = end

CndRr = -0.0713; % Rudder Effect, per rad if u(6) >= 0.65 CndRr = CndRr - 0.0185; % 38 deg-flap correction end CndASr = -0.0088; % Asymmetric Spoiler Effect, per rad if u(6) >= 0.65 CndASr = CndASr - 0.0106; % 38 deg-flap correction end Cn = (CnBr*betar + CndRr*u(3)) * VertTailMach ... + Cnrr * x(9) + Cnpr * x(7) ... + (CndAr*u(2) + CndASr*u(5)) * WingMach; % Total Yawing-Moment Coefficient, w/Mach Correction

Rolling Moment Coefficient ClBr = -0.0918; % Dihedral Effect (B), per rad if u(6) >= 0.65 ClBr = ClBr - 0.0092; end Clpr = -CLar * (1 + 3 * taperw)/(12 * (1 + taperw)) ... * (b / (2 * V)); % Roll-Rate Effect, per rad/s

Clrr

(CL * (1 + 3 * taperw)/(12 * (1 + taperw)) ... * ((Mach * cos(sweepw))^2 - 2) / ((Mach * cos(sweepw))^2 - 1)) ... * (b / (2 * V)); % Yaw-Rate Effect, per rad/s

CldAr = 0.1537; % Aileron Effect, per rad if u(6) >= 0.65 CldAr = CldAr + 0.01178; end CldRr = 0.01208; if u(6) >= 0.65 CldRr = CldRr + 0.01115; end CldASr = -0.01496; if u(6) >= 0.65 CldASr = CldASr - 0.02376; % 38 deg-flap correction end Cl = % Rudder Effect, per rad % 38 deg-flap correction

% Asymmetric Spoiler Effect, per rad

(ClBr*betar + CldRr*u(3)) * VertTailMach ... + Clrr * x(9) + Clpr * x(7) ... + (CldAr*u(2) + CldASr*u(5)) * WingMach; % Total Rolling-Moment Coefficient, w/Mach Correction

You might also like