Documentation / @interstellar-tools/equations / thirdBodyAcceleration
Function: thirdBodyAcceleration()
ts
function thirdBodyAcceleration(
r: Vector3DTupleType,
rBody: Vector3DTupleType,
muBody: number
): Vector3DTupleType;Defined in: gravity/third-body-acceleration.ts:57
The tidal pull of a third body, such as the Moon or the Sun, on a satellite: how much more, or less, it pulls the satellite than the planet the satellite orbits. Only that difference changes the orbit, as both fall toward the third body together.
computed in Battin's form, which doesn't lose digits to the near-cancelling terms when the body is far away:
Where:
is the satellite's position from the planet's centre (m) is the third body's position from the planet's centre (m) is the third body's gravitational parameter (m³/s²)
Units
- Inputs: positions in m,
muBodyin m³/s². - Output: the acceleration in m/s², on the axes of the positions.
Notes
- The Moon's tidal pull on a satellite in low Earth orbit is at most about 1.2 × 10⁻⁶ m/s², and the Sun's under half that. In geostationary orbit they're 7 × 10⁻⁶ and 3 × 10⁻⁶ m/s², and tilt the orbit plane by about 0.8° a year.
- Use positions on the same axes: sunPosition and moonPosition give them in Earth's mean equator and equinox of the date.
Parameters
| Parameter | Type | Description |
|---|---|---|
r | Vector3DTupleType | The satellite's position |
rBody | Vector3DTupleType | The third body's position r). |
muBody | number | The third body's gravitational parameter |
Returns
The acceleration in m/s².
Throws
- If a position is not three finite numbers, or
muBodyis not finite. - If
rBodyis zero or atr, ormuBody < 0.
Example
ts
// The Moon straight overhead of a satellite 400 km up
thirdBodyAcceleration([6_778_137, 0, 0], [3.844e8, 0, 0], 4.9028e12);
// ≈ [1.2e-6, 0, 0]: toward the Moon, a stretching tideSee
- moonPosition
- sunPosition
- Battin, An Introduction to the Mathematics and Methods of Astrodynamics, revised ed. (1999)