Path: SC/Disturbances
% Calculate the drag force in the ECI frame assuming constant area. Uses the scale height atmosphere model (AtmDens2). Assumes the area is pointed along the velocity vector at all times. If a Julian date is entered it will account for the effect of Earth rotation on the relative velocity. This is the simplest drag force model. For a simple model that takes attitude into account, see CubeSatAero. For the full model using the CAD tools see Disturbances. -------------------------------------------------------------------------- Form: force = AeroDragForce( x, area, cD, jD ) -------------------------------------------------------------------------- Inputs ------ x (6,1) State [r;v] area (1,1) Area (m2), default 1.0 cD (1,1) Coefficient of drag, default 2.2 jD (1,1) Julian date Outputs ------- force (N) Force in the ECI frame -------------------------------------------------------------------------- See also: AeroF, AtmDens2, Disturbances --------------------------------------------------------------------------