Professional Documents
Culture Documents
A)
Calculation of Head losses , knowing the inlet condition and the piping arrangeme
Input data
piping
material
rugosity
diameter
length
fluid
D
L
cs
5.00E-02
219.70
2000.00
loss friction
fittings
ki
0.00
viscosiy
Molecular weight
Compressibility
Temperature
Pressure inlet
Mw
Z
T
P1
0.01
21.68
0.94
27.00
41000.00
flowrate inlet
Qv1
1953.00
process
others
8.31
output data
density (T1,P1)
velocity
head loss
1
G
Re
B
fdarcy
U1
P
Pressure outlet
P2
density(T1,P2)
37.903
5.424E+02
10833244
1.01E+22
0.01422
14.31
538790
5458
3561210
35612
32.92
B)
Calculation of flow rate , knowing the inlet and outlet Pressure and the piping arra
Input data
piping
material
rugosity
diameter
length
fluid
D
L
SS
1.00E-03
800.00
200.00
loss friction
fittings
ki
5.00
viscosiy
Molecular weight
Compressibility
Temperature
Pressure inlet
Pressure outlet
Mw
Z
T
P1
P2
0.01
44.00
1.00
45.00
2600.00
2402.00
estimate friction
factor .Von karman
perfect gas cte
fvk
(-2log10((/D)/3.7)))^-2
density (T1,P1)
1
G
Re
B
fdarcy
U1
Qv1
4.326
1.512E+02
10998132
8.29E+23
0.00819
34.96
18
2
U2
Qv2
4.00
38
19
process
others
8.31
output data
velocity
Volumetric flow
density(T1,P2)
Volumetric flow
SI
units
mm
mm
m
5.00E-05
2.20E-01
2.00E+03
SI
SI
SI
unitless
0.00
unitless
cpo
g/mol
SI
SI
C
mbars
1.10E-05
2.17E-02
0.94
300.15
4.10E+06
K
Pa
m3/h
5.43E-01
SI
SI
8.31E+00
SI
kg/m3
kg/s/m2
unitless
unitless
m/s
Pa
mbars
Pa
mbars
kg/m3
P1
P2 (n)
4.1000E+06 4.0590E+06
3.5919E+06
3.5613E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
A
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
9.2446E-06
P2(n+1)=P2(n) -F(p2)/F'(p2)
B
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
5.8840E+05
SI
units
mm
mm
m
1.00E-06
8.00E-01
2.00E+02
SI
SI
SI
unitless
5.00
unitless
or
G^2 =M/(Z*R*T) *(P1^2-P2^2)/ (2*ln(P1/P2)+f*L/D+ki)
cpo
g/mol
C
mbars
mbars
1.10E-05
4.40E-02
1.00
318.15
2.60E+05
2.40E+05
SI
SI
K
Pa
Pa
5.97E-03
SI
8.31E+00
SI
unitless
m/s
m3/s
63256.54
m3/h
kg/m3
m/s
m3/s
68470.86
m3/h
kg/m3
kg/s/m2
unitless
Iterative calculation :
Assume f(n) , calculate G, calculate Re , calculate f(n+1
f(n)
Re
5.9698E-03
8.1485E-03
8.1887E-03
8.1894E-03
8.1894E-03
8.1894E-03
8.1894E-03
1.5741E+02
1.5133E+02
1.5123E+02
1.5122E+02
1.5122E+02
1.5122E+02
1.5122E+02
1.1448E+07
1.1006E+07
1.0998E+07
1.0998E+07
1.0998E+07
1.0998E+07
1.0998E+07
2 ) + (f*L/D+ki)*G^2/2 = 0
C
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
3.8077E+07
F(P2)
3.4990E+07
2.0216E+06
8.6303E+03
1.6001E-01
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
F'(P2)
7.4903E+01
6.6247E+01
6.5681E+01
6.5679E+01
6.5679E+01
6.5679E+01
6.5679E+01
6.5679E+01
6.5679E+01
6.5679E+01
6.5679E+01
P2(n+1)
3.5919E+06
3.5613E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
3.5612E+06
-4.6714E+05
-3.0516E+04
-1.3140E+02
-2.4362E-03
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
2 ) + (f*L/D+ki)*G^2/2 = 0
1^2-P2^2)/ (2*ln(P1/P2)+f*L/D+ki)
f(n+1)
8.63E+23
8.30E+23
8.29E+23
8.29E+23
8.29E+23
8.29E+23
8.29E+23
8.1485E-03
8.1887E-03
8.1894E-03
8.1894E-03
8.1894E-03
8.1894E-03
8.1894E-03
2.1787E-03
4.0218E-05
7.1761E-07
1.2797E-08
2.2819E-10
4.0690E-12
7.2548E-14
Calculation of Head losses , knowing the inlet condition and the piping arrange
Input data
piping
material
rugosity
diameter
length
fluid
D
L
SS
1.00E-03
800.00
200.00
loss friction
fittings
ki
5.00
CP/CV
viscosiy
Molecular weight
Compressibility
Temperature inlet
Pressure inlet
Mw
Z
T1
P1
(k-1)/k
(k+1)/k
Qv
1.40
0.01
44.00
1.00
45.00
2600.00
process
flowrate
others
63621.00
8.31
output data
density (T1,P1)
velocity
head loss
1
G
Re
B
fdarcy
U
P
Pressure outlet
P2
Temperature outlet
density(T1,P2)
T2
2
4.326
1.521E+02
11061499
8.34E+23
0.00818
35.16
19675
199
240325
2403
311
4.09
B)
Calculation of flow rate , knowing the inlet and outlet Pressure and the piping
Input data
piping
material
rugosity
diameter
length
fluid
process
others
D
L
SS
1.00E-03
800.00
200.00
loss friction
fittings
ki
5.00
CP/CV
viscosiy
Molecular weight
Compressibility
Temperature inlet
Pressure inlet
Pressure outlet
Mw
Z
T1
P1
P2
(k-1)/k
(k+1)/k
1.40
0.01
44.00
1.00
45.00
2600.00
2403.00
fvk
(-2log10((/D)/3.7)))^-2
estimate friction
factor .Von karman
perfect gas cte
8.31
output data
density (T1,P1)
velocity
Volumetric flow
density(T1,P2)
Volumetric flow
1
G
Re
B
fdarcy
U1
Qv1
4.326
1.522E+02
11068364
8.35E+23
0.00818
35.18
18
2
U2
Qv2
4.09
37
19
luid (gas)
SI
units
mm
mm
m
1.00E-06
8.00E-01
2.00E+02
SI
SI
SI
unitless
5.00
unitless
unitless
cpo
g/mol
unitless
SI
SI
m3/h
1.40
1.10E-05
4.40E-02
1.00
318.15
2.60E+05
2.86E-01
1.71
1.77E+01
SI
8.31E+00
SI
37.93
C
mbars
K
Pa
SI
kg/m3
kg/s/m2
unitless
unitless
m/s
Pa
mbars
Pa
mbars
K
kg/m3
M/(Z*R*T1)*[k/(k+1)]*p1^[(k-1)/k]*(P2^ [(k+1)/k)]-P1^[(k+1
or
to solve :
F(p2) =0
with
F'(p2)
Newton Raphson :
P1
P2 (n)
2.6000E+05 2.5740E+05
2.4075E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
A'
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
3.4211E-04
P2(n+1)=P2(n) -F(p2)/F'(p2)
B'
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
1.652E+04
SI
units
mm
mm
m
1.00E-06
8.00E-01
2.00E+02
SI
SI
SI
unitless
5.00
unitless
unitless
cpo
g/mol
1.40
1.10E-05
4.40E-02
1.00
318.15
2.60E+05
2.40E+05
2.86E-01
1.71
unitless
SI
SI
M/(Z*R*T1)*[k/(k+1)]*p1^[(k-1)/k]*(P2^ [(k+1)/k)]-P1^[(k+1
or
C
mbars
mbars
K
Pa
Pa
5.97E-03
SI
8.31E+00
SI
unitless
m/s
m3/s
63660.48
m3/h
kg/m3
m/s
m3/s
67346.10
m3/h
kg/m3
kg/s/m2
unitless
Iterative calculation :
Assume f(n) , calculate G, calculate Re , calculate
f(n)
Re
5.9698E-03
8.1419E-03
8.1822E-03
8.1829E-03
8.1829E-03
8.1829E-03
8.1829E-03
1.5844E+02
1.5230E+02
1.5219E+02
1.5219E+02
1.5219E+02
1.5219E+02
1.5219E+02
1.1523E+07
1.1076E+07
1.1069E+07
1.1068E+07
1.1068E+07
1.1068E+07
1.1068E+07
*L/D+ki)*G^2/2 = 0
2(n+1)=P2(n) -F(p2)/F'(p2)
C'
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
8.1496E+04
F(P2)
7.0455E+04
1.6991E+03
1.1075E+00
4.7221E-07
-4.6566E-10
-4.8021E-10
1.5571E-09
-4.6566E-10
-4.6566E-10
-4.8021E-10
-4.8021E-10
F'(P2)
4.2309E+00
4.0261E+00
4.0208E+00
4.0208E+00
4.0208E+00
4.0208E+00
4.0208E+00
4.0208E+00
4.0208E+00
4.0208E+00
4.0208E+00
P2(n+1)
2.4075E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
2.4033E+05
-1.6653E+04
-4.2204E+02
-2.7545E-01
-1.1743E-07
0.0000E+00
0.0000E+00
-3.7835E-10
0.0000E+00
0.0000E+00
0.0000E+00
0.0000E+00
*L/D+ki)*G^2/2 = 0
1)*P1^(k-1)/k*(P1^(k+1)/k-P2^(k+1)/k) /(2/k*ln(P1/P2)+f*L/D+ki)
f(n+1)
8.69E+23
8.35E+23
8.35E+23
8.35E+23
8.35E+23
8.35E+23
8.35E+23
8.1419E-03
8.1822E-03
8.1829E-03
8.1829E-03
8.1829E-03
8.1829E-03
8.1829E-03
2.1721E-03
4.0293E-05
7.2238E-07
1.2943E-08
2.3190E-10
4.1550E-12
7.4444E-14