AirDrag
class inheritsSurfaceForce
base class and calculates air drag disturbance force and torque.
air_drag.cpp
,air_drag.hpp
: TheAirDrag
class is defined.surface_force.cpp
,surface_force.hpp
: The base classSurfaceForce
is defined.- Note:
SurfaceForce
class inheritsSimpleDisturbance
class, andSimpleDisturbance
class inheritsDisturbance
class. So, please refer them if users want to understand the structure deeply.
- Note:
disturbance.ini
: Initialization file
- Make an instance of the
AirDrag
class inInitializeInstances
function indisturbances.cpp
- Create an instance by using the initialization function
InitAirDrag
- Create an instance by using the initialization function
- Set the parameters in the
disturbance.ini
- Select
ENABLE
forcalculation
andlogging
- Select the following conditions of air drag calculation
- Surface Temperature degC
- Atmosphere Temperature degC
- Molecular weight of the thermosphere g/mol
- Select
CalcCoefficients
calculates the normal and in-plane coefficients forSurfaceForce
calculation. The air drag force acting on a surface is expressed as the following equation
- This function mainly calculates the common part of the coefficient calculation.
$C_{n}^{\prime}$ and$C_{t}^{\prime}$ are calculated inCalCnCt
function, and they will be used in this function.
- input
-
$\boldsymbol{v}$ : Relative velocity vector between the spacecraft and the atmosphere [m/s] -
$\rho$ : air density [kg/m3]
-
- output
- coefficients
$C_{n}$ and$C_{t}$
- coefficients
- See above equations.
-
CalCnCt
calculates$C_{n}^{\prime}$ and$C_{t}^{\prime}$ .
- input variables
-
$\boldsymbol{v}$ : Relative velocity vector between the spacecraft and the atmosphere [m/s]- Currently, we assume that this value equals spacecraft velocity in the body-fixed frame.
-
- input parameters
-
$\sigma_{d}$ : Diffuse coefficients for air drag- Ini file provide specularity for air drag
$\sigma_{s}$ , and the diffuse coefficient is derived as$\sigma_{d}=1-\sigma_{s}$ . - Note: There is no absorption term for air drag. Thus total reflectivity is set as 1.
- Ini file provide specularity for air drag
-
$T_{w}$ : Temperature of the surface [K] -
$T_{m}$ : Temperature of the atmosphere [K] -
$M$ : Molecular weight of the thermosphere [g/mol]- In the default ini file, we use
$M=18$ , and it is a little bit smaller than the molecular weight of atmosphere$M=29$ . Structure of the Thermosphere provides information on the molecular weight of the thermosphere.
- In the default ini file, we use
-
- outputs
-
$C_{n}^{\prime}$ and$C_{t}^{\prime}$
-
-
$C_{n}^{\prime}$ and$C_{t}^{\prime}$ are calculated as following equations
-
$S, S_{n}, S_{t}$ are defined as follows-
$k=1.38064852E-23$ is the Boltzmann constant -
$\theta$ is the angle between the normal vector and the velocity vector -
$\cos{\theta}$ and$\sin{\theta}$ are calculated inSurfaceForce
base class.
-
-
$\Pi(x)$ and$\chi(x)$ are defined as follows- where
erf
is the Gauss error function. - These functions are defined as
CalcFunctionPi
andCalcFunctionChi
.
- where
- Please see the reference document for more information on detailed calculations.
- The calculated magnitude of the air drag force is compared with other calculation results in three cases.
- See the bottom table.
-
The calculation result is completely the same as the other calculation.
parameters/results Case 1 Case 2 Case 3 $\sigma_{d}$ 0.8 0.6 0.4 $\theta$ rad0.202 0.202 0.202 $v$ m/s7420 7420 7420 Out-plane force (S2E) 2.30297 2.68680 3.07062 Out-plane force (reference) 2.30297 2.68680 3.07062 Out-plane force (S2E) 0.31514 0.23636 0.15757 Out-plane force (reference) 0.31514 0.23636 0.15757
- Next, we confirmed that the direction of the calculated force is correct.
- S2E is executed using the default setting.
- We confirmed that the direction of the force is opposite the direction of the velocity of the spacecraft.
- H. Klinkrad and B. Fritsche, "ORBIT AND ATTITUDE PERTURBATIONS DUE TO AERODYNAMICS AND RADIATION PRESSURE", in ESA Workshop on Space Weather, 1998.
- Marcel Nicolet, Structure of the Thermosphere, Planetary and Space Science, 1961
- Gauss error function