drag_module Module

Drag model


Uses

  • module~~drag_module~~UsesGraph module~drag_module drag_module module~kind_module kind_module module~drag_module->module~kind_module iso_fortran_env iso_fortran_env module~kind_module->iso_fortran_env

Used by

  • module~~drag_module~~UsedByGraph module~drag_module drag_module module~fortran_astrodynamics_toolkit fortran_astrodynamics_toolkit module~fortran_astrodynamics_toolkit->module~drag_module

Subroutines

public pure subroutine drag_acceleration(vrel, cd, area, m, rho, acc)

Acceleration due to atmospheric drag.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), dimension(3) :: vrel

velocity relative to the atmosphere [km/s]

real(kind=wp), intent(in) :: cd

spacecraft drag coefficient [--]

real(kind=wp), intent(in) :: area

cross-section area [km^2]

real(kind=wp), intent(in) :: m

spacecraft mass [kg]

real(kind=wp), intent(in) :: rho

atmospheric density [kg/km^3]

real(kind=wp), intent(out), dimension(3) :: acc

drag acceleration vector [km/s^2]