Source code for RCAIDE.Library.Methods.Aerodynamics.Common.Drag.compressible_turbulent_flat_plate



# ----------------------------------------------------------------------
#  Imports
# ----------------------------------------------------------------------
import numpy as np

# ----------------------------------------------------------------------
#  Compressible Turbulent Flat Plate
# ----------------------------------------------------------------------
[docs] def compressible_turbulent_flat_plate(Re,Ma,Tc): """Computes the coefficient of friction for a flat plate given the input parameters. Also returns the correction terms used in the computation. Assumptions: Reynolds number between 10e5 and 10e9 Fully turbulent Source: adg.stanford.edu (Stanford AA241 A/B Course Notes) Inputs: Re (Reynolds number) [Unitless] Ma (Mach number) [Unitless] Tc (temperature) [K] Outputs: cf_comp (coefficient of friction) [Unitless] k_comp (compressibility correction) [Unitless] k_reyn (Reynolds number correction) [Unitless] Properties Used: N/A """ # incompressible skin friction coefficient cf_inc = 0.455/(np.log10(Re))**2.58 # compressibility correction Tw = Tc * (1. + 0.178*Ma**2.) Td = Tc * (1. + 0.035*Ma**2. + 0.45*(Tw/Tc - 1.)) k_comp = (Tc/Td) # reynolds correction Rd_w = Re * (Td/Tc)**1.5 * ( (Td+216.) / (Tc+216.) ) k_reyn = (Re/Rd_w)**0.2 # apply corrections cf_comp = cf_inc * k_comp * k_reyn return cf_comp, k_comp, k_reyn