Question: 3. Write a program, to analyze the pipe network below and output a nicely formatted report for the: i) flow rate and direction in

3. Write a program, to analyze the pipe network below and outputa nicely formatted report for the: i) flow rate and direction in

3. Write a program, to analyze the pipe network below and output a nicely formatted report for the: i) flow rate and direction in each pipe, ii) the head loss in each pipe (in inches of water), and iii) the pressure at each node in psi with the knowledge that the node h pressure is 80 psi. Notes: 1. The 12" and 16" pipes are cast iron (roughness 0.00085 ft) while the 18" and 24" pipes are concrete (roughness = 0.003 ft). 2. Minor losses may be ignored. 3. cfs stands for cubic feet per second. 4. Room temperature water is the fluid (u=20.5010-6 lbs/ft, y=62.3 lb/ft). 5. You must use object orient programming to accomplish the requirements of this problem. 10 cfs 2 cfs 1000 ft 500 ft 500 ft a 18 in b 18 in c18 in d B C 16 in 800 ft 16 in 16 in 24 in A 3 cfs e 12 in 12 in & 5 cfs 18 in D 18 in 800 ft h 24 in i 24 in My output looks like: The flow in segment a-b is 3.57 (cfs) and Re=286475.8 The flow in segment a-h is -3.57 (cfs) and Re=214856.8 The flow in segment b-c is 2.57 (cfs) and Re=205762.6 The flow in segment b-e is 1.01 (cfs) and Re=90802.3 The flow in segment c-d is 0.53 (cfs) and Re=42434.3 The flow in segment c-f is 2.04 (cfs) and Re=183744.4 The flow in segment d-g is -1.47 (cfs) and Re=132658.6 The flow in segment e-f is 1.46 (cfs) and Re=175422.0 The flow in segment e-i is -3.45 (cfs) and Re-276764.5 The flow in segment f-g is -1.50 (cfs) and Re-180909.5 The flow in segment g-j is -2.97 (cfs) and Re=238525.1 The flow in segment h-j is 6.43 (cfs) and Re=386467.2 The flow in segment i-j is 2.97 (cfs) and Re=178893.9 Check node flows: net flow into node a is 0.00 (cfs) net flow into node b is 0.00 (cfs) net flow into node h is 0.00 (cfs) net flow into node c is -0.00 (cfs) net flow into node e is 0.00 (cfs) net flow into node d is -0.00 (cfs) net flow into node f is 0.00 (cfs) net flow into node g is 0.00 (cfs) net flow into node is -0.00 (cfs) net flow into node j is 0.00 (cfs) Check loop head loss: head loss for loop A is 0.00 (psi) head loss for loop B is -0.00 (psi) head loss for loop C is 0.00 (psi) head loss for loop D is -0.00 (psi) head loss in pipe a-b (L=1000.00 in, d=18.00 in) is 12.22 in of water head loss in pipe a-h (L=1600.00 in, d=24.00 in) is 4.39 in of water head loss in pipe b-c (L=500.00 in, d=18.00 in) is 3.18 in of water head loss in pipe b-e (L=800.00 in, d=16.00 in) is 1.23 in of water head loss in pipe c-d (L=500.00 in, d=18.00 in) is 0.15 in of water head loss in pipe c-f (L=800.00 in, d=16.00 in) is 4.67 in of water head loss in pipe d-g (L=800.00 in, d=16.00 in) is 2.51 in of water head loss in pipe e-f (L=500.00 in, d=12.00 in) is 6.63 in of water head loss in pipe e- (L=800.00 in, d=18.00 in) is 9.13 in of water head loss in pipe f-g (L=500.00 in, d=12.00 in) is 7.03 in of water head loss in pipe g-j (L=800.00 in, d=18.00 in) is 6.81 in of water head loss in pipe h-i (L=1000.00 in, d=24.00 in) is 8.70 in of water head loss in pipe -j (L=1000.00 in, d=24.00 in) is 1.92 in of water Pressure at node a = 79.84 psi Pressure at node b = 79.40 psi Pressure at node h = 80.00 psi Pressure at node c = 79.29 psi Pressure at node e = 79.36 psi Pressure at node d = 79.28 psi Pressure at node f= 79.12 psi Pressure at node g = 79.37 psi Pressure at node i = 79.69 psi Pressure at node j = 79.62 psi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!