| Literature DB >> 27127498 |
Dejan Brkić1, Žarko Ćojbašić2.
Abstract
Nowadays, the Colebrook equation is used as a mostly accepted relation for the calculation of fluid flow friction factor. However, the Colebrook equation is implicit with respect to the friction factor (λ). In the present study, a noniterative approach using Artificial Neural Network (ANN) was developed to calculate the friction factor. To configure the ANN model, the input parameters of the Reynolds Number (Re) and the relative roughness of pipe (ε/D) were transformed to logarithmic scales. The 90,000 sets of data were fed to the ANN model involving three layers: input, hidden, and output layers with, 2, 50, and 1 neurons, respectively. This configuration was capable of predicting the values of friction factor in the Colebrook equation for any given values of the Reynolds number (Re) and the relative roughness (ε/D) ranging between 5000 and 10(8) and between 10(-7) and 0.1, respectively. The proposed ANN demonstrates the relative error up to 0.07% which had the high accuracy compared with the vast majority of the precise explicit approximations of the Colebrook equation.Entities:
Mesh:
Year: 2016 PMID: 27127498 PMCID: PMC4834174 DOI: 10.1155/2016/5242596
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Structure of the proposed ANN.
Figure 2The scheme of training process of the ANN.
Figure 3Exploitation of the ANN.
Figure 4The Mean Squared Error (MSE) during the process of training of the proposed ANN.
Relative error of friction factor produced by the shown ANN over the practical domain of the relative roughness (ε/D) and the Reynolds number (Re).
| Relative error (%) | Relative roughness ( | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Reynolds number (Re) | 10−6 | 5 · 10−6 | 10−5 | 5 · 10−5 | 10−4 | 5 · 10−4 | 10−3 | 5 · 10−3 | 10−2 | 5 · 10−2 |
| 104 | 0.00134 | 0.00088 | 0.00031 | 0.00017 | 0.00123 | 0.00141 | 0.00041 | 0.00099 | 0.00096 | 0.00069 |
| 5 · 104 | 0.00102 | 0.00174 | 0.00080 | 0.00096 | 0.00220 | 0.00163 | 0.00247 | 0.00063 | 0.00224 | 0.00124 |
| 105 | 0.00114 | 0.00145 | 0.00125 | 0.00356 | 0.00099 | 0.00384 | 0.00097 | 0.00117 | 0.00104 | 0.00076 |
| 5 · 105 | 0.00181 | 0.00032 | 0.00287 | 0.00084 | 0.00047 | 0.00090 | 0.00028 | 0.00011 | 0.00055 | 0.00064 |
| 106 | 0.00163 | 0.00246 | 0.00126 | 0.00073 | 0.00419 | 0.00440 | 0.00176 | 0.00190 | 0.00023 | 0.00053 |
| 5 · 106 | 0.00449 | 0.00672 | 0.00207 | 0.00377 | 0.00012 | 0.00077 | 0.00071 | 0.00031 | 0.00038 | 0.00074 |
| 107 | 0.00126 | 0.00054 | 0.00417 | 0.00527 | 0.00005 | 0.00089 | 0.00015 | 0.00033 | 0.00063 | 0.00186 |
| 5 · 107 | 0.01946 | 0.00382 | 0.00490 | 0.00835 | 0.00260 | 0.00174 | 0.00011 | 0.00071 | 0.00038 | 0.00022 |
| 108 | 0.06060 | 0.05266 | 0.03614 | 0.02413 | 0.01682 | 0.00410 | 0.00165 | 0.00544 | 0.00579 | 0.00068 |
Figure 5Distribution of the estimated error produced by the ANN compared with the Colebrook equation in normalized domain which is suitable for training of the ANN (verification in MATLAB).
Figure 6Distribution of the estimated error produced by the ANN compared with the Colebrook equation (verification in MS Excel).
Figure 7Maximal relative error produced by ANN compared with the seven most accurate explicit approximations of Colebrook equation where ε/D is used for x-axis.
Maximal relative error produced by the ANN compared with the seven most accurate explicit approximations of Colebrook equation; the Reynolds number (Re) is used as the base.
| Maximal relative error (%) | ||||||||
|---|---|---|---|---|---|---|---|---|
| Reynolds number (Re) | (a) | (b) | (c) | (d) | (e) | (f) | (g) | (h) |
| 104 | 0.00141 | 0.00074 | 0.00569 | 0.12272 | 0.13563 | 0.13453 | 0.13301 | 0.13313 |
| 5 · 104 | 0.00247 | 0.00219 | 0.00574 | 0.14112 | 0.13784 | 0.11047 | 0.13736 | 0.13736 |
| 105 | 0.00384 | 0.00246 | 0.00698 | 0.14467 | 0.13812 | 0.10281 | 0.13793 | 0.13793 |
| 5 · 105 | 0.00287 | 0.00250 | 0.00802 | 0.14712 | 0.13841 | 0.08915 | 0.13839 | 0.13839 |
| 106 | 0.00440 | 0.00235 | 0.00816 | 0.14727 | 0.13846 | 0.08426 | 0.13845 | 0.13845 |
| 5 · 106 | 0.00672 | 0.00167 | 0.00826 | 0.14725 | 0.13850 | 0.07315 | 0.13850 | 0.13850 |
| 107 | 0.00527 | 0.00122 | 0.00828 | 0.14722 | 0.13851 | 0.06754 | 0.13850 | 0.13850 |
| 5 · 107 | 0.01946 | 0.00022 | 0.00829 | 0.14718 | 0.13851 | 0.04876 | 0.13851 | 0.13851 |
| 108 | 0.06060 | 0.00005 | 0.00829 | 0.14718 | 0.13851 | 0.04841 | 0.13851 | 0.13851 |
(a)-Artificial Neural Network (ANN).
(b)-Ćojbašić and Brkić [37]-Improved Serghides [42]; (A.7).
(c)-Ćojbašić and Brkić [37]-Improved Romeo et al. [43]; (A.6).
(d)-Vatankhah and Kouchakzadeh [44]; (A.2).
(e)-Buzzelli [45]; (A.1).
(f)-Romeo et al. [43]; (A.3).
(g)-Serghides [42]; (A.4).
(h)-Zigrang and Sylvester [46]; (A.5).