Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Physics Expert

Question 1

Introduction

You are designing a pipe network system that transfers water from the upper pipe to the lower pipe. Note that Figure 1 is a plan view and the elevation is constant across all pipes. The static pressure difference between points A and D is designed to be PA - PD = 3 atm (1 atm = 1 standard atmospheric pressure = 101.3 kPa). It is necessary to ensure that the speed of the flow through every pipe is at least 2 m/s so that there is no sediment build-up. Determine if this is the case.

96_Designing a pipe network system.png

Theory

The change in pressure between two points along a streamline (a flow path) is modelled by the Bernoulli equation

230_Designing a pipe network system1.png

where P is the static pressure, Ρ the density, V the speed, g gravitational acceleration, h the elevation and ΔΡloss is the reduction in pressure due to any losses in the system. The most important loss (and the only one to be accounted for here) is caused by friction:

1108_Designing a pipe network system2.png

where f is the Darcy-Weisbach friction factor. Fluid flow is governed by the continuity equation (which is conservation of mass); for incompressible (constant-density) flow, this is:

Q = VA = Const

where Q is the volume flow rate (m3/s) and A is the cross-sectional area. Incompressible flow is a good assumption for liquids. A consequence of Eq. (3) for Eq. (1) is that if the cross-sectional area is constant for a given pipe, the flow speed at the start is equal to the speed at the end and can be defined based on the pipe ID rather than an end-point ID.

Pipe networks can be considered to be equivalent to electrical circuits in series and parallel, with pressure change equivalent to potential difference and volume flow rate equivalent to current.

However, the resistance cannot be treated as constant: it is a non-linear function of the flow speed. The rules of potential difference and current are still maintained however:

a) The pressure change (potential difference) across multiple branches in parallel is equal (e.g. PB - PC is the same regardless of whether pipe 2 or 3 is taken).

b) The sum of the volume flow rates (currents) entering a junction is equal to the sum of the volume flow rates exiting a junction (e.g. Q1 = Q2 + Q3).

Because of the non-linear nature of the system [flow rate is squared in Eq. (1) and f is a non-linear function of Q], iteration is required to determine the flow speeds in each pipe section. To do this, certain constraints can be applied based on the rules of potential difference and current:

1. The pressure change between points A and D is known and is equal to the sum of the pressure changes along all pipes in series that connect points A and D. This constraint should be used only once.

2. The pressure change across pipes in parallel is the same for each pipe.

3. The sum of volume flow rates entering junction B is equal to the sum of volume flow rates exiting B; similarly for C.

These constraints provide a set of equations that can be solved for the speeds in each pipe.

To calculate the friction factor, the common formula that is used is the Colebrook formula (Colebrook 1938-39):

113_Designing a pipe network system3.png

where e is the absolute roughness of the pipe wall and the Reynolds number is

with v (the Greek letter "nu") the kinematic viscosity. Equation (4) is only valid for turbulent pipe flow (Re > 2300), otherwise f = 64/Re. The Moody diagram (Figure 2) is a standard method of determining f (the left axis) for hand calculations; the range of possible values for f given the different blue lines that represent the range of plausible pipe roughnesses can be seen.

Requirements

For this assessment item, you must produce MATLAB code which:

1. Iterates until convergence is reached (the previous guess for the velocities is not significantly different from the current guess).

2. Calculates the friction factor for the current guess of velocities.

3. Reports the flow velocity in each pipe to the Command Window in addition to confirming that the speeds meet the required level

4. Validates the code by checking that the volume flow rates in the branches are consistent.

5. Verifies the code by ensuring that the friction factor calculation is valid.

6. Displays to the Command Window a brief discussion (fewer than 5 lines) stating the value you selected for the under-relaxation factor and why you selected that value.

7. Has appropriate comments throughout.

An important component of quality assurance is to test (verify) that each function works correctly:

8. Write a test program that supplies block of code with a known input and confirm (verify) that the output is correct. (Writing blocks of code as functions makes the code more transparent, more portable and easier to test!)


Attachment:- matlab.rar

Physics, Academics

  • Category:- Physics
  • Reference No.:- M9857609
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Physics

Question the position of a particle is given by the

Question: The position of a particle is given by the expression x = (4.00m)cos(3πt + π), where x is in meters and t is in seconds. Determine (a) the frequency and period of the motion, (b) the amplitude of the motion, (c ...

What is the average acceleration of a vehicle which speeds

What is the (average) acceleration of a vehicle which speeds up from 22 m/s to 88 m/s in 21.2 seconds? please provide work to explain

Quesiton a skydiver of mass m jumps from a hot air balloon

Quesiton: A skydiver of mass m jumps from a hot air balloon and falls a distance d before reaching a terminal velocity of magnitude v . Assume that the magnitude of the acceleration due to gravity is g . - What is the wo ...

An ideal gas of molecules of mass 33 x 10 -27kg is at

An ideal gas of molecules (of mass 3.3 x 10 -27kg) is at temperature 400 K and density 0.1 kg/m3. The gas is confined within a cube of side length 2 m. What is magnitude of the average force experienced by one of the wal ...

Question ten days after it was launched toward mars in

Question: Ten days after it was launched toward Mars in December 1998, the Mars Climate Orbiter spacecraft (mass 629 kg) was 2.87x10^6 km from the earth and traveling at 1.20x10^4 km/hr relative to the earth. At this tim ...

Question youre driving down the highway late one night at

Question: You're driving down the highway late one night at 16 m/s when a deer steps onto the road 35 m in front of you. Your reaction time before stepping on the brakes is 0.50 s, and the maximum deceleration of your ca ...

Question part a what focal length does the lens need assume

Question: Part A: What focal length does the lens need? Assume that it is a thin lens. Part B: How far should you place the lens from the slide? The response must be typed, single spaced, must be in times new roman font ...

John is traveling north at 20 meterssecond and his friend

John is traveling north at 20 meters/second and his friend Betty is traveling south at 20 meters/second. If north is the positive direction, what are John and Betty's speeds?

In chemical changes new substances are formed do the atoms

In chemical changes, new substances are formed. Do the atoms involved actually change? If not, what has changed? How would you help your students visualize this?

Quesiton you stand at the top of a deep well to determine

Quesiton: You stand at the top of a deep well. To determine the depth (D) of the well you drop a rock from the top of the well and listen for the splash as the water hits the water†TM s surface. The splash arrives t = ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As