Variation of Drag Force
Drag force vs Velocity
import matplotlib.pyplot as plt
c_d = 0.8
a = 0.1
rho =1.2
velocities = [1,2,4,4,5]
drag_force = []
for velocity in velocities:
drag_force.append(0.5*c_d*rho*a*velocity**2)
plt.plot(velocities,drag_force)
plt.show()
Drag force vs Drag Coefficent
Drag Coefficents of different Objects
#0.47 smooth sphere
#1.15 man(upright position)
#1.28 flat plate perpendicular to flow(2D)
#0.005 turbulent flat plate parallel to the flow
#0.23 -- Tesla model 3 and Audi A4
#0.26 BMW i8
drag_force = []
c_d = [0.47,1.15,1.28,0.005,0.23,0.26]
v = 10
for drag_coeff in c_d:
drag_force.append(0.5*rho*a*velocity*drag_coeff)
plt.plot(c_d,drag_force)
plt.show()