Introduction

Pure water, kerosene oil, ethylene and glycol inherently are the poor conductors of heat. To increase the thermal conductivity and other thermal properties of these fluids, over the years, many techniques have been used. One of these is to add an appropriate amount of some nano-sized particles to the fluids. Copper, silver, titanium and other nano-sized particles are used for this purpose. These nanoparticles are good conductors of heat and enable the base fluids to enhance their thermal properties. Many researchers have attempted to come up with a most general model that can be used to cope up with the above problems. Choi [1, 2], Buongiorno [3], Nield and Kuznetsov [4, 5] and others presented some of the models that are currently being used to study different properties of nanofluids. Researchers have showed their continued interest to study different problems utilizingthese models [610].

Flow through non parallel walls, inclined at an angle are of much importance in real world. Applications of these flows can be found in aerospace, chemical, civil, environmental, mechanical and bio-mechanical engineering. The model presented by Jeffery and Hamel [11, 12] has been used to describe these flows in different industrial and practical problems. Itprovides a drastically simplified model for the flows in rivers and channels. Many available studies have considered different properties related to this problem and have tried to investigate the flow characteristics by varying the angle between the walls [1318]. These studies used no slip boundary condition at the walls to analyze the different aspects of fluid’s velocity. Navier [19] suggested a more general boundary condition representing a fluid slip at the solid-liquid interface, according to which amount of liquid slip at the boundary is proportional to the shear stress at the wall. A constant of proportionality is also involved called the velocity slip parameter and has the dimensions of length. The applications of slip effect include, reduction of friction, energy conversation and mimicking biological water channels [20]. Many authors have shown significant interest in studying the slip effects in different geometries for different fluids [2124].

Literature survey reveals that for Jeffery–Hamel flow, effect of velocity slip was first studied by Dorrepaal [25]. Same problem has been studied for different types of nanofluids using different base fluids by adding variety of nanoparticles. All these studies were carried out using no-slip boundary condition [2628]. Recently, Khan et al, [29] presented a study regarding flow through converging and diverging channels incorporating velocity and temperature slip effects.

Inherent non-linearity of the equations governing the fluid flow and heat transfer makes the exact solutions of the problems least likely. To cope up with this problem, many analytical techniques have been developed and have been extensively used to study different non-linear problems governing physical phenomena [3038]. Variation of parameters method (VPM) is one of these analytical techniques [3941]. This techniqueneither requires any discretization nor does it dependonthe existence of small or large parameter to be implemented. This makes VPM an efficient, more user friendly and easy to implement. Many studies are available on applications of this method.

Purpose of this study is to deal with the combined effects of velocity slip and temperature jump on Jeffery Hamel flow with heat transfer. Viable similarity transformations have been used to convert the partial differential equations governing the flow into a system of ordinary differential equations. Water is used as a base fluid and copper and silver nanoparticles are added to study the effects of the slip parameters and other emerging parameters on the velocity and temperature profiles. Physical variations for both diverging and converging channels are presented with the help of graphs coupled with comprehensive discussions. VPM is used to solve the governing equations and comparisons are made between the present and already existing solutions.

Governing Equations

In this problem, we have considered an incompressible viscous fluid flow dueto source or sink at the intersection of two rigid plane walls.Angle betweenthe walls is \(2\upalpha \) (Fig. 1). Flow is assumed to be symmetric and purely radial. They are embedded in a medium filled with water based nanofluids containing different types of nano particles i.e. copper (Cu) or Silver (Ag). The base fluids and the nanoparticles are assumed to be in a thermal equilibrium. It is also assumed that there is a slip between the base fluids and nanoparticles. Under these assumptions velocity field takes the form \(\hbox {V}= [u_r, 0, 0]\), where \(u_r\)- is a function of r and \(\uptheta \) both.

Fig. 1
figure 1

Variation of \(F\left( \eta \right) \) for different values of \(\alpha \) for diverging channel

Fig. 2
figure 2

Variation of \(F\left( \eta \right) \) for different values of Re for diverging channel

The equations of continuity,motion and energy in polar coordinates in absence of body forcesunder imposed assumptions become [29]

$$\begin{aligned}&\displaystyle \frac{1}{r}\frac{\partial }{\partial r}(ru_r ) = 0,\end{aligned}$$
(1)
$$\begin{aligned}&\displaystyle \rho _{nf} \left( {u_r \frac{\partial u_r }{\partial r}} \right) =-\frac{\partial p}{\partial r}+\mu _{nf} \left[ {\frac{\partial ^{2}u_r }{\partial r^{2}}+\frac{1}{r}\frac{\partial u_r }{\partial r}+\frac{1}{r^{2}}\frac{\partial ^{2}u_r }{\partial \theta ^{2}}-\frac{u_r }{r^{2}}} \right] ,\end{aligned}$$
(2)
$$\begin{aligned}&\displaystyle -\frac{1}{\rho _{nf} r}\frac{\partial p}{\partial r}+\frac{2}{r^{2}}\frac{\mu _{nf} }{\rho _{nf} }\frac{\partial u_r }{\partial \theta }=0,\end{aligned}$$
(3)
$$\begin{aligned}&\displaystyle u_r \frac{\partial T}{\partial r}=\frac{k_{nf} }{\left( {\rho C_p } \right) _{nf} }\left[ {\frac{\partial ^{2}T}{\partial r^{2}}\!+\!\frac{1}{r}\frac{\partial T}{\partial r}\!+\!\frac{1}{r^{2}}\frac{\partial ^{2}T}{\partial \theta ^{2}}} \right] \!+\!\mu _{nf} \left[ {4\left( {\frac{\partial u_r }{\partial r}} \right) ^{2}\!+\!\frac{1}{r^{2}}\left( {\frac{\partial u_r }{\partial \theta }} \right) ^{2}} \right] .\nonumber \\ \end{aligned}$$
(4)

Supporting boundary conditions are,

$$\begin{aligned} {\begin{array}{l} {u_r =U,\qquad \qquad \frac{\partial u_r }{\partial \theta }=0, \qquad \frac{\partial T}{\partial \theta }=0} \\ {u_r =-\gamma _1 \frac{\partial u_r }{\partial \theta }, \qquad \qquad T=T_w -\delta _1 \frac{\partial T}{\partial \theta }} \\ \end{array} } \qquad \hbox {at} \qquad {\begin{array}{l} {\theta =0,} \\ {\theta =\alpha .} \\ \end{array} } \end{aligned}$$
(5)

where, \(T_w \) is the temperature at the wall, \(\gamma _1 \)and \(\delta _1 \) are the velocity slip and thermal slip parameters respectively.

From the equation of continuity (1), we can write

$$\begin{aligned} f(\theta )=ru_r \left( {r,\theta } \right) . \end{aligned}$$
(6)

Dimensionless form of the problem can be obtained by using

$$\begin{aligned} F(\eta )=\frac{f(\theta )}{f_{\max } }, \eta =\frac{\theta }{\alpha }, \beta \left( \eta \right) =\frac{T}{T_w }. \end{aligned}$$
(7)

Eliminating \(p\) from Eqs. (2), (3) and using Eqs. (6) and (7), we get a system of nonlinear ordinary differential equations in terms of normalized velocity profile \(F(\eta )\) and temperature profile \(\beta (\eta ),\)

$$\begin{aligned}&F^{{\prime }{\prime }{\prime }}(\eta ) +2\alpha \hbox {Re} \left( {1-\phi } \right) ^{2.5}A_1 F(\eta ) F^{\prime }(\eta )+4\alpha ^{2}F^{\prime }(\eta )=0,\end{aligned}$$
(8)
$$\begin{aligned}&\beta ^{{\prime }{\prime }}\left( \eta \right) +\frac{A_2 Ec\Pr }{A_3 \left( {1-\phi } \right) ^{2.5}}\left[ {4\alpha ^{2}F^{2}(\eta )+\left( {F^{\prime }(\eta )} \right) ^{2}} \right] =0. \end{aligned}$$
(9)

Using Eqs. (6) and (7), the boundary conditions (5) become

$$\begin{aligned}&F(0)=1,\, F^{\prime }(0)=0,\, F(1)=-\frac{\gamma }{\left( {1-\phi } \right) ^{2.5}} F^{\prime }(1) \nonumber \\&\beta (1)=1-\beta ^{\prime }(1),\, \beta ^{\prime }(0)=0. \end{aligned}$$
(10)

Re here is Reynolds number given by:

$$\begin{aligned} \hbox {Re}=\frac{f}{\upsilon }=\frac{Ur\alpha }{\upsilon } \left( {\begin{array}{l} Divergent\, Channel\!\!: \alpha >0, U>0 \\ Convergent\, Channel\!\!: \alpha <0,U<0 \\ \end{array}} \right) . \end{aligned}$$
(11)

Further, \(Ec=\frac{\mu c_p }{k},\,\Pr =\frac{U^{2}}{c_p T_w },\, \gamma =\frac{\gamma _1 }{\alpha }\) and \(\delta =\frac{\delta _1 }{\alpha }\), represent Eckert number, Prandtl number, velocity slip parameter and the thermal slip parameter, respectively, also

$$\begin{aligned} A_1&= \left( {\left( {1-\phi } \right) +\phi \frac{\rho _s }{\rho _f }} \right) ,\\ A_2&= \left( {1-\phi } \right) +\phi \frac{\left( {\rho C_p } \right) _s }{\left( {\rho C_p } \right) _f },\\ A_3&= \frac{k_{nf} }{k_f }=\frac{k_s +2k_f -2\phi \left( {k_f -k_s } \right) }{k_s +2k_f +\phi \left( {k_f -k_s } \right) }. \end{aligned}$$

Physical quantities of interest are the skin friction coefficient and Nusselt number defined as:

$$\begin{aligned} C_F&= \frac{\mu _{nf} \left( {\tau _{r\theta } } \right) _{\eta =1} }{\rho _{nf} U^{2}},\\ Nu&= \frac{-lk_f \left( {q_w } \right) _{\eta =1} }{kT_w }. \end{aligned}$$

In terms of Eqs. (8)–(11), we have

$$\begin{aligned} \hbox {Re}_r C_f&= A_1 \left( {1-\phi } \right) ^{2.5}F^{\prime }(1), \nonumber \\ \alpha Nu&= -A_3 \beta ^{\prime }(1). \end{aligned}$$
(12)

Solution Procedure

Solution Using VIM

To solve Eqs. (9) and (10) with the associated boundary conditions (11) using VIM [3339] the velocity and temperature can be written as,

$$\begin{aligned}&F_{n+1} \left( \eta \right) \!=\!F_n \left( \eta \right) \!+\!\int \limits _0^\eta {\lambda _F \left( s \right) \left( {F^{{\prime }{\prime }{\prime }}\left( s \right) +4\alpha ^{2}\mathop {\widetilde{F}^{{\prime }}\left( s \right) }\limits +\left( {1-\phi } \right) ^{2.5}A_1 2\alpha \hbox {Re}\widetilde{F}\left( s \right) {\widetilde{F}}^{{\prime }}\left( s \right) } \right) } ds, \\&\beta _{n+1} \left( \eta \right) \!=\!\beta _n \left( \eta \right) \!+\!\int \limits _0^\eta {\lambda _\beta \left( s \right) } \left\{ {\beta ^{{\prime }{\prime }}(\eta ) \!+\!\frac{A_2 Ec\Pr }{A_3 \left( {1-\phi } \right) ^{2.5}}\left( {4\alpha ^{2}\widetilde{F}^{2}(s)+\left( {\widetilde{F}^{{\prime }}(s)} \right) ^{2}} \right) } \right\} ds, \\ \end{aligned}$$

where, \(\lambda _F \left( s \right) \)and \(\lambda _\beta \left( s \right) \) are Lagrange multipliers for velocity and temperature profile respectively. We can get approximate Lagrange multipliers as \(\lambda _F \left( s \right) =-\frac{\left( {s-\eta } \right) ^{2}}{2!}\) and \(\lambda _\beta \left( s \right) =\left( {s-\eta } \right) \) so that the above iterative formula can be written as

$$\begin{aligned}&F_{n+1} \left( \eta \right) \!=\!F_n \left( \eta \right) \!-\!\int \limits _0^\eta {\frac{\left( {s\!-\!\eta } \right) ^{2}}{2!}\left( {F^{{\prime }{\prime }{\prime }}\left( s \right) \!+\!4\alpha ^{2}F^{{\prime }}\left( s \right) \!+\!\left( {1-\phi } \right) ^{2.5}A_1 2\alpha \hbox {Re}F\left( s \!\right) F^{{\prime }}\left( s \right) } \!\right) } ds, \\&\beta _{n+1} \left( \eta \right) =\beta _n \left( \eta \right) +\int \limits _0^\eta {\left( {s-\eta } \right) } \left\{ {\beta ^{{\prime }{\prime }}(\eta ) +\frac{A_2 Ec\Pr }{A_3 \left( {1-\phi } \right) ^{2.5}}\left( {4\alpha ^{2}F^{2}(s)+\left( {F^{{\prime }}(s)} \right) ^{2}} \right) } \right\} ds. \\ \end{aligned}$$

Consuming boundary conditions, we can get

$$\begin{aligned}&F_0 \left( \eta \right) =1+B\frac{\eta ^{2}}{2} ,\\&\beta _0 \left( \eta \right) =C. \end{aligned}$$

where B and C are the constants to be determined later by using the slip boundary conditions for velocity and temperature profiles.

Next few terms of the solution are given as

$$\begin{aligned}&F_1 \left( \eta \right) =1+B\frac{\eta ^{2}}{2}-\frac{B^{2}\alpha \hbox {Re}A_1 (1-\phi )^{2.5}\eta ^{6}}{20}- \left( {B\frac{\alpha ^{2}}{6}+B\frac{\hbox {Re}\alpha A_1 (1-\phi )^{2.5}}{12}} \right) \eta ^{4}, \nonumber \\&\beta _1 \left( \eta \right) \!=\!C\!-\! \frac{2Ec\Pr \alpha ^{2}A_2 }{A_3 (1\!-\!\phi )^{2.5}}\eta ^{2}\!-\!\frac{B^{2}Ec\Pr \alpha ^{2}A_2 }{30A_3 (1\!-\!\phi )^{2.5}}\eta ^{4}\!-\!\left( {\frac{B^{2}Ec\Pr A_2 }{12A_3 (1\!-\!\phi )^{2.5}}\!+\!\frac{BEc\Pr \alpha ^{2}A_2 }{3A_3 (1\!-\!\phi )^{2.5}}} \right) \eta ^{6}, \nonumber \\&F_2 \left( \eta \right) =1+B\frac{\eta ^{2}}{2}- \left( {B\frac{\alpha ^{2}}{6}+B\frac{\hbox {Re}\alpha A_1 (1-\phi )^{2.5}}{12}} \right) \eta ^{4} \nonumber \\&\quad +\left( {B\frac{\alpha ^{4}}{45}\!-\!\frac{B^{2}\alpha \hbox {Re}A_1 (1\!-\!\phi )^{2.5}}{120}\!+\!\frac{B\alpha ^{3}\hbox {Re}A_1 (1\!-\!\phi )^{2.5}}{45}\!+\!\frac{B\alpha ^{3}\hbox {Re}^{2}A_1 ^{2}\left( {(1-\phi )^{2.5}} \right) ^{2}}{1080}} \right) \eta ^{6} \nonumber \\&\quad +\left( {\frac{B^{2}\alpha ^{3}\hbox {Re}A_1 (1-\phi )^{2.5}}{180}\!+\!\frac{B^{2}\alpha ^{2}\hbox {Re}^{2}A_1 ^{2}(1-\phi )^{2.5}}{560}} \right) \eta ^{8}\!+\!\ldots . \nonumber \\&\beta _2 \left( \eta \right) =C- \frac{2Ec\Pr \alpha ^{2}A_2 }{A_3 (1-\phi )^{2.5}}\eta ^{2}-\frac{B^{2}Ec\Pr \alpha ^{2}A_2 }{30A_3 (1-\phi )^{2.5}}\eta ^{4} \nonumber \\&\quad \!+\!\left( {\frac{B^{2}Ec\Pr \alpha ^{2}A_2 }{90A_3 (1\!-\!\phi )^{2.5}}\!+\!\frac{2BEc\Pr \alpha ^{4}A_2 }{45A_3 (1\!-\!\phi )^{2.5}}\!+\!\frac{B^{2}Ec\Pr \alpha \hbox {Re}A_1 A_2 }{45A_3 }\!+\!\frac{BEc\Pr \hbox {Re}\alpha ^{3}A_1 A_2 }{45A_3 }} \right) \eta ^{6} \nonumber \\&\quad +\left( {\begin{array}{lll} \dfrac{B^{2}Ec\Pr \alpha ^{4}A_2 }{252A_3 (1-\phi )^{2.5}}+\dfrac{B^{2}Ec\Pr \alpha \hbox {Re}A_1 A_2 }{560A_3 }-\dfrac{B^{2}Ec\Pr \alpha ^{3}\hbox {Re}A_1 A_2 }{1260A_3 } \\ -\dfrac{(1-\phi )^{2.5}B^{2}Ec\Pr \alpha ^{2}\hbox {Re}^{2}A_1 ^{2}A_2 }{504A_3 } \\ \end{array}} \right) \eta ^{8}+\ldots \end{aligned}$$
(13)

In a similar manner, other iterations for the solution can also be obtained.

Solution Using VPM

To solve Eqs.(9) and (10) with the associated boundary conditions (11) using VPM [4045] the velocity and temperature can be written as,

$$\begin{aligned} F_{n+1} (\eta )&= B_1 +B_2 \eta +B_3 \frac{\eta ^{2}}{2} \\&-\int \limits _0^\eta {\left( {\frac{\eta ^{2}}{2!}-\eta s+\frac{s^{2}}{2!}} \right) \left( {\left( {1-\phi } \right) ^{2.5}A_1 2\alpha \hbox {Re}F_n (s)F_n ^{{\prime }}(s)+4\alpha ^{2}F_n (s)} \right) } ds, \\ \beta _{n+1} (\eta )&= C_1 +C_2 \eta \\&-\int \limits _0^\eta {\left( {\eta -s} \right) \left( {\frac{A_2 Ec\Pr }{A_3 \left( {1-\phi } \right) ^{2.5}}\left[ {4\alpha ^{2}{F^{2}_n}^{{\prime }}(s)+\left( {F_n {\prime }(s)} \right) ^{2}} \right] } \right) } ds, \end{aligned}$$

Consuming boundary conditions, we can write Eq. (14) as

$$\begin{aligned} F_{n+1} (\eta )&= 1\!+\!B\frac{\eta ^{2}}{2}\!-\!\int \limits _0^\eta {\left( {\frac{\eta ^{2}}{2!}\!-\!\eta s\!+\!\frac{s^{2}}{2!}} \right) \left( {\left( {1\!-\!\phi } \right) ^{2.5}A_1 2\alpha \hbox {Re}F_n (s)F_n ^{{\prime }}(s)\!+\!4\alpha ^{2}F_n (s)} \right) } ds,\\ \beta _{n+1} (\eta )&= C-\int _0^\eta {\left( {\eta -s} \right) \left( {\frac{A_2 Ec\Pr }{A_3 \left( {1-\phi } \right) ^{2.5}}\left[ {4\alpha ^{2}{F^{2}_n}^{{\prime }}(s)+\left( {F_n^{\prime }(s)} \right) ^{2}} \right] } \right) } ds, . \end{aligned}$$

where B and C are the constants to be determined later by using the slip boundary conditions for velocity and temperature profiles.

First few terms of the solution are given as

$$\begin{aligned}&F_0 \left( \eta \right) =1+B\frac{\eta ^{2}}{2} , \nonumber \\&F_1 \left( \eta \right) =1+B\frac{\eta ^{2}}{2}-\frac{B^{2}\alpha \hbox {Re}A_1 (1-\phi )^{2.5}\eta ^{6}}{20}- \left( {B\frac{\alpha ^{2}}{6}+B\frac{\hbox {Re}\alpha A_1 (1-\phi )^{2.5}}{12}} \right) \eta ^{4} , \nonumber \\&F_2 \left( \eta \right) =1+B\frac{\eta ^{2}}{2}- \left( {B\frac{\alpha ^{2}}{6}+B\frac{\hbox {Re}\alpha A_1 (1-\phi )^{2.5}}{12}} \right) \eta ^{4} \nonumber \\&\quad +\left( {B\frac{\alpha ^{4}}{45}\!-\!\frac{B^{2}\alpha \hbox {Re}A_1 (1\!-\!\phi )^{2.5}}{120}\!+\!\frac{B\alpha ^{3}\hbox {Re}A_1 (1\!-\!\phi )^{2.5}}{45}+\frac{B\alpha ^{3}\hbox {Re}^{2}A_1 ^{2}\left( {(1-\phi )^{2.5}} \right) ^{2}}{1080}} \right) \eta ^{6} \nonumber \\&\quad +\left( {\frac{B^{2}\alpha ^{3}\hbox {Re}A_1 (1-\phi )^{2.5}}{180}+\frac{B^{2}\alpha ^{2}\hbox {Re}^{2}A_1 ^{2}(1-\phi )^{2.5}}{560}} \right) \eta ^{8}+\ldots . \end{aligned}$$
(14)

First few terms for the solution of \(\beta \left( \eta \right) \) shall be of the form

$$\begin{aligned} \beta _0 \left( \eta \right)&= C, \nonumber \\ \beta _1 \left( \eta \right)&= C\!- \!\frac{2Ec\Pr \alpha ^{2}A_2 }{A_3 (1\!-\!\phi )^{2.5}}\eta ^{2}\!-\!\frac{B^{2}Ec\Pr \alpha ^{2}A_2 }{30A_3 (1\!-\!\phi )^{2.5}}\eta ^{4} \!-\!\left( {\frac{B^{2}Ec\Pr A_2 }{12A_3 (1\!-\!\phi )^{2.5}}\!+\!\frac{BEc\Pr \alpha ^{2}A_2 }{3A_3 (1-\phi )^{2.5}}} \right) \eta ^{6}, \nonumber \\ \beta _2 \left( \eta \right)&= C- \frac{2Ec\Pr \alpha ^{2}A_2 }{A_3 (1-\phi )^{2.5}}\eta ^{2}-\frac{B^{2}Ec\Pr \alpha ^{2}A_2 }{30A_3 (1-\phi )^{2.5}}\eta ^{4} +\left( \frac{B^{2}Ec\Pr \alpha ^{2}A_2 }{90A_3 (1-\phi )^{2.5}}\right. \nonumber \\&+\left. \frac{2BEc\Pr \alpha ^{4}A_2 }{45A_3 (1-\phi )^{2.5}}+\frac{B^{2}Ec\Pr \alpha \hbox {Re}A_1 A_2 }{45A_3 }+\frac{BEc\Pr \hbox {Re}\alpha ^{3}A_1 A_2 }{45A_3 } \right) \eta ^{6} \nonumber \\&+\left( {\begin{array}{l} \dfrac{B^{2}Ec\Pr \alpha ^{4}A_2 }{252A_3 (1-\phi )^{2.5}}+\dfrac{B^{2}Ec\Pr \alpha \hbox {Re}A_1 A_2 }{560A_3 }-\dfrac{B^{2}Ec\Pr \alpha ^{3}\hbox {Re}A_1 A_2 }{1260A_3 } \\ -\dfrac{(1-\phi )^{2.5}B^{2}Ec\Pr \alpha ^{2}Re^{2}A_1 ^{2}A_2 }{504A_3 } \\ \end{array}} \right) \eta ^{8}+\ldots \nonumber \\ \end{aligned}$$
(15)

In a similar manner, other iterations for the solution can also be obtained.

Results and Discussions

Influences of different emerging parameters on the velocity and temperature profile are discussed in this section. Two subsections are used to analyze the flow behavior under varying parameters. One is dedicated for the diverging channel while the other is for the converging channel. The thermo-physical properties of base fluid and nanoparticles are given in Table 1.

Table 1 Thermo-physical properties of water, kerosene and copper nanoparticles [7, 48]

Diverging Channel

Physical behavior of the flow under varying angle \(\alpha \) in the case of diverging channel is shown in Fig. 1. It can be seen that for an increase in opening angle \(\alpha \), a decline in velocity is observed. Maximum of the velocity is seen near the centerline, while in vicinity of the walls lower values of the velocity are observed. Velocity for Ag-Water nanofluid is slightly lower as compared to the velocity for Cu-Water. This is because of the higher values of Ag density. Figure 2 depicts the outcomes of increasing Reynolds number. Increasing values of Re tend to decelerate the flow considerably. A more curvy profile at the centerline of the channel can be observed. It can also be seen that forincreasing Re, backflow regions emerge that may lead to the separation near the walls.

Figure 3 demonstrates the behavior of nanoparticle volume fraction \(\phi \) on the flow in a diverging channel. It is evident,with an increase in the volume fraction of nanoparticles near the walls, a considerable change in the velocity can be seen, while there is almost a negligible effect at the centerline of the channel. Again, lower values of velocity are observed for Ag-Water case, it may be caused due to the increasing values of density that makes the nanoparticle to affect more. The velocity slip parameter increases the velocity quite rapidly as shown in Fig. 4. Since, the slip velocity condition is taken along the walls, therefore, no effect on the velocity is seen at the centerline of the channel.

Fig. 3
figure 3

Variation of \(F\left( \eta \right) \) for different values of \(\varphi \) for diverging channel

Fig. 4
figure 4

Variation of \(F\left( \eta \right) \) for different values of \(\gamma \) for diverging channel

To discuss the influence of \(\alpha \), Re, Ec,\(\delta \) and \(\gamma \) on the temperature profile for the case of diverging channel, Figs.  5, 6, 7, 8, 9 and 10 are plotted. Since we are taking water as a base fluid, therefore, the value of Prandtl number Pr is fixed as 6.2. Fig. 5 is sketched to see the effects of increasing angle \(\alpha \). With an increase in the gap between the walls, temperature of the fluid is seen to be getting higher. This increase is prominent at the centerline of the channel. Also, the temperature is seen to be on the higher side for silver nanoparticles as compared to the copper nanoparticles. Higher value of thermal conductivity of silver is a major cause for this increment in temperature. Almost identical behavior of the temperature profile is observed in Fig. 6 for rising Re. The only difference is that,the temperature is slightly on the higher side for increasing Re. It means that the increase in viscous forces is also responsible for an increase in the temperature.

Fig. 5
figure 5

Variation of \(\beta \left( \eta \right) \) for different values of \(\alpha \) for diverging channel

Fig. 6
figure 6

Variation of \(\beta \left( \eta \right) \) for different values of Re for diverging channel

Figure 7 explains the variations of temperature with increasing nanoparticle volume fraction. A definite rise in temperature is seen. Again, the temperature for silver nanoparticles is on the higher side. This explains the influence of higher thermal conductivity and specific heat. Also, copper nanoparticles are much more efficient to control the rise in temperature for various practical situations as compared to silver nanoparticles. Here, the temperature exhibits lower values for Cu nanoparticles as compared to Ag.

Fig. 7
figure 7

Variation of \(\beta \left( \eta \right) \) for different values of \(\phi \) for diverging channel

Fig. 8
figure 8

Variation of \(\beta \left( \eta \right) \) for different values of \(\gamma \) for diverging channel

Fig. 9
figure 9

Variation of \(\beta \left( \eta \right) \) for different values of \(\delta \) for diverging channel

Fig. 10
figure 10

Variation of \(\beta \left( \eta \right) \) for different values of \(Ec\) for diverging channel

Figures 7 and 8 illustrate the influence of different values oftemperature slip parameter and Eckert number Ec on the temperature profile. From Fig. 7, it can easily be seen that the temperature slip parameter affects the temperature profile starting near the walls continuing towards the centerline of the channel. Cu nano-fluid have slightly lower temperature as we move towards the center of the channel compared to Ag nano-fluid. Eckert number describes the effects due to the dissipation term in energy equation. Increase in viscous forces causes the dissipation to affect temperature profile more promptly. Due to higher thermal conductivity and specific heat, Ag nanoparticles affect the flow more at the center as compared to Cu nanoparticles.

Converging Channel

Behavior of the flow for changing \(\alpha \) and Re in converging channel is quite opposite to the one seen in diverging channel as depicted in Figs. 11 and  12. At the center of the channel, velocity seems to be constantand a steep decrease is seen near the walls of the channel that clearly exhibits the boundary layer character. Nanoparticle volume fraction increases the velocity for the case of converging channel. Figure 13 is plotted to verify this fact. For velocity slip parameter \(\gamma \), velocity profile behaves in a similar manner as we see for the case of diverging channel, i.e. an increase in velocity is observed (see Fig. 14).

Fig. 11
figure 11

Variation of \(F\left( \eta \right) \) for different values of \(\alpha \) for converging channel

Fig. 12
figure 12

Variation of \(F\left( \eta \right) \) for different values of Re for converging channel

Fig. 13
figure 13

Variation of \(F\left( \eta \right) \) for different values of \(\phi \) for converging channel

Fig. 14
figure 14

Variation of \(F\left( \eta \right) \) for different values \(\gamma \) for converging channel

Effects of angle \(\alpha \), Reynolds number Re, nanoparticle volume fraction \(\phi \), velocity slip parameter \(\gamma \), thermal slip parameter \(\delta \)and Eckert number Ec on the temperature profile for converging channel are presented in Figs. 15, 16, 17, 18, 19 and 20, respectively. It is clear that \(\beta \left( \eta \right) \) decreases with an increase in \(\alpha \), Re and \(\phi \). That is quite opposite as compared to diverging channel. For velocity slip parameter \(\gamma \), both the profiles are almost identical. Here, Cu and Ag nanoparticles have a slight difference in temperature and velocity that is same as for the case of diverging channel. \(\delta \) and Ec affect the temperature in a similar manner for converging channel and anincrease in temperature is observed. Further \(\beta \left( \eta \right) \) possess its maximum value near the locality of center of the channel for all these parameters.

Fig. 15
figure 15

Variation of \(\beta \left( \eta \right) \) for different values of \(\alpha \) for converging channel

Fig. 16
figure 16

Variation of \(\beta \left( \eta \right) \) for different values of Re for converging channel

Fig. 17
figure 17

Variation of \(\beta \left( \eta \right) \) for different values of \(\phi \) for converging channel

Fig. 18
figure 18

Variation of \(\beta \left( \eta \right) \) for different values of \(\gamma \) converging channel

Fig. 19
figure 19

Variation of \(\beta \left( \eta \right) \) for different values of \(\delta \) converging channel

Fig. 20
figure 20

Variation of \(\beta \left( \eta \right) \) for different values of \(Ec\) converging channel

It is important to show that the series solutions given in Eqs. (13)–(15) are convergent. Tables 2 and  3 are drawn to discuss the convergence of the solution obtained for both diverging and converging channels. It can be seen only eight iterations are enough for a convergent solution for both velocity and temperature profiles for Cu and Ag water nanofluids for the case of VPM, however VIM requires some more iterations to give convergent results. Table 4 gives a comparison of our computed results to the already existing solutions obtained by Mosta et al [42, 43]. An excellent agreement is seen between the solutions.

Table 2 Convergence of velocity and temperature proflies for Cu-Water with Pr = 6.2, Ec = 0.1, Re = 50 and \(\phi \,=\,\gamma \,=\,\delta \,=\,0.1\)
Table 3 Convergence of velocity and temperature proflies for Ag-Water with Pr = 6.2, Ec = 0.1, Re = 50 and \(\phi \,=\,\gamma \,=\,\delta \,=\,0.1\)
Table 4 Comparison of present results to the already existing solutions in literature for \(\phi \,=\,\gamma \,=\,\delta \,=\,0\)

Same problem is solved by using a well-known numerical method, i.e. Runge–Kutta method (RK-4). To validate our results, comparisons of VPM and VIM solutions to the numerical solutions for temperature distributions for both diverging and converging channels is presented in Tables 5 and 6. This shows the efficiency and simplicity of the solution obtained by VPM and VIMand proves that without doing much computation and hard work we can still attain an accurate solution very easily.

Table 5 Comparison of numericalVPM and VIM solutions for Cu-Water with Pr = 6.2, Ec = 0.1, Re = 50 and \(\phi \,=\,\gamma \,=\,\delta \,=\,0.1\)
Table 6 Comparison of numerical VPM and VIM solutions for Cu-Water with Pr = 6.2, Ec = 0.1, Re = 50 and \(\phi \,=\,\gamma \,=\,\delta \,=\,0.1\)

The influence of \(\alpha \), Re, \(\phi \) and slip parameter \(\gamma \) on skin friction coefficient \(C_F \) for diverging and converging channel for both Cu and Ag is shown in Table 7. It is evident that for a diverging channel \(C_F \) decreases with an increase in \(\alpha \), Re, \(\phi \) and \(\gamma \). In case of convergent channel, \(C_F \) increases with an increase in \(\alpha \)and Re but for increasing \(\gamma \) there is a decrement in \(C_F \). For Ag water case most of these values are on the higher side. Table 8 gives us numerical values for Nusselt number. Magnitude of Nusselt numbers is seen to be increasing function of Re, \(\alpha \), and temperature slip parameter for both diverging and converging channels while decreasing function for \(\phi \) and \(\gamma \) for both the channels. Here, for Cu Water case, these values are on the higher side as compared to Ag-water.

Table 7 Numerical values of skin friction coefficient for different values of parameters for diverging channel and converging channel
Table 8 Numerical values for Nusselt number for different values of parameters

Conclusions

Analytical and numerical solutions for the flow of nanofluids in a converging and diverging channel in presence of velocity and temperature slip is presented. Copper and silver nanoparticles are used to study the problem. Graphs are plotted to analyze the flow phenomena under varying parameters. Solutions are obtained by using VIM, VPM and RK-4 techniques. Excellent agreement is found betweenthe solutions. Present results are also compared with some of the already existing solutions in literature and the results are found to be in great agreement. Convergence analysis is also carried out to prove that our solutions are convergent. It can be concluded from the present study that for the case of diverging channel, backflow may occur near the walls that will lead to separation for some values of parameter involved. For converging channel, the boundary layer character is seen for some parameters. The velocity and temperature of silver nano-fluid are seen to be on the higher side for diverging channel, while the phenomena is reversed for converging channel. This problem can also be studied for different type of nanofluids using some other base fluids and nanoparticles.