Project

Week 1 - Flow over Bicycle

Aim - TO write a Matlab program to calculate drag force against a cyclist.

Introduction-Every bicyclist has to overcome wind resistance.On a flat road, aerodynamic drag is by far the greatest barrier to a cyclist's speed, accounting for 70 to 90 percent of the resistance felt when pedaling.Bicycle designers and inventors are experimenting for developing alternative bicycle designs with an emphasis on better aerodynamic performance.To do so plots of Velocity vs Drag Force and Coefficiet of drag force vs Drag force are generated in the matlab

general formula to calculate drag force is

Fd=1/2CdAVp

where cd =coefficient of drag

p=density of air

A=Frontal area

V=velocity of bicycle

Plotting velocity vs drag

%Calculation of Drag Force on a bicycleclear allclose allclc%InputsCd = 0.7 %drag coeeficient rho = 1.2 %density kg/m^3A = 0.7 %Frontal Area (Assumption)V = [1:200]; %100 values of velocity Fd = 0.5*rho*A*V.^2*Cd; %Drag Force in newtons%Plotting V VS Fdplot(V, Fd)xlabel('Velocity')ylabel('Drag Force')

output

error
-
it was solved just by giving inverted commas in line 14 and 15
PLOT FOR Cd vs DRAG FORCE
clear allclose allclc%InputsCd = [0.8:1.5,5] %drag coeeficient rho = 1.2 %density A = 0.7 %Frontal Area V = 7; %100 values of velocity Fd = 0.5*rho*A*V.^2*Cd; %Drag Force in newtons%Plotting Cd vs Fdplot(Cd,Fd)xlabel('Cd')ylabel('Fd')​

output

Conclusion-1.from first plot we understand that drag force directly varies with square of velocity

2.from the second plot we understand that the drag force is directly proportional to the coefficient of the drag

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.