Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract: Friction factor determination is important for modeling fluid flows in pipes. The Colebrook equation has been widely used for
estimating the pipe friction factor in fully developed turbulent regime. Because of the implicit nature of Colebrook equation, various
regression-based approximations, Lambert W-function-based solutions, series-based solutions, and analytical approximations are developed
for explicitly determining the friction factor. This study focuses on approximate analytical solutions for the Colebrook equation with a
minimum number of natural logarithms and noninteger powers (lower computational cost). For this, a new mathematically equivalent
representation of the Colebrook equation is presented. This form consists of two nonlinear equations which are very well suited for
developing the analytical solutions for the friction factor. The simple analytical solutions developed in this study with the maximum relative
errors less than 0.85, 0.25, 0.054, and 0.0028% (solutions with different degrees of accuracy) are among the most accurate analytical ap-
proximations to the Colebrook equation. Simple form and superior efficiency of the proposed solutions make them preferable to currently
available approximate solutions to the Colebrook equation. DOI: 10.1061/(ASCE)HY.1943-7900.0001454. © 2018 American Society of
Civil Engineers.
Author keywords: Colebrook equation; Friction factor; Accuracy; Analytical solution; Noniterative approximation; Lambert W-function;
Mathematically equivalent.
nient for numerical computations attributable to overflow errors hydraulic engineering applications. The frictional head loss can be
(Sonnad and Goudar 2004). Brkić (2012) compared various computed by the Darcy–Weisbach equation if the friction factor, f,
implementations of the Lambert W-function and showed that is previously accurately determined. The implicit Colebrook equa-
some of these solutions cannot yield accurate results using the tion is assumed to describe the friction factor, f, for a wide range of
modern computer. Brkić (2012) also identified some constraints turbulent flow regimes (4,000 ≤ R ≤ 108 and 0 ≤ ε=D ≤ 0.1). The
in the applicability of certain Lambert W-function-based solu- Colebrook equation is a combination of the Prandtl equation for
tions. Considering both accuracy and computational cost, the fluid flow in hydraulically smooth pipes and the von Karman equa-
Lambert W-function-based solutions are not very efficient over tion for fluid flow in hydraulically rough pipes. The implicit
the entire practical range of the Reynolds number and relative Colebrook equation is obtained by applying a logarithm matching
technique for the Prandtl and von Karman equations and can be
roughness.
used for both hydraulically smooth and hydraulically rough zones
An approximate solution to the Colebrook equation, referred to
and for the transient zone between them. For ε ¼ 0, the Colebrook
as the nth formula, was recently proposed by Mikata and Walczak
equation becomes the Prandtl equation for fluid flow in hydrauli-
(2015). This solution is derived from an exact analytical expression
cally smooth pipes.
for the Lambert W-function. The maximum error of the solution
The Colebrook equation can be used for the solution of three
is 1.62% for n ¼ 1 and is equal to 0.28% for n ¼ 2. These ap-
types of problems: (1) hydraulic problems in which head loss are
proximations have high computational cost because they contain unknown; (2) those in which discharge is unknown; and (3) those
many logarithmic terms (Clamond 2009; Giustolisi et al. 2011, in which the pipe diameter is unknown. Some researchers modify
Brkić 2017). the Colebrook equation for gas flow calculation by using the 2.825
A fast and accurate solution of the Colebrook equation is constant instead of 2.51 (Haaland 1983).
necessary for intensive computations (simulations of large pipe
systems). Sonnad and Goudar (2006) developed an analytical
approximate solution, based on a reformulation of the Colebrook New Mathematically Equivalent Form of the
equation. The mathematically equivalent representation of the Colebrook Equation
Colebrook equation proposed by Sonnad and Goudar (2006) is
the only available clever reformulation of the Colebrook equation To facilitate derivation of the equivalent form of the Colebrook
for deriving accurate analytical solutions for the friction factor. equation, Eq. (1) can be written as
Vatankhah and Kouchakzadeh (2008, 2009) using a curve fitting
x ¼ −a lnðbx þ cÞ ð2Þ
technique and a quadratic approximation of the Taylor series, im-
proved the coefficients from the analytical approximation proposed in which
by Sonnad and Goudar (2006) in a way that maximum error
1 2 2.51 ε=D
decreases from 1 to 0.15%. x ¼ pffiffiffi ; a¼ ; b¼ ; c¼ ð3Þ
This research focuses on simple and accurate analytical solu- f lnð10Þ R 3.71
tions of the Colebrook equation based on clever reformulation of
The computation of logarithm functions in most computer
the Colebrook equation. For this, a mathematically equivalent rep-
languages is based on the computation of a natural logarithm. Thus,
resentation of the Colebrook equation is derived. This new equiv-
for computational reasons, the Colebrook Eq. (1) is often written
alent form is simple and well suited for accurately estimating the in the natural base by considering the coefficient a ¼ 2= lnð10Þ ¼
friction factor. As will be shown, the proposed alternate formu- 0.8686, in which ln is the natural logarithm.
lation in this study can be used to obtain exact analytical solutions The following developments are on the basis of the general
to the original Colebrook equation, and can significantly contribute implicit form of Eq. (2) with unknown variable x. When the original
to the currently available explicit solutions. The following sections Colebrook Eq. (1) is intended, the quantities of Eq. (3) should be
present the Colebrook equation and its mathematically equivalent substituted into Eq. (2).
form. Solutions of equivalent Colebrook equation using different Eq. (2) can be expanded as
accurate approximations are then presented, followed by an error
analysis and conclusions. c
x ¼ −a lnðbÞ − a ln x þ ð4Þ
b
in which
First Linear Approximation
c
d ¼ − a lnðbÞ ð7Þ Approximating the logarithm term in Eq. (12) by the linear term of
b the Maclaurin series expansion ½lnð1 − xÞ ≅ −x, this equation
may be written as
c
δ ¼ ln x þ ð8Þ
b δ ¼ lnðdÞ − aδ=d ð13Þ
From Eqs. (6) and (8), x can be expressed as Solving Eq. (13) for δ yields
c
Downloaded from ascelibrary.org by UNIVERSITY OF WOLLONGONG on 03/15/18. Copyright ASCE. For personal use only; all rights reserved.
x ¼ d − aδ − ð9Þ δ¼
lnðdÞ
ð14Þ
b 1 þ a=d
Substituting d from Eq. (7) into Eq. (9) yields
Computational speed can be improved by avoiding noninteger powers (square roots). For removing the square root by the
continued-fraction expansion, the numerator and denominator of Eq. (19) are multiplied by the conjugate of the numerator which
yields:
6ðd=aÞ lnðdÞ
δ¼ pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ð20Þ
½3d=a þ 3 þ 2 lnðdÞ þ ½3d=a þ 3 − 2 lnðdÞ2 þ 18 lnðdÞ
By ignoring the quantity −2 lnðdÞ in the last term of Eq. (21), Substituting d from Eq. (6) into Eq. (26) yields:
this equation can be written in compact form as
ðeδ þ aδÞ ln½1 − aδ=ðeδ þ aδÞ
ðd=aÞ lnðdÞ α¼ ð27Þ
δ¼ ð22Þ ln½1 − aδ=ðeδ þ aδÞ − ð1 þ kÞδ
ðd=a þ 1Þð1 þ 6ð1þd=aÞ23−ð1þ4d=aÞ
lnðdÞ
lnðdÞ
Þ
Eq. (27) expresses α in terms of variable δ and the constant
value of k. For considering an average value for α with a minimum
Second Continued-Fraction Approximation error in the practical range of 1.61 ≤ δ ≤ 13.91, this quantity
should be computed in the most sensitive point (d2 α=dδ 2 ¼ 0
Similarly by approximating the logarithm term in Eq. (12) through
which results in δ ¼ 3.34 and k ¼ 0.61). Fig. 2 shows α and
lnð1 − xÞ ≅ −25x=ð25 − 13xÞ, this equation can be written using
dα=dδ functions in terms of δ for k ¼ 0.61. The quantity α is
the continued-fraction expansion as
approximately constant for δ > 7 and has a maximum sensitivity
ðd=aÞ lnðdÞ (dα=dδ) at δ ¼ 3.34. The quantity α is equal to 0.56 at δ ¼ 3.34
δ¼ ð23Þ and k ¼ 0.61.
ðd=a þ 1Þð1 þ 25ð1þd=aÞ132 −13ðd=aÞ
lnðdÞ
lnðdÞ
Þ Using α ¼ 0.56 and k ¼ 0.61, Eq. (24) takes the form:
d − 0.56
δ¼ lnðdÞ ð28Þ
d þ 0.34
Asymptotic Approximation
Based on Eq. (12), when d approaches infinity, the second term
in the right-hand side of Eq. (12) vanishes and thus δ approaches
Error Distributions of the Proposed Approximations
lnðdÞ. Also, as d approaches infinity, the expression ðd − αÞ=
for δ
ðd þ kαÞ approaches unity (α and k are positive quantities). Thus,
an asymptotic approximation for δ can be considered as The error distributions of the proposed analytical approximations
d−α for δ [Eqs. (14), (17), (22), (23), and (28)] compared with im-
δ¼ lnðdÞ ð24Þ plicit Eq. (6), are computed and shown in Fig. 3. Based on Fig. 3,
d þ kα
the first linear approximation [Eq. (14)] has a maximum percentage
Substituting lnðdÞ from Eq. (24) into Eq. (12) yields: error less than 1.55%, whereas the second linear approximation
[Eq. (17)] has a maximum percentage error less than 0.34%. In
d þ kα comparison, the first continued-fraction approximation [Eq. (22)]
δ¼ δ þ lnð1 − aδ=dÞ ð25Þ
d−α has a maximum error less than 0.0017%, whereas the second
continued-fraction approximation [Eq. (23)] has a maximum er-
Solving Eq. (25) for α one gets: ror less than 0.0067%. The simple asymptotic approximation
[Eq. (28)] has also a maximum error less than 0.084%. Because
d lnð1 − aδ=dÞ the flow friction factor, f, is a nonlinear function of δ, thus its errors
α¼ ð26Þ
lnð1 − aδ=dÞ − ð1 þ kÞδ are different from the δ errors.
where
1
λ2 ¼ 1 þ 1þs
ð35Þ
0.52 lnð0.8686sÞ − 1þs
s
This solution also has only two logarithms and one nonin-
teger power.
Some applications of the friction factor (such as water distri-
bution network simulators) might require the computation of the
derivative of f with respect to the Reynolds number, R. Because
all approximate solutions presented in this study can be expressed
Fig. 3. Error distributions of the proposed approximations for δ in the form of f ¼ ψðR; sÞ (where ψ = functional symbol),
the derivative of the friction factor, f, with respect to R can
be computed using the chain rule as df=dR ¼ ∂ψ=∂R þ
ð∂ψ=∂sÞð∂s=∂RÞ.
Proposed Approximations for the Flow Friction
Factor f
Fig. 4. Error distributions of the proposed analytical approximations for the friction factor, f, in this study
Comparison with Similar Analytical Approximations representations of the Colebrook equation are different and thus
result in different solutions for the friction factor.
Sonnad and Goudar Approximation The estimated error of approximation by Sonnad and Goudar
(2006) is up to 1% compared with the original implicit Colebrook
Sonnad and Goudar (2006) using a clever equivalent representation equation. The solution derived in the current study using the first
of the Colebrook equation developed the following analytical linear approximation [Eq. (30)] with a maximum error less than
approximation for the friction 0.86% is comparable with the approximation derived by Sonnad
and Goudar (2006) [Eq. (37)]. Both studies use clever equivalent
1 0.4587R
pffiffiffi ¼ 0.8686 ln G ð37Þ representations of the Colebrook equation, but the proposed alter-
f GGþ1 nate formulation of the original Colebrook equation in this study is
more efficient (lower errors) than that proposed by Sonnad and
where G is defined as
Goudar (2006).
G ¼ 0.124Rðε=DÞ þ lnð0.4587RÞ ð38Þ
Mikata and Walczak Approximation
This solution has also only two logarithms and one noninteger
power. The parameter G of Sonnad and Goudar approximation The nth formula is developed by Mikata and Walczak (2015) for
is different from the parameter s of this study. Comparison of the friction coefficient computation. The first approximate solution
Eqs. (29) and (30) of this study and Eqs. (37) and (38) derived (n ¼ 1) and simplest solution to the exact friction coefficient can be
by Sonnad and Goudar clearly indicates that the two equivalent expressed by the nth formula as
Notation
References
Abramowitz, M., and Stegun, I. A. (1972). Handbook of mathematical
functions with formulas, graphs, and mathematical tables, Vol. 9,
Dover Publications, New York.
Barr, D. I. H. (1981). “Solutions of the Colebrook-White function for
resistance to uniform turbulent flow.” Proc. Inst. Civ. Eng., 71(2),
529–536.
Biberg, D. (2017). “Fast and accurate approximations for the Colebrook
equation.” J. Fluids Eng., 139(3), 031401.
Brkić, D. (2011a). “Review of explicit approximations to the Colebrook
relation for flow friction.” J. Pet. Sci. Eng., 77(1), 34–48.
Brkić, D. (2011b). “W solutions of the CW equation for flow friction.”
Appl. Math. Lett., 24(8), 1379–1383.
Brkić, D. (2012). “Comparison of the Lambert W-function based solutions
Fig. 5. Error distributions of the proposed analytical approximations to the Colebrook equation.” Eng. Comput., 29(6), 617–630.
for the friction factor, f, by Sonnad and Goudar (2006) and Mikata and Brkić, D. (2017). “Discussion of “Exact analytical solutions of the
Colebrook-White equation” by Mikata, Y., and Walczak, W. S.”
Walczak (2015)
J. Hydraul. Eng., 10.1061/(ASCE)HY.1943-7900.0001341, 07017007.
to the transition region between the smooth and rough pipe laws.” calculation using a mathematically exact alternative to the Colebrook-
J. Inst. Civ. Eng., 11(4), 133–156. White equation.” J. Hydraul. Eng., 10.1061/(ASCE)0733-9429(2006)
132:8(863), 863–867.
Giustolisi, O., Berardi, L., and Walski, T. M. (2011). “Some explicit
Sonnad, J. R., and Goudar, C. T. (2007). “Explicit reformulation of the
formulations of Colebrook-White friction factor considering accuracy
Colebrook-White equation for turbulent flow friction factor calcula-
vs. computational speed.” J. Hydroinf., 13(3), 401–418.
tion.” Ind. Eng. Chem. Res., 46(8), 2593–2600.
Haaland, S. E. (1983). “Simple and explicit formulas for friction factor in
Swamee, P. K., and Jain, A. K. (1976). “Explicit equations for pipe flow
turbulent pipe flow.” J. Fluids Eng., 105(1), 89–90.
problems.” J. Hydraul. Div., 102(HY5), 657–664.
Manadilli, G. (1997). “Replace implicit equations with signomial func- Vatankhah, A. R. (2014). “Comment on Gene expression programming
tions.” Chem. Eng., 104(8), 129–130. analysis of implicit Colebrook-White equation in turbulent flow friction
Maple [Computer software]. Symbolic Computation Group, Univ. of factor calculation.” J. Pet. Sci. Technol., 124, 402–405.
Waterloo, ON, Canada. Vatankhah, A. R., and Kouchakzadeh, S. (2008). “Discussion of “Turbulent
Mathcad [Computer software]. PTC, Needham, MA. flow friction factor calculation using a mathematically exact alternative
Mathematica [Computer software]. Wolfram Research, Champaign, IL. to the Colebrook–White equation” by Sonnad, J. R., and Goudar, C. T.”
Mikata, Y., and Walczak, W. S. (2015). “Exact analytical solutions of the J. Hydraul. Eng., 10.1061/(ASCE)0733-9429(2008)134:8(1187),
Colebrook-White equation.” J. Hydraul. Eng., 10.1061/(ASCE)HY 1185–1186.
.1943-7900.0001074, 04015050. Vatankhah, A. R., and Kouchakzadeh, S. (2009). “Discussion of “Exact
More, A. A. (2006). “Analytical solutions for the Colebrook and White equations for pipe flow problems” by Swamee, P.K. and Rathie, P.N.”
equation and for pressure drop in ideal gas flow in pipes.” Chem. J. Hydraul. Res., 47(7), 537–538.
Eng. Sci., 61(16), 5515–5519. Zigrang, D. J., and Sylvester, N. D. (1982). “Explicit approximations to
Nandakumar, V. (2007). “Analytical calculation of Fanning friction factor.” the solution of Colebrook’s friction factor equation.” AIChE J., 28(3),
Hydrocarbon Process., 86(1), 97. 514–515.