Path: SCPro/DynamicalModels
% Simulate a 2D orbit with aerodynamics Uses CLCDFreeMolecular for lift and drag coefficients Type PropagateOrbit2DAero for a demo -------------------------------------------------------------------------- Form: x = PropagateOrbit2DAero( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (4,1) [r;v] (km,km/s) t (1,:) Time vector d (.) Data structure describing spacecraft model .m (1,1) Mass (kg); .a (1,1) Area (m^2) .beta (1,1) Angle of attack (rad) .tW (1,1) Surface temperature (deg-K_ .mW (1,1) Mean atmosphere molecular weight .mu (1,1) Gravitational constant (m^3/s^2) ------- Outputs ------- x (4,1) d[r;v]/dt (km/s,km/s^2) --------------------------------------------------------------------------
AC: ACData/ACTConstants ACPro: ACProAerodynamics/CLCDFreeMolecular AerospaceUtils: AtmosphericCalculations/AtmDens2 AerospaceUtils: AtmosphericCalculations/AtmTemp Orbit: OrbitCoord/AE2RPRA Orbit: OrbitCoord/RPRA2AE Orbit: OrbitCoord/RV2AE SC: BasicOrbit/CP2I SC: BasicOrbit/E2Nu SC: BasicOrbit/El2RV SC: BasicOrbit/M2E SC: BasicOrbit/M2EApp SC: BasicOrbit/M2EEl SC: BasicOrbit/M2EHy SC: BasicOrbit/M2Nu SC: BasicOrbit/M2NuPb SC: BasicOrbit/Period SC: Environs/MolWt2R SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Database/Constant Common: General/CellToMat Common: General/DeBlankLT Common: General/DeleteCell Common: General/DispWithTitle Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TimeLabl Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Math: Integration/RK4 Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the SCPro Module page