In this paper, a novel soft computing technique is designed to analyze the mathematical model of the steady thin film flow of Johnson–Segalman fluid on the surface of an infinitely long vertical cylinder used in the drainage system by using artificial neural networks (ANNs). The approximate series solutions are constructed by Legendre polynomials and a Legendre polynomial-based artificial neural networks architecture (LNN) to approximate solutions for drainage problems. The training of designed neurons in an LNN structure is carried out by a hybridizing generalized normal distribution optimization (GNDO) algorithm and sequential quadratic programming (SQP). To investigate the capabilities of the proposed LNN-GNDO-SQP algorithm, the effect of variations in various non-Newtonian parameters like Stokes number (St), Weissenberg number (We), slip parameters (a), and the ratio of viscosities (φ) on velocity profiles of the of steady thin film flow of non-Newtonian Johnson–Segalman fluid are investigated. The results establish that the velocity profile is directly affected by increasing Stokes and Weissenberg numbers while the ratio of viscosities and slip parameter inversely affects the fluid’s velocity profile. To validate the proposed technique’s efficiency, solutions and absolute errors are compared with reference solutions calculated by RK-4 (ode45) and the Genetic algorithm-Active set algorithm (GA-ASA). To study the stability, efficiency and accuracy of the LNN-GNDO-SQP algorithm, extensive graphical and statistical analyses are conducted based on absolute errors, mean, median, standard deviation, mean absolute deviation, Theil’s inequality coefficient (TIC), and error in Nash Sutcliffe efficiency (ENSE). Statistics of the performance indicators are approaching zero, which dictates the proposed algorithm’s worth and reliability.
- Computational fluid dynamics
- Drainage problems
- Generalized normal distribution optimization
- Hybrid soft computing
- Johnson Segalman model
- Sequential quadratic programming
- Weighted legendre neural networks