Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python question The pressure drop for fluid of density rho flowing with speed v through a diameter D pipe of length L is delta p

image text in transcribed

python question

The pressure drop for fluid of density rho flowing with speed v through a diameter D pipe of length L is delta p = f L/D rho v^2/2 where the friction factor f is a measure of the resistance to flow, which depends on the fluid viscosity mu. The friction factor can be approximated by the equation f = [1/2 log_10 (2.51 mu/rho Dv squareroot f)]^2 about which one fluid mechanics textbook writes: A difficulty with its use is that it is implicit in the dependence of f. That is for given conditions, it is not possible to solve for f without some sort of iterative scheme. With the use of modern computers and calculators, such calculations are not difficult. Write a while loop which continually recalculates f from a 0.01 starting value. The loop should continue until subsequent recalculations for f do not change significantly. Use this code to plot the pressure drop for speeds ranging between 50 and 100 m/s using the values in Table 1. Be certain to appropriately label the axes with correct units. Constants for calculating pressure drop for liquid water flowing through a pipe. The pressure drop for fluid of density rho flowing with speed v through a diameter D pipe of length L is delta p = f L/D rho v^2/2 where the friction factor f is a measure of the resistance to flow, which depends on the fluid viscosity mu. The friction factor can be approximated by the equation f = [1/2 log_10 (2.51 mu/rho Dv squareroot f)]^2 about which one fluid mechanics textbook writes: A difficulty with its use is that it is implicit in the dependence of f. That is for given conditions, it is not possible to solve for f without some sort of iterative scheme. With the use of modern computers and calculators, such calculations are not difficult. Write a while loop which continually recalculates f from a 0.01 starting value. The loop should continue until subsequent recalculations for f do not change significantly. Use this code to plot the pressure drop for speeds ranging between 50 and 100 m/s using the values in Table 1. Be certain to appropriately label the axes with correct units. Constants for calculating pressure drop for liquid water flowing through a pipe

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Have ground rules been established for the team?

Answered: 1 week ago