blob: 47b7e194481cb6bd494c762b582e67b5ae51edbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Given:-
// At inlet 1:-
p1= 7.0 // pressure in bar
T2= 200.0 // temperature in degree celcius
m1dot= 40.0 // mass flow rate in kg/s
// At inlet 2:-
p2= 7.0 // pressure in bar
T2= 40.0 // temperature in degree celcius
A2= 25.0 // area in cm^2
// At exit:-
p3= 7.0 // pressure in bar
AV3= 0.06 // Volumetric flow rate through wxir in m^3/s
// From table A-3
v3 = (1.108)*(10**(-3)) // specific volume at the exit in m^3/kg
// from table A-2
v2= (1.0078)*(10**(-3)) // specific volume in state 2 in m^3/kg
// Calculation:-
m3dot= AV3/v3 // mass flow rate at exit
m2dot = m3dot-m1dot // mass flow rate at inlet 2
V2= (m2dot*v2)/(A2*(10**(-4)))
// Results:-
printf( ' The mass flow rate at the inlet 2 is %.2f kg/s.',m2dot)
printf( ' The mass flow rate at the exit is %.2f kg/s.',m3dot)
printf( ' The velocity at the inlet is %.2f m/s.', V2)
|