BASTET/models/drag.py
mfrommelt e4c62c9e4e Directory for sub-models
sub-models:

-drag model
-thermal model
-sun position
-atmoshphere model (for development purposes)
2021-01-11 10:54:24 +01:00

6 lines
179 B
Python

import numpy as np
c_d = 0.47 # drag coefficient balloon (spherical) [-]
def drag(c_d, rho_air, d_b, v_z):
return 0.125 * np.pi * c_d * rho_air * (d_b * v_z) ** 2