Gravity Engine 2 4.0
Loading...
Searching...
No Matches
GravityEngine2.GSEarthAtmosphere Class Reference

Computes the acceleration due to drag in the Earth's atmosphere for a given height and velocity. More...

Inheritance diagram for GravityEngine2.GSEarthAtmosphere:
GravityEngine2.GSExternalAcceleration

Public Member Functions

int AddToGE (int id, GECore ge, GBUnits.Units units)
 Validation:
 

Public Attributes

double coeefDrag = 2.1
 
double crossSectionalArea
 
double heightSurfaceKm = 6371
 
double inertialMassKg = 100
 

Detailed Description

Computes the acceleration due to drag in the Earth's atmosphere for a given height and velocity.

Member Function Documentation

◆ AddToGE()

int GravityEngine2.GSEarthAtmosphere.AddToGE ( int id,
GECore ge,
GBUnits::Units units )

Validation:

  • confirmed velocity in SI units matches expected orbital velocity of ISS
  • checked that SI acceleration = -g at terminal velocity (9.73 m/s^2 at 28 km)

Implements GravityEngine2.GSExternalAcceleration.


The documentation for this class was generated from the following file: