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

Draw shear and moment diagrams, Determine the analytical solution for the m...

Determine the analytical solution for the maximum stress of the beam shown; compare with stress results from SolidWorks. Draw shear and moment diagrams and print them from the beam

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:

Explain the side relief angle, Explain the Side Relief Angle It is angl...

Explain the Side Relief Angle It is angle made by flank of a tool and plane perpendicular to base just under the side cutting edge. if the side relief angle is very large the c

Engine keeps on running after ignition is switched off, If Engine Keeps on ...

If Engine Keeps on Running after Ignition is Switched Off Causes of Problem Remedy Pre-ignition due to very hot spark plug used

What is precipitation, Q. What is Precipitation? Precipitation includes...

Q. What is Precipitation? Precipitation includes rain, snow and hail. The maximum, average, and storm volumes will have an impact on the size and positioning of facilities to c

Determine the actual absolute velocity, Question: As shown in the figur...

Question: As shown in the figure, the jet transport B is flying north with a velocity v B = 600 km/h when a smaller aircraft A passes underneath the transport headed in the 60

Find out the forces in the members of the tower, Find out the forces in the...

Find out the forces in the members of the tower: Find out the forces in the members of the tower. Solution By symmetry, ∠ AFG = ∠ AGF = θ and HG = 7.5 m; while AH = 3

Find minimum thickness, A 1.2 m diameter steel pipe carries oil of relative...

A 1.2 m diameter steel pipe carries oil of relative density 0.822 under a head of 70 m of oil. What minimum thickness of 120 MPa (yield stress) steel would be required for a safety

Overall deformation of a component, Q. Overall deformation of a component? ...

Q. Overall deformation of a component? The overall deformation of a component is a function of the applied load, the materials' creep rate, the maximum in-service temperature,

Determine the force to pull box along a level surface, Determine the force ...

Determine the force to pull box along a level surface: A metal box having weight 10KN is pulled along a level surface at the uniform speed by applying horizontal force of 350

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