<< CL_fo_centrifugPot Models CL_fo_gravityLoad >>

CelestLab >> Models > CL_fo_dragAcc

CL_fo_dragAcc

Acceleration due to atmospheric drag

Calling Sequence

[acc] = CL_fo_dragAcc(vel, rho, coefd)

Description

Parameters

vel:

Velocity vector (relative to the atmosphere) [m/s]. (3xN or 3x1)

rho:

Density of the atmosphere [kg/m^3]. (1xN or 1x1)

coefd:

Drag coefficient (cd*area/mass) [m^2/kg]. (1xN or 1x1)

acc:

Acceleration [m/s^2]. (3xN)

Authors

Examples

mu = CL_dataGet("mu");
eqRad = CL_dataGet("eqRad");
alt = (400:20:800)*1.e3; // altitude
vel = [sqrt(mu./(eqRad+alt)); zeros(alt); zeros(alt)];
rho = CL_mod_atmUS76Density(alt);
coefd = 2.7 * 10 ./ 1000;
acc = CL_fo_dragAcc(vel, rho, coefd)
scf();
plot(alt/1000, CL_norm(acc));

Report an issue
<< CL_fo_centrifugPot Models CL_fo_gravityLoad >>