Question

Use a MATlab code to solve for the flows.

1.0 of water needs to be transferred from point A to point B through the following pipeline network. The pressure drop between two ends of each circular pipe length can be computed by Darcy-Weisbach equation where ΔP ls the pressure drop (Pa), f ls the friction factor (dimensionless), L Is the pipe length (m), ρ is the fluid density ( g) and D is the pipe diameter (m). Write two pressure drop equations and two continuity equations for the pipe network. Then show how to set them up as one system of equations and then solve it in MATLAB to determine flows Q1, Q2, Q3, and Q4 Answer: Q=[0.7107 0.2893 0.1680 0.1214 1-2200 m 1m し1400 m し,-1200 m C L- 1100 m Punter = 1000-

0 0
Add a comment Improve this question Transcribed image text
Answer #1

p>ass.a dve P e@yw a p 4 2244 BJれ1e two 4- 3 [1- 3-a.] * L, -t (@g-10.ץ4 4. IMATLAB Code:

L1 = 2200;
L2 = 1200;
L3 = 1400;
L4 = 1100;
a1 = -L1 + L2 + L3;
b1 = -L1 + L2;
a2 = b1;
b2 = -L1 + L2 + L4;

A = [a1 b1; a2 b2];
B = [L1; L1];
Q = A\B

= ny-script. m RUN Vars [2x2] A [2x118 #LI #L2 #L3 #L4 [2x11 Q # a1 #a2 L2· 1200; 3 L3 1480; 4 L4 1100; al = -L1 + L2 + L3; 1

Add a comment
Know the answer?
Add Answer to:
Use a MATlab code to solve for the flows. 1.0 of water needs to be transferred...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT