All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
AIM: To find the variation of Drag foce with respect to different velocities & Drag Co-efficients using python programming. Problem Statement: 1.Write a program to find the variation of Drag force vs Velocity. 2.Write a program to find the variation of Drag…
Sibi Raj P
updated on 21 Jul 2020
AIM: To find the variation of Drag foce with respect to different velocities & Drag Co-efficients using python programming.
Problem Statement:
1.Write a program to find the variation of Drag force vs Velocity.
2.Write a program to find the variation of Drag force vs Drag Co-efficients.
Theory:
A Drag force is a resistance force which is caused by the motion of a body through a medium such as fluid-(Air,Water).The Drag force tends to act in the direction opposite to the motion of the body.It acts an opposing force to the object in motion.Due to this phenomenon,There is a relative motion existing between the Drag force and the velocity of the body.
The equation of drag force is stated as:
Drag=12⋅ρ⋅A⋅v2⋅Cd
Solution Procedure:
Program to find the variation of Drag force acting on a bi-cyclist at different Velocities
""" Program to find the variation of Drag force acting on a bi-cyclist at different Velocities"""
#Importing required Libraries
import math
import matplotlib.pyplot as plt
#Inputs
#Drag Co-efficient Unit(No Unit)
c_d=0.8
#Frontal Area Unit(m^2)
Area=0.1
#Density of Resisting Unit(kg/m^3)
rho=1.3
#List of Velocity Unit(m/s)
Velocity=[5,6,7,8,9,10,11,12]
#Empty List to insert Drag force values Unit(kgm/s^2)
Drag_Force=[]
#Using for loop to append values of Velocity into Drag_Forces
for v in Velocity:
Drag=(0.5*rho*Area*v*v*c_d)
Drag_Force.append(Drag) #Calculating Drag Force
print(Drag_Force)
#Plotting the result
plt.plot(Velocity,Drag_Force)
plt.xlabel('Velocity')
plt.ylabel('Drag Force')
plt.savefig('Drag Force vs Velocity')
plt.show()
Output Graph:
Program to find the variation of Drag force acting on a bi-cyclist at different Drag Co-efficients:
""" Program to find the variation of Drag force acting on a bi-cyclist at different Drag Co-efficients"""
#Importing required Libraries
import math
import matplotlib.pyplot as plt
#Inputs
#Velocity Unit(m/s)
Velocity=3
#Frontal Area Unit(m^2)
Area=1
#Density of Resisting Unit(kg/m^3)
rho=1.3
#List of Drag Co-efficients Unit(No Unit)
c_d=[0.2,0.38,0.48,0.67,0.87]
#Empty List to insert Drag force values Unit(kgm/s^2)
Drag_Force=[]
#Using for loop to append values of Velocity into Drag_Forces
for cd in c_d:
Drag_Force.append(0.5*rho*Area*Velocity*Velocity*cd) #Calculating Drag Force
print(Drag_Force)
#Plotting the result
plt.plot(Drag_Force,c_d)
plt.xlabel('Drag Force')
plt.ylabel('Drag Co-efficients')
plt.savefig('Drag Force vs Drag Co-efficients')
plt.show()
Output Graph:
Results:
1.From the first graph obtained through the programs,We can say that we obtain a parabolic curve since Drag force is proportional to the square of the velocity of the cyclist.
2.From the second graph obtained through the program,We can say that we obtain a straight and linear curve since the Drag force is directly proportional the Drag Co-efficient.
Conclusion:
From this report we can conclude that the Drag force is proportional to the square of the velocity of the cyclist.From the second graph obtained we can conclude that the
Drag Co-efficient is directly proportional to the Drag force.
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Planetary Gear Mechanism Using Solidworks
AIM: To perfrom motion analysis on Planetary gear mechanism with a carrier and to get required plot for the simulation performed. OBJECTIVES: Using the following inputs provided : Ring gear : Module = 2.5 Number of teeth = 46 Sun gear: Number of teeth = 14 Input speed of the gear = 200 rpm. Number of planet gears…
01 May 2021 09:04 AM IST
INTERNAL GENEVA MECHANISM USING MULTIBODY DYNAMICS IN SOLIDWORKS
AIM: TO PERFORM MULTIBODY DYNAMICS ON GENEVA MECHANISM USING SOLIDWORKS. OBJECTIVES: 1) To create 3d models of driver and driven components. 2) Perform motion analysis by rotating the driver wheel at 10 Rpm. 3) We must obtain the following plots: Contact force(between driving and driven wheel) as a function of time.…
31 Jan 2021 01:51 PM IST
FREQUENCY ANALYSIS ON A ROTATING SHAFT
AIM: To perform frequency analysis on a rotating shaft using solid works. We need to find the critical frequencies acting on the rotating shaft. OBJECTIVE: 1) Natural frequency analysis is conducted on a rotating shaft to understand the dynamic behaviour of the system. 2) It helps us to reduce vibrations on the…
04 Dec 2020 09:16 AM IST
ANALYSIS ON A PLATE WITH A HOLE
AIM: To perform Static Analysis on two modes of plates with holes. We have to create the model in Solidworks and perform the analysis. OBJECTIVE: To compare the performance of 2 separate plates with different hole geometries by performing a static structural analysis on plate with a hole using Solidworks Simulation and…
11 Nov 2020 08:53 AM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.