BANG LADS,SH UNIVT,RSITY OF' I,NGINE,S,RING

M&

4232

& TICH]TOI,'OG Y

Fluids Engineering

frssignmenb .v 2

Aashique Alam Rezruan
Std. No.: OO 10 012

Name:

Date of Submission

Sec:'A'
Dept. : Mechanical

Engineering

f low bhrou€f tha p'ipi ng nobNork
is Oesired for bho inf tow and oubf:low a,s shoo n in
uho figure, boloN. %J,<o, n- z.O Ftowrabo in no/s

Tho dburi buzion o+

.

\

\o

=t

-C,/

t5o

to

K=61 A$glx=z
-r.=5

/^

D

oo

loo
So/ ubi on'

Ibe.rahion
Loop

AbD

#
po

Ab

+5O

Fe,ld n"lall
13000 coo -

bD

- lo

- 300

GO

DA

-5C

- t2500

500

Pi

z
bcD

I

9"

22cc,

t

AA

-

(bmecpd

g

+4A.lt
/.ag - ll. gg

-5t.89

16,c.

bc

+40

+ 1600

BO

+3,0,47

eJD

-to

- 2AO

40

-9-59 - /g .53

Db

z

+

n.eg

424.1I

7t.O4

(ex"lt tgl.34
\2o
\ o

oo.*7

2,//

oo

4B.trF\;

L-J's53

,oo/o

D

\

uo

+2.AG

LberaDion

#

Loop

pe

Pi

2

AB
AbD

DD

DA

z
BC

bcD

CD
Dra

A" t<a"ldl' Knl@{' A9 C-nrrecbl
G
+4e.ll r g8a7A3 5a7-32
47.743
- 2.zG - 16"71 t4.t6 -o.gG7 -2"72+
-5t-ag -1e462"84 5@.9
-52.2G
407.e6 n to.30
9o.47 92e./-tz 60.94
29.26
-t9.53 -762.84 78.t2 - l.21 2 - 20.74
2.124
22.O1
rc.?a2
t.5t5

t88.33

\20
\b

2926

155.42

c/ /5o
zo.+\

47.

//A
t00

IboraviorL
Loo p

AbD

\ uo

)

#O

Pipa

9o

Kgo toll ttn l(%ln''

AB

+47.443 t9676fr 572.92

bD

- 1.5t5 - 6.39

DA

z
bc
bCD

bz-Lb-t D

CD
D6

z

Ag

9. og - 0,o 14
-52.23+ -r%g,391 5 22.5+

%rrenbd
G

47.729

- t.529
-52.271

te.5
I r o4.5e
29..26 856.t5 5A-52
29,.24(
-20.74 - a60.9 Bz.96 -o. otg - 20.v59
t.629

7"Ol

2,96

g.r7
I 50.65

t.5t

20

50

\"ze.z4t

"/

A+tnl
\
"t,tr.[
,\

/e sr.rrto\

100

Iberabion
Loop

#

4

Pipe

.6

+47.729 t3668.?\ 5+2.75

47.74

- 6-e4

-t.5t

bD

- r.ot

DA

- 52.271 -le6Gl,2! 522i1
o.2te lt 06.5

z
@

41.04 - o.0 002

855.0+

58.48

- 20.759, -B6t.B7

Bg.o4

29..z/rl

Oc
BCD

brr*d

AA

KO"IO.T Kn lgd"

Oo

Ag
ABD

uo

6.84

L.5l

DB

z

-52.271

29.Al
-

-5

6.Bxlo -20.v 59

g.o6

o.o too t50.58

Flout Dis7ribubion

of bha Fiping Noanor,-

20

\"
47.72s1

/ /n
100

2s.zqt

.,/uo

\t't.ol I to.Tos
o2.27t o

\

\ao

u"/")

t.5l

ME 423: Fluid Eneineerine
Assienment #2 {Date: 29110111)
tr{ATLAB.m File

cleart

= I50 -10 -501;
= t40 -10 101,Q1(1, :) = Q01;
Q2(1,:) =Q02,
111 = [6 3 sJ;
K.2: lL 2 3l;
delQl : 10;
de1Q2 = l0;
Q01
Q02

disp
disp

(
(

Cisp (

)

def:

disp (
isp

(

);

)

disp([
d

,

input(

1)
1)

{

i = 1:1:100
= Kl.*Q1 (i, : ) .*abs(Q1 (i, : ) ) ;
denom = 2*K1.*abs(Q1(i, :) ) ;
del-Ql : - (sum(numi /sum(denom) ),'
Q1(i+1,:) : O1(i,:) + delQl;
Q2{i, 3) = (-l)*Q|(i+Lt 2};
nurn

num : K2.*Q2(i, :) .*abs(Q2(i, :) ) ;
denom : 2*K2.*abs(Q2 (i, : ) ),'
delQ2 - -(sum(nun) /sum(denorn) ),'

Q2{i+1,:) = O2(i,:) + defQ2;
Q1 (i+1, 2) = {*1) *Q2 (i+1, 3);

disp( [i delQl Q]. (i+1, : ) deLQ2 Q2 (i+r, : ) I )
: (abs(delQL) < del)&{abs(delQ2) < def)

MATLAB Output
ME

423 : Fluids Engj-neering

Assignment Problem Date 29/\O/L1-

Enter DelQ Limil: 0.01
IIEI
ABD:DCfQ AB
BD
DA
0
50
-10
-50
1.0000 -r.8966 48.1034 -2.3621 -51.8966

BCD:DE].Q BC
CD
40
-10
-9.5339 30.4661 -19.5339

2.362'7

2.0000

-0.3608

47.7426 -1.s183 -52.2514

-L.2052

29.2610 -20.?390

1.51B3

3.0000

-0.0136

41.'t290 -1.5119 -52.2770

-0.02C1

29-2409 -20.1591-

1.5119

4.0000

-0.0002

47

-0.0000

29.2408 -20.7592

1

-'7288 -1.5120

-52

-2112

DB
1"0

.5120

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.