Having in mind that in the title of the article contains term “Wright ω-function” and not its cognate “Lambert W-function”, the authors would like to change Equation (2) of [1] in order to contain both expressions, as follows:
The authors also want to change Equation (11) as follows:
The last sentence in Section 2.3 should be added as follows:
“Numerical experiments show that for the here mentioned approximation is enough. For this reason we use this value in the Matlab codes shown in Section 3.”
In order to facilitate the use of the methods presented in [1], the authors want to add a new Section “3. Software Description” with the following text:
The presented approximations are thoroughly tested and registered at VŠB–Technical University of Ostrava, Czech Republic. The codes are given in Matlab, but they can be easily transposed in any programming language. The symbol I.R denotes the vector of the Reynolds number , whereas I.K denotes the vector of the relative roughness of the inner pipe surface . The final result of the codes is the vector of the Darcy friction factor f.
The Matlab code for Equation (2), which presents the exact solution of the Colebrook equation using the Wrightomega function y = wrightOmega(x)-x is:
c.C = 2 * 2.51/log(10); c.logC = log(c.C); c.C371 = c.C * 3.71; c.Cd251 = c.C/2.51;
B = log(I.R) − c.logC;
A = I.R.* I.K./c.C371;
x = A + B;
y = wrightOmega(x) − x;
f = 1./(c.Cd251. * (B + y)).^2
If needed, wrightOmega(x) can be replaced by: lambertw(exp(x)).
The Matlab code for Equation (3), which presents the approximation of the Colebrook equation using y = lnx./x − lnx, where the symbol lnx denotes the natural logarithm is:
c.Cd251 = 0.8686; c.logC = 0.7794; c.C371 = 8.0878;
B = log(I.R) − c.logC;
A = I.R. * I.K./c.C371;
x = A + B;
lnx = log(x);
y = (lnx./x − lnx);
f = 1./(c.Cd251. * (B + y)).^2;
The Matlab code for Equation (5), which presents the approximation of the Colebrook equation using y = (1.038 * lnx)./(x + 0.332) − lnx is the same like approximation using y = lnx./x − lnx, but the line y = (lnx./x-lnx) is replaced by: y = (1.038 * lnx)./(x + 0.332) − lnx
Matlab code for Equation (6) which presents the approximation of the Colebrook equation using y = (1.0119 * lnx)./x − lnx + (lnx−2.3849)./x.^2 is the same like approximation using y = lnx./x − lnx, but the line y= (lnx./x − lnx) is replaced by: y = (1.0119 * lnx)./x − lnx + (lnx − 2.3849)./x.^2
Subsenquently, Section “3. Conclusion” will be “4. Conclusion”.
The changes do not affect the scientific results. The manuscript will be updated, and the original will remain online on the article webpage, with reference to this Correction.
Funding
This work has been partially funded by the Technology Agency of the Czech Republic, partially by the National Centre for Energy TN01000007 and partially by the project “Energy System for Grids” TK02030039. The work of D.B. has also been supported by the Ministry of Education, Youth, and Sports of the Czech Republic through the National Programme of Sustainability (NPS II) project “IT4Innovations excellence in science” LQ1602 and by the Ministry of Education, Science, and Technological Development of the Republic of Serbia through the project “Development of new information and communication technologies, based on advanced mathematical methods, with applications in medicine, telecommunications, power systems, protection of national heritage and education” iii44006.
Conflicts of Interest
The authors declare no conflict of interest.
References
- 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] [Scilit]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).