Comp Flow
Comp Flow
40
30
Minimum permissible downstream pressure (N/m2) 596030.94
Maximum permissible mass flowrate (kg/s) 84.356435 20
Maximum pressure drop (N/m2) 203969.06
10 WARNING, Don't
Sonic velocity at outlet conditions (m/s) 515.5
clear or over-write the
0
0.0E+00 2.0E+05 4.0E+05 6.0E+05
cell formulae and data
Total line pressure drop assuming incompressible flow #DIV/0! Downstream pressure (N/m2) 8.0E+05 1.0E+06
Total line pressure drop assuming isothermal compressible flow #DIV/0!
in the very first row of
this table.
ISOTHERMAL
Isothermal Compressible Flow
Index Position (m) Pressure(N/m ) 2
Density (kg/m3) Velocity(m/s) Pressure ratio Temperature (K) Pressure
0 0.0 0.00 0.00 #DIV/0! 1.000 273.2 0.0
1 0.2 795723.07 2.99 385.91 1.001 522.5 796315.2
2 0.4 791362.96 2.98 388.04 1.002 521.9 792588.4
3 0.6 786914.25 2.96 390.23 1.002 521.2 788818.1
4 0.8 782370.92 2.94 392.50 1.003 520.6 785002.7
5 1.0 777726.21 2.93 394.84 1.004 519.9 781140.3
6 1.2 772972.52 2.91 397.27 1.006 519.2 777229.2
7 1.4 768101.25 2.89 399.79 1.007 518.6 773267.4
8 1.6 763102.59 2.87 402.41 1.008 517.9 769252.7
9 1.8 757965.29 2.85 405.13 1.010 517.1 765183.0
10 2.0 752676.30 2.83 407.98 1.011 516.4 761055.8
11 2.2 747220.40 2.81 410.96 1.013 515.7 756868.4
12 2.4 741579.64 2.79 414.09 1.015 514.9 752618.1
13 2.6 735732.53 2.77 417.38 1.017 514.2 748301.9
14 2.8 729653.12 2.75 420.85 1.020 513.4 743916.3
15 3.0 723309.41 2.72 424.55 1.022 512.6 739457.9
16 3.2 Note that there is another similae table
716661.33 2.70 428.48 1.025 511.8 734922.7
17 3.4 down below here, beginning row 90.
709657.46 2.67 432.71 1.029 510.9 730306.6
18 3.6 702229.97 2.64 437.29 1.033 510.1 725604.7
The table below is the one which is copied
19 3.8 694286.20 2.61 442.29 1.038 509.2 720812.0
to W/S 'Seg_Pipe' for display to the user, so
20 4.0 685693.68
its exact appearance 2.58
is important. It uses 447.84 1.044 508.3 715922.8
21 4.2 cell formulae to get data from the table 2.54
676251.01 454.09 1.051 507.4 710930.8
22 4.4 above. 665623.94 2.50 461.34 1.060 506.4 705829.0
23 4.6 653175.84 2.46 470.13 1.073 505.5 700609.6
24 4.8 637343.02 2.40 481.81 1.091 504.5 695263.7
25 5.0 609490.60 2.29 503.83 1.132 503.4 689781.4
Velocity(m/s)
#DIV/0!
385.91
388.04
390.23
392.50
394.84
397.27
399.79
402.41
405.13
407.98
410.96
414.09
417.38
420.85
424.55
428.48
432.71
437.29
442.29
447.84
454.09
461.34
470.13
481.81
503.83
Velocity(m/s)
#DIV/0!
385.91
388.04
390.23
392.50
394.84
397.27
399.79
402.41
405.13
407.98
410.96
414.09
417.38
420.85
424.55
428.48
432.71
437.29
442.29
447.84
454.09
461.34
470.13
481.81
503.83
Velocity(m/s)
#DIV/0!
385.91
388.04
390.23
392.50
394.84
397.27
399.79
402.41
405.13
407.98
410.96
414.09
417.38
420.85
424.55
428.48
432.71
437.29
442.29
447.84
454.09
461.34
470.13
481.81
503.83
Velocity(m/s)
#DIV/0!
385.91
388.04
390.23
392.50
394.84
397.27
399.79
402.41
405.13
407.98
410.96
0 0 800000 8 0.00 #DIV/0! #DIV/0!
53814443 4.217822 799844.1 7.9984414
8.435643 799430.1 7.9943014
12.65347 798763.9 7.987639
16.87129 797836.8 7.9783682
21.08911 796633.2 7.9663323
25.30693 795130.7 7.9513068
29.52475 793299 7.9329897
33.74257 791098.4 7.9109836
37.9604 788476.8 7.8847684
1. Solve equation for critical pressure ratio 2. Solve equation for downstream pr
Wi Residual Derivative P2 T1
100 #DIV/0! 0.99 #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!
LOWRATE
#DIV/0!
#DIV/0!
#DIV/0!
#DIV/0!
#DIV/0!
or outlet density
C Residual Derivative
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
#DIV/0! #DIV/0! #DIV/0!
Roughness 0 Re<2000
Pipe diameter 0 fD #DIV/0!
Pipe length 0
Density 0 Re>Recrit
Viscosity 0 fD #DIV/0!
Mass flow rate 0
Re>2000<Re
#DIV/0!
crit
Area 0
EoverD #DIV/0!
Reynolds #DIV/0!
Recrit #DIV/0!
Friction factor #DIV/0!
Pressure drop #DIV/0!
Convergence #DIV/0!
Version: 2.00
Problem Summary
Unit Name / Number 0
Line Number 0
Description 0
0 0
1111320
WARNING:
90
80
70
60
50
40
30
20
10
0
0.0 1.0 2.0 Downstream
3.0 4.0 pressure
5.0 (bar
6.0a) 7.0 8.0 9.0
This worksheet holds all of the user's input data.
Data is input via a UserForm
General Information
Calculation Number
Customer This worksheet retains the
Location data input by the user via
Contract Name UserForms.
Job Number Minimal calcs done, mainly
Unit Name / Number for unit conversion.
This data will be refered to for
Line Number
calculations, file saves, and
Description outputs.
Problem Definition:
Length of pipe (m)
Nominal Bore (in)
Pipe Schedule
Pipe Roughness (mm) 0.000000000 m
Number of axial Steps 25
Inlet Pressure (bara) 0 N/m2
Mass Flowrate (kg/s) These cells show t
Molecular Weight input data, and of t
Compressibility by macro 'Profile_0
Inlet Temperature (C) 0.00 273.15 K
Inlet Density (kg/m3)
Inlet Viscosity (cP)
Cp/Cv Pipe ID Calculation
Row Col Value
Actual Pipe ID (m) 0.000000 #N/A #N/A #N/A
Actual Pipe ID (mm) 0.0
0
0
0 DataHasChanged
0 InputIsComplete
0 ErrorInCalculation
Main Screen –
Contains button for access to inputs, outputs and other program functions
Input tables –
Accessed by clicking buttons on Main Screen
Output Screens -
Accessed by clicking buttons on Main Screen
The program also has the facility to print, save and retrieve data. These
functions too are initiated by clicking buttons on main menu.
The main calculations are carried out assuming Isothermal Flow conditions.
For most practical problems this is an acceptable simplification. The
assumption of isothermal flow tends to become less valid as flow velocities
increase towards choked conditions. In these circumstances, the most
appropriate analysis method would be adiabatic flow. The adaibatic pressure is
also reported in the output table, calculated using adiabatic flow assumptions.
Typically the ratio of Adiabatic / Isothermal pressure will be close to 1,
indicating isothermal conditions are an acceptable assumption.
Fluid Type:-
The equations of flow are valid for fluids that approximate ideal gas behaviour
only.
Pipeline Fittings:-
The pressure drop is calculated for straight lengths of pipe only. To calculate
pressures in systems with different flows or line sizes, the system needs to be
broken down into components and each component calculated in sequence to
determine the ultimate downstream pressure. Note that choked flow can occur
at any restriction or expansion and that this program only calculates the
condition at the outlet of the pipe length. Therefore, to ensure, this condition is
highlighted, always break piping lengths such that restrictions occur at the
downstream end.
This program only calculates pressure drop in a length of straight pipe. If you
have pipeline fittings these may be included by assuming standard equivalent
lengths.
The user should also take care to allow for possible entrance and exit losses
that may apply when discharging from or to other systems, e.g. discharge
from a vessel into pipe or discharge from a pipe to atmosphere.
4 a) Inputs overview At the top left of the main screen are two buttons: GENERAL INPUT and
PROBLEM DEFINITION. Clicking on each button in turn reveals a data table to
which inputs can be made.
The inputs to the GENERAL INPUT data table concern general information
about the project and the calculation, and they are not mandatory In the
PROBLEM DEFINITION table all cells must be filled in.
4 b) Inputs required
Length of pipe:
Total length of pipe to be calculated
Nominal bore:
Standard pipe size in inches from drop down menu. (see help sheet 5)
Pipe schedule:
Standard piping schedule from drop down menu. (see help sheet 5)
ID of pipe:
Inside diameter of pipe. There are 2 options: The ID can be calculated from
the selected nominal pipe size and schedule. or the user is may type in a value
if a non-standard pipe is being used.
Roughness:
Absolute roughness of pipe (see page 7 of this Help)
Inlet Density:
Calculated from Inlet pressure, temperature, molecular weight and density.
User may optionally type in a value.
N.B. Although line sizes 1.25, 2.5, 3.5 & 5 are available on the drop down list,
they are not normally used.
6. Roughness
Values of absolute roughness (mm):
General Input:
Opens up the form for the input of general project information.
Problem Definition:
Opens the form for the input of the calculation parameters.
Reset Input:
Clears all input and output
Segmental Results:
Displays the table showing the results for the pipe segments.
Graphical Results:
Displays the graphical results.
Save Data:
For saving problem input data to file.
Open File:
For retrieving previously saved data from file.
Print:
For obtaining printout of the calculation input and results.
Exit:
Exits the spreadsheet, and resets Excel.
Help:
Opens this file
Minimize:
This minimizes the application window, to allow you to see other windows
and icons on your desktop. You can restore your Excel window by clicking on
the xcel icon on the main Windows TaskBar.
8. Status of Calculation
The status of the calculation is displayed in a cell located amongst the control
buttons. This has three states:
Complete Input:
When this is shown, the input table is incomplete. The user must fill in all
information.
Calculation Error:
This will show if the input mass flow rate exceeds the maximum allowed flow
rate. This will also show in the unlikely event that an error occurs during the
calculation of compressible flow, and is probably due to invalid or inconsistent
input data. The user must review the input data, and make appropriate
changes.
OK:
Indicates that the results have been calculated for the information shown in
the input table.
9. Output Summary
A summary of results is given on the main screen once inputs are completed
and calculation is updated.
More results may be seen on the “Segmental Pipe Results” page and the
“Graphical Results” page. For details see pages 10, 11 and 12 of this Help.
10. Segmental Pipe Results These results are accessed by clicking the “Segmental Pipe Results” button
table (1) from the main screen.
Results Table:
The detailed results are given in a table. The table shows various quantities of
Adiabatic to
11. Segmental Pipe Results relevance Pressure:
compressible flow given at successive positions along the pipe.
Table (2) The number of positions, in addition to the entry position (index =0) is given by
Thenumber
the main calculations are carried
of axial steps, (fixed atout assuming
25). isothermal
The columns are asflow conditions in
follows:
the pipe. For most practical problems, this is an acceptable simplification.
However, if conditions are such that maximum flow conditions are approached
near the pipe outlet (see basic output), then an assumption of isothermal flow
may not be valid. Under these conditions, the most appropriate analysis
method would be adiabatic flow. This column shows the pressure calculated
from adiabatic flow assumptions. Ordinarily, this pressure will be very close to
that for isothermal flow, indicating that isothermal conditions are an acceptable
assumption for calculating the pressure profile.
Temperature:
Save:
The user can select to save a problem by clicking on the SAVE DATA button
from the main screen.
This creates a data file which can subsequently be retrieved into the program.
Retrieving Data:
The user can retrieve previously saved problems by clicking on the OPEN
FILE button from the main screen.
FOSTER WHEELER ENERGY LIMITED Rev.: 8-Apr-25
By: Date:
COMPRESSIBLE FLOW CALCULATION Checked: Date:
CompFlow Printout Sheet 1 Appr.: Date:
Sheet of
PROBLEM DEFINITION
Length of pipe (m) 0 Molecular Weight
Nominal bore (in) 0 Compressibility
Pipe Schedule 0 Inlet Temperature (C) 0.000
ID of pipe (mm) 0.0 Calc. Density (kg/m3) 0.000
Pipe roughness (mm) 0.0000
Inlet viscosity (cP) 0.000
Inlet pressure (bar absolute) 0.000 Cp/Cv 0.000
Mass flowrate (kg/s) 0
RESULTS FROM STEPWISE CALCULATION (for stepwise calculation output see sheet 2)
Results assuming isothermal compressible flow (1) Downstream pressure (bara) 0.000
Pressure drop (bar) #DIV/0!
Velocity at outlet (m/s) 0.000
Mach no. at outlet 0.000
(1) Isothermal results provide acceptable predictions for the majority of compressible flow scenarios. However, if flowrates are
approaching maximum velocity the adiabatic calculation basis may provide a more accurate prediction. The difference between the
isothermal and adiabatic calculation results may be seen from the table on Sheet 2 of this output.
90
80
70
60
50
40
30
20
10
0
0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0
Downstream pressure (bar a)