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
  • Water flows from one large reservoir to another via a pipeline which is 0.9 m in...

    Water flows from one large reservoir to another via a pipeline which is 0.9 m in diameter, 15km long, and for which f-0.04. The difference in height between the water surface levels in the two reservoirs is 50m. (a) Ignoring the minor losses in the pipeline, calculate the flow rate between the two reservoirs. (b) Assuming that the pipeline entrance and exit are sharp and that the minor losses are as in Table 1, calculate the discharge now. What is...

  • The water network in Figure 1 consists of two inflows at Node A and B. Assume...

    The water network in Figure 1 consists of two inflows at Node A and B. Assume that all pipes have a diameter of 350 mm and a length of 750 m and a Darcy friction factor, A, for all pipes of 0 012 Assume the initial flow through pipe AB and AD to be equal, and pipe CE to carry 80 L/'s. Use the Hardy-Cross method to determine flows in all pipes The elevation at node A is 87 m...

  • Hydraulics Problem 4 (25 points) Water flows through a cast iron pipe at 1.2 2.5[km) long...

    Hydraulics Problem 4 (25 points) Water flows through a cast iron pipe at 1.2 2.5[km) long with an elevation drop of 50[m]. . The pipe has a diameter 0.6[m] and is 1. Ignoring minor losses, calculate the pressure head drop per unit length over the course of the pipe. Write the equation(s) needed to compute the pressure drop per unit length. First, express - only as a function of all the given parameters (you may use several equations if needed,...

  • Write the MATLAB code and use the function linsolve() to solve the system of linear equations. Thank you! l Truss A truss is a structure that typically consists of 1. All straight members 2. connected...

    Write the MATLAB code and use the function linsolve() to solve the system of linear equations. Thank you! l Truss A truss is a structure that typically consists of 1. All straight members 2. connected together with pin joints 3. connected only at the ends of the members 4. and all external forces (loads&reactions) must be applied only at the joints. The weights of the members may be neglected. The basic building block of a truss is a triangle. Large...

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