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

Stockholm conference, define environment and explain stockholm conference

define environment and explain stockholm conference

Heat treatment of cast iron, Heat Treatment of Cast Iron: Castings in...

Heat Treatment of Cast Iron: Castings in iron are frequently heat treated for enhancing mechanical properties and microstructure. The treatments known to cast iron are explai

Determine mi of unequal angle section, Q .  Determine MI of unequal angl...

Q .  Determine MI of unequal angle section 15cm × 10cm × 1.5cm with longer leg vertical and is flange upwards. Figure Sol. :                      A 1 = 10 ×

State the postulates of special theory of relativity, State the postulates ...

State the postulates of special theory of relativity and deduce from them the Lorentz transformations. Define an inertial frame of reference and derive the Lorentz transformatio

Original hodgkin-huxley model, 1. Plot the functions x1 and x as functions...

1. Plot the functions x1 and x as functions of voltage 2. Assume that you hold the membrane potential V at -120 mV until the system reaches equilibrium (i.e. until dx=dt = 0, w

Bulk deformation, general characteristic of bulk deformation and different ...

general characteristic of bulk deformation and different process and corresponding product properties

Binomial distribution, Binomial distribution: Let X follow a binomial ...

Binomial distribution: Let X follow a binomial distribution with parameters n = 4 and p = 0.5. Tabulate P ( ¦X - μ¦ ≥ k ) and σ 2 /k 2 for k = 1,2,3,4,5 and verify that Cheby

I-Section, An unsymmetrical I-Section as shown in figure below. If maximum ...

An unsymmetrical I-Section as shown in figure below. If maximum bending stress is not extend more than 40MPa in the section than find out the moment which it can bear

Braking system in motorcycle, Braking System: A brake is a component of a ...

Braking System: A brake is a component of a motorcycle which is used to apply frictional resistance to a moving vehicle to stop or retard it by absorbing its kinetic energy. The f

Uses of carnot cycle - thermodynamics, Use s of Carnot Cycle: 1. It ...

Use s of Carnot Cycle: 1. It helping us to appreciate what factors is desirable in the design of practical cycle; namely a maximum possible temperature range. 1 maximum p

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