% drag_coef: The coefficient of drag, given the Reynold's number % % Cd=drag_coef(Re) % % ARGUMENTS % Re Reynold's number. % % RETURNS % Coefficient of drag. (dimensionless) % % SEE ALSO % drag_force, dynamic_viscosity, impact_paramenter, Reynolds_number % AUTHOR: Eric Tittley % From S. W. Churchill, "Viscous Flows", Butterworths, 1988 % % HISTORY % 00 07 31: First Version % 06 03 01 Standardized header comments. function Cd=drag_coef(Re) if(Re<1e4) Cd = 24/Re + 3.63/Re^0.5 - (4.83e-3*Re^0.5)/(1+3e-6*Re^1.5) + 0.49; elseif(Re<2e5) Cd = 0.5; else Cd = 0.2; end