1 Introduction

Microfluids exhibiting certain microscopic effects arising from the local structure and micromotions of the fluid elements were introduced and developed by Eringen [1]. These fluids support stress moments and body moments and are influenced by the spin inertia. Eringen’s theory has provided a good model to study a number of complicated fluids, including the flow of low-concentration suspensions, liquid crystal, blood and turbulent shear flows. However, Eringen [2] introduced a subclass of microfluids named micropolar fluid, which exhibits microrotational inertia. Physically, micropolar fluids may represent fluids consisting of rigid, randomly oriented particles suspended in a viscous medium, where the deformation of the particles is ignored. In this theory, the local fluid elements have the usual translatory degrees of freedom reckoned by the velocity vector and have in addition, degrees of freedom enabling the intrinsic rotatory motions described by the gyration vector. This constitutes a substantial generalization of the Navier–Stokes model since a new vector field, namely the angular velocity field or rotation of particles, is introduced. With the introduction of this new vector, one more vector equation is added in Navier–Stokes model which represents the conservation of angular momentum. Furthermore, four new viscosities are also introduced in the system of equations. If one of these viscosities, namely microrotation viscosity, becomes zero, the equation of conservation of the linear momentum becomes independent of the microstructure. Thus, the size of the microrotation viscosity coefficient allows us to measure the deviation of flows of micropolar fluids from that of the Navier–Stokes model.

Thermal effects in micropolar fluid flow problems have been extensively investigated due to a large number of applications in engineering problems which include engineering structure such as infinite fiber composites, sandwich structures, grid structures and honeycombs. Examples of successful application of micropolar theory to these materials are calculation of moduli of crystals exhibiting polar phenomenon by Akshar [3] and numerical analysis of steel concrete grid structures in civil engineering performed by Bazant and Christtensen [4]. Micropolar fluid also acts as lubrications to human joints. The other diverse areas to which the micropolar theory has been applied, include blood flow in porous biomaterials, cross-diffusion dialysis flows, sediment transport in rivers, application in power generators, refrigeration coils, transmission lines, electric transformers, aeronautics and submarine navigation, MHD accelerators, refrigeration coils, transmission lines, purification of crude oil, polymeric fluids, continuous casting of glass fiber, porous media, cooling of electronic equipments and metal extraction. Extensive reviews on micropolar theory and its applications are given by Ariman et al. [5, 6], Eringen [7], Lukaszewicz [8] and Bég et al. [9].

Walzer [10] analyzed the problem of convective instability of a micropolar fluid layer confined between two rigid boundaries and pointed out that the analysis of the instability finds applications in the area of geophysics. One of the applications is understanding the phenomena of rising of volcanic liquid with bubbles and convective processes inside the earth’s mantle. Ahmadi [11] studied the stability of a layer of micropolar fluid heated from below using linear theory as well as energy method. He proved the validity of principle of exchange of stabilities (PES) for the problem. He further showed that the micropolar fluid layer is stable than the classical (Bénard) fluid layer. Datta and Sastry [12] discussed the stationary convection of the micropolar fluid layer heated from below and derived an exact solution for the problem. Dhiman et al. [13] have studied the convective instability of micropolar fluid layer for general nature of boundaries using variational technique and derived the values of critical Rayleigh number for the onset of stationary convection.

Review of the literature reveals that the most studies related to the problems of heat transfer are based on the constant physical properties of the ambient fluid. However, to accurately predict the flow and heat transfer rates, it is necessary to take into account variation of viscosity. In all of the earlier mentioned studies by various authors, the viscosity of the fluid was assumed to be constant, but in recent years, many authors have investigated the influence of temperature-dependent viscosity in the problems of Rayleigh–Bénard convection. Palm [14] and Stengel et al. [15] have studied the convection in fluids with temperature-dependent viscosity. Booker and Stengel [16] have shown that there is a decrease in convective heat transport due to the increase in critical Rayleigh number with variable viscosity. Jenkins [17] considered the general dependence of viscosity on temperature and studied both linear and exponential dependence of viscosity and concluded that the linear dependence is realistic for fluids with small values of viscosity, while exponential dependence is more realistic for fluids with high viscosity. Many other authors including Selak and Lebon [18], Nield [19] and Straughan [20] have also investigated the onset of convection for the ordinary fluids with strongly temperature-dependent viscosity under various assumptions of hydrodynamics. Dhiman and Kumar [21] investigated the Rayleigh–Bénard convection with temperature-dependent viscosity for all combinations of rigid and dynamically free boundaries. Dhiman and Sharma [22] have also studied the effect of temperature-dependent viscosity on the thermal convection of nanofluid layer heated from below for general cases of boundaries.

Since in recent years, multi-physical micropolar flows have particularly emerged as a robust area of interest. Such flows involve magnetic effects, porous media and multi-mode mass heat transfer. Also, it is well known that in many industrial processes and applications, heat transfer is an integral part of the flow. Thus, micropolar fluid provides a mathematical model for accurately simulating the flow and heat transfer characteristics of polymeric additives, gel propellants, colloidal suspensions, liquid crystals, lubricants, bubbly liquids, paints, physiological fluids (blood), smoke-laden air and geological flows containing suspended sediments, in different geometries of fluid flow problem with different physical conditions to various situations of practical interest (cf. Eringen [7], Lukaszewicz [8]).

The above discussion provides us a motivation for the present investigations. Since the micropolar fluid model is both a significant and simple generalization of classical Navier–Stokes model and is adequate for exocitic lubricants, certain biological fluids and colloidal or suspensions solutions, convection is a dominant and important mode of heat transport in fluid flow problem and the incorporation of the variation in viscosity due to variation in temperature may have certain significant effect on the onset of convection. Our aim here is to study the effect of temperature-dependent viscosity on the onset of thermal convection in micropolar fluid layer heated from below. The validity of the principle of exchange of stabilities (PES) is investigated for this more general problem by Pellew and Southwell [23] method of conjugate eigenfunctions. A single-term Galerkin method is used to find general expressions for Rayleigh numbers for each combination of rigid and dynamically free boundaries. The values of critical Rayleigh numbers for each case of boundary combinations are computed numerically, for the case of stationary convection. The effects of microrotation parameters and the viscosity variation parameter on critical Rayleigh numbers are computed numerically.

2 Physical Configuration and the Eigenvalue Problem

Consider a viscous, incompressible micropolar liquid layer of infinite horizontal extension and finite vertical depth statically confined between two horizontal plane boundaries \( z = 0 \) and \( z = d \), which are, respectively, maintained at uniform temperatures \( T_{0} \) and \( T_{1} \left( {T_{0} > T_{1} } \right) \) in the force field of gravity \( \left( {0, 0, - g} \right) \). Since the liquid layer is heated from below, this maintains an adverse temperature gradient in the vertical direction. Our objective here is to investigate the stability of the above physical configuration by taking into account the variation in viscosity \( \left( {\mu = \mu_{0} f\left( z \right)} \right) \) due to the temperature variation for all combinations of bounding surfaces.

Following the usual steps of linear stability theory (cf. Datta and Sastry [12] and Chandrasekhar [24]), the non-dimensional linearized perturbation equations and boundary conditions governing the problem, with time dependence of the perturbations \( w,\,\theta \,{\text{and}}\,G \), respectively, represent the perturbations in the vertical velocity, the temperature and the microrotation of the form; \( \left( {\emptyset \left( z \right)} \right)e^{{\left[ {i\left( {k_{x} x + k_{y} y} \right) + nt} \right]}} \) can be easily obtained from the basic equations governing the problem of the thermal instability of micropolar fluid which are given by

$$ \begin{aligned} & \left( {f + K} \right)\left( {D^{2} - a^{2} } \right)^{2} w - \frac{p}{\sigma }\left( {D^{2} - a^{2} } \right)w \\ & \quad + 2\left( {Df} \right)D\left( {D^{2} - a^{2} } \right)w + D^{2} f\left( {D^{2} + a^{2} } \right)w \\ & \quad = - K\left( {D^{2} - a^{2} } \right)G + Ra^{2} \theta \\ \end{aligned} $$
(1)
$$ \left( {D^{2} - a^{2} - p} \right)\theta = - w $$
(2)
$$ \left( {\left( {D^{2} - a^{2} } \right) - 2A - \frac{{n_{1} Ap}}{K\sigma }} \right)G = A\left( {D^{2} - a^{2} } \right)w $$
(3)

subject to the following cases of boundary conditions;

Case 1 Both boundaries rigid

$$ w = 0 = \theta = G = D w \;{\text{at}}\;z = 0\;{\text{and}}\;z = 1 $$
(4)

Case 2 Both boundaries dynamically free

$$ w = 0 = \theta = G = D^{2} w\;{\text{at}}\;z = 0\;{\text{and}}\;z = 1 $$
(5)

Case 3 Lower rigid and upper boundary free

$$ \left. {\begin{array}{*{20}l} {w = 0 = \theta = G = Dw} \hfill & {{\text{at}}\;z = 0} \hfill \\ {w = 0 = \theta = G = D^{2} w } \hfill & {{\text{at}}\;z = 1} \hfill \\ \end{array} } \right\} $$
(6)

Case 4 Lower free and upper boundary Rigid

$$ \left. {\begin{array}{*{20}l} {w = 0 = \theta = G = D^{2} w } \hfill & {{\text{at}}\;z = 0} \hfill \\ {w = 0 = \theta = G = Dw} \hfill & {{\text{at}}\;z = 1} \hfill \\ \end{array} } \right\} $$
(7)

In the foregoing equations, \( p \) is the dimensionless growth rate; \( a \) is the dimensionless wave number; \( \sigma = \frac{\upsilon }{{\kappa_{0} }} \) is the Prandtl number; \( K = \frac{\kappa }{{\mu_{0} }} \) is micropolar viscous parameter; \( n_{1} = \frac{J}{{d^{2} }};\quad A = \frac{{\kappa d^{2} }}{\gamma } \) is micropolar couple stress; \( R = \frac{{g\alpha \beta d^{4} }}{{\kappa_{0} \upsilon }} \) is the Rayleigh number; \( \mu_{0} \) is the Newtonian viscosity of the fluid; \( \kappa \) is the microrotation viscosity; \( \rho_{o} \) is the density of the fluid; \( g \) is the gravitational force; \( \alpha \) is the coefficient of thermal expansion; \( \beta = \left( {\frac{{T_{0} - T_{1} }}{d}} \right) \) is the maintained uniform gradient; \( f\left( z \right) \) is the non-dimensional temperature-dependent viscosity variation function; \( \nu \) is the kinematic viscosity; and \( \kappa_{0} \) is coefficient of thermometric diffusivity.

The system of Eqs. (1)–(3) along with either of the boundary conditions (4)–(7) constitutes an eigenvalue problem (or characteristic value problem) for Rayleigh number R for the given values of the other parameters, namely \( a^{2} ,\;p,\; \sigma ,\; A,\; K\;{\text{and}}\;n_{1} \). A given state of system is stable, neutral or unstable with \( p_{r} \) (real part of \( p \)) being negative, zero or positive, respectively. Further, if \( p_{r} = 0 \) implies \( p_{i} = 0 \) for every wave number \( a \), then the principle of exchange of stability (PES) is valid, which means that stability sets in as stationary convection; otherwise, we shall have overstability at least when instability sets in as certain modes.

3 Principle of Exchange of Stabilities

Multiplying both sides of Eq. (1) by \( w^{*} \) (the complex conjugate of \( w \)), integrating the resulting equation over the vertical range of \( z \) and integrating the first term of the right-hand side of the resulting equation twice, we have

$$ \begin{aligned} & \mathop \int \limits_{0}^{1} w^{*} \left[ {\left( {f + K} \right)\left( {D^{2} - a^{2} } \right)^{2} w - \frac{p}{\sigma }\left( {D^{2} - a^{2} } \right)w} \right. \\ & \quad \left. { + \,2\left( {Df} \right)D\left( {D^{2} - a^{2} } \right)w + D^{2} f\left( {D^{2} + a^{2} } \right)w} \right]{\text{d}}z \\ & \quad = - K\mathop \int \limits_{0}^{1} G\left( {D^{2} - a^{2} } \right)w^{*} {\text{d}}z + Ra^{2} \mathop \int \limits_{0}^{1} w^{*} \theta {\text{d}}z \\ \end{aligned} $$
(8)

Now, substituting the values of \( \left( {D^{2} - a^{2} } \right)w^{*} \) and \( w^{*} \) obtained, respectively, from Eqs. (2) and (3) in the first and second terms on right-hand side of the above equation, we get

$$ \begin{aligned} & \mathop \int \limits_{0}^{1} w^{*} \left[ {\left( {f + K} \right)\left( {D^{2} - a^{2} } \right)^{2} w - \frac{p}{\sigma }\left( {D^{2} - a^{2} } \right)w + 2\left( {Df} \right)D\left( {D^{2} - a^{2} } \right)w + D^{2} f\left( {D^{2} + a^{2} } \right)w} \right]{\text{d}}z \\ & \quad = - K\mathop \int \limits_{0}^{1} G\left( {\left( {D^{2} - a^{2} } \right) - 2A - \frac{{n_{1} Ap^{*} }}{K\sigma }} \right)G^{*} - Ra^{2} \mathop \int \limits_{0}^{1} \left( {D^{2} - a^{2} - p^{*} } \right)\theta^{*} \\ \end{aligned} $$
(9)

Integrating the various integrals in Eq. (9) by parts a suitable number of times over the vertical range of z and using either of the boundary conditions (4)–(7), we have

$$ \begin{aligned} & \mathop \int \limits_{0}^{1} \left( {f + K} \right)\mathop \int \limits_{0}^{1} \left[ {\left| {D^{2} w} \right|^{2} + 2a^{2} \left| {Dw} \right|^{2} + a^{4} \left| w \right|^{2} } \right]{\text{d}}z + a^{2} \mathop \int \limits_{0}^{1} \left( {D^{2} f} \right)\left| w \right|^{2} {\text{d}}z + \frac{p}{\sigma }\mathop \int \limits_{0}^{1} \left[ {\left| {Dw} \right|^{2} + a^{2} \left| w \right|^{2} } \right]{\text{d}}z \\ & \quad = Ra^{2} \left[ {\mathop \int \limits_{0}^{1} \left| {D\theta } \right|^{2} + a^{2} \left| \theta \right|^{2} + p^{*} \left| \theta \right|^{2} {\text{d}}z} \right] + \frac{K}{A}\left[ {\mathop \int \limits_{0}^{1} \left| {DG} \right|^{2} + a^{2} \left| G \right|^{2} {\text{d}}z + \mathop \int \limits_{0}^{1} \left( {2A + \frac{{n_{1} Ap^{*} }}{K\sigma }\left| G \right|^{2} } \right){\text{d}}z} \right] \\ \end{aligned} $$
(10)

Equating the imaginary parts of both sides of Eq. (10), we get

$$ p_{i} \left( {\frac{1}{\sigma }\mathop \int \limits_{0}^{1} \left| {Dw} \right|^{2} + a^{2} \left| w \right|^{2} + n_{1} \left| G \right|^{2} {\text{d}}z + \mathop \int \limits_{0}^{1} Ra^{2} \left| \theta \right|^{2} {\text{d}}z} \right) = 0 $$
(11)

Since \( n_{1} ,\;\sigma \;{\text{and}}\;R \) are positive constants, therefore from Eq. (11), we have \( p_{i} = 0. \)

This establishes that the PES is valid for the present problem. It is remarkable to note that the validity of PES leads to a notable mathematical simplification since the transition from stability to instability occurs via a marginal stationary state characterized by \( p = 0. \) Mathematically, this means that the marginally stable modes with \( p_{r} = 0 \) also have \( p_{i} = 0 \).

4 Numerical Analysis

As has been proved above that the onset of convection is through stationary modes, therefore taking \( p = 0 \) in Eqs. (1)–(3), we have the following reduced forms of the equations

$$ \begin{aligned} & \left( {f + K} \right)\left( {D^{2} - a^{2} } \right)^{2} w + 2\left( {Df} \right)D\left( {D^{2} - a^{2} } \right)w \\ & \quad + D^{2} f\left( {D^{2} + a^{2} } \right)w = - K\left( {D^{2} - a^{2} } \right)G + Ra^{2} \theta \\ \end{aligned} $$
(12)
$$ \left( {D^{2} - a^{2} } \right)\theta = - w $$
(13)
$$ \left[ {\left( {D^{2} - a^{2} } \right) - 2A} \right]G = A\left( {D^{2} - a^{2} } \right)w $$
(14)

Following the analysis of Finlayson [25], we apply the Galerkin method to find the value of Rayleigh number by taking single term in the expansions of the functions: \( w \), \( \theta \) and \( G \) as

$$ \left. {\begin{array}{*{20}c} {w = lw_{1} \left( z \right)} \\ {\theta = m\theta_{1} \left( z \right)} \\ {G = nG_{1} \left( z \right)} \\ \end{array} } \right\} $$
(15)

where \( w_{1} \), \( \theta_{1} \) and \( G_{1} \) are suitably chosen trial functions which satisfy the respective boundary conditions (4)–(7) and \( l \), \( m \) and \( n \) are constants.

Now, multiplying equations obtained after substituting the above trial functions in Eqs. (12)–(14) by \( w_{1} \), \( \theta_{1} \) and \( G_{1} \), respectively, integrating each of the resulting equation by parts using relevant boundary conditions and eliminating \( l \), \( m \) and \( n \) from the resulting equations, we obtain the following expression for Rayleigh number as

$$ \begin{aligned} R & = \left( {\mathop \int \limits_{0}^{1} \left( {f + K} \right)\left[ {\left( {D^{2} w_{1} } \right)^{2} + 2a^{2} \left( {Dw_{1} } \right)^{2} + a^{4} \left( {w_{1} } \right)^{2} } \right]{\text{d}}z} \right. \\ & \quad + a^{2} \mathop \int \limits_{0}^{1} \left( {D^{2} f} \right)\left( {w_{1} } \right)^{2} {\text{d}}z \\ & \quad \left. { - KA\frac{{\left( {\mathop \int \nolimits_{0}^{1} G_{1} \left( {D^{2} - a^{2} } \right)w_{1} {\text{d}}z} \right)^{2} }}{{\mathop \int \nolimits_{0}^{1} \left[ {\left( {DG_{1} } \right)^{2} + a^{2} \left( {G_{1} } \right)^{2} + 2A\left( {G_{1} } \right)^{2} } \right]{\text{d}}z}}} \right) \\ & \quad \times \frac{{\mathop \int \nolimits_{0}^{1} \left[ {\left( {D\theta_{1} } \right)^{2} + a^{2} \left( {\theta_{1} } \right)^{2} } \right]{\text{d}}z}}{{a^{2} \left( {\mathop \int \nolimits_{0}^{1} \theta_{1} w_{1} {\text{d}}z} \right)^{2} }} \\ \end{aligned} $$
(16)

It is to note that the expression (16) is valid for all cases of boundary conditions. We shall now obtain the values of the Rayleigh numbers for each of the case of the boundary conditions, separately.

4.1 The Values of Critical Rayleigh Numbers

We now derive the expressions for Rayleigh numbers for each case of boundary conditions (4)–(7) and consequently the values of the critical Rayleigh numbers \( R_{c} \) for each of these cases, for both the exponential and linear cases of viscosity variations.

Let us consider the following non-dimensional exponential and linear viscosity variation laws (cf. Dhiman and Kumar [21])

$$ f = e^{\delta z} \quad {\text{and}}\quad f = \left( {1 + \delta z} \right) $$
(17)

where \( \delta \) is the viscosity variation parameter and is given by \( \gamma \beta d = \delta \). Here, \( \gamma \) measures the viscosity variation with temperature, \( \beta \) is the temperature gradient across the layer, and \( d \) is the vertical depth of the fluid layer. It is clear from the above expressions that the variation in the viscosity is a function of the magnitude of \( \beta \).

In the following, we shall discuss the case when both the boundaries are rigid in detail and obtain the values of Rayleigh numbers for each linear and exponential variation of viscosity numerically. It is remarkable to note that this case of combination of boundaries is realistic one and for which the exact solution in closed form is not obtainable.

4.2 Both Boundaries are Rigid

For this case of boundary conditions, the chosen trial functions are

$$ w = z^{4} - 2z^{3} + z^{2} ,\; \theta = z\left( {z - 1} \right)\;{\text{and}}\;G = z\left( {z - 1} \right) $$
(18)

With these choice of trial functions and the viscosity variation laws given in Eq. (17), we obtain the following expressions for Rayleigh numbers, respectively, for linear and exponential variation of viscosity

$$ \begin{aligned} (R_{rr}^{\exp } ) & = \frac{{1960\left( {10 + a^{2} } \right)}}{{3a^{2} }}\left[ {\frac{{ - AK\left( {28 + 3a^{2} } \right)^{2} }}{{5880\left( {10 + a^{2} + 2A} \right)}} + \frac{K}{630}\left( {504 + 24a^{2} + a^{4} } \right)} \right. \\ & \quad + \frac{4}{{\delta^{9} }}\left\{ {6a^{4} \left( { - 1680 - 840\delta - 180\delta^{2} - 20\delta^{3} - \delta^{4} } \right.} \right. \\ & \quad \left. { + e^{\delta } \left( {1680 + 840\delta + 180\delta^{2} - 20\delta^{3} + \delta^{4} } \right)} \right) \\ & \quad + \delta^{4} \left( { - 864 - 432\delta - 96\delta^{2} - 12\delta^{3} - \delta^{4} } \right. \\ & \quad \left. { + e^{\delta } \left( {864 - 432\delta + 96\delta^{2} - 12\delta^{3} + \delta^{4} } \right)} \right) \\ & \quad + 2a^{2} \delta^{2} \left( { - 7920 - 3960\delta - 852\delta^{2} - 96\delta^{3} - 5\delta^{4} } \right. \\ & \quad \left. {\left. {\left. { + e^{\delta } \left( {7920 - 3960\delta + 852\delta^{2} - 96\delta^{3} + 5\delta^{4} } \right)} \right)} \right\}} \right] \\ \end{aligned} $$
(19)

and

$$ \begin{aligned} & (R_{rr}^{\text{Lin}} ) = \frac{{1960\left( {10 + a^{2} } \right)}}{{3a^{2} }}\left( {\frac{{ - AK\left( {28 + 3a^{2} } \right)^{2} }}{{5880\left( {10 + a^{2} + 2A} \right)}}} \right. \\ & \quad \quad \quad \quad \left. { + \frac{K}{630}\left( {504 + 24a^{2} + a^{4} } \right)} \right) \\ & \quad \quad \quad \quad + \frac{{14\left( {2520\left( {4 + 2\delta } \right) + a^{2} \left( {1488 + 744\delta } \right) + a^{4} \left( {68 + 34\delta } \right) + a^{6} \left( {2 + \delta } \right)} \right)}}{{27a^{2} }} \\ \end{aligned} $$
(20)

The expression representing the value of critical wave number \( a_{c} \) at which the minimum value of \( (R_{rr}^{\exp } ) \) given by expression (19) exists is obtained by performing some numerical calculations. The expression so obtained is too lengthy and hence is omitted here for the sake of compactness. However, we have calculated the values of critical wave numbers \( a_{c} \) from the said expression and consequently the critical Rayleigh numbers from expression (19) for particular values of \( \delta \). The values so obtained are presented in Table 1 for different values of \( A \) and in Table 2 for different values of \( K \).

Table 1 Variation of \( \left( {R_{rr} } \right)_{c} \) with respect to \( \delta \) and \( A \) for different values of \( a_{c}^{2} \) and fixed value of \( K = 0.2 \), for Case 2 of boundary conditions
Table 2 Variation of \( \left( {R_{rr} } \right)_{c} \) with respect to \( \delta \;{\text{and}}\;K \) for different values of \( a_{c}^{2} \) and fixed value of \( A = 200 \), for Case 2 of boundary conditions

Further, for the case of linear variation of viscosity, \( (R_{rr}^{\text{Lin}} ) \) given in Eq. (20) attains its minimum value \( \left( {R_{rr}^{\text{Lin}} } \right)_{c} \) for different values of \( a_{c} \), given by positive root of equation

$$ \begin{aligned} & A_{2} \left( {A,K,\delta } \right)a^{10} + B_{2} \left( {A,K,\delta } \right)a^{8} + C_{2} \left( {A,K,\delta } \right)a^{6} \\ & + D_{2} \left( {A,K,\delta } \right)a^{4} + E_{2} \left( {A,K,\delta } \right)a^{2} + F_{2} = 0 \\ \end{aligned} $$
(21)

where \( A_{2} \left( {A,K,\delta } \right) = \left[ {14\left( {2 + \delta + 2K} \right)} \right] \)

$$ \begin{aligned} B_{2} \left( {A,K,\delta } \right) & = \left[ {\left( {2 + \delta } \right)\left\{ {518 + 112A} \right\} + 1036K} \right. \\ & \quad \left. { + 197AK} \right] \\ \end{aligned} $$
$$ \begin{aligned} C_{2} \left( {A,K,\delta } \right) & = \left[ {\left\{ {14\left( {2 + \delta } \right)\left( {100 + 8A^{2} } \right) + 112A} \right\}} \right. \\ & \quad \left. { + 2800 K} \right] \\ & \quad + 17\left\{ {\left( {2 + \delta } \right)\left( {280 + 112A} \right)} \right. \\ & \quad \left. { + 560K} \right\} + \left. {116A^{2} K + 5508AK} \right] \\ \end{aligned} $$
$$ \begin{aligned} D_{2} \left( {A,K,\delta } \right) & = \left[ { - 35280\left( {2 + \delta + 2K} \right)} \right. \\ & \quad + 17\left\{ {\left( {2 + \delta } \right)} \right.\left\{ {14\left( {100 + 8A^{2} } \right)} \right. \\ & \quad \left. {\left. { + 1120 A} \right\} + 2800K} \right\} + + 2260A^{2} \\ & \quad \left. { + 37732AK} \right] \\ \end{aligned} $$
$$ \begin{aligned} E_{2} \left( {A,K,\delta } \right) & = \left[ { - 2520} \right.\left\{ {\left( {2 + \delta } \right)\left( {280 + 112A} \right)} \right. \\ & \quad \left. {\left. { + 560K} \right\} - 517440AK} \right] \\ \end{aligned} $$
$$ \begin{aligned} F_{2} \left( {A,K,\delta } \right) & = \left[ { - 35280\left\{ {\left( {2 + \delta } \right)\left( {100 + 112A^{2} } \right.} \right.} \right. \\ & \quad \left. {\left. { + 1120A} \right) + 200K} \right\} \\ & \quad \left. { - 518520A^{2} K - 5409600AK} \right] \\ \end{aligned} $$

In the absence of micropolar parameters (i.e., \( A = 0 = K \)), Eq. (21) yields

$$ \left( {2 + \delta } \right)\left( {10 + a^{2} } \right)^{2} (a^{6} + 17a^{4} - 2520) = 0 $$
(22)

Here, \( a_{c} = 3.11 \) is the only positive root of Eq. (22), and \( (R_{rr}^{\text{Lin}} ) \) attains its minimum value

$$ \left( {R_{rr}^{\text{Lin}} } \right)_{c} = 874.988\left( {2 + \delta } \right)\;{\text{at}}\;a_{c} = 3.11. $$

This is the same value of Rayleigh number as obtained by Dhiman and Kumar [21] for the Rayleigh–Bénard convection with temperature-dependent viscosity. We also observe that in the absence of micropolar parameters and for the case of constant viscosity (i.e., when \( A = 0 = \delta = K \)), the value of critical Rayleigh number \( \left( {R_{rr} } \right)_{c} = 1750 \), obtained using Galerkin method, is very close to the well-known exact value 1707.7 at \( a_{c} = 3.11 \), as obtained by Chandrasekhar [24] for the Rayleigh–Bénard convection with constant viscosity.

It is clear from Eq. (21) that all the coefficients of fifth-degree equation in \( a^{2} \) involve \( A \) and \( K \) implicitly, and hence, it is difficult to obtain the values of critical wave numbers \( a_{c} \) given by any positive root of Eq. (21) analytically. Therefore, for particular values of \( \delta \), we have calculated the values of critical wave numbers \( a_{c} \) from expression (21) and consequently the critical Rayleigh numbers \( (R_{rr}^{\text{Lin}} )_{c} \) from expression (20). The results so obtained are also presented in Table 1 for different values of \( A \) and Table 2 for different values of \( K \) for the case of linear and exponential variation of viscosity. Further, Fig. 1a–b depicts the variation of Rayleigh number \( (R_{rr}^{\exp } ) \) with respect to \( \delta \) for fixed values of \( A {\text{and }}K \).

Fig. 1
figure 1

a Variation of \( R \) with respect to \( \delta \) for fixed value of \( A = 500 \) and different values of \( K = 0.2, 0.5, 1 \), for the case of both rigid boundaries. b Variation of \( R \) with respect to \( \delta \) for fixed value of \( K = 1 \) and different values of \( A = 10, 100, 600, \) for the case of both rigid boundaries

Now, proceeding exactly as in Case 1 of boundary conditions above, we obtain the analogous expressions for Rayleigh numbers for other cases of boundary combinations (Case 2, Case 3 and Case 4) using the suitably chosen trial functions (given below) satisfying the relevant boundary conditions, for both linear and exponential cases of viscosity variation as

$$ w = z^{4} - 2z^{3} + z,\quad \theta = z\left( {z - 1} \right) $$

and \( G = z\left( {z - 1} \right) \)

(Both boundaries are dynamically free)

$$ w = 2z^{4} - 5z^{3} + 3z^{2} , \;\theta = z\left( {z - 1} \right) $$

and \( G = z\left( {z - 1} \right) \)

(Lower rigid and upper free boundaries)

$$ w = 2z^{4} - 3z^{3} + z,\;\theta = z\left( {z - 1} \right) $$

and \( G = z\left( {z - 1} \right) \)

(Lower free and upper rigid boundaries)

The expressions for Rayleigh numbers so obtained in each of these cases of boundary conditions represent the analogous behavior with respect to \( a^{2} \) for different values of \( \delta \) and for fixed values of \( A {\text{and }}K \) for linear and exponential cases of variation of viscosity.

5 Discussion and Conclusions

A linear stability of micropolar liquid layer heated from below with temperature-dependent viscosity is investigated in the present analysis. The PES is proved to be valid for the problem which yields that the onset of convection in this general problem is through stationary mode. The expressions for the Rayleigh numbers (for both linear and exponential cases of viscosity variation for stationary mode) for each case of boundary conditions are obtained using a single-term Galerkin method.

From Fig. 1a and b, we conclude that for large values of temperature-dependent viscosity parameter \( \delta \) (which also includes the temperature gradient \( \beta \)), for increasing values of micropolar viscous parameter \( K \) and for marginally decreasing value of coupling parameter \( A, \) the value of Rayleigh number increases and hence viscosity parameter \( \delta \) has stabilizing effect on the onset of stationary convection of micropolar fluid layer in each case of boundary conditions. This may be due to the fact that for large values of \( \delta \), i.e., for more viscous fluid or for large temperature gradient \( \beta \), the flow rate decreases and consequently degrades the heat transfer performances. Thus, the value of critical Rayleigh number \( \left( {R_{c} } \right) \) increases. Hence, the viscosity parameter has stabilizing effect on the system.

From the variation of Rayleigh numbers presented in Table 1, we observe that increasing values of micropolar coupling parameter \( \left( A \right) \), decrease the couple stress of the fluid which causes a decrease in microrotation and hence makes the system more unstable as a result the value of Rayleigh number decreases and hence \( R_{c} \) also decreases. This implies that \( A \) has destabilizing effect on the onset of stationary convection in micropolar fluid layer in Case 1 of boundary conditions.

Similarly, from Table 2, we observe that the values of Rayleigh number increase with increasing values of micropolar viscous parameter \( K \). Since an increase in \( K \) indicates the increase in the concentration of microelements, these microelements consume the greater part of the energy of the system in developing the gyrational velocities of the fluid and as a result the onset of convection is delayed. This implies that \( K \) has a stabilizing effect on the onset of stationary convection.

It is to point out here that the Rayleigh numbers show the analogous variation with respect to \( a^{2} \) for different values of \( \delta \) and for fixed values of \( A\;{\text{and}}\;K \) for linear and exponential cases of variation of viscosity in other cases of boundary conditions also. Hence, the tables of values of variations are omitted here for the sake of compactness and repetition.

We also observe from the values presented in tables that \( a_{c} \) depends upon \( \delta \) for both exponential and linear variation of viscosity for each case of boundary condition. Further, we found that for fixed value of \( \delta \), the values of critical Rayleigh numbers \( \left( {R_{c} } \right) \) are higher in the case of exponential viscosity variation than the linear viscosity variation in each case of boundary condition, which means that the exponential varying viscosity is more stabilizing than the linear varying viscosity.

From the above analysis, we also observe that in the absence of micropolar parameters and variable viscosity (i.e., \( A = 0 = \delta = K \), the classical Bénard problem case), the values of critical Rayleigh numbers for each case of boundary conditions are very close to the values obtained by Chandrasekhar [24] for the Rayleigh–Bénard convection problem with constant viscosity for ordinary fluid and are also in close agreement with the values obtained by Dhiman and Kumar [21] for Rayleigh–Bénard convection problem with temperature-dependent viscosity (i.e., taking \( A = 0 = K \)). Thus, the above remarks clearly establish the generality of the results derived herein and thus are of wider applicability.