Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem - 1: Fluid in a pipe may flow in a smooth pattern, known as laminar flow, or in a turbulent pattern, known as turbulent

image text in transcribed

Problem - 1: Fluid in a pipe may flow in a smooth pattern, known as laminar flow, or in a turbulent pattern, known as turbulent flow (see Figure 1). The velocity, V, that produces each type of flow in the pipe can be determined by equations la and 1b. Viaminar is the velocity of the fluid, in ft/sec, that produces a definite laminar flow, and Vturbulent is the velocity of the fluid, in ft/sec, that produces a definite turbulent flow. u is the viscosity of the fluid in lbf sec/ ft, is the density of the fluid in slug/ft, d is the inside diameter of the pipe in ft Laminar Turbulent Figure 1: Laminar and turbulent flow past a tube Fluid Flow Velocities laminar 2100.0 (la) V turbulent-4000.0- (1b) a. Develop a C++ program that calculates the two velocities. The user should be able to enter the choice of the fluid, the diameter of the pipe and the type of velocity to calculate. The viscosity and density of should also be able to return and use the corresponding viscosity and density of the selected fluid (Hint: Using if-else or switch statements). 10 Points four common fluids are listed in the Table below. The program b. Draw a detailed flow chart on how this program is designed, indicating the inputs, outputs and the algorithm you use. The flow chart along with the source code (C++program) should be included in a document file. In the same document file, indicate two sample input-output screens. 4 Points Densit (lbfsec/ft2) (slug/ ft 1.527 1.531 1.556 1.940 Viscosity Ethyl alco Methyl alcohol Propyl alcohol 2.29 10 1.17 x 10-5 4.0110-5 1.90 x 10-5 Water

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

More Books

Students also viewed these Databases questions