Introduction

The non-Newtonian behaviour of liquids affects many chemical and manufacturing processes, particularly in material processing, nuclear and bioengineering. Due to numerous applications, the attention of a wide range of researchers have been attracted by the boundary layer flow of non-Newtonian fluids which are classified according to their behaviour in shear. The physical origin of non-Newtonian behaviour is related to the microstructure of the material. The viscosity of the generalized Newtonian fluid models depends on the shear rate (e.g. power-law, Carreau, Yasuda, Cross, Bingham, Herschel Bulkley, etc.). The Oldroyd-B model1 is a model with constant viscosity, which accounts both the relaxation and retardation times. Special examples of the Oldroyd fluid are the Maxwell fluid and viscous Newtonian fluid.

The Stokes’ first problem was extended for an Oldroyd-B fluid flow in a porous half space by Tan et al.2 using Fourier sine transform, and they gave an exact solution. Fetecau et al.3 discussed the energetic balance for the unsteady flow of an Oldroyd-B fluid driven by the transverse motion of an infinite plate subject to a time-dependent shear stress. In4, the hydromagnetic boundary layer flow of an Oldroyd-B fluid in a porous channel is investigated by using homotopy analysis method (HAM) when both suction and injection cases are considered.

During the past decades, there has been a growing recognition of the industrial significance of the magnetohydrodynamic (MHD) boundary layer flow of viscoelastic fluids over stretching surface, especially in petroleum and chemical engineering due to its applications in extraction of crude oil from petroleum products. Considerable efforts have been made to examine the MHD effects on different flow problems. For example, it is industrially important to discuss the motion of a fluid in a rotating or sliding cylinder in the oil exploitation. Jamil et al.5 investigated the velocity field and the shear stress corresponding to the motion of an Oldroyd-B fluid subject to torsional and longitudinal time-dependent shear stresses in a circular cylinder. Exact solutions are provided for the problem of the helical flows of a heated generalized Oldroyd-B fluid subject to a time-dependent shear stress in porous medium, where the motion is due to the longitudinal time-dependent shear stress and the oscillating velocity in boundary by Zheng et al.6.

Issues relating to the problem of fluid flow due to a stretching sheet have the applications in the field of the plastic film drawing. The first discussion on the fluid flow due to a stretched surface is given by Sakiadis7. A mathematical model for the two-dimensional Oldroyd–B fluid has been developed to describe the boundary layer in the region of the stagnation point over a stretching sheet by Sajid et al.8. The influence of rheological parameters in an Oldroyd-B fluid is discussed for three dimensional flows over a stretching surface by applying HAM in9, and over a stretching surface in the presence of convective boundary conditions in10.

The MHD flow over a nonlinear stretching sheet has been extensively studied because of its practical relevance in engineering applications. The variational iteration method has been used by Xu et al. to obtain approximate solutions of MHD boundary layer equations11. In magnetic field the viscoelastic properties of Oldroyd-B fluid through a planar channel were investigated on peristaltic flow by Hayat et al.12. Numerical simulations have been presented in the work13 to analyse the velocity, temperature and concentration profiles in MHD boundary layer flow over a linearly stretching sheet with viscous dissipation and second-order slip and to study the melting heat transfer of a water-based nanofluid. Mabood et al.14 conducted numerical results using similarity method to the governing equations of MHD flow when the surface is non-isothermal, stretched, suction or injection, and heat generation or absorption are considered. Several studies are devoted to the examination of the heat and mass transfer on MHD flow over a porous stretched surface using HAM, see e.g., Jitender et al.15.

Due to the heating and cooling industrial processes, the heat enhancement is important physical phenomena. The heat transfer properties of traditional coolants in heat exchangers can be increased with adding different nanoparticles to the base fluid. Ferrofluids having magnetic nanoparticles are useful in industrial applications. The effect of the ferromagnetic parameter on the flow and heat transport of the ferrofluids along a horizontal stretching sheet placed in a magnetic field is investigated in papers16,17,18. Similarity solution for boundary layer flow of non-Newtonian fluids over a stretching flat surface was reported by Bognar and Hriczo19. The stretching problem with power-law velocity was investigated in the flow of a non-Newtonian power-law fluid in the presence of uniform magnetic field in20. The impact of power-law surface velocity and temperature variation on the heat and mass transfer was given for two thermal boundary conditions of uniform surface heat flux and of varying surface temperature in21. The heat and mass transfer problems with chemical reactions are important in drying engineering processes. Analytic solutions using HAM are provided for the velocity, temperature and concentration distributions to study an MHD fluid flow over a stretching sheet when chemical reaction is in presence (see22).

Stratification of fluid arises due to temperature variations, concentration differences, or the presence of different fluids. It is an important issue to analyse the effect of thermal stratification on the flow properties as the heat and mass transfer mechanisms run parallel. Using HAM, the momentum and energy equations for thermally stratified flow of an Oldroyd-B fluid with mixed convection has been analysed in23, and for thermally stratified radiative flow of Maxwell fluid in24. Free convection heat and mass transfer problem in an electrically conducting micropolar fluid over a vertical plate with magnetic, thermal, and solutal stratification effects is solved in25. Waqas et al.26 have performed numerical results to the model of mixed convection for two-dimensional flow of Oldroyd-B liquid over a linearly stretching sheet. The solutions are obtained using homotopy method for the flow problem when thermal and concentration stratifications are considered. The solutions to mixed-convection flow of a thixotropic fluid over a linearly stretched surface are given by HAM in the presence of thermal stratified effects and thermal radiation by Shezad et al.27.

Based on the importance of nanomaterials, the flow characteristics are examined in the presence of internal heat generation28, with convection and radiation29 and in case of nonlinearly permeable stretching sheet with radiation30. The boundary layer flow over an inclined surface has been considered in papers31,32,33,34. Recently, the time dependent Darcy-Forchheimer fluid and the Oldroyd-B fluid were investigated due to slip condition35, over stretching sheet in the presence of uniform heat source or sink36 and with thermal radiation37.

In this paper, a model the thermal stratified MHD flow of Oldroyd-B fluid over an inclined linearly stretching sheet is considered. The skin friction and heat transfer characteristics are encountered. Furthermore, the thermal radiation effect is considered. Mathematical modelling is subjected to boundary layer assumptions and Roseland’s approximation. The governing nonlinear flow model is solved by Runge–Kutta Fehlberg method with shooting scheme. The impact of physical parameters of interest are elaborated. To our best knowledge this problem has not been reported before.

Mathematical formulation

We investigate the steady thermally stratified flow of an incompressible electrically conducting flow of an Oldroyd-B liquid along an inclined surface. Flow is generated because of stretched surface. The heat phenomenon is analysed by considering thermal radiation and heat absorption/generation. A uniform magnetic field B0 is taken inclined by making angle \(\psi\) as shown in Fig. 1. The governing equations with above assumptions are27:

$$ \frac{\partial u}{{\partial x}} + \frac{\partial v}{{\partial y}} = 0 $$
(1)
$$ \begin{gathered} u\frac{\partial u}{{\partial x}} + v\frac{\partial u}{{\partial y}} + \lambda_{1} \left( {u^{2} \frac{{\partial^{2} u}}{{\partial x^{2} }} + 2uv\frac{{\partial^{2} u}}{\partial x\partial y} + v^{2} \frac{{\partial^{2} u}}{{\partial y^{2} }}} \right) = \nu \frac{{\partial^{2} u}}{{\partial y^{2} }} \hfill \\ + \nu \lambda_{2} \left( {u\frac{{\partial^{3} u}}{{\partial x\partial y^{2} }} + v\frac{{\partial^{3} u}}{{\partial y^{3} }} - \frac{\partial u}{{\partial y}}\frac{{\partial^{2} u}}{{\partial y^{2} }} - \frac{\partial u}{{\partial y}}\frac{{\partial^{2} v}}{{\partial y^{2} }}} \right) - \frac{{\sigma B_{0}^{2} }}{\rho }\sin^{2} \psi \left( {u + \lambda_{1} v\frac{\partial u}{{\partial y}}} \right) \hfill \\ + g\beta \sin \phi \left\{ {\left( {T - T_{\infty } } \right) + \lambda_{1} \left( {\frac{\partial T}{{\partial x}} + v\frac{\partial T}{{\partial y}} - \frac{\partial u}{{\partial x}}\left( {T - T_{\infty } } \right)} \right)} \right\}, \hfill \\ \end{gathered} $$
(2)
$$ u\frac{\partial T}{{\partial x}} + v\frac{\partial T}{{\partial y}} = \frac{1}{{\rho c_{p} }}\frac{{\partial^{2} T}}{{\partial y^{2} }} + \frac{Q}{{\rho c_{p} }}\left( {T - T_{\infty } } \right) - \frac{{\partial q_{r} }}{\partial y}\,, $$
(3)
Figure 1
figure 1

Schematic diagram.

subject to

$$ u = U_{w} \left( x \right) = ax,\,\,\,\,\,v = 0,\,\,\,\,T = T_{w} = T_{0} + bx\quad {\text{at}}\quad y = 0, $$
$$ u \to 0,\,\,\,\,\,T \to T_{\infty } = T_{0} + dx,\quad {\text{at}}\quad y \to \infty , $$
(4)

where the velocity components (u, v) in the x and y-directions are respectively, \(\rho\) represents the density, cp represents the specific heat, k represents the thermal conductivity, \(a,\,\,b,\) and \(d\) are constant such that \(a > 0,\,\,b > 0,\,\,d = \frac{{dT_{\infty } }}{dx} > 0\), \(\sigma\) represents the electrical conductivity, \(\nu\) represents the kinematic viscosity, \(Q\) represents heat source/sink, \(\lambda_{1}\) ratio of the relaxation to retardation times, \(g\) is the gravitational acceleration, \(\lambda_{2}\) is the retardation time. Rosseland approximation of radiation of thick optical layer gives:

$$ q_{r} = - \frac{{4\sigma^{*} }}{{3k^{*} }}\frac{{\partial T^{4} }}{\partial y}, $$
(5)

where \(\sigma^{*}\) and \(k^{*}\) are Stefan-Boltzmann constant and mean absorption coefficient respectively and

\(T^{4} \approx 4T_{\infty }^{3} T - 3T_{\infty }^{4}\) (linear combination of temperature).

Then, Eq. (3) takes the form:

$$ u\frac{\partial T}{{\partial x}} + v\frac{\partial T}{{\partial y}} = \frac{1}{{\rho c_{p} }}\left( {k + \frac{{16\sigma^{*} T_{\infty }^{3} }}{{3k^{*} }}} \right)\frac{{\partial^{2} T}}{{\partial y^{2} }} + \frac{Q}{{\rho c_{p} }}\left( {T - T_{\infty } } \right)\,. $$
(6)

We assume the following similarity transformation7:

$$ u = cxf^{\prime}\left( \eta \right),\,\,\,v = - \sqrt {c\nu } f\left( \eta \right),\,\,\,\eta = \sqrt {\frac{c}{\nu }} y,\,\,\,\,\theta = \frac{{T - T_{\infty } }}{{T_{w} - T_{0} }}\,, $$
(7)

Using Eq. (7), the nonlinear ordinary differential equations which represents the velocity and temperature profile can be reduced to

$$ \begin{gathered} f^{\prime\prime\prime} - f^{{\prime}{2}} + ff^{\prime\prime} + \beta_{1} \left( {2ff^{\prime}f^{\prime\prime} - f^{{\prime}{2}} f^{\prime\prime\prime}} \right) + \beta_{2} \left( {f^{{\prime\prime}{2}} - ff^{iv} } \right)\, - M^{2} \sin^{2} \psi \left( {f^{\prime} + \beta_{1} ff^{\prime\prime}} \right) \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, + \lambda \sin \phi \left( {\theta - \beta_{1} f\theta^{\prime}} \right) = 0\,, \hfill \\ \end{gathered} $$
(8)
$$ \left( {1 + \frac{4}{3}R_{d} } \right)\theta^{\prime\prime} - \Pr \left( {f\theta^{\prime} - f^{\prime}\theta + St\,f^{\prime}} \right) + \Pr \alpha \theta = 0\,, $$
(9)

where the boundary conditions take the dimensionless form:

$$ f\left( 0 \right) = 0\,,\,\,\,f^{\prime}\left( 0 \right) = 0,\,\,\,\theta \left( 0 \right) = 1 - St, $$
(10)
$$ f^{\prime}\left( \eta \right) \to 0\,,\,\,\,\theta \left( \eta \right) \to 0\,,\quad {\text{when}}\quad \eta \to \infty , $$
(11)

The dimensionless parameters are defined as:

\(\beta_{1} = \lambda_{1} c\) (Deborah number in relaxation time, where c is constant), \(\beta_{2} = \lambda_{2} c\) (Deborah number in retardation time), \(\lambda = \frac{{Gr_{x} }}{{{\text{Re}}_{x}^{2} }}\) (mixed convection parameter), \(Gr_{x} = \frac{{g\beta \left( {T - T_{0} } \right)x^{3} }}{{\nu^{2} }}\) (Grashof number38), \({\text{Re}}_{x} = \frac{{U_{w} \left( x \right)x}}{\nu }\) (local Reynolds number), \(St = \frac{d}{b}\) (thermally stratified parameter), \(\Pr = \frac{{\mu c_{p} }}{k}\) (Prandtl number), \(\alpha = \frac{Q}{{\rho ac_{p} }}\) (heat source/sink parameter), \(R_{d} = \frac{{4\sigma^{*} T_{\infty }^{3} }}{{3k_{\infty } }}\) (radiation parameter), \(M^{2} = \frac{{\sigma B_{0}^{2} }}{\rho c}\) (magnetic parameter).

The skin friction coefficient Cf is defined as follows

$${C}_{f}=\frac{2{ \tau }_{w}}{\rho {U}_{w}^{2}},{ \tau }_{w}=\frac{2}{{U}_{w}^{2}}{c}^{3/2}f{^{\prime}}(0)$$

The local Nusselt number \(Nu_{x}\) and the local heat flux \({q}_{w}\) are defined as:

$$ Nu_{x} = \frac{{xq_{w} }}{{k\left( {T_{w} - T_{0} } \right)}},\,\,\,\,q_{w} = - \left( {k + \frac{{16\sigma^{*} T_{\infty }^{3} }}{{3k^{*} }}} \right)\left( {\frac{\partial T}{{\partial y}}} \right)_{y = 0} . $$
(12)

The dimensionless form of local Nusselt number is:

$$ \frac{{Nu_{x} }}{{\sqrt {{\text{Re}}_{x} } }} = \frac{ - 1}{{\left( {1 - St} \right)}}\left( {1 + \frac{4}{3}R_{d} } \right)\theta^{\prime}\left( 0 \right). $$
(13)

Method of solution

The closed form solutions of the reduced Eqs. (8) and (9) with boundary conditions (Eqs. 10, 11) are not possible to be achieved due to the fact that they are highly non-linear and coupled in nature. Nevertheless, their solutions could be achieved numerically using the Runge–Kutta–Fehlberg (RKF) with the shooting method that considers various values of parameters. Then, a study on the effects of the emerging parameters on the dimensionless velocity, temperature, and Nusselt number is carried out. The step size of \(\Delta \eta = 0.01\), with the accuracy to be up to the fifth decimal place, is taken as the criterion of convergence.

Results and discussion

In this section, the effect of various parameters on the velocity, temperature, and heat transfer rate is investigated. Tables 1, 2, 3 and 4 are provided for a relative study of current and previous limiting outcomes. Comparison of \(f^{\prime\prime}\left( 0 \right)\) for various values of magnetic parameter \(M\) when \(\beta_{1} = \beta_{2} = \lambda = 0\) is shown in Table 1. It is seen that the obtained solution is in good agreement with those obtained by Xu and Le1, Mabood and Mastroberdino2, and Hayat et al.3. Table 2 is prepared to compare heat transfer rate with Mabood et al. 4 when \(\beta_{2} = \lambda = \alpha = R_{d} = St = 0\) and \(\Pr = 1\). Clearly, an acceptable agreement is noted. Table 3 shows the comparison of the heat transfer rate with Ali11 and Mabood et al.12 when \(\beta_{1} = \beta_{2} = \lambda = \alpha = R_{d} = St = 0\) for various values of \(\Pr\). It is noticed that there is a favourable matching between obtained and previous results in a limiting case. Table 4 represents the numerical values of \(f^{\prime\prime}\left( 0 \right)\) and \(- \theta^{\prime}\left( 0 \right)\) of the present analysis. It is observed that with the absence of magnetic field, the magnitude of \(f^{\prime\prime}\left( 0 \right)\) increases with increasing Deborah number \(\beta_{1}\) and \(St\) while decreases for increasing \(\beta_{2}\), \(R_{d}\) and \(\alpha\). Further, for \(M = 1\) the magnitude of \(f^{\prime\prime}\left( 0 \right)\) is enhanced for \(\alpha\), \(\beta_{1}\) and \(St\). Influences of \(\beta_{2}\) and \(R_{d}\) on \(\left|{f}^{^{\prime\prime} }\left(0\right)\right|\) is are opposite. On the other hand, the magnitude of \(\theta^{\prime}\left( 0 \right)\) increase by increasing \(\beta_{2}\) while it is decreasing with increasing \(\alpha\),\(\beta_{1}\), \(R_{d}\) and \(St\).

Table 1 Comparison of \(f^{\prime\prime}\left( 0 \right)\) for various values of \(M^{2}\) when \(\alpha ={\beta }_{1}={\beta }_{2}=\lambda ={R}_{d}=St=0, \psi =\phi =\frac{\pi }{2}\) and \(\Pr = 1\).
Table 2 Comparison of \(Nu_{x} \left( {{\text{Re}}_{x} } \right)^{ - 1/2}\) for various values of \(M^{2}\) when \(\Pr = 1\) \(\alpha ={\beta }_{1}={\beta }_{2}=\lambda ={R}_{d}=St=0, \psi =\phi =\frac{\pi }{2}\).
Table 3 Comparison of heat transfer rate \(- \theta^{\prime}\left( 0 \right)\) when \(M=\alpha ={\beta }_{1}={\beta }_{2}=\lambda ={R}_{d}=St=0, \psi =\phi =\frac{\pi }{2}\).
Table 4 Numerical values of \(f^{\prime\prime}\left( 0 \right)\) and \(- \theta^{\prime}\left( 0 \right)\) with different parameters when \(\psi = \phi = \frac{\pi }{2}\),\(\mathit{Pr}=1, \lambda =0.2.\)

The significance of magnetic parameter \(M\) on the velocity and temperature profiles for both opposing (\(\lambda =-0.2\)) and assisting (\(\lambda =0.2\)) flows is shown in Fig. 2a. It is noticed that velocity profile reduces via higher magnetic parameter \(M\) for both cases (Fig. 2a). Physically, by increasing magnetic field the Lorentz force enhances. More resistance is observed to the motion of fluid and thus the velocity of liquid is reduced. However, opposite impact is observed for magnetic parameter \(M\) on temperature distribution for both cases (see Fig. 2b). In fact, Lorentz force increases for higher magnetic number \(M\) and consequently more heat is produced which give rise to temperature profile. Figure 3a is plotted for illustrating the impact of Deborah number \(\beta_{2}\) (in terms of retardation time) on the velocity distribution for both opposing and assisting phenomena. It is concluded that for both cases the velocity and related boundary layer thickness are higher for increment in Deborah number \(\beta_{2}\). The significance of Deborah number \(\beta_{2}\) on temperature distribution is drawn in Fig. 3b. Temperature and thermal boundary thickness decrease by increasing \(\beta_{2}\). Figure 4a is plotted for the variation of Deborah number in terms of relaxation time \(\beta_{1}\) on velocity distribution in both opposing and assisting flow cases. It is observed that velocity distribution decreases with an increase in Deborah number \(\beta_{1}\) for both the cases. Physically, the ratio of relaxation to observation time links to Deborah number \({\beta }_{1}\), so an enhancement in Deborah number means the greater relaxation time provides more resistance to the fluid motion which causes the reduction in velocity profile. Furthermore, the boundary layer thickness is higher for small values of \(\beta_{1}\). The influence of Deborah number \(\beta_{1}\) on temperature is displayed in Fig. 4b for both opposing and assisting flows. It is shown that temperature enhances with an increase in \(\beta_{1}\) and thermal boundary layer also increases.

Figure 2
figure 2

Effects of M on velocity and temperature for opposing and assisting flow.

Figure 3
figure 3

Effects of \(\beta_{2}\) on velocity and temperature for opposing and assisting flow.

Figure 4
figure 4

Effects of \(\beta_{1}\) on velocity and temperature for opposing and assisting flow.

Figure 5a shows the impact of thermal stratification parameter \(St\) on the velocity distribution in both opposing and assisting flows. The result shows that the velocity and the associated boundary layer thickness decrease for larger values of thermal stratification parameter for assisting case, but the velocity increases for the opposing flow case. The density of the fluid in the lower region becomes greater than in the upper region for increasing values of \(St\). Hence, thermal stratification \(St\) slows down the convective flow between the heated surface and the ambient fluid, the velocity distribution decreases. The impact of the thermal stratification parameter \(St\) on the temperature profile is presented in Fig. 5b for both cases. This indicates that the temperature and thermal boundary layer thickness decrease for both opposing and assisting cases with increasing values of \(St\). It is because of the fact that the temperature difference gradually decreases between the surface of sheet and ambient fluid inducing a reduction in the temperature distribution.

Figure 5
figure 5

Effects of St on velocity and temperature for opposing and assisting flow.

Influence of radiation parameter \(R_{d}\) on velocity distribution is plotted in Fig. 6a. Larger values of radiation parameter \(R_{d}\) result in the enhancement of velocity field \(f^{\prime}\left( \eta \right)\) for assisting case. Obviously, the velocity reduces in the opposing flow. Furthermore, the momentum boundary layer has opposite behaviour for both phenomena. Impact of radiation parameter \(R_{d}\) on temperature distribution is presented in Fig. 6b for both opposing and assisting flows. Larger values of radiation parameter \(R_{d}\) result in the enhancement of temperature field \(\theta \left( \eta \right)\) for both cases. Physically, an increase in radiation parameter \(R_{d}\) corresponds to lower mean absorption coefficient which is responsible for the enhancement of temperature distribution \(\theta \left( \eta \right)\).

Figure 6
figure 6

Effects of Rd on velocity and temperature for opposing and assisting flow.

Variation of stratified parameter \(St\) on temperature distribution is shown in Fig. 7a for the heat generation and absorption cases. Here both temperature and thermal boundary thickness decrease with the increase in stratified parameter \(St\) = 0.0, 0.1, 0.2, 0.3 for the cases of heat generation and absorption. On the other hand, the variation of radiation parameter \(R_{d}\) on temperature distribution is presented in Fig. 7b for the cases of heat generation and absorption. Temperature field is increased for higher values of radiation parameter \(R_{d}\) for both heat generation/absorption cases. Actually, higher values of \(R_{d}\) corresponds to lower mean absorption coefficient which is responsible for the enhancement of temperature distribution \(\theta \left( \eta \right)\). Figure 8a,b illustrate the effect of inclination angle \(\psi\) on velocity and temperature for both opposing and assisting flow respectively. It is noticed that the fluid velocity increase and temperature decrease with the increasing values of \(\psi\). Figure 9 demonstrates the features of Prandtl number \(\Pr\), thermal stratification parameter \(St\), magnetic parameter \(M\), radiation parameter \(R_{d}\), and Deborah number \(\beta_{2}\) on Nusselt number. It is analysed that the Nusselt number is higher for larger values of \(\Pr ,\,\,St\) and \(\beta_{2}\) while it decreases with the increase in \(R_{d}\) and \(M\).

Figure 7
figure 7

Effects of St and Rd on temperature for heat generation/absorption.

Figure 8
figure 8

Effects of \(\psi\) on velocity and temperature for opposing and assisting flow.

Figure 9
figure 9

Effects of St, Pr, M, \(\beta_{1}\), \(\beta_{2}\) and Rd on local Nusselt number.

Lastly, the streamlines and isotherms pattern are on display in Figs. 10 and 11, it is observed that streamlines/isotherms diverge/converge more and more from/to an origin in opposing flow as compared to assisting flow accordingly.

Figure 10
figure 10

Contour plots of the streamlines for opposing and assisting flow.

Figure 11
figure 11

Contour plots of the isotherms for opposing and assisting flow.

Conclusions

The effect of heat source/sink in the thermally stratified MHD flow of an Oldroyd-B fluid over an inclined stretching surface is discussed. The outcomes of the present investigations are as follows.

  • Velocity profile decreases with an increase in \(St\) for opposing flow while opposite behaviour is observed for the assisting phenomenon.

  • Deborah number \(\beta_{1}\) increases the velocity profile for both opposing and assisting flows. However, the temperature decreases by increasing Deborah number \(\beta_{1}\) for both cases.

  • Velocity is an increasing function of impact of Deborah number \(\beta_{2}\).

  • Temperature and associated boundary layer thickness are increasing functions of radiation parameter.

  • Velocity profile decreases when radiation parameter \(R_{d}\) is increased while temperature profile is increased for higher values of radiation parameter \(R_{d}\) in case of opposing flow.

  • The Nusselt number is higher for greater values of \(\Pr ,\,\,St,\,\,R_{d}\) and \(\beta_{2}\) while it decreases with an increase in \(M\).

  • In the real life application, the Oldroyd-B fluid model corresponds to study the behavior of the flow of blood through an abdominal aortic segment (hemodynamics).