Introduction

Due to complicated relation between stress and strain in non-Newtonian fluids and their technological application, their study in fluid dynamics is more valuable1 than Newtonian fluids. Viscous fluids flow has attracted the attention of scientists and engineers because of its important applications notably in the flow of oil through porous rocks, the extraction of energy from geothermal regions, the filtration of solids from liquids and drug penetration through human skin. Second grade fluid is a subclass of non-Newtonian fluid in which velocity field has up to two derivatives in stress strain tensor relationship where as in Newtonian fluid it has derivatives up to first order. Flow of second grade fluid gains attention of the researchers in many boundary layer flows and have been successfully studied in various kinds of flows. Study of heat transfer in non-Newtonian fluids is much interesting for researchers now-a-days. The influences of temperature dependent viscosity on second grade fluid causes changes in the properties of the fluid. For the case of gases, the viscosity of the gas increases as heat given to gas while for liquid it becomes thin as temperature increases. As a result many scientist devoted to study the effects of variable viscosity models. Fetecau2,3,4 worked on the uniqueness of some helical flows of a second grade and Oldroyd-B fluids in cylindrical domains, they studied the fluid motion by applying time dependent stress on the boundary and studied the effects of physical parameters on the fluid motion. Further Jamil and Khan5 used the same technique for Burger’s fluid and obtain the result for velocity and shear stress. Keeping in view the importance of fluid flow in cylindrical domain researchers studied fluid motion in cylinders by considering different fluids and boundary conditions. Barnes et al.6,7 analyzed the polymer flow in circular cylinder by considering pulsatile APG, Davies et al.8 and Phan-Thien9 worked on the same problem for White-Metzner fluid. Jamil et al.10 obtained exact solutions for the motion of a fractionalized second grade fluid due to longitudinal and torsional oscillations of an infinite circular cylinder are determined by means of Laplace and finite Hankel transforms. Fetecau et al.11 obtained the solutions for the oscillating motion of a generalized Burgers fluid due to longitudinal oscillations of an infinite circular cylinder, as well as those corresponding to an oscillating pressure gradient, are established as Fourier–Bessel series in terms of some suitable eigenfunctions. The propagation of a heat wave in an incompressible second grade fluid within the context of a potential vortex was studied by Fetecau et al.12. Flow induced by non-coaxial rotation of a porous disk executing non-torsional oscillations of a second grade fluid was studied by Hayat et al.13. The fractional calculus approach in the constitutive relationship model of second grae fluid was introduced and the flow characteristics of the viscoelastic fluid in double cylinder rheometer were studied by Huang et al.14.

In fluid motion free convection is induced by buoyancy forces. These forces may arise due to density gradients and body forces. In free convection the Grashof number plays the same role as in forced convection the Reynolds number. The Grashof number is actually the ratio of buoyancy forces to viscous forces. Heat transfer due to convection has several industrial and technological applications. Their examples may be found in wire and fiber coating, manufacturing plastic films, artificial fibers, polymer sheets, chemical processing equipment and in the design of various heat exchangers. Mixed convection heat transfer in a horizontal channel filled with nanofluids studied by Fan et al.15. Gul et al.16 studied heat transfer in MHD mixed convection flow of a ferrofluid along a vertical channel and found that temperature and velocity of ferrofluids depend strongly on viscosity and thermal conductivity together with magnetic field. Gul et al.17 studied energy transfer in mixed convection MHD flow of nanofluid containing different shapes of nanoparticles in a channel filled with saturated porous medium. They concluded that viscosity and thermal conductivity are the most prominent parameters responsible for different results of velocity and temperature. Due to higher viscosity and thermal conductivity, C2H6O2 is regarded as better convectional base fluid compared to H2O. Chamkha18 studied non-similar solutions for mixed convective boundary layer flow a non-Newtonian fluid over a wedge embedded on a porous medium filled with a nanofluid. Sheikhzadeh et al.19 performed parametric study on MHD mixed convection of Cu-water nanofluid in a two-sided lid-driven porous cavity with a partial slip. Prasad et al.20 studied a convection flow over a permeable non-isothermal wedge and reveal many interesting behaviors and study of the flow and heat transfer characteristics over the permeable wedge. Hasnain et al.21 studied the effects of porosity and convection on MHD two phase fluid flow in an inclined channel. Straub et al.22 proposed a simple model that allow estimating the achievable drag reduction rates in duct flows as a function of the width of the duct and the spanwise extent of the controlled region and showed that this spanwise limitation of the oscillating region strongly diminishes the drag reduction potential of the control technique. Straub et al.23 studied the effect of selected thermal boundary conditions on a fully developed turbulent pipe flow. Younghae et al.24 studied Navier’s slip condition on time dependent Darcy-Forchheimer nanofluid using spectral relaxation method. A numerical investigation of laminar natural double diffusive convection in an open ended vertical cylindrical annulus with unheated entry and un-heated exit was performed by Sankar25. Natural convection flows in a vertical annulus filled with a fluid-saturated porous medium was investigated when the inner wall is subject to discrete heating by Sankar et al.26.

Shah and Khan studied heat transformation in second grade fluid by using fractional Caputo-Fabrizio derivatives27. Fetecau et al. observed effects of convection of fractional Oldroyd-B fluid flow with thermal diffusion28. Heat transfer in oscillating fractional Maxwell fluid is studied by Khan et al.29. Free convection flow of a unsteady second grade fluid is calculated by Ali et al.30. Hayat et al.31 studied slip flow and heat transfer of a second grade fluid past a stretching sheet through a porous space. Cortell32 studied the flow, chemical reaction and mass transfer of a steady laminar boundary layer flow of an electrically conducting fluid of second grade in a porous medium subject to a transverse uniform magnetic field past a semi-infinite impermeable stretching sheet. Ariel33 studied axisymmetric flow of a second grade fluid past a stretching sheet by using a perturbation method. Vajravelu et al.34 studied the flow and heat transfer characteristics in a second grade fluid over a stretching sheet with prescribed surface temperature including the effects of frictional heating, internal heat generation or absorption, and work due to deformation. Natural convection heat transfer for Newtonian fluid in an oscillating vertical cylinder is studied by Khan et al.35.

The aim of current study is to study the second grade fluid flow and natural convection heat transfer. We are pleased to acknowledge here that there is no work on natural convection heat transfer in cylindrical domains, current work in oscillating cylinder is new one. Integral transform technique is used to find exact solutions for temperature distribution and cosine and sine oscillations of velocity field. Moreover, velocity field is introduced in the form of transient and post-transient arrangements. To check the impact of dimensionless numbers (Grashof and Prandtl numbers) at different values of time, graphical illustrations are used. The transient solutions are also computed in tables. Furthermore, a special case for Newtonian fluid is obtained and a comparison between Newtonian and second grade fluid is depicted by a graph. Moreover, there are comparisons with solutions for second grade fluids obtained in various works by other researchers.

Problem Formulation and Solution

Consider a viscous second grade fluid in a vertical infinite cylinder having radius R. The z-axis is considered along the axis of cylinder in vertical upward direction and the radial coordinate r is taken normal to it, flow is consider to be unidirectional. Fluid flow is considered along z-direction and there is no fluid motion along θ and r. At time t ≤ 0 cylinder is at rest and both cylinder and fluid are at the same temperature T. After time t > 0 cylinder starts to oscillate with frequency ω along its axis. At the same time, the cylinder temperature raised to Tw which is thereafter maintained constant as shown in Fig. 1.

Figure 1
figure 1

Physical Model of the Problem.

We assume that the velocity and temperature are the function of r and t only. Therefore, velocity and temperature is of the following form35,

$${\bf{V}}=v(r,t);T=T(r,t).$$
(1)

For such a flow, taking the usual Boussinesq approximation, following set of partial differential equations governed the flow35,

$$\frac{\partial v(r,t)}{\partial t}=\nu \left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)v(r,t)+\frac{\alpha }{\rho }\frac{\partial }{\partial t}\left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)v(r,t)+g\beta (T-{T}_{\infty }),$$
(2)
$$\frac{\partial T(r,t)}{\partial t}=\frac{k}{\rho {c}_{p}}\left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)T(r,t),$$
(3)

where, v(r, t), v, α, ρ, g, β, T, k and cp is velocity, viscosity, material constant, density, gravitational acceleration, volumetric coefficient of thermal expansion, temperature, thermal conductivity and the heat capacity at constant pressure respectively.

The suitable initial and boundary conditions are

$$v(r,0)=0,T(r,0)={T}_{\infty },\,r\in [0,R],$$
(4)
$$v(R,t)={v}_{\circ }H(t)\exp (i\omega t),T(R,t)={T}_{w}\,t > 0,$$
(5)

where, vo and H(t) are characteristic velocity and unit step function respectively.

Next we use the non-dimensional variables and functions in order to determine solutions which are independent of the flow geometry,

$$\begin{array}{c}{t}^{\bullet }=\frac{{v}_{\circ }{}^{2}t}{\nu },\,{r}^{\bullet }=\frac{{v}_{\circ }r}{\nu },\,{v}^{\bullet }=\frac{v}{{v}_{\circ }},\,\theta =\frac{T-{T}_{\infty }}{{T}_{w}-{T}_{\infty }},\,{\alpha }^{\bullet }=\frac{\alpha {v}_{\circ }{}^{2}}{\mu \nu },\\ {\rm{Gr}}=\frac{\nu g\beta ({T}_{w}-{T}_{\infty })}{{{v}_{\circ }}^{2}},\,{\rm{\Pr }}=\frac{\mu {c}_{p}}{k},\end{array}$$
(6)

where, Gr and Pr are Grashof number and Prandtl number respectively.

After dropping out the “•” notation Eqs. (25) reduced to

$$\frac{\partial v(r,t)}{\partial t}=\left(1+\alpha \frac{\partial }{\partial t}\right)\left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)v(r,t)+Gr\theta (T-{T}_{\infty }),\,r\in (0,1),\,t > 0,$$
(7)
$$\frac{\partial \theta (r,t)}{\partial t}={\rm{\Pr }}\left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)\theta (r,t),r\in (0,1),t > 0,$$
(8)
$$v(r,0)=0,\theta (r,0)=0,\,r\in [0,1],$$
(9)
$$v(1,t)=H(t)\exp (i\omega t),\theta (1,t)=1,\,t > 0.$$
(10)

Temperature field

Taking the Laplace transform36 of Eqs. (8), (10) and keeping in mind Eq. (9),

$$q\overline{\theta }(r,q)=\frac{1}{{\rm{\Pr }}}\left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)\overline{\theta }(r,q),$$
(11)
$$\overline{\theta }(1,q)=\frac{1}{q}.$$
(12)

Now applying finite Hankel transform36 of order zero on Eq. (11)

$${\overline{\theta }}_{H}(r,q)=\frac{{J}_{1}({r}_{n})}{{r}_{n}}\left(\frac{1}{q}-\frac{1}{q+{{r}_{n}}^{2}/{\rm{\Pr }}}\right),$$
(13)

with its inverse Laplace transform

$${\theta }_{H}(r,q)=\frac{{J}_{1}({r}_{n})}{{r}_{n}}-\frac{{J}_{1}({r}_{n})}{{r}_{n}}\exp (-({{r}_{n}}^{2}/{\rm{\Pr }})t),$$
(14)

where, rn are positive roots of Bessel function.

Finally, apply inverse Hankel transform we get

$$\theta (r,t)=1-2\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}{J}_{1}({r}_{n})}\exp (-(\,{{r}_{n}}^{2}/{\rm{\Pr }})t),$$
(15)

the temperature distribution for the fluid.

Temperature gradient at the surface is equal to dimensionless number Nusselt number and it provides a measure of the convection heat transfer occurring at the surface37. So, in order to study the heat transfer from the cylinder surface to the fluid we determine the Nusselt number.

$$Nu=-{\left(\frac{\partial \theta (r,t)}{\partial r}\right)}_{r=1}=2\mathop{\sum }\limits_{n=1}^{\infty }\,\exp (-({{r}_{n}}^{2}/{\rm{\Pr }})t).$$
(16)

Velocity field

Applying the Laplace transform to Eqs. (7), (10) and using Eq. (9), the transformed problem is

$$q\bar{v}(r,q)=(1+\alpha q)\left(\frac{{\partial }^{2}}{\partial {r}^{2}}+\frac{1}{r}\frac{\partial }{\partial r}\right)\bar{v}(r,q)+Gr\bar{\theta }(r,q),$$
(17)
$$\bar{v}(1,q)=\frac{1}{q-i\omega }.$$

Applying the finite Hankel transform to Eq. (17)36

$$\begin{array}{c}{\bar{v}}_{H}({r}_{n},q)=(1+\alpha q)\left[\frac{1}{(q-i\omega )(q+{{r}_{n}}^{2})}{r}_{n}{J}_{1}({r}_{n})\right]+Gr\frac{{J}_{1}({r}_{n})}{{r}_{n}}\\ \,\left[\frac{1}{q(q+{{r}_{n}}^{2}}-\frac{1}{(q+{{r}_{n}}^{2})(q+\,{{r}_{n}}^{2}/{\rm{\Pr }})}\right].\end{array}$$
(18)

Applying inverse Laplace transform to above equation36, we obtain

$$\begin{array}{rcl}{v}_{H}({r}_{n},q) & = & \frac{{J}_{1}({r}_{n})}{{r}_{n}}\exp (i\omega t)-\frac{{J}_{1}({r}_{n})}{{r}_{n}}\frac{{\omega }^{2}}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (i\omega t)-\frac{{J}_{1}({r}_{n})}{{r}_{n}}\frac{i\omega {{r}_{n}}^{2}}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (i\omega t)\\ & & -\,\frac{{{r}_{n}}^{3}{J}_{1}({r}_{n})}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (-{{r}_{n}}^{2}t)+i\frac{\omega {r}_{n}{J}_{1}({r}_{n})}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (-{{r}_{n}}^{2}t)+\alpha [\frac{i\omega {J}_{1}({r}_{n})}{{r}_{n}}\exp (i\omega t)\\ & & -i\,\frac{{J}_{1}({r}_{n})}{{r}_{n}}\frac{{\omega }^{2}(\omega -i{{r}_{n}}^{2})}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (i\omega t)-\frac{{{r}_{n}}^{5}{J}_{1}({r}_{n})}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (\,-\,{{r}_{n}}^{2}t)+i\frac{\omega {{r}_{n}}^{3}{J}_{1}({r}_{n})}{{{r}_{n}}^{4}+{\omega }^{2}}\exp (-{{r}_{n}}^{2}t)]\\ & & +\frac{Gr{J}_{1}({r}_{n})}{{{r}_{n}}^{3}}+\frac{Gr{J}_{1}({r}_{n})}{{{r}_{n}}^{3}({\rm{\Pr }}-1)}\exp (\,-\,{{r}_{n}}^{2}t)+\frac{Gr{\rm{\Pr }}{J}_{1}({r}_{n})}{{{r}_{n}}^{3}({\rm{\Pr }}-1)}\exp \left(\frac{-{{r}_{n}}^{2}t}{{\rm{\Pr }}}\right);{\rm{\Pr }}\ne 1.\end{array}$$
(19)

Finally, applying the inverse Hankel transform36 the expression for the velocity field is obtained

$$\begin{array}{rcl}v(r,t) & = & \exp (i\omega t)-2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (i\omega t)-2i\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\exp (i\omega t)\\ & & -2\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{3}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)+2i\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)\\ & & +\alpha [i\omega \exp (i\omega t)-i2{\omega }^{3}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (i\omega t)-2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (i\omega t)\\ & & -2\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{5}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)+i2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{3}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)]\\ & & +\frac{2Gr}{\Pr -1}\mathop{\sum }\limits_{n=1}^{\infty }\,\left[[({\rm{\Pr }}-1)+\exp (-{{r}_{n}}^{2}t)-{\rm{\Pr }}\,\exp \left(\frac{-{{r}_{n}}^{2}t}{{\rm{\Pr }}}\right)]\frac{{J}_{0}(r{r}_{n})}{{r}_{n}{J}_{1}({r}_{n})}\right];{\rm{\Pr }}\ne 1.\end{array}$$
(20)

Cosine oscillation

The velocity field corresponding to cosine oscillation can be obtained form Eq. (20) by taking its real part. Further this solution can be separated into two parts transient and post-transient solution.

$${v}_{c}(r,t)={v}_{cp}(r,t)+{v}_{ct}(r,t).$$
$$\begin{array}{ll}{v}_{cp}(r,t)= & \cos \,\omega t-2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\cos \,\omega t-2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\sin \,\omega t\\ & +\,\alpha [\omega \,\sin \,\omega t-2{\omega }^{3}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\sin \,\omega t\\ & -2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\cos \,\omega t]+2Gr\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{{r}_{n}}^{2}{J}_{1}({r}_{n})},\end{array}$$
$$\begin{array}{rcl}{v}_{ct}(r,t) & = & -2\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{3}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (\,-{{r}_{n}}^{2}t)-2\alpha \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{5}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (\,-\,{{r}_{n}}^{2}t)\\ & & +\,\frac{2Gr}{{\rm{\Pr }}-1}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{{r}_{n}}^{3}{J}_{1}({r}_{n})}\left(\exp (\,-\,{{r}_{n}}^{2}t)-{\rm{\Pr }}\,\exp \left(\frac{-{{r}_{n}}^{2}t}{\Pr }\right)\right);{\rm{\Pr }}\ne 1.\end{array}$$

Sine oscillation

Similarly, the velocity field corresponding to sine oscillation can be obtained form Eq. (20) by taking its imaginary part. Further this solution can be separated into two parts transient and post-transient solution

$${v}_{s}(r,t)={v}_{sp}(r,t)+{v}_{st}(r,t),$$
$$\begin{array}{rcl}{v}_{sp}(r,t) & = & \sin \,\omega t-2{\omega }^{2}\mathop{\sum }\limits_{n\mathrm{=1}}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\sin \,\omega t-2\omega \mathop{\sum }\limits_{n\mathrm{=1}}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\cos \,\omega t\\ & & +\alpha [\omega \,\sin \,\omega t-2{\omega }^{3}\mathop{\sum }\limits_{n\mathrm{=1}}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\cos \,\omega t-2{\omega }^{2}\mathop{\sum }\limits_{n\mathrm{=1}}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\sin \,\omega t],\end{array}$$
$${v}_{st}(r,t)=2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)+\alpha 2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{3}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t).$$

Special case

By taking α → 0 in Eq. (20) velocity corresponding to Newtonian fluid is recover already obtained by Khan et al.35.

$$\begin{array}{lll}v(r,t) & = & \exp (i\omega t)-2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (i\omega t)-2i\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (i\omega t)\\ & & -2\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{3}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)+2i\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t)\\ & & +\frac{2Gr}{\Pr -1}\mathop{\sum }\limits_{n=1}^{\infty }\,\left[[({\rm{\Pr }}-1)+\exp (-{{r}_{n}}^{2}t)-{\rm{\Pr }}\,\exp \left(\frac{-{{r}_{n}}^{2}t}{{\rm{\Pr }}}\right)]\frac{{J}_{0}(r{r}_{n})}{{r}_{n}{J}_{1}({r}_{n})}\right];{\rm{\Pr }}\ne 1.\end{array}$$
(21)

Cosine oscillation

The velocity field corresponding to Newtonian fluid for cosine oscillation can be obtained form Eq. (21) by taking its real part. Further this solution can be separated into two parts transient and post-transient solution.

$$\begin{array}{rcl}{v}_{cp}(r,t) & = & \cos \,\omega t-2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\cos \,\omega t\\ & & -2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\sin \,\omega t+2Gr\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{{r}_{n}}^{2}{J}_{1}({r}_{n})}.\end{array}$$
$$\begin{array}{rcl}{v}_{ct}(r,t) & = & -2\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{{r}_{n}}^{3}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (\,-{{r}_{n}}^{2}t)+\frac{2Gr}{{\rm{\Pr }}-1}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{{r}_{n}}^{3}{J}_{1}({r}_{n})}\\ & & \times \,\left(\exp (-{{r}_{n}}^{2}t)-{\rm{\Pr }}\,\exp \left(\frac{-{{r}_{n}}^{2}t}{{\rm{\Pr }}}\right)\right).\end{array}$$

Sine oscillation

Similarly, the velocity field corresponding to Newtonian fluid for sine oscillation can be obtained form Eq. (21) by taking its imaginary part. Further this solution can be separated into two parts transient and post-transient solution.

$$\begin{array}{l}{v}_{sp}(r,t)=\,\sin \,\omega t-2{\omega }^{2}\mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{J}_{0}(r{r}_{n})}{{r}_{n}({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\sin \,\omega t-2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\,\cos \,\omega t.\end{array}$$
$${v}_{st}(r,t)=2\omega \mathop{\sum }\limits_{n=1}^{\infty }\,\frac{{r}_{n}{J}_{0}(r{r}_{n})}{({{r}_{n}}^{4}+{\omega }^{2}){J}_{1}({r}_{n})}\exp (-{{r}_{n}}^{2}t).$$

Numerical Results

Unsteady natural convection flow of second grade fluid through an oscillating infinite vertical cylinder is investigated in this study. The dimensionless governing equations for temperature and velocity are obtained by introducing the non-dimensional variables, Their exact solutions are computed by means of integral transformation. Some numerical results have been presented for different parameters in the form of graphs and depicted in Figs. (26) by using MATHCAD.

Figure 2
figure 2

θ(r, t) corresponding to different values of Pr.

Figure 3
figure 3

Nu corresponding to different values of Pr.

Figure 4
figure 4

vct(r, t) corresponding to different values of Gr.

Figure 5
figure 5

vct(r, t) corresponding to Different values of Pr.

Figure 6
figure 6

(a) Comparison for Newtonian and second grade fluid for vct(r, t), (b) Comparison for Newtonian and second grade fluid for vst(r, t).

Figure 2 is plotted with a specific goal to examine the impact of the Pr on the fluid temperature. For time t and Pr, curves relating to the dimensionless temperature are sketched versus the radial coordinate. Graphically it is pertinent that as the values of Prandtl number Pr enhances, fluid’s temperature decreases. As expected, increasing Pr reduces the thermal conductivity and enhances the viscousness of the fluid which results in reduction of thermal boundary layer thickness. From Eq. (15) we can observe that the exponential term tends fast to zero as time increases or, value of Prandtl number decreases. The heat transfer between the fluid and boundary is significant. From the central part of the graph we can say that fluid is not heated for small values of time and it heated as time increases.

Figure 3 represents the effect of Nu for variation in Pr. The Nusselt number is increases by increase in Pr. For small t, Nu is greater which implies that for smaller t the convection is extremely productive. For expansive estimations of the time t, the conduction is overwhelming and the heat exchange is created just by conduction for huge estimations of the time t (for t → 1, Nu → 0). With the decrease in Prandtl number the area of thermal boundary layer increases, therefore, the temperature gradient decreases with Pr.

Figure 4 is to check the effect of Grashof number on cosine velocity function. We take Pr = 0.75, ω = 1.5. It must be accentuated that, for smaller values of Gr the fluid velocity has low values. This is due the effect of the temperature on the fluid velocity solution. Low values of the Gr lead to reduced contribution of the temperature in the fluid flow, therefore, the viscous forces increases and the velocity decreases and vice versa for larger values of Gr.

Figure 5 depicted for velocity cosine function for variation in Pr. We take Gr = 0.7, ω = 1.7. For larger Pr, fluid velocity decreases. The buoyancy forces created by the density differences are high for the smaller values of the Prandtl number when the temperature is high. When the Prandtl number is large, the viscous damping action becomes bigger and fluid velocity decreases.

The decrease in the transient solution vct(r, t) and vst(r, t) can be observe from the Tables 1 and 2 respectively. From Table 1 clearly we can observe that by increasing in time up to t = 31 solution for vct(r, t) approaches to zero. From Table 2 clearly we can observe that by increasing in time up to t = 6 solution for vst(r, t) approaches to zero.

Table 1 Diminishing of vct(r, t), for Gr = 5, Pr = 5 and ω = 0.449.
Table 2 Diminishing of vst(r, t), for ω = 0.9.

Jamil et al.10 obtained exact solutions for the motion of a fractionalized second grade fluid, by applying limits on fractional parameter we reduce the result to second grade fluid and compare with our solution Table 3. Fetecau et al.11 obtained the solutions for the oscillating motion of a generalized Burgers fluid due to longitudinal oscillations of an infinite circular cylinder. By applying some limits we reduce the solutions for second grade fluid and compare with our calculated results Table 4.

Table 3 Comparison of current result with the results calculated by Jamil et al.10.
Table 4 Comparison of current result with the results calculated by Fetecau et al.11.

In Fig. 6 and Table 5 the velocities of the Newtonian and second grade fluids compared at same values of the parameters. From this figure we observe that velocity of the Newtonian fluid is greater in comparison to second grade fluid. This validate our results as Newtonian fluid offer low resistance to fluid flow as compared to second grade fluid.

Table 5 Comparison for Newtonian and second grade fluid.

Conclusion

Unsteady natural convection flow of second grade over an oscillating infinite vertical cylinder is investigated. The exact solutions for temperature and velocity fields are computed by means of integral transformations. Following important points are observed from the studied problem

  • Temperature is an increasing function of Pr.

  • The Nusselt number is increasing function of Pr.

  • Fluid velocity increasing with respect to Gr and decreases for Pr.

  • The transient solutions are noteworthy up to 10−14, after that point the fluid moves according with the post-transient solution.

  • The velocity of the Newtonian fluid is greater in comparison to second grade fluid.

  • This validate our results as Newtonian fluid offer low resistance to fluid flow as compared to second grade fluid.