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

Evaluate for a vander waals gas, (a) Explain four common characteristics of...

(a) Explain four common characteristics of work and Heat? (b) Evaluate for a Vander Waals' gas which has the equation of (p +a/v 2 ) (2-b) = RT the work done at constant t

Corrosion of bfw pump, Q. Show Corrosion of BFW Pump? BFW pumps are in ...

Q. Show Corrosion of BFW Pump? BFW pumps are in high-pressure high-temperature service and may be subject to cavitation and erosion-corrosion. Also overheating of these pumps i

Find out moment of inertia, Find out Moment of Inertia: Find out Momen...

Find out Moment of Inertia: Find out Moment of Inertia of an I shaped area around its centroidal axis as illustrated in Figure.  Solution  (i)        The area of

Example of reduce system to a single force and couple, Example of Reduce sy...

Example of Reduce system to a single force and couple: A system of parallel forces is acting on rigid bar as shown in the figure given below. Reduce this system to  a sing

Thermodynamics, Two kg Ammonia (mA) at PA = 300 kPa and TA = -10ºC and 1 kg...

Two kg Ammonia (mA) at PA = 300 kPa and TA = -10ºC and 1 kg Ammonia (mB) at PB = 300 kPa and TB = 100ºC are mixed in a constant pressure and adiabatic process. Find the following:

Find the time domain equivalent sinusoid, Given these sinusoids: x1(t) = 0....

Given these sinusoids: x1(t) = 0.5cos(25t+20 o ),   x2(t)=0.85cos(25t+160 o ) and   x3(t)= 0.81cos(25t-145 o ) (a) Subplot the phasors X1, X2 and X3 corresponding to the thee si

Evaluate the motion of system, Evaluate the motion of system: Q : Blo...

Evaluate the motion of system: Q : Block A and B are connected by a rigid horizontally bar planed at each end are placed on the inclined planes as shown in the figure giv

Internal combustion engines, During a test on a Lister engine in a thermal ...

During a test on a Lister engine in a thermal laboratory, following parameters were measured; crank shaft speed=1,750rpm Load on dynamometer=220N Radius of dynamometer=1.5m Fuel co

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