FlightEquilibrium:

Path: ACPro/ACPerformance

% Compute flight equilibrium.

   Ground effect is included and the scale factor is the square root of s.
   This uses DragCoeff for the drag coefficients. If the altitude is zero
   then the gravity force is assumed to be zero.

   Type  FlightEquilibrium for a demo

--------------------------------------------------------------------------
   Form:
   d = FlightEquilibrium( gamma, h, v, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   gamma           (1,:) Flight path angle (deg)
   h               (1,:) Altitude (m)
   v               (1,:) Velocity (m/s)
   d               (1,1) Data structure
                         .mass         (1,1) Mass (kg)
                         .s            (1,1) Reference area (m^2)
                         .cLAlpha      (1,1) Lift coefficient
                         .length       (1,1) Representative length (e.g. mean chord) (m)
                         .oswaldEff    (1,1) Oswald efficiency factor (optional)
                         .aspectRatio	(1,1) Aspect ratio for wing (length/mean chord)
                         .thickness    (1,1) Ratio of length to thickness
                         .m1Peak       (1,1) Peak at M = 1 an alternative to zetaTrans
   -------
   Outputs
   -------
   d               (1,1) Data structure
                         .m      (1,:) Mach number
                         .rho    (1,:) Atmospheric density (kg/m^3)
                         .t      (1,:) Stagnation temperature (deg-K)
                         .q      (1,:) Dynamica pressure (N/m^2)
                         .drag   (1,:) Drag force (N)
                         .lift   (1,:) Lift force (N)
                         .thrust (1,:) Thrust force (N)
                         .cD0    (1,:) Drag coefficient
                         .kI     (1,:) Induced drag coefficient

--------------------------------------------------------------------------

Children:

AC: ACData/ACTConstants
ACPro: ACProAerodynamics/CDSkinFriction
ACPro: ACProAerodynamics/DragCoeff
ACPro: ACProAerodynamics/FormDragCoeff
ACPro: ACProAerodynamics/GroundEffect
ACPro: ACProAerodynamics/InducedDragCoeff
ACPro: ACProAerodynamics/PrandtlGlauertCorrection
AerospaceUtils: AeroData/AtmData
AerospaceUtils: AtmosphericCalculations/AtmGamma
AerospaceUtils: AtmosphericCalculations/TemperatureStagnation
SC: SCData/sCTConstants
Common: Atmosphere/StdAtm
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeleteCell
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Analysis/Logistic
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the ACPro Module page