Professional Documents
Culture Documents
APPROXIMATIONS OF COLEBROOK’S
EQUATION AND IMPLICIT COLEBROOK’S
EQUATION
[ALXANDRIA UNIVERCITY]
[FLUID MECHANICS]
Name ID
Osama Ayman Kamal Talis 18010297
Ali Ahamed Ali Mohamed 18011067
Hossam Gamal Mahmoud Khalil 18010553
Ali Al-Hussaini Ali El- Said 18011069
Hossam Ahmed Abdelshafi 18010550
1
CONTENTS
abstract.........................................................................................................3
1. Introduction..........................................................................................4
2.Developing Flow and Fully Developed Flow..............................................6
3. Friction Factor Correlations......................................................................8
2.1 Moody’s formula (1947)......................................................................8
2.2. Wood equation (1966).......................................................................8
2.3 Haaland (1983)...................................................................................9
4.Conclusions.............................................................................................30
5.References..............................................................................................31
2
ABSTRACT
The Darcy-Weisbach formula is widely used in many fields, like civil
engineering for calculation of water distribution systems and in all fields of
engineering where fluid flow can be occurred. In order to use this formula,
the Darcy friction factor should be known. The best approximation to the
Darcy friction factor for turbulent flow is given by the Colebrook-White
equation. This equation can only be solved by numerical root finding
methods as shown in Fig. 1. There are several other approximate formulas
since 1947 in order to simplify the computation of the friction factor, to
avoid the methods of the iterative procedures, and to alter the Colebrook-
white equation in practice but these formulas have some relative error
compared to the Colebrook-White equation. It was found that in some of
these correlations, the percentage error is so small that they can be used
directly in place of the Colebrook equation. In this repot, a review of three
friction factor correlations is performed.
Bisection
Fixed
False
point
Methods of position
iteration
solution of
equations
in one
variable
Newton Secant
3
1. INTRODUCTION
Estimating head loss is an important task in the hydraulic engineer’s life
practice. Water supply network is prime example, where the implicit
Colebrook–White equation has been widely used to estimate the friction
factor for turbulent fluid-flow in Darcy–Weisbach equation. It is therefore no
surprise that it has attracted a lot of attention by both practitioners and
researchers over the past years. The Darcy–Weisbach model for steady,
uniformly distributed head losses reported in Eq. (1) probably represents
the
most well-known formula where the friction factor ‘‘f” is used to compute the
slope hydraulic grade line J (i.e. the head loss per unit length of a pipe [1]:
0.8 fl Q2
h L= (1)
g d5
hL: the hydraulic energy slope (m),
f: friction factor,
L: length of the pipe (m),
D: Intern pipe diameter (m)
Q: Flow (m /s)
3
The Darcy friction factor (f) depends on the flow regime. For a fully
developed laminar flow (Reynolds number Re < 2300) the friction factor
can be determined from the Hagen-Poiseuille equation as:
64
f= ℜ (2)
For example:
1 ϵ ∕ D 2 ⋅51
√f
=−2 log ( +
3 ⋅7 ℜ √ f )
ϵ
1 2.51
Let x= d b=
√f a= Re
3⋅7
∂g b
=g ' =1+
∂x a+bx
∂g
g ( x n )= Δ x ⋅
∂x |x=xn
g ( x n)
x n +1=x n−
g'|x=x n
for
ϵ
Re =5000 , =0.04
D
ϵ ∕ D 0.04
a= = =0.0108
3⋅7 3.7
2.51 2.51
b= ℜ = =5.02∗10−4
5000
xn x n+1
3.162 3.7705
3.7705 3.7836
3.7836 3.7846
3.7846 3.7846
1
f=
x2n+1
1
= = 0.0698
( 3⋅7846 )2
This method is very long and complicated and takes a lot of time, so
researchers resorted to finding an alternative method, and this is what we
will discuss later.
6
distribution is achieved, the flow profile remains unchanged in the
streamwise direction, and flow is called fully developed flow. The distance
required for flow to develop is called the entrance length This length
depends on the shear stress that acts on the pipe wall. For laminar flow,
the wall shear stress distribution is shown in Fig. 10.2. Near the pipe
entrance, the radial velocity gradient (change in velocity with distance from
the wall) is high, so the shear stress is large. As the velocity profile
progresses to a parabolic shape, the velocity gradient and the wall shear
stress decrease until a constant value is achieved. The entry length is
defined as the distance at which the shear stress reaches to within 2% of
the fully developed value. Correlations for entry length are
Le
¿ =0.05 ℜ( laminar flow: ℜ≤ 2000)
D
L
¿ e =50( turbulent flow: ℜ≥ 3000)
D
7
The Eq. (4) is implicit which needs for the trial error methods
or a graphical solution, the Moody’s diagram is surprisingly a good solution
for Colebrook-white equation. In general the graphical solutions are not
accurate and are limited. For this reason many authors have proposed
approximate solutions for Colebrook- White equation from 1947 until
nowadays. In the following, we will discuss three of these equations:
Wood tried to gives a formula more simple than the Eq. (4). Wood
proposed to use the following formula:
8
In 1983 Haaland published his explicit solution for Colebrook-white
equation as follows:
1.11
1
√f [ ( )]
=−1.8 log
ϵ ∕D
3.7
+
6.9
Re ]
The validity range proposed by the author:
4.10 3 ≤ Re ≤ 108
6
10−6 ≤ ≤5 ⋅ 10−2
D
clc
clear all
close all
%colebrook equation
n=50
k=1
for eps=[0.01 0.025] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
C=@(f1) (1 / sqrt(f1))+2*log10((eps / 3.7) + (2.51/(Re *
sqrt(f1))))
f1(i,k) = fsolve(C,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a1=semilogx(Re,f1(:,k),'r','linewidth',1)
hold on
k=k+1
end
hold on
%Moody
k=1
for eps=[0.01 0.025] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
M=@(f2) f2-0.0055*(1+((2*1E4*eps)+(1E6/Re))^(1/3))
f2(i,k) = fsolve(M,0.004)
i=i+1
9
end
Re=logspace(log10(4000),8,n)
a2=semilogx(Re,f2(:,k),'g','linewidth',1)
hold on
k=k+1
end
grid on
title ('COMPARISON BETWEEM COLEBROOK EQUATION AND MOODY
EQUATION')
xlabel('Reynolds number,Re')
ylabel('Darcy fraction factor,f')
legend([a1 a2],{'colebrook','Moody'})
figure
%colebrook equation
k=1
for eps=[0.01 0.05] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
C=@(f1) (1 / sqrt(f1))+2*log10((eps / 3.7) + (2.51/(Re *
sqrt(f1))))
f1(i,k) = fsolve(C,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a1=semilogx(Re,f1(:,k),'r','linewidth',1)
hold on
k=k+1
end
hold on
%Wood
k=1
for eps=[0.01 0.05] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
a=0.53*(eps)+0.094*(eps)^(0.225)
b=88*(eps)^(0.44)
c=1.62*(eps)^(0.134)
W=@(f3) f3-a-b*(Re)^(-c)
f3(i,k) = fsolve(W,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
eps=[0.0006 0.01 0.03]
a3=semilogx(Re,f3(:,k),'k','linewidth',1)
hold on
k=k+1
end
10
grid on
title ('COMPARISON BETWEEM COLEBROOK EQUATION AND WOOD EQUATION')
xlabel('Reynolds number,Re')
ylabel('Darcy fraction factor,f')
legend([a1 a3],{'colebrook','Wood'})
figure
%colebrook equation
k=1
n=50
for eps=[0.01 0.03] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
C=@(f1) (1 / sqrt(f1))+2*log10((eps / 3.7) + (2.51/(Re *
sqrt(f1))))
f1(i,k) = fsolve(C,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a1=semilogx(Re,f1(:,k),'r','linewidth',1)
hold on
k=k+1
end
hold on
%haaland
k=1
for eps=[0.01 0.03] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
H=@(f4)1/sqrt(f4)+1.8*log10((6.9/Re)+(eps/3.7)^1.11)
f4(i,k) = fsolve(H,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a4=semilogx(Re,f4(:,k),'b','linewidth',1)
hold on
k=k+1
end
grid on
title ('COMPARISON BETWEEM COLEBROOK EQUATION AND HAALAND
EQUATION')
xlabel('Reynolds number,Re')
ylabel('Darcy fraction factor,f')
legend([a1 a4],{'colebrook','haaland'})
From previous code we get this results:
11
Fig. 3. COMPARISON BETWEEM COLEBROOK EQUATION AND MOODY EQUATION
A Statistical analysis is made to get the error between the two equation in
a valid range and in valid range.
We use matlab data and put it in excel to make this statistical analysis :
13
0.05316878 0.04923053
9 4 7.407%
0.04921617
0.05315189 7 7.405%
0.05313813 0.04920449
8 3 7.403%
0.05312694 0.04919498
8 7 7.401%
0.05311784 0.04918725
4 2 7.400%
0.05311043
8 0.04918096 7.399%
0.05310441 0.04917584
3 1 7.398%
0.05309951 0.04917167
1 7 7.397%
0.05309552
5 0.04916829 7.397%
0.05309228 0.04916553
2 4 7.396%
0.05308964 0.04916329
4 3 7.396%
0.05308749 0.04916147
9 1 7.395%
0.05308575 0.04915998
4 8 7.395%
0.05308433 0.04915878
5 2 7.395%
0.04915780
0.05308318 1 7.395%
0.05308224 0.04915700
1 4 7.395%
0.05308147 0.04915635
8 5 7.395%
0.05308085 0.04915582
7 7 7.394%
0.05308035 0.04915539
2 8 7.394%
0.05307994 0.04915504
1 9 7.394%
0.05307960 0.04915476
7 5 7.394%
0.05307933 0.04915453
5 5 7.394%
0.05307911 0.04915434
4 7 7.394%
0.05307893 0.04915419
4 4 7.394%
14
0.05307878
8 0.04915407 7.394%
0.05307866 0.04915396
9 9 7.394%
0.05307857 0.04915388
3 7 7.394%
0.05307849
4 0.04915382 7.394%
8.452%
7.394%
7.514%
15
Fig. 4. COMPARISON BETWEEM COLEBROOK EQUATION AND WOOD EQUATION
16
0.04115665 0.04098128
3 7 0.426%
0.04059412 0.04059643
6 9 -0.006%
0.04012323 0.04027518
3 9 -0.379%
0.03973067 0.04000702
7 7 -0.696%
0.03940463 0.03978317
5 9 -0.961%
0.03913472 0.03959632
4 3 -1.180%
0.03891191 0.03944034
6 6 -1.358%
0.03872844 0.03931014
2 5 -1.502%
0.03857767
5 0.03920146 -1.617%
0.03845400 0.03911073
4 5 -1.708%
0.03835271 0.03903500
1 3 -1.779%
0.03897178
0.03826985 6 -1.834%
0.03820213 0.03891901
7 6 -1.877%
0.03887496
0.03814685 7 -1.909%
0.03810174 0.03883819
2 6 -1.933%
0.03806495 0.03880750
9 2 -1.951%
0.03878188
0.03803498 1 -1.964%
0.03801055 0.03876049
5 3 -1.973%
0.03799066
2 0.03874264 -1.979%
0.03797446 0.03872773
5 7 -1.984%
0.03796127 0.03871529
9 7 -1.986%
0.03795054 0.03870491
7 3 -1.988%
0.03794181 0.03869624
3 5 -1.988%
0.03793470 0.03868900
7 9 -1.988%
17
0.03792892 0.03868296
4 9 -1.988%
0.03867792
0.03792422 7 -1.987%
0.03792039 0.03867371
3 8 -1.987%
0.03867020
0.03791728 5 -1.986%
0.03791474 0.03866727
8 2 -1.985%
0.03791268 0.03866482
8 4 -1.984%
0.03791101 0.03866278
2 1 -1.983%
0.03790964 0.03866107
9 5 -1.982%
0.03790854 0.03865965
1 1 -1.981%
0.03865846
0.03790764 3 -1.981%
0.03790690
6 0.03865747 -1.980%
0.03865664
0.03790631 2 -1.979%
0.03790582 0.03865595
5 1 -1.979%
0.03865537
0.03790543 4 -1.978%
0.03865489
0.03790511 2 -1.978%
0.03790484
9 0.03865449 -1.978%
0.03790463 0.03865415
6 4 -1.977%
0.03790446 0.03865387
4 4 -1.977%
0.03790432
3 0.03865364 -1.977%
4.449%
-1.988%
-1.100%
18
0.07601752 0.07674413
1 1 -0.956%
0.07521502
9 0.07627485 -1.409%
0.07455245 0.07589978
5 5 -1.807%
0.07400670
9 0.07560002 -2.153%
0.07355811 0.07536043
9 8 -2.450%
0.07319004 0.07516895
5 6 -2.704%
0.07501591
0.07288849 7 -2.919%
0.07264174 0.07489360
6 3 -3.100%
0.07244006 0.07479584
6 6 -3.252%
0.07227536 0.07471771
5 5 -3.379%
0.07214096 0.07465527
4 1 -3.485%
0.07203135 0.07460536
3 3 -3.573%
0.07194200 0.07456547
6 4 -3.647%
0.07186920 0.07453359
7 4 -3.707%
0.07450811
0.07180991 5 -3.757%
0.07176162 0.07448775
5 1 -3.799%
0.07172231 0.07447147
6 5 -3.833%
0.07445846
0.07169032 7 -3.861%
0.07166428 0.07444807
1 1 -3.884%
0.07164309 0.07443976
2 2 -3.904%
0.07162585 0.07443312
1 1 -3.919%
0.07161182 0.07442781
4 3 -3.932%
0.07160041 0.07442357
3 1 -3.943%
0.07159113 0.07442018 -3.952%
0.07158357 0.07441747 -3.959%
19
9 1
0.07157743 0.07441530
7 5 -3.965%
0.07157244 0.07441357
1 4 -3.970%
0.07156837 0.07441219
8 1 -3.974%
0.07156507 0.07441108
2 5 -3.977%
0.07156238 0.07441020
4 1 -3.979%
0.07156019 0.07440949
8 5 -3.982%
0.07155841
9 0.07440893 -3.983%
0.07155697 0.07440847
3 9 -3.985%
0.07155579 0.07440811
7 9 -3.986%
0.07440783
0.07155484 1 -3.987%
0.07155406
2 0.0744076 -3.988%
0.07155342 0.07440741
9 6 -3.989%
0.07155291 0.07440726
4 9 -3.989%
0.07155249 0.07440715
6 1 -3.990%
0.07155215 0.07440705
5 7 -3.990%
0.07155187 0.07440698
8 2 -3.990%
0.07155165 0.07440692
3 2 -3.991%
0.07440687
0.07155147 4 -3.991%
0.07155132 0.07440683
1 6 -3.991%
0.07440680
0.0715512 5 -3.991%
0.07155110 0.07440678
1 1 -3.991%
0.07155102 0.07440676
1 1 -3.991%
0.07155095 0.07440674
6 6 -3.991%
0.07155090 0.07440673 -3.991%
20
3 3
-0.447%
-3.991%
-3.548%
21
Fig. 5. COMPARISON BETWEEM COLEBROOK EQUATION AND HAALAND
EQUATION
22
2 5
0.03806495 0.03812918
9 8 -0.169%
0.03810134
0.03803498 4 -0.174%
0.03801055 0.03807867
5 2 -0.179%
0.03799066 0.03806021
2 5 -0.183%
0.03797446 0.03804519
5 3 -0.186%
0.03796127 0.03803296
9 8 -0.189%
0.03795054
7 0.03802302 -0.191%
0.03794181 0.03801492
3 6 -0.193%
0.03793470 0.03800834
7 1 -0.194%
0.03792892 0.03800298
4 4 -0.195%
0.03799862
0.03792422 6 -0.196%
0.03792039 0.03799508
3 1 -0.197%
0.03799219
0.03791728 8 -0.198%
0.03791474 0.03798985
8 2 -0.198%
0.03791268 0.03798794
8 5 -0.199%
0.03791101 0.03798639
2 3 -0.199%
0.03790964 0.03798513
9 1 -0.199%
0.03790854 0.03798410
1 5 -0.199%
0.03790764 0.03798327 -0.200%
0.03790690 0.03798259
6 1 -0.200%
0.03798203
0.03790631 9 -0.200%
0.03790582
5 0.03798159 -0.200%
0.03798122
0.03790543 4 -0.200%
0.03798092
0.03790511 7 -0.200%
23
0.03790484 0.03798068
9 6 -0.200%
0.03790463 0.03798048
6 9 -0.200%
0.03790446 0.03798032
4 9 -0.200%
0.03790432 0.03798019
3 9 -0.200%
0.197%
-0.313%
-0.111%
24
0.05745430 0.05757149
9 5 -0.204%
0.05740216 0.05751878
9 3 -0.203%
0.05735969 0.05747587
7 1 -0.203%
0.05732511 0.05744094
1 4 -0.202%
0.05729695 0.05741251
4 9 -0.202%
0.05727403
4 0.05738939 -0.201%
0.05737057
0.05725538 1 -0.201%
0.05724020
1 0.05735526 -0.201%
0.05722785 0.05734280
1 5 -0.201%
0.05721780 0.05733267
2 2 -0.201%
0.05720962
7 0.05732443 -0.201%
0.05720297 0.05731772
7 6 -0.201%
0.05719756 0.05731227
7 3 -0.201%
0.05719316 0.05730783
7 7 -0.200%
0.05718958
8 0.05730423 -0.200%
0.05718667 0.05730129
7 5 -0.200%
0.05718430 0.05729890
9 9 -0.200%
0.05718238 0.05729696
3 8 -0.200%
0.05718081 0.05729538
6 9 -0.200%
0.05717954 0.05729410
2 5 -0.200%
0.05717850 0.05729306
6 1 -0.200%
0.05717766 0.05729221
3 1 -0.200%
0.05717697 0.05729152
8 1 -0.200%
0.05729095
0.05717642 9 -0.200%
25
0.05717596 0.05729050
7 2 -0.200%
0.05717559
8 0.05729013 -0.200%
0.05717529 0.05728982
8 8 -0.200%
0.05717505 0.05728958
5 2 -0.200%
0.05717485 0.05728938
6 3 -0.200%
0.05717469
5 0.05728922 -0.200%
0.05717456 0.05728908
4 8 -0.200%
0.05717445
7 0.05728898 -0.200%
0.05728889
0.05717437 3 -0.200%
0.05728882
0.0571743 2 -0.200%
-0.200%
-0.692%
-0.236%
26
Max. Error = 0.682%
27
Fig. 6. The maximum deviation (in percent) for versus different
relative roughness Values of the Authors: Moody, Wood, Eck, Chen.
28
let's take an applied example :
A pump takes gasoline from a tank in which the level is 50 cm above pump
level, through a 0.5 cm diameter smooth pipe 100 cm long. What is the
pressure just before the pump when 13.5 cm 3 /s of gasoline is flowing
through the pipe ?.
Given that, γ =gasoline = 0.57, µ =gasoline = 0.0055 poise.
Z1
Givens:
ϵ|cast iron=¿0.26 mm
Required:
P2
Solution:
Q 13.5∗10−6
V= = =0.688 m/s
A π( −2 2
0.5∗10 )
4
29
ρvd 0.57∗103∗0.688× 0.5∗10−2
¿ Re ¿ = =3565>3200
μ 0.00055
¿
(Transient but assume it
turbulent)
1 ϵ ∕ D 2 ⋅51
√f
=−2 log +
3 ⋅7 ℜ √ f ( )
f 1=0.0788
f =0.53( 0.052)+0.094 ¿
f 3=¿0.0791
clc
clear all
close all
%colebrook equation
n=50
k=1
for eps=[0.052] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
C=@(f1) (1 / sqrt(f1))+2*log10((eps / 3.7) + (2.51/(Re *
sqrt(f1))))
f1(i,k) = fsolve(C,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a1=semilogx(Re,f1(:,k),'r','linewidth',1)
hold on
k=k+1
end
hold on
%Moody
k=1
for eps=[0.052] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
M=@(f2) f2-0.0055*(1+((2*1E4*eps)+(1E6/Re))^(1/3))
f2(i,k) = fsolve(M,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a2=semilogx(Re,f2(:,k),'g','linewidth',1)
hold on
k=k+1
end
hold on
%Wood
k=1
for eps=[0.052] % the relative pipe roughness
31
i=1
for Re=logspace(log10(4000),8,n)
a=0.53*(eps)+0.094*(eps)^(0.225)
b=88*(eps)^(0.44)
c=1.62*(eps)^(0.134)
W=@(f3) f3-a-b*(Re)^(-c)
f3(i,k) = fsolve(W,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
eps=[0.0006 0.01 0.03]
a3=semilogx(Re,f3(:,k),'k','linewidth',1)
hold on
k=k+1
end
hold on
%haaland
k=1
for eps=[0.052] % the relative pipe roughness
i=1
for Re=logspace(log10(4000),8,n)
H=@(f4)1/sqrt(f4)+1.8*log10((6.9/Re)+(eps/3.7)^1.11)
f4(i,k) = fsolve(H,0.004)
i=i+1
end
Re=logspace(log10(4000),8,n)
a4=semilogx(Re,f4(:,k),'b','linewidth',1)
hold on
k=k+1
end
grid on
title ('COMPARISON BETWEEM COLEBROOK EQUATION, MOODY, WOOD AND
HAALAND EQUATION')
xlabel('Reynolds number,Re')
ylabel('Darcy fraction factor,f')
legend('colebrook','moody','wood','haaland')
32
Applying berrnolli equation (1&2)
P 1 v 21 P 2 v 22
+ +z = + +z +h
ρg 2g 1 ρg 2g 2 l
P2 V 22 2
l V2
Z1 = + +f
ρg 2g d 2g
P2 V 22 l
Z1 = +
ρg 2g [
1+ f
d ]
Using f 1
−2 P2
50∗10 = +¿¿
570∗9.8
P2 )1=532.025 Pa
Using f 2
P2
0.5= +0.0242 [ 1+ 0.0576∗200 ]
5586
33
P2 )2=878.834 Pa
Using f 3
P2
0.5= +0.0242 [ 1+ 0.0264∗200 ]
5586
P2 )3=519.252 Pa
Using f 4
P2
0.5= +0.0242 [ 1+ 0.0796∗200 ]
5586
P2 )2=505.734 Pa
878.834−532.025
error )1 =
532.825
¿=65.2 %
532.025−519.252
error )2 =
532.825
¿=2.4 %
532.025−505.734
error )3 =
532.825
¿=4.9 %
4.CONCLUSIONS
When a comparison is made according to the degree of the relative error,
the Haaland (1983) correlation with an error percentage 2% is very close to
the result obtained from the Colebrook-White equation. Because of the high
precision of the selected correlations, the need for using the Colebrook-
White iterative solution seems to be eliminated.
5.REFERENCES
34
(1)Matlab
(3)A review of non iterative friction factor correlations for the calculation of
pressure drop in pipes (Mustafa Asker, Oguz Emrah Turgut , Mustafa Turhan
Coban)
35