Skip to content

Documentation / @interstellar-tools/equations / atmosphericDragAcceleration

Function: atmosphericDragAcceleration() ​

ts
function atmosphericDragAcceleration(
  Cd: number,
  A: number,
  m: number,
  rho: number,
  v: number
): number;

Defined in: orbits/atmospheric-drag-acceleration.ts:39

Compute atmospheric drag acceleration magnitude.

Equation:

aD=12CDAmρv2

Where:

  • CD is the drag coefficient (dimensionless)
  • A is reference area normal to the flow (m²)
  • m is spacecraft mass (kg)
  • ρ is atmospheric density (kg/m³)
  • v is speed relative to the atmosphere (m/s)

Units:

  • Returns acceleration magnitude in m/s².

Note:

  • This returns the magnitude of drag acceleration. The drag acceleration vector points opposite the velocity direction (i.e., along −v^).

Parameters ​

ParameterTypeDescription
CdnumberDrag coefficient CD (finite, >= 0).
AnumberReference area A (finite, >= 0), in m².
mnumberMass m (finite, > 0), in kg.
rhonumberAtmospheric density ρ (finite, >= 0), in kg/m³.
vnumberSpeed relative to the atmosphere v (finite, >= 0), in m/s.

Returns ​

number

Drag acceleration magnitude aD in m/s².

Throws ​

If any input is not finite.

Throws ​

If m <= 0 or any of Cd, A, rho, v is negative.

Example ​

ts
// Example (rough LEO order-of-magnitude):
const aD = atmosphericDragAcceleration(2.2, 2.0, 500, 1e-12, 7700);