Next Article in Journal
Patent Litigation, Competitive Dynamics, and Stock Market Volatility
Next Article in Special Issue
Accurate and Efficient Explicit Approximations of the Colebrook Flow Friction Equation Based on the Wright ω-Function: Reply to the Discussion by Majid Niazkar
Previous Article in Journal
On Distance Signless Laplacian Spectral Radius and Distance Signless Laplacian Energy
Previous Article in Special Issue
A Rational Approximation for the Complete Elliptic Integral of the First Kind
 
 
Reply published on 14 May 2020, see Mathematics 2020, 8(5), 796.
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Comment

Discussion of “Accurate and Efficient Explicit Approximations of the Colebrook Flow Friction Equation Based on the Wright ω-Function” by Dejan Brkić and Pavel Praks, Mathematics 2019, 7, 34; doi:10.3390/math7010034

Department of Civil and Environmental Engineering, School of Engineering, Shiraz University, Shiraz 71454, Iran
Mathematics 2020, 8(5), 793; https://doi.org/10.3390/math8050793
Submission received: 6 February 2020 / Revised: 14 April 2020 / Accepted: 19 April 2020 / Published: 14 May 2020
(This article belongs to the Special Issue Special Functions and Applications)

Abstract

:
Estimating the Darcy–Weisbach friction factor is crucial to various engineering applications. Although the literature has accepted the Colebrook–White formula as a standard approach for this prediction, its implicit structure brings about an active field of research seeking for alternatives more suitable in practice. This study mainly attempts to increase the precision of two explicit equations proposed by Brkić and Praks. The results obviously demonstrate that the modified relations outperformed the original ones from nine out of 10 accuracy evaluation criteria. Finally, one of the improved equations estimates closer friction factors to those obtained by the Colebrook–White formula among 18 one-step explicit equations available in the literature based on three of the considered criteria.

1. Introduction

Brkić and Praks [1] applied Wright ω-Function to improve the accuracy of the estimation of the Colebrook friction factor. As a result, they proposed two new explicit equations using symbolic regression software so called Eureqa. Based on the classification introduced by Niazkar [2], their equations can be categorized as one-step relations for predicting the Darcy–Weisbach friction factor.
This discussion mainly aims to improve the accuracy of the proposed equations by Brkić and Praks [1]. In this regard, the coefficients of the proposed equations are modified using powerful optimization algorithms. Finally, the performances of the original equations and the modified ones were compared with those of other models available in the literature.

2. Estimating Darcy–Weisbach Friction Factor

Resistance equations are basically empirical formulas, which play the role of friction forces in both open-channel and pressurized flow fields [3,4]. In essence, coefficients appeared in these equations, invariantly named as resistance coefficients, and are categorized into two groups [4,5]: (1) flow-dependent coefficients and (2) flow-independent coefficients. In this classification, the Darcy–Weisbach friction factor (f) can be considered as one of the latter for laminar, transitional and turbulent regime flows.
Generally, the estimation of f is essential to various engineering applications, like pipe network analysis [6] and water hammer [7]. In addition, this prediction may have impact on the final results in numerical modeling. For instance, pipe network analysis requires the calculation of f, while the method used for the prediction of f may affect not only the convergence but also the accuracy of final solutions [8]. Furthermore, pipe flows and hydraulic heads are inevitably modified in the process of solving water distribution networks and, consequently, f needs to be revised in each step of pipe network analysis [9]. According to the literature [2], the standard approach to compute f is by solving the Colebrook–White formula presented in Equation (1):
1 f = 2 log ( ε 3.7 D + 2.51 R e f )
where ε is absolute pipe-roughness, D is pipe diameter and Re is Reynolds number. Some studies consider 3.71 instead on 3.7 in Equation (1) [1,10,11].
Since Equation (1) is implicit in terms of f, several alternative approaches have been suggested for estimating f [1,2,10,11,12,13]: (1) graphical approaches like Moody or Rouse diagrams, (2) solving Colebrook–White (C–W) relation using iterative schemes, (3) explicit approximate relations, (4) Lambert W-function, (5) Wright ω-Function, (6) trial-and-error method, and (7) artificial intelligence models. Among these methods, various studies attempted to develop new accuracy-improved explicit equations; Brkić and Praks’ [1] study is one of these efforts as they introduced two new explicit equations, shown in Equations (2) and (3):
f = [ p 1 ( B C + p 2 C p 3 + B + A ) ] 2
f = [ p 4 ( B C + p 5 C B + A + C + p 6 ( B + A ) 2 ) ] 2
where pi (for i = 1, 2, 3, 4, 5, 6) is a constant coefficient, A = Re ε 8.0878 D , B = ln ( Re 2.18 ) and C = ln ( B + A ) . Brkić and Praks [1] determined the values of pi coefficients using Eureqa as the following: p 1 = 0.8686 , p 2 = 1.038 , p 3 = 0.332 , p 4 = 0.8686 , p 5 = 1.0119 and p 6 = 2.3849 . Hereafter, Equations (1) and (2) with these coefficients are called Model 1 and Model 2, respectively.
In this comment, the values of pi coefficients were modified using powerful optimization algorithms. The process is descried in Section 3.

3. Improving the Explicit Equations Proposed by Brkić and Praks

In order to improve the accuracy of the explicit equations proposed by Brkić and Praks [1], 8000 quasi-Monte Carlo data points generated by the LPTAU51 algorithm [14] were used. Each data point includes one value for three parameters: (1) Re, (2) ε D and (3) f. The range of these parameters are 4000 < Re < 108, 0 < ε D < 0.05 and 0.006 < f < 0.075, respectively. These ranges were the same as those stated in Brkić and Praks’ [1] study. The values of f of these data were obtained by solving the Colebrook–White formula iteratively, while 3.71 was used instead on 3.7 in Equation (1).
The optimum values of pi coefficients of Equations (2) and (3) were achieved by solving optimization problems. The objective functions for improving Equations (2) and (3) were to minimize the root mean square errors and maximum absolute relative errors between the estimated f and the corresponding one from the database, respectively. The only constraint of these optimization problems was to dismiss negative values of f. The Modified Honey Bee Mating Optimization (MHBMO) algorithm, which has been successfully applied to various water resources problems [15,16,17], was exploited to optimize the coefficients of Equation (2). Furthermore, the hybrid MHBMO-Generalized Reduced Gradient (GRG) algorithm, which has been already utilized for solving several water-related problems [18,19,20,21,22], was employed to solve the optimization problem associated with improving Equation (3). The optimized values of pi coefficients of Equations (2) and (3) are: p 1 = 0.86855 , p 2 = 1.03891 , p 3 = 0.33623 , p 4 = 0.86859 , p 5 = 1.01151 and p 6 = 2.37718 . In this comment, Equations (1) and (2) with the modified coefficients are called Model 3 and Model 4, respectively.

4. Accuracy Evaluation Criteria

For comparison purposes, the test data used in Niazkar’s [2] study, which consist of 2000 data points, were adopted. In this regard, 10 performance evaluation criteria were chosen from the literature [2]. These indices may be categorized into local and global criteria. The former includes (1) maximum Absolute Error (maxAE), (2) minimum Absolute Error (minAE), (3) maximum Relative Error (maxRE), (4) minimum Relative Error (minRE), (5) maximal positive Relative Error (maxRE+) and (6) maximal negative Relative Error (maxRE−). On the other hand, the global criteria are (1) mean Absolute Error (meanAE), (2) mean Relative Error (meanRE), (3) Mean Square Error (MSE) and (4) standard deviation (Δav). These indices are shown in Equations (4) to (7), respectively.
m e a n A E = 1 N i = 1 N | f i c o m p u t e d f i C o l e b r o o k - W h i t e |
m e a n R E = 1 N i = 1 N | f i c o m p u t e d f i C o l e b r o o k - W h i t e | f i C o l e b r o o k - W h i t e
M S E = i = 1 N ( f i c o m p u t e d f i C o l e b r o o k - W h i t e ) 2 N
Δ a v = i = 1 N ( f i C o l e b r o o k - W h i t e f i c o m p u t e d f i C o l e b r o o k - W h i t e ) 2 N
where f i c o m p u t e d and f i C o l e b r o o k - W h i t e are f estimated by explicit equations and f from the database, respectively, and N is the number of data points.

5. Results and Discussion

The performances of the four models based on the mentioned local criteria are compared in Table 1. As shown, Model 3 improves the accuracy of Model 2 based on maxAE, maxRE, minRE and maxRE+, while it decreases the precision of Model 2 according to minAE and maxRE−. Furthermore, Model 4 improves the precision of estimating f predicted by Model 2 based on all six criteria listed in Table 1. In Table 1, the percentages of improvement vary from 1.48 up to 56.50 depending on the criteria, while the two percentages of accuracy reduction are −44.81% and −83.59% for minAE and maxRE-, respectively. Among the four models compared in Table 1, Model 4 achieved the most accurate results based on four out of six local criteria. Finally, Table 1 indicates that the modified coefficients improve the accuracy of the original ones based on ten out of twelve compared values.
Table 2 compares the performance of the four models in estimation of f based on global criteria. As shown, the modified explicit equations outperformed the original ones as they improved eight pair-values compared in Table 2. According to Table 2, the percentages of improvement are placed within [1.74, 18.02]. Additionally, the percentages of improvement achieved by Model 3 are much more than those obtained by Model 4. Among the four models compared in Table 2, Model 3 yielded closer f values than those obtained from the implicit Colebrook–White formula based on all four global criteria. Finally, Table 2 obviously demonstrates that the new coefficients proposed in this comment improve the accuracy of the original explicit equations based on global criteria considered.
Niazkar [2] compared the performances of 18 one-step explicit equations for the same data, while the best ones are compared with the best of these four models (Model 1 to Model 4) in Table 3. The former explicit equations mentioned in Table 3 are presented in Appendix A. The comparison carried out in Table 3 shows how the best of the four models estimates f in comparison to the best explicit equations available in the literature. As shown in Table 3, the value computed by each criterion is presented, while the corresponding explicit equation, which obtained each value, is mentioned in the parentheses next to each value. According to Table 3, nine out of 10 of the best models among the four models are those suggested in this comment, which shows that the modified coefficients recommended in this comment improves the original explicit equations based on nine out of 10 of the evaluation criteria considered. Furthermore, the best explicit equations reported in Niazkar [2] outperformed the best of the four models based on maxAE, minAE, minRE, maxRE+ and all of the global criteria considered. However, Model 4 reached to lower maxAE, maxRE and maxRE− than the best of 18 one-step explicit equations and the corresponding percentages improvement are 11.06%, 69.43% and 94.39%, respectively. Therefore, the modified coefficients in this comment bring about an improvement in terms of maxRE and maxRE− among all one-step explicit equations available in the literature. In conclusion, the new coefficients presented in this discussion considerably improve the accuracy of the estimation of f obtained by the original explicit equations proposed by Brkić and Praks [1].

6. Conclusions

The explicit equations are one of the most common approaches for estimating the Colebrook friction factor. In this regard, various studies have been conducted to develop an explicit equation, which yields much closer friction factors to the Colebrook–White formula. In this study, the coefficients of two explicit equations proposed by Brkić and Praks [1] were modified using powerful optimization algorithms. The performances of the modified explicit equations were compared with that of the original ones and 18 one-step explicit equations available in the literature. For comparing the performances, six local and four global indices were adopted from the literature. The obtained results indicate that the modified equations predict a more accurate Colebrook friction factor than the original ones based on nine out of the 10 criteria considered. This improvement in accuracy of estimation of friction factors is achieved without any additional computational costs.

Funding

This research received no external funding.

Conflicts of Interest

The author declares no conflict of interest.

Appendix A

The four explicit equations mentioned in Table 3 are presented in the following:
(1)
Fang et al.’s [23] relation:
f = 1.613 { ln [ 0.234 ( ε D ) 1.1007 60.525 Re 1.1105 + 56.291 Re 1.0712 ] } 2
(2)
Haaland’s [24] relation:
f = { 1.8 log [ ( ε 3.7 D ) 1.11 + 6.9 Re ] } 2
(3)
Eck’s [25] relation:
f = [ 2 log ( ε 3.715 D + 15 Re ) ] 2
(4)
Manadilli’s [26] relation:
f = { 2 log [ ( ε / D ) 3.70 + 95 Re 0.983 96.82 Re ) ] } 2

References

  1. Brkić, D.; Praks, P. Accurate and efficient explicit approximations of the Colebrook flow friction equation based on the Wright ω-function. Mathematics 2019, 7, 34. [Google Scholar] [CrossRef] [Green Version]
  2. Niazkar, M. Revisiting the Estimation of Colebrook Friction Factor: A Comparison between Artificial Intelligence Models and C-W Based Explicit Equations. KSCE J. Civ. Eng. 2019, 23, 4311–4326. [Google Scholar] [CrossRef]
  3. Niazkar, M.; Talebbeydokhti, N.; Afzali, S.H. Relationship between Hazen-William coefficient and Colebrook-White friction factor: Application in water network analysis. Eur. Water 2017, 58, 513–520. [Google Scholar]
  4. Niazkar, M.; Talebbeydokhti, N.; Afzali, S.H. Novel grain and form roughness estimator scheme incorporating artificial intelligence models. Water Resour. Manag. 2019, 33, 757–773. [Google Scholar] [CrossRef]
  5. Niazkar, M.; Talebbeydokhti, N.; Afzali, S.H. Development of a new flow-dependent scheme for calculating grain and form roughness coefficients. KSCE J. Civ. Eng. 2019, 23, 2108–2116. [Google Scholar] [CrossRef]
  6. Niazkar, M.; Afzali, S.H. Analysis of water distribution networks using MATLAB and Excel spreadsheet: H-based methods. Comput. Appl. Eng. Educ. 2017, 25, 129–141. [Google Scholar] [CrossRef]
  7. Niazkar, M.; Afzali, S.H. Streamline Performance of Excel in Stepwise Implementation of Numerical Solutions. Comput. Appl. Eng. Educ. 2016, 24, 555–566. [Google Scholar] [CrossRef]
  8. Niazkar, M.; Talebbeydokhti, N. Comparison of explicit relations for calculating Colebrook friction factor in pipe network analysis using h-based methods. Iran. J. Sci. Technol. Trans. Civ. Eng. 2020, 44, 231–249. [Google Scholar] [CrossRef]
  9. Niazkar, M.; Afzali, S.H. Analysis of water distribution networks using MATLAB and Excel spreadsheet: Q-based methods. Comput. Appl. Eng. Educ. 2017, 25, 277–289. [Google Scholar] [CrossRef]
  10. Brkić, D. W solutions of the CW equation for flow friction. Appl. Math. Lett. 2011, 24, 1379–1383. [Google Scholar] [CrossRef]
  11. Brkić, D. Review of explicit approximations to the Colebrook relation for flow friction. J. Petrol. Sci. Eng. 2011, 77, 34–48. [Google Scholar] [CrossRef] [Green Version]
  12. Brkić, D. Solution of the implicit Colebrook equation for flow friction using Excel. EJSIE 2017, 10, 4663. [Google Scholar]
  13. Praks, P.; Brkić, D. Symbolic regression-based genetic approximations of the Colebrook equation for flow friction. Water 2018, 10, 1175. [Google Scholar] [CrossRef] [Green Version]
  14. Sobol, I.M.; Turchaninov, V.I.; Levitan, Y.L.; Shukhman, B.V. Quasi-Random Sequence Generators; Distributed by OECD/NEA Data Bank; Keldysh Institute of Applied Mathematics; Russian Academy of Sciences: Moscow, Russia, 1992; Available online: https://ec.europa.eu/jrc/sites/jrcsh/files/LPTAU51.rar (accessed on 3 February 2020).
  15. Niazkar, M.; Afzali, S.H. Assessment of Modified Honey Bee Mating Optimization for Parameter Estimation of Nonlinear Muskingum Models. J. Hydrol. Eng. 2014, 20, 04014055. [Google Scholar] [CrossRef]
  16. Niazkar, M.; Afzali, S.H. Optimum Design of Lined Channel Sections. Water Resour. Manag. 2015, 29, 1921–1932. [Google Scholar] [CrossRef]
  17. Niazkar, M.; Afzali, S.H. New Nonlinear Variable-parameter Muskingum Models. KSCE J. Civ. Eng. 2017, 21, 2958–2967. [Google Scholar] [CrossRef]
  18. Niazkar, M.; Afzali, S.H. Application of New Hybrid Optimization Technique for Parameter Estimation of New Improved Version of Muskingum Model. Water Resour. Manag. 2016, 30, 4713–4730. [Google Scholar] [CrossRef]
  19. Niazkar, M.; Afzali, S.H. Parameter estimation of an improved nonlinear Muskingum model using a new hybrid method. Hydrol. Res. 2017, 48, 1253–1267. [Google Scholar] [CrossRef]
  20. Niazkar, M.; Afzali, S.H. Application of new hybrid method in developing a new semicircular-weir discharge model. Alex. Eng. J. 2017, 57, 1741–1747. [Google Scholar] [CrossRef]
  21. Niazkar, M.; Afzali, S.H. Developing a new accuracy-improved model for estimating scour depth around piers using a hybrid method. IJST Trans. Civ. Eng. 2018, 43, 179–189. [Google Scholar] [CrossRef]
  22. Niazkar, M.; Rakhshandehroo, G.; Afzali, S.H. Deriving explicit equations for optimum design of a circular channel incorporating a variable roughness. IJST Trans. Civ. Eng. 2018, 42, 133–142. [Google Scholar] [CrossRef]
  23. Fang, X.; Xu, Y.; Zhou, Z. New correlations of single-phase friction factor for turbulent pipe flow and evaluation of existing single-phase friction factor correlations. Nucl. Eng. Des. 2011, 241, 897–902. [Google Scholar] [CrossRef]
  24. Haaland, S.E. Simple and explicit formulas for the friction factor in turbulent pipe flow. J. Fluids Eng. 1983, 105, 89–90. [Google Scholar] [CrossRef]
  25. Eck, B. Technische Stromungslehre; Springer: New York, NY, USA, 1973. [Google Scholar]
  26. Manadilli, G. Replace implicit equations with signomial functions. Chem. Eng. 1997, 104, 129. [Google Scholar]
Table 1. Comparison of four explicit equations based on six local criteria.
Table 1. Comparison of four explicit equations based on six local criteria.
ModelsmaxAEminAEmaxREminREmaxRE+maxRE−
Model 11.01 × 10−41.84 × 10−70.14051.33 × 10−30.14050.0107
Model 3 (this study)9.29 × 10−52.66 × 10−70.12955.78 × 10−40.12950.0196
Improvement (%)7.81−44.817.8156.507.81−83.59
Model 29.39 × 10−51.69 × 10−60.13098.40 × 10−30.1309−0.0084
Model 4 (this study)9.25 × 10−51.30 × 10−60.12906.94 × 10−30.1290−0.0069
Improvement (%)1.4822.851.4817.461.4817.46
Table 2. Comparison of four explicit equations based on four global criteria.
Table 2. Comparison of four explicit equations based on four global criteria.
ModelsmeanAEmeanREMSEΔav
Model 14.85 × 10−50.10303.12 × 10−90.1051
Model 3 (this study)4.37 × 10−50.09202.56 × 10−90.0943
Improvement (%)9.9910.6618.0210.32
Model 24.68 × 10−50.09722.99 × 10−90.1004
Model 4 (this study)4.60 × 10−50.09532.89 × 10−90.0986
Improvement (%)1.741.983.131.81
Table 3. Comparison of the best of four explicit equations with the best of 18 one-step explicit equations reported in Niazkar [2].
Table 3. Comparison of the best of four explicit equations with the best of 18 one-step explicit equations reported in Niazkar [2].
CriteriaThe Best Explicit Equations Reported in Niazkar [2]The Best of the Four Models
maxAE1.4 × 10−4 (Fang et al.)9.25 × 10−5 (Model 4)
minAE1.25 × 10−8 (Haaland)1.84 × 10−7 (Model 1)
maxRE0.422 (Fang et al.)0.129 (Model 4)
minRE3.72 × 10−5 (Eck)5.78 × 10−4 (Model 2)
maxRE+−0.0246 (Manadilli)0.129 (Model 4)
maxRE−0.123 (Fang et al.)−0.0069 (Model 4)
meanAE2.51 × 10−5 (Fang et al.)4.37 × 10−5 (Model 2)
meanRE0.0680 (Fang et al.)0.0920 (Model 2)
MSE8.35 × 10−10 (Fang et al.)2.56 × 10−9 (Model 2)
Δav0.0856 (Fang et al.)0.0943 (Model 2)

Share and Cite

MDPI and ACS Style

Niazkar, M. Discussion of “Accurate and Efficient Explicit Approximations of the Colebrook Flow Friction Equation Based on the Wright ω-Function” by Dejan Brkić and Pavel Praks, Mathematics 2019, 7, 34; doi:10.3390/math7010034. Mathematics 2020, 8, 793. https://doi.org/10.3390/math8050793

AMA Style

Niazkar M. Discussion of “Accurate and Efficient Explicit Approximations of the Colebrook Flow Friction Equation Based on the Wright ω-Function” by Dejan Brkić and Pavel Praks, Mathematics 2019, 7, 34; doi:10.3390/math7010034. Mathematics. 2020; 8(5):793. https://doi.org/10.3390/math8050793

Chicago/Turabian Style

Niazkar, Majid. 2020. "Discussion of “Accurate and Efficient Explicit Approximations of the Colebrook Flow Friction Equation Based on the Wright ω-Function” by Dejan Brkić and Pavel Praks, Mathematics 2019, 7, 34; doi:10.3390/math7010034" Mathematics 8, no. 5: 793. https://doi.org/10.3390/math8050793

APA Style

Niazkar, M. (2020). Discussion of “Accurate and Efficient Explicit Approximations of the Colebrook Flow Friction Equation Based on the Wright ω-Function” by Dejan Brkić and Pavel Praks, Mathematics 2019, 7, 34; doi:10.3390/math7010034. Mathematics, 8(5), 793. https://doi.org/10.3390/math8050793

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop