Project

Flow Over A Bicycle

The following results can be concluded for the two different plots:

1. In the first plot the drag force varies slightly in a parabolic path with an increase in velocity and then the curve is linear. The variation can be depicted in a graph. The same kind of variations can also be expected from the drag force if the area changes as well.

2. In the second plot the graph is linear as depicted which shows that more the value of the drag coefficient more the value for the drag force. We can depict that the drag coefficient in any way cannot influence the value of drag force.

\"\"\"

Program to plot for Velocity vs Drag Force

\"\"\"
import matplotlib.pyplot as plt

# Inputs

# Density(kg/m^3)

rho = 1.2256

# Frontal Area(m^2)

Area = 0.25

# Drag Coefficient(no units)

C_d = 0.6

# Velocity(m/s)

Velocities = [10,12,14,16,18,20,22,24]

# Drag Force (N)

Drag_forces = []

# To assign Velocity for Velocities
for Velocity in Velocities:
# Append option used to add values until the end of array
	Drag_forces.append((0.5*rho*Area*Velocity*Velocity*C_d))

# plots 
plt.plot(Velocities,Drag_forces)

# Shows the label on the X axis
plt.xlabel(\'Velocity(m/s)\')

# Shows the label on the Y axis
plt.ylabel(\'Drag_force(N)\')

# Shows the Title of the Graph
plt.title(\'Velocity Vs Drag Force\')
plt.show() 

\"\"\"

Program to plot for Drag Coefficient vs Drag Force

\"\"\"
import matplotlib.pyplot as plt

# Inputs

# Density(kg/m^3)

rho = 1.2256

# Frontal Area(m^2)

Area = 0.25

# Velocity(m/s)

Velocity = 10

# Drag Coefficient(no units)

Drag_Coefficients = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8]

# Drag Force (N)

Drag_forces = []

# To assign Cd for drag coefficient
for C_d in Drag_Coefficients:
# Append option used to add values until the end of array
	Drag_forces.append((0.5*rho*Area*Velocity*Velocity*C_d))

# plots 
plt.plot(Drag_Coefficients,Drag_forces)

# Shows the label on the X axis
plt.xlabel(\'C_d\')

# Shows the label on the Y axis
plt.ylabel(\'Drag_force(N)\')

# Shows the Title of the Graph
plt.title(\'Drag Coefficient Vs Drag Force\')
plt.show() 
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.