Documente Academic
Documente Profesional
Documente Cultură
ISSN 2229-5518
Abstract— and Program Objective - A multi-functional single screen desktop companion program for piping calculations using Microsoft
EXCELTM with its Visual basic for Applications (VBA) automation tool is presented. The program can be used for the following piping geometries –
circular, rectangular, triangular, square, elliptical and annular. Fluid properties are obtained from built-in fluid properties functions.
Index Terms— engineered spreadsheet solutions, liquid pipline flow, pipeline design, pipeline fluid properties, piping program, pipeline
sizing.
—————————— ——————————
1 INTRODUCTION
fLV 2 8 fLQ 2
often involve repetitive calculations whether for simple hori- hf (4)
zontal pipelines or piping of complex terrains. Modern com- 2 gD 2 2 gD 5
puter- assisted - tools are now often employed as aids in
achieving these, if time and cost permits. Often times, for mi-
nor changes to existing installations or retrofitting, a customer
(pipeline owner) would contract an engineering consultancy Friction Factor: The friction factor, f, is obtained as follows:
to conduct an analysis check that will involve desktop routine
calculations such as determining pressure drops, or head loss, For Laminar Flow: The applicable equations for laminar flows
flow rate or pipe geometry (diameter, length, cross-sectional (Re≤2100) can be defined in terms of a laminar flow factor, Lf,
area, etc.) that can be assigned to an engineer for quick an- which varies depending on the pipe geometry. The equation is
swers. Simple spreadsheet calculators can be developed to aid of the form:
such small routine calculations. One such program is shown
here with all required equations to assist in developing one. f .Re L f (5)
Re (1)
Flowrate:
Flow Velocity:
For Laminar Flow:
Q
V (2) gD 4 h f
A Q (7)
128L
D 2
Area: A (3)
4 For Turbulent Flow:
Q VA (8)
IJSER © 2012
http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 3, Issue 1, January-2012 2
ISSN 2229-5518
Also, for Turbulent Flow within the limits defined below, explicit
3.17 2 L
0.5
0.5
gD 5 h f values for the friction factor, f is obtained by the Swamee-Jain
Q 0.965D 2 Ln relationship, ―(16),‖.
L 3.7 D gD 3h f
(9)
5.74
f 0.25 Log D 0.9
2
3.7 Re
Range of application: 10-6 ≤ (ε/D) ≤ 2 x 10-2
3 x 103 ≤ Re ≤ 3 x 108 (16)
Solution for Diameter:
Range of application: 10-6 ≤ (ε/D) ≤ 2 x 10-2
8 fLQ 2 3 x 103 ≤ Re ≤ 3 x 108
D5 2 (10)
gh
f The Microsoft Excel TM Solver Add-in, has two built-in interpo-
lation search solution methods – the Newton method and the
Conjugate Gradient method. By rewriting the equation to be
0.04
4.75 5.2
1.25 LQ L solved in the solution form required (see ‚17,‛) in the Micro-
2
D 0.66 Q
9.4
gh f
soft ExcelTM cells, the Solver Add-in option dialog box under
gh f
the Tools menu, allows for desired constraints to be set as fol-
(11) lows:
P h f gh f g 1
2 Log D
2.51
0
(12)
f
1
2
3.7 f
Re
(17)