Path: ACPro/Newtonian
% Compute force and torque for a CAD model. Shadowing is not modeled. Vertices must be entered into faces counterclockwise. The axis of rotation for the fuselage should be [0;0;0]; Plots will be against whichever input, alpha or beta, changes the most. Lift and drag are assumed to be in the x-z plane. Drag is opposite the velocity vector. Lift is normal to drag in the x-z plane. -------------------------------------------------------------------------- Form: [force, torque, cL, cD, lOverD, aTotal] = NewtonianAerodynamicsFromCAD( alpha, beta, uMag, rho, g, c, angle, uSurf, display ) -------------------------------------------------------------------------- ------ Inputs ------ alpha (1,:) Angle of attack (rad) beta (1,:) Sideslip angle (rad) uMag (1,:) Velocity (m/s) rho (1,:) Density (kg/m^3) g (.) CAD data structure c (3,1) Center of mass (m) angle (n,:) Surface angles (rad) uSurf (3,n) Axis of rotation for the surface display (1,1) If entered draw the vehicle and active surfaces ------- Outputs ------- force (3,:) Force (N) torque (3,:) Torque (Nm) cL (1,:) Lift coefficient cD (1,:) Drag coefficient lOverD (1,:) L/D aTotal (1,1) Total area -------------------------------------------------------------------------- Reference for Demo: X-15 Flight 91, http://en.wikipedia.org/wiki/X-15_Flight_91 http://www.whiteeagleaerospace.com/blog/2009/08/24/the-highest-x-15-flight/ --------------------------------------------------------------------------
AC: ACCoord/UFromAlphaBeta AC: ACData/ACTConstants ACPro: ACPerformance/ActiveAeroSurfacesDisplay ACPro: Help/HelpSystem AerospaceUtils: AeroData/AtmData AerospaceUtils: AtmosphericCalculations/AtmDens2 AerospaceUtils: AtmosphericCalculations/AtmJ70 AerospaceUtils: AtmosphericCalculations/BaromExp AerospaceUtils: AtmosphericCalculations/DiffusionExp AerospaceUtils: CAD/AutoCADColor AerospaceUtils: CAD/BinaryToString AerospaceUtils: CAD/CreateComponent AerospaceUtils: CAD/DeviceProperties AerospaceUtils: CAD/GenericProperties AerospaceUtils: CAD/LoadCAD AerospaceUtils: ComponentModels/AntennaPatch AerospaceUtils: ComponentModels/ArrayPatch AerospaceUtils: ComponentModels/CameraModel AerospaceUtils: ComponentModels/HallThrusterModel AerospaceUtils: ComponentModels/NuclearReactorModel AerospaceUtils: ComponentModels/REAModel AerospaceUtils: ComponentModels/RWAModel AerospaceUtils: ComponentModels/SingleAxisLinearDrive AerospaceUtils: ComponentModels/StarCameraModel AerospaceUtils: Coord/ECIToEF AerospaceUtils: Coord/IntersectPlanet AerospaceUtils: Coord/QIToBDot AerospaceUtils: Coord/QLVLH Common: Atmosphere/StdAtm Common: CommonData/Constants Common: CommonData/Sosumi Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: ComponentModels/Box Common: ComponentModels/Frustrum Common: ComponentModels/GeomPatch Common: ComponentModels/Triangle Common: Control/C2DZOH Common: Database/Constant Common: FileUtils/FindDirectory Common: FileUtils/GetFileRoot Common: FileUtils/GetFileSuffix Common: GUIs/MessageQueue Common: General/CellToMat Common: General/CloseFigure Common: General/DeBlankLT Common: General/DeleteCell Common: General/DispWithTitle Common: General/FSWClock Common: General/IntToBinary Common: General/IsValidField Common: General/ListCases Common: General/MatToCell Common: General/ProcessTag Common: General/Watermark Common: Graphics/AddFillToPlots Common: Graphics/Axis3D Common: Graphics/DrawVertices Common: Graphics/Ellipsd Common: Graphics/Map Common: Graphics/NPlot Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/PltStyle Common: Graphics/Polygon Common: Graphics/PolygonProps Common: Graphics/TimeLabl Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: MassProperties/AddMass Common: MassProperties/IC623X3 Common: MassProperties/InertiaFromOBJFile Common: MassProperties/Inertias Common: MassProperties/Volumes Common: Quaternion/AU2Q Common: Quaternion/Mat2Q Common: Quaternion/Q2Mat Common: Quaternion/QForm Common: Quaternion/QMult Common: Quaternion/QTForm Common: Quaternion/QZero Common: Quaternion/U2Q Common: Time/DTAToDTS Common: Time/DTSToDTA Common: Time/Date2DN Common: Time/Date2JD Common: Time/JD2000 Common: Time/JD2DN Common: Time/JD2Date Common: Time/JD2T Common: Time/JDToMidnight Common: Time/T2JD CubeSat: Power/SolarCellPower CubeSat: Simulation/CubeSatAero CubeSat: Simulation/CubeSatEnvironment CubeSat: Simulation/CubeSatRadiationPressure CubeSat: Simulation/RHSCubeSat CubeSat: Utilities/CubeSatAttitude CubeSat: Utilities/CubeSatFaces CubeSat: Utilities/CubeSatModel CubeSat: Visualization/DrawCubeSat Dynamics: Robotics/FrictionSmooth Math: Geometry/Perpendicular Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Skew Math: Linear/SkewSq Math: Linear/SkewSymm Math: Linear/Unit Math: MathUtils/R2P5 Math: Trigonometry/ACosD Math: Trigonometry/CosD Math: Trigonometry/SinD SC: Actuator/RWA SC: Actuator/SingleAxisDrive SC: BasicOrbit/CP2I SC: BasicOrbit/E2M SC: BasicOrbit/Nu2E SC: BasicOrbit/Nu2M SC: BasicOrbit/OrbRate SC: BasicOrbit/Period SC: BasicOrbit/RV2El SC: BasicOrbit/RVFromKepler SC: Disturbances/GravityGradientFromR SC: Disturbances/OpticalSurfaceProperties SC: Disturbances/SolarF SC: Environs/BDipole SC: Environs/SolarFluxPrediction SC: Ephem/EOfE SC: Ephem/EarthNut SC: Ephem/EarthPre SC: Ephem/EarthRot SC: Ephem/EarthRte SC: Ephem/Eclipse SC: Ephem/GMSTime SC: Ephem/MSidDay SC: Ephem/NutDelta SC: Ephem/ObOfE SC: Ephem/SunV1 SC: Ephem/TruEarth SC: Hardware/FloatToWord SC: Hardware/WordToFloat SC: MagneticControl/MagneticTorquer SC: SCData/sCTConstants SC: SCMat/SolarFluxPredictions SCPro: ProSensors/GPSReceiver SCPro: ProSensors/GPSSatellite SCPro: ProSensors/RangeMeasurement
Back to the ACPro Module page