Project

<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 
  
 
</xml><![endif]--><!--[if gte mso 9]><xml>
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-IN
  X-NONE
  HI
  
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  
</xml><![endif]--><!--[if gte mso 9]><xml>
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
</xml><![endif]--><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:"Table Normal";
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-parent:"";
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:8.0pt;
 mso-para-margin-left:0cm;
 line-height:107%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 mso-bidi-font-size:10.0pt;
 font-family:"Calibri",sans-serif;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:Mangal;
 mso-bidi-theme-font:minor-bidi;
 mso-fareast-language:EN-US;}
</style>
<![endif]-->

Report on flow over bicycle

Created by Shahbaaz Khan Deoda

On 16 may 2020

 

AIM: - To code a program to find the relation between coefficient of drag and velocity and drag force.

GOVERNING EQUATION AND PHYSICS: - When a body moves in a fluid then drag force occur is experienced by the body. This drag force mainly depend on density of fluid, frontal area, velocity of flow, and flow shaperation.

            From the flow shaperation a coefficient called drag coefficient comes under calculation while studying that phenomena.

                                                      drag force = <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><xml> </xml><![endif]--><!--[if gte mso 9]><xml> Normal 0 false false false EN-IN X-NONE HI </xml><![endif]--><!--[if gte mso 9]><xml> </xml><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0cm; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; mso-bidi-font-size:10.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Mangal; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} </style> <![endif]-->0.5*rho*a*v^2

 

OBJECTIVE: -1. To draw plot between coefficient of drag and drag force.

                           2. To draw plot between drag force and velocity.

CODES: - Body of program is coded below.


# 1. program to plot between drag force and velocity of flow on bicycle

import math
import matplotlib.pyplot as plt
import numpy as np

# inputs
a = 0.1 #  a is area in m^2
c_d = 0.8 # drag coefficient
rho = 1.2 # rho is density

# variables
# v is velocity of flow
v = np.linspace(1,100,25)

# f_d is drag force
f_d = 0.5*c_d*rho*a*pow(v,2)
print(v)
print(f_d)
plt.plot(v,f_d)
plt.xlabel('velocity(m/s)')
plt.ylabel('drag force(N)' )
plt.show()
#2. program to plot between drag force and coefficient of drag on bicycle
import math
import matplotlib.pyplot as plt
import numpy as np

# inputs
a = 0.1 #  a is area in m^2
# v is velocity of flow in m/s
v = 25
rho = 1.2 # rho is density

# variables
c_d = np.linspace(0.548,0.879,25) # drag coefficient
# f_d is drag force 
f_d = 0.5*c_d*rho*a*pow(v,2)
print(c_d)
print(f_d)
plt.plot(c_d,f_d)
plt.xlabel('drag coefficient')
plt.ylabel('drag force(N)' )
plt.show()
CONCLUSION: - I have done the program to generate the plot.







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.