Path: SCPro/ProEnvirons
% Computes the aerodynamic disturbance using a Newtonian model. The optional shadowing function has the form [a,p] = ShadowFun(u, n, a, p) and serves to elimate shadowed surfaces from further calculation. -------------------------------------------------------------------------- Form: [f, t] = DistAero( r, q, v, n, a, p, rho, shadowFun ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,:) Position vectors q (4,:) Quaternion from ECI to body v (3,:) Velocity vector (km/s) n (3,m) Unit surface outward normals a (1,m) Areas for each surface (m^2) p (3,m) Location of each surface rho (1,:) Density shadowFun (:) Handle for shadowing function ------- Outputs ------- f (3,:) Aero force t (3,:) Aero torque --------------------------------------------------------------------------
Orbit: OrbitMechanics/RVOrbGen SC: BasicOrbit/Period Common: Graphics/Plot2D Common: Quaternion/QForm Common: Quaternion/QTForm Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit
Back to the SCPro Module page