DEVELOP A COMPUTER PROGRAM, Mechanical Engineering

Assignment Help:
Develop a computer program that can be used for internal flow analysis in SI units. The program should
be able to:
? Get the required input data from the user
? Decide the flow type (laminar, turbulent or transient)
? Calculate the friction factor, f using the corresponding correlations (for laminar flow f=64/Re, for
turbulent and transient it can use either Colebrook or Haaland Equation)
? Find the major and minor head losses and total pressure drop in the flow system
? Print and plot all the results
Explain how your code works by adding comments on each step and provide a nomenclature. Also show
your computer code is actually working by applying it to the following problems (can be from your text
book or the hws)
? A laminar flow case
? A turbulent flow case (should also include minor losses)
Plot a sample Moody Chart using your code and compare it with the one in your textbook A-12.

Related Discussions:- DEVELOP A COMPUTER PROGRAM

Compute depth of yielding in the hollow shaft, Compute depth of yielding in...

Compute depth of yielding in the hollow shaft: A solid shaft 80 mm diameter is solid for a certain length from one end but hollow for the remaining length along inner diameter

Potential deadlock, Suppose an interesting situation represented in followi...

Suppose an interesting situation represented in following figure (b). The Petri net somewhat shows a paradoxical situation. Intuitively we contain in our minds that by raising the

Front top view of the motorcycle part of motorcycle, Figure : Front Top Vie...

Figure : Front Top View of the Motorcycle Part No. Part Name Functions 1 Turn signal switch Used to give

Hodgkin-huxley fast subsystem, Hodgkin-Huxley Fast Subsystem 1. Explai...

Hodgkin-Huxley Fast Subsystem 1. Explain why replacing the extracellular Na + with choline has little effect on the resting potential of an axon. Calculate the new resting po

Calculate mean effective pressure of engine, Calculate mean effective press...

Calculate mean effective pressure of engine: A 4 stroke diesel engine is having length of 20 cm and diameter of 16 cm. The engine is generating indicated power of 25 KW when

Design the pavement, As spring approaches, your design rm has been tasked ...

As spring approaches, your design rm has been tasked with designing a two-lane highway in rural Wyoming. The highway descends a hill, crosses a river, and must shift to a parallel

Boilers, BOILERS: BOILERS : Boilers can be defined as closed pressu...

BOILERS: BOILERS : Boilers can be defined as closed pressure vessels that are used to generate steam at pressure much higher than atmospheric pressure by the transfer of he

Calculate absolute amplitude of mass, A 2 Kg mass is suspended in a box by ...

A 2 Kg mass is suspended in a box by a spring as shown in figure. The box is put on a platform having vibration y = 0.8 sin 6t cm. calculate absolute amplitude of mass

Determine directions of the wave vectors-double refraction, Double Refracti...

Double Refraction An unpolarized plane wave is incident from free space onto a quartz crystal (n e = 1.553 and n o = 1.544) at an angle of incidence 30°. The optic axis lies i

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd