Flow over Cyclist
Function 1 (Drag force vs Velocity)
% To Calculate Drag Force wrt velocity on Cyclist
function [Fd1] = Force_on_cyclist_V_Fd(A,D)
% Input
Cd = 1.28; %drag coefficients considering shape to be flat plate shape
V = 1:20; %Velocity of cyclist in m/s^2
Fd1 = Cd*A*D*V.*V.*0.5;
plot(V, Fd1,\'color\',\'y\')
grid on
end
Function 2 (Drag force vs Drag Coefficient)
% To Calculate Drag Force wrt drag coefficients on Cyclist
function [Fd2] = Force_on_cyclist_Cd_Fd(A,D)
% Input
Cd = 0.1:1.5; %drag coefficients considering shape to be flat plate shape
V = 20; %Random Velocity of cyclist in m/s^2
Fd2 = Cd.*A*D*V*V*0.5;
plot(Cd, Fd2,\'color\',\'r\')
grid on
end
Main Function
% To Calculate Drag Force on Cyclist
% Input
A = 0.4; %frontal area in m^2
D = 1.2; %density of air in kg/m^3
hold on
Force_on_cyclist_V_Fd(A,D)
Force_on_cyclist_Cd_Fd(A,D)
Plot (Both are plotted on a single graph)
Yellow is showing Drag force vs Velocity
Red is showing Drag force vs Drag Coefficient