Introduction

Nanofluid is a traditional liquid consistingof small particles of a diameter lower than 100 nm. It can be defined as a kind of fluid having the distinctive ability to improve the fluid thermal properties. Nanofluids have many applications in medicine, industry, and engineering.Choi1 tested that the thermal conductivity of the base fluid will be improved after adding a small amount of these nanoparticles. Tripathi et al.2 studied on peristaltic flow of nanofluids, and they ensure that the nanofluids yield suppressed back flow compared with Newtonian fluids. MHD transport of a third-grade nanofluid through a porous medium in the presence of thermal diffusion and diffusion thermo effects is discussed byEldabe et al.3. Mekheimer et al.4 analyzed the blood flow with gold nanoparticles in thecatheter. The flow behavior of a pseudo-plastic fluid containing tri-hybrid nanoparticles within the suspension; the flow is in the presence of different external effects such as Buoyancy forces, heat generation and viscous dissipations is discussed by Sohail et al.5. Nazir et al.6 examined the flow characteristics of a hyperbolic tangent liquid, considering the incorporation of ternary hybrid nanoparticles; the study analyzed the flow under various influencing factors, including a non-Darcy porous medium, surface rotation, external magnetic field, heat generation, and viscous dissipations. Many researchers have studied nanofluids flow through different surfaces7,8,9,10,11,12,13,14,15,16,17,18,19.

The study of non-Newtonian fluids is considered to be highly significant in engineering and applied science fields. There are various rheological models which utilizing to analyze and display the features of flow and transfer of heat. Although this model presents considerable mathematical complexity, it has garnered significant attention due to several compelling factors. Firstly, its constitutive relationship is established empirically, providing a practical approach. Secondly, the Eyring-Powell model exhibits both Newtonian behavior under both low and high shear stresses, making it particularly noteworthy. This model in the presence of different external forces plays an essential role in natural and geophysical processes which include delivery of dampness and temperature over environmental pollution, damaging of crops due to freezing, underground energy transport, geothermal reservoirs, thermal insulation, and agricultural fields20,21,22,23,24.

The phenomenon of both heat and mass transfer plays a significant role in various industrial and engineering processes, such as equipment power collectors, food processing, heat exchangers, damage of crops, refrigeration, and reservoir engineering in connection with thet hermal recovery process. So, in literature, convectional transport theories for heat and mass are utilized by several researchers.The flow phenomenon in this case is relatively complex because theseprocesses are containing heat transfer in non-Darcy porous media.Moreover, in the study of the dynamics of hot and salty springs of a sea. Fourier25 is the first who introduce the heat conduction law and heat transfer properties. The electromagnetic field and Biot number effects on non-Newtonian nanofluid flow with heat transfer through a non-Darcy porous medium are analyzed by Abouzeid26. Ismael et al.27 discussed the effect of temperature conditions, slip velocity, and entropy generation on MHD biviscosity micropolar nanofluid flow via a porous medium in a peristaltic channel. The flow of non-Newtonian fluid past a shrinking plate through a porous media with transferring heat and mass is explained by Eldabe et al.28. Several investigators discussed the flow with the impact of heat transfer of nanofluid29,30,31,32,33,34.

Electro-osmosis force (EOF) is due to the electrolyte solution flow under the effect of an external electric field on an ionized certain surface. The surface catches ions of the opposite sign from the electrolyte solution and holds the ions of the same sign to generate an electric double layer (EDL). In this case, electro-osmotic flow can be generated in combination with an electrolyte and an insulating solid. In addition, in natural unfiltered water, as well as buffered solutions, electro-osmotic flow can occur. The electro-osmosisexternal force isfirst studied by Reuss35. MHD peristaltic flow of Jeffery fluid through micro annulus in the presence of electro-osmosis force was studied by Mekheimer et al.36. Nadeem et al.37 observed electro-osmosis force on the microvascular blood flow. The electro-osmosis force and chemical reaction effects on the peristaltic flow of non-Newtonian nanofluid are focused on by Hegazy et al.38.

As stated by the above studies, the fundamental target of this study is to describe the impacts of time- periodic variations as well as electro-osmosis forces on the flow of Eyring-Powel nanofluid through a non-Darcy porous media. The fluid is flowing past an infinite vertical plate under the effects of viscous dissipation, Soret with Dufour impacts, chemical reaction, and heat source.We transform the system of non-linear partial differential equations which govern the problem into algebraic non-linear equations by using the explicit finite difference method. Then, the numerical formulas for the velocity, temperature, and nanoparticles concentration as well as the skin friction, reduced Nusselt number, and Sherwood number are obtained. The influences of diverse physical parameters on the various distributions are computed numerically and displayed through a set of graphs.The computed numerical results are given using tables for parameters of engineering importance. Furthermore, there is a strong correlation seen between the current solutions and the earlier stated outcomes in the relevant circumstances. Physically, nanofluids has several implementations in diverse scientific fields like the medical industry; medicine. For example, some nanoparticles are utilized in the therapy of cancer tumors. Additionally, the current study will serve as a vehicle for understanding more complex problems in industry, engineering such as separation processes, flow tracers, polishing of prosthetic heart valves, reducing friction in oil pipelines, cooling of metallic plates, and other fields.

Mathematical formulation

Eyring-Powell model13,20 is chosen to describe the non-Newtonian fluid, which is in the usual notation given as:

$$ \tau_{ij} = \left[ {\mu + \frac{1}{b}\sinh^{ - 1} \left( \frac{1}{a} \right)} \right]\frac{{\partial V_{i} }}{{\partial x_{j} }},\,\,\, \, $$
(1)

where \(\tau_{xx} = 2\mu \frac{\partial u}{{\partial x}} + \frac{1}{b}\sinh^{ - 1} \left( {\frac{2}{a}\frac{\partial u}{{\partial x}}} \right)\),

$$ \tau_{xy} = \tau_{yx} = \mu \left( {\frac{\partial u}{{\partial y}} + \frac{\partial v}{{\partial x}}} \right) + \frac{1}{b}\sinh^{ - 1} \left( {\frac{1}{a}\left( {\frac{\partial u}{{\partial y}} + \frac{\partial v}{{\partial x}}} \right)} \right), $$
$$ \tau_{yy} = 2\mu \frac{\partial v}{{\partial y}} + \frac{1}{b}\sinh^{ - 1} \left( {\frac{2}{a}\frac{\partial v}{{\partial y}}} \right). $$

Consider the infinite vertical plate entrenched in an incompressible fluid (see Fig. 1). Initially, the temperature and nanoparticles concentration of both are assumed at \(T_{\infty }\) and \(C_{\infty }\). Then, at t > 0, the plate temperature and nanoparticles concentration are elevated to \(T_{\omega }\) and \(C_{\omega }\), and a periodic temperature and nanoparticles concentration are assumed. A uniform magnetic field B0 is applied transversally to the flow. We choose any point of the flat vertical infinite plate to be the origin of the coordinate system, the x − axis is chosen along the vertical plate vertically upwards, and the y − axis perpendicular to the plate. The following set of differential equations can be written by using boundary-layer assumptions as6,8,13,20,29:

$$ \frac{\partial u}{{\partial t}} = v\frac{{\partial^{2} u}}{{\partial y^{2} }} + \frac{1}{\rho \,a\,b}\left( {\frac{{\partial^{2} u}}{{\partial y^{2} }}} \right)\frac{1}{{\sqrt {\frac{1}{{a^{2} }}\left( {\frac{\partial u}{{\partial y}}} \right)^{2} + 1} }} - \left( {\frac{{\sigma B_{0}^{2} }}{\rho } + \frac{v}{K}} \right)\,u\, - \overline{b} \,u^{2} + \rho_{e} \,E_{x} + \,g_{0} \beta (T - T_{\infty } ) + g_{0} \beta^{*} (C - C_{\infty } ), $$
(2)
$$ \begin{aligned} \frac{\partial T}{{\partial t}} & = \frac{k}{{\rho \,C_{p} }}\frac{{\partial^{2} T}}{{\partial y^{2} }} + \frac{v}{{C_{p} }}\left( {\frac{\partial u}{{\partial y}}} \right)^{2} + \frac{1}{{\rho bC_{p} }}\left( {\frac{\partial u}{{\partial y}}} \right)\sinh^{ - 1} \left( {\frac{1}{a}\frac{\partial u}{{\partial y}}} \right)\, + \nabla \cdot \underline{q} \\ &\quad+ \frac{{\sigma B_{0}^{2} u^{2} }}{{\rho C_{p} }} + \,\frac{{D_{B} K_{T} }}{{C_{p} C_{s} }}\frac{{\partial^{2} C}}{{\partial y^{2} }} + Q_{0} \,(T - T_{\infty } ) + D_{B} \,\left( {\frac{\partial T}{{\partial y}}\,\frac{\partial C}{{\partial y}}} \right) + D_{T} \,\left( {\frac{\partial T}{{\partial y}}} \right)^{2} , \end{aligned} $$
(3)
$$ \frac{\partial C}{{\partial t}} = D_{B} \frac{{\partial^{2} C}}{{\partial y^{2} }} + \frac{{D_{T} }}{{T_{m} }}\frac{{\partial^{2} T}}{{\partial y^{2} }} - A(C - C_{\infty } )^{m} . $$
(4)
Figure 1
figure 1

Sketch of the problem.

The appropriate initial and boundary conditions of the above equations may be expressed as20,29:

$$ u = 0,\,\,\,\,\,\,T = T_{\infty } ,\,\,\,\,\,\,C = C_{\infty } \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,for\,all\,\,\,\,t \le 0, $$
(5a)
$$ \begin{gathered} u = 0,\,\,\,\,\,T = T_{\infty } + \varepsilon \,(T_{\omega } - T_{\infty } )\cos \omega \,t,\,\,\, \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,C = C_{\infty } + \varepsilon \,(C_{\omega } - C_{\infty } )\cos \omega \,t\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,at\,\,y = 0,\,\,\,\,\,t > 0, \hfill \\ \end{gathered} $$
(5b)
$$ u \to 0,\,\,\,\,T \to T_{\infty } ,\,\,\,\,C \to C_{\infty } \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{\text{as}}\,\,\,\,\,y \to \infty ,\,\,\,\,t > 0, $$
(5c)

By usingtheRosseland approximation39, the radiative heat flux may be defined as:

$$ q_{y} = \frac{{ - 4\sigma^{ * } }}{{3k_{R} }}\frac{{\partial T^{4} }}{\partial y}. $$
(6)

The temperature differences within the flow are small such that T4 may be expressed as a linear function of temperature. This is achieved by expanding T4 in a Taylor series about Tm and omitting higher-order terms39, one gets:

$$ T^{4} \approx 4T_{m}^{3} \,T - 3T_{m}^{4} . $$
(7)

By applyingGaussian’s law14,36,37,38, one gets:

$$ \nabla \cdot \underline{E} = \rho_{e} \,\overline{\varepsilon } , $$
(8)

We assume that the electric field is a conservative field14,36,37,38, then

$$ \underline{E} = - \nabla \varphi \,\,{\text{and therefore}},\,\,\nabla^{2} \varphi = - \rho_{e} \,\overline{\varepsilon } , $$
(9)

By using theBoltzmann distribution14,36,37,38, the net charge density can be written as:

$$ \rho_{e} = - Z_{\nu } \,e\,(n^{ - } - n^{ + } ), $$
(10)
$$ n^{ \pm } = n_{0} \, e^{{ \mp \frac{{e \, z_{\nu } }}{{k_{B} T_{av} }}\,\varphi }} , $$
(11)

According to the Debye–Huckel linearization principle \(\frac{{e \, z_{\nu } }}{{k_{B} T_{av} }} \ll 1\), then, Eq. (10) became as follows:

$$ \rho_{e} = \frac{{\overline{\varepsilon } }}{{\lambda_{e}^{2} }}\varphi , $$
(12)

where \(\lambda_{e} = \frac{1}{{e \, z_{\nu } }}\sqrt {\frac{{\overline{\varepsilon } \,k_{B} \,T_{av} }}{{2n_{0} \,}}}\) Then, according to boundary-layer assumption, Eq. (10) may be written as:

$$ \frac{{d^{2} \varphi }}{{dy^{2} }} = \frac{1}{{\lambda_{e}^{2} }}\varphi . $$
(13)

Let us introduce the following dimensionless quantities6,13,14,20,29:

$$ t^{ * } = \frac{t}{{t_{R} }},\,\,\,\,\omega^{ * } = t_{R} \,\omega ,\,\,\,\,y^{*} = \frac{y}{{L_{R} }},\,\,\,u^{*} = \frac{u}{{u_{R} }},\,\,\,T^{*} = \frac{{T - T_{\infty } }}{{T_{\omega } - T_{\infty } }},\,\,C^{*} = \frac{{C - C_{\infty } }}{{C_{\omega } - C_{\infty } }},\,\,\,\,\varphi^{*} = \frac{\varphi }{\xi }, $$
(14)
$$ {\text{where}}\,\,u_{R} = (\nu g_{0} \beta \Delta T)^{\frac{1}{3}} ,\,\,L_{R} = \left( {\frac{{g_{0} \beta \Delta T}}{{\nu^{2} }}} \right)^{{ - \frac{1}{3}}} \,\,{\text{and}}\,\,\,t_{R} = (g_{0} \beta \Delta T)^{{ - \frac{2}{3}}} \nu^{\frac{1}{3}} . $$
(15)

Then, Eq. (13) may be expressed as:

$$ \frac{{d^{2} \varphi }}{{dy^{2} }} = m_{e}^{2} \,\varphi . $$
(16)

By applying the boundary conditions \(\varphi = 1\,\,\,\,at\,\,\,y = 0\) and \(\varphi \to \infty \,\,\,\,at\,\,\,y \to \infty\), the analytical solution of Eq. (16) may be expressed as:

$$ \varphi = e^{{ - m_{e} \,y}} . $$
(17)

Then, the system of Eqs. (2), (3) and (4) is obtained in the dimensionless form as follows, after dropping the star mark

$$ \frac{\partial u}{{\partial t}} = \left( {1 + \frac{{\hat{\alpha }}}{{\sqrt {\gamma \,\left( {\frac{\partial u}{{\partial y}}} \right)^{2} + 1} }}} \right)\,\frac{{\partial^{2} u}}{{\partial y^{2} }}\, - \left( {M + \frac{1}{Da}} \right)\,u - Fs\,u^{2} + U_{HS} \,m_{e}^{2} \,e^{{ - m_{e} \,y}} + T + N\,C, $$
(18)
$$ \begin{aligned} \frac{\partial T}{{\partial t}} & = \frac{(3 + 4R)}{{3\Pr }}\frac{{\partial^{2} T}}{{\partial y^{2} }} + Ec\,\left( {\frac{\partial u}{{\partial y}}} \right)^{2} \, + \frac{Ec}{\delta }\,\left( {\frac{\partial u}{{\partial y}}} \right)\,\sinh^{ - 1} \left( {\sqrt \gamma \frac{\partial u}{{\partial y}}} \right)\, \\ &\quad+ M\,Ec\,u^{2} \, + \,Q_{0} \,T\, + Nb\,\left( {\frac{\partial T}{{\partial y}}\,\frac{\partial C}{{\partial y}}} \right) + Nt\,\left( {\frac{\partial T}{{\partial y}}} \right)^{2} + D_{f} \frac{{\partial^{2} C}}{{\partial y^{2} }}, \end{aligned} $$
(19)
$$ \frac{\partial C}{{\partial t}} = \frac{1}{Sc}\frac{{\partial^{2} C}}{{\partial y^{2} }} + \frac{Nt}{{Nb}}\,\frac{{\partial^{2} T}}{{\partial y^{2} }} - \delta \,C^{m} , $$
(20)

The initial and boundary conditions in the dimensionless form are

$$ u = 0,\,\,T = 0, \,\,C = 0{\text{ for}}\,\,{\text{all y}},{\text{ t}} \le 0, $$
(21a)
$$ u = 0,\,\,T = \varepsilon \,{\text{cos }}\omega {\text{t}}, \,C = \varepsilon \,{\text{cos}}\,\,\omega {\text{t}} \,\,{\text{at y}} = 0, {\text{t}} > 0, $$
(21b)
$$ {\text{and }}u \to 0, T \to 0, C \to 0 {\text{as}} {\text{y}} \to \infty , {\text{t}} > 0 $$
(21c)

The finite difference method

The governing Eqs. (18) → (20) and the boundary conditions (21a, 21b and 21c) are solved numerically by using a standard explicit finite–difference technique16. Here, we can write

$$ \begin{gathered} \frac{\partial u}{{\partial t}} = \frac{{u_{i}^{n + 1} - u_{i}^{n} }}{\Delta \tau } + O(\Delta \tau ),\,\,\,\,\,\,\,\,\,\,\frac{\partial T}{{\partial t}} = \frac{{T_{i}^{n + 1} - T_{i}^{n} }}{\Delta \tau } + O(\Delta \tau ), \hfill \\ \frac{\partial C}{{\partial t}} = \frac{{C_{i}^{n + 1} - C_{i}^{n} }}{\Delta \tau } + O(\Delta \tau ),\,\,\,\,\,\,\frac{\partial u}{{\partial y}} = \frac{{u_{i + 1}^{n} - u_{i}^{n} }}{\Delta y} + O(\Delta y), \hfill \\ \frac{{\partial^{2} u}}{{\partial y^{2} }} = \frac{{u_{i + 1}^{n} - 2\,u_{i}^{n} + u_{i - 1}^{n} }}{{(\Delta y)^{2} }} + O(\Delta y)^{2} , \hfill \\ \frac{{\partial^{2} T}}{{\partial y^{2} }} = \frac{{T_{i + 1}^{n} - 2\,T_{i}^{n} + T_{i - 1}^{n} }}{{(\Delta y)^{2} }} + O(\Delta y)^{2} , \hfill \\ \frac{{\partial^{2} C}}{{\partial y^{2} }} = \frac{{C_{i + 1}^{n} - 2\,C_{i}^{n} + C_{i - 1}^{n} }}{{(\Delta y)^{2} }} + O(\Delta y)^{2} , \hfill \\ \end{gathered} $$
(22)

where the indexi refers to y and the∆ y = h = 0.05 and ∆\(\tau\) = 0.003. According to the boundary conditions (21a, 21b and 21c), theMathematica package is used to solve Eqs. (18), (19) and (20) numerically, then a Newton iteration method continues until either the goals specified by accuracy goal or precision goal are achieved and determine the velocity and uniform magnetic field as afunction of y.

Consistency of the finite difference scheme

The term consistency, which is applied to a finite difference method, means that the procedure may in fact approximate the solution of the partial differential equation of the present problem and not the solution of any other partial differential equation. The consistency is measured in terms of the difference between a differential equation and a difference equation. For consistency of Eqs. (18), (19) and (20), we estimate

$$ \begin{gathered} \left\{ {\frac{{u_{i}^{n + 1} - u_{i}^{n} }}{\Delta \tau } - \left( {\frac{{u_{i + 1}^{n} - 2u_{i}^{n} + u_{i - 1}^{n} }}{{(\Delta y)^{2} }}} \right)\left( {1 + \frac{{\hat{\alpha }}}{{\sqrt {\gamma \left( {\frac{{u_{i + 1}^{n} - u_{i}^{n} }}{\Delta y}} \right)^{2} + 1} }}} \right)\, + \left( {M + \frac{1}{{D_{a} }}} \right)\,u_{i}^{n} - Fs\,\left( {u_{i}^{n} } \right)^{2} + } \right. \hfill \\ \left. {U_{HS} \,m_{e}^{2} \,e^{{ - m_{e} \,i\Delta y}} - T_{i}^{n} - N\,C_{i}^{n} } \right\} - \left\{ {\frac{\partial u}{{\partial t}} - \left( {1 + \frac{{\hat{\alpha }}}{{\sqrt {\gamma \,\left( {\frac{\partial u}{{\partial y}}} \right)^{2} + 1} }}} \right)\,\frac{{\partial^{2} u}}{{\partial y^{2} }}\, - \left( {M + \frac{1}{Da}} \right)\,u - } \right. \hfill \\ \left. {Fs\,u^{2} + U_{HS} \,m_{e}^{2} \,e^{{ - m_{e} \,y}} + T + N\,C} \right\}_{i,n} = O(\Delta \tau ) + O(\Delta \eta ), \hfill \\ \end{gathered} $$
(23)
$$ \begin{gathered} \left\{ {\frac{{T_{i}^{n + 1} - T_{i}^{n} }}{\Delta \tau } - \frac{(3 + 4R)}{{3\Pr }}\left( {\frac{{T_{i + 1}^{n} - 2T_{i}^{n} + T_{i - 1}^{n} }}{{(\Delta y)^{2} }}} \right) - Ec\,\left( {\frac{{u_{i + 1}^{n} - u_{i}^{n} }}{\Delta y}} \right)^{2} \,\, - \,\,\frac{{E_{c} }}{\delta }\left( {\frac{{u_{i + 1}^{n} - u_{i}^{n} }}{\Delta y}} \right) \times } \right. \hfill \\ \,\sinh^{ - 1} \left( {\sqrt \gamma \left( {\frac{{u_{i + 1}^{n} - u_{i}^{n} }}{\Delta y}} \right)} \right)\, - MEc\,(u_{i}^{n} )^{2} \, - Q_{0} \,T_{i}^{n} - Nb\,\left( {\frac{{T_{i + 1}^{n} - T_{i}^{n} }}{\Delta y} \times \frac{{C_{i + 1}^{n} - C_{i}^{n} }}{\Delta y}} \right) - \hfill \\ \left. { - Nt\,\left( {\frac{{T_{i + 1}^{n} - T_{i}^{n} }}{\Delta y}} \right)^{2} - D_{f} \left( {\frac{{C_{i + 1}^{n} - 2C_{i}^{n} + C_{i - 1}^{n} }}{{(\Delta y)^{2} }}} \right)} \right\}\, - \left\{ {\frac{\partial T}{{\partial t}} - \frac{(3 + 4R)}{{3\Pr }}\frac{{\partial^{2} T}}{{\partial y^{2} }} - Ec\,\left( {\frac{\partial u}{{\partial y}}} \right)^{2} \, - } \right. \hfill \\ \left. {\frac{Ec}{\delta }\,\left( {\frac{\partial u}{{\partial y}}} \right)\,\sinh^{ - 1} \left( {\sqrt \gamma \frac{\partial u}{{\partial y}}} \right)\, - M\,Ec\,u^{2} \, - \,Q_{0} \,T\, - Nb\,\,\left( {\frac{\partial T}{{\partial y}}\,\frac{\partial C}{{\partial y}}} \right) - Nt\,\left( {\frac{\partial T}{{\partial y}}} \right)^{2} - D_{f} \frac{{\partial^{2} C}}{{\partial y^{2} }}} \right\} \hfill \\ = O(\Delta \tau ) + O(\Delta y), \hfill \\ \end{gathered} $$
(24)
$$ \begin{aligned} & \left\{ {\frac{{C_{i}^{n + 1} - C_{i}^{n} }}{\Delta \tau } - \frac{1}{Sc}\left( {\frac{{C_{i + 1}^{n} - 2C_{i}^{n} + C_{i - 1}^{n} }}{{(\Delta y)^{2} }}} \right) - \frac{Nt}{{Nb}}\left( {\frac{{T_{i + 1}^{n} - 2T_{i}^{n} + T_{i - 1}^{n} }}{{(\Delta y)^{2} }}} \right) + \delta \,\left( {C_{i}^{n} } \right)^{m} } \right\} \\ &\quad- \left\{ {\frac{\partial C}{{\partial t}} - \frac{1}{Sc}\frac{{\partial^{2} C}}{{\partial y^{2} }} - \frac{Nt}{{Nb}}\,\frac{{\partial^{2} T}}{{\partial y^{2} }} + \delta \,C^{m} } \right\} = O(\Delta \tau ) + O(\Delta \eta ). \end{aligned} $$
(25)

Here, R.H.S. of Eqs. (23), (24) and (25) represent truncation error as \(\Delta \tau \to 0\) with \(\Delta y \to 0\), the truncation error tends to zero. Hence our explicit scheme is consistent.

Global error estimation

We useZadunaisky technique4, to calculate the global error estimation G. E. E., which can be explained in the following steps:

  1. (1)

    Interpolate the functions \(u_{i}^{n}\),\(T_{i}^{n}\) and \(C_{i}^{n}\) withtheir first derivatives, where (i = 1,2,….., 6) from their values, name them Pi (i = 1,2,...,6), and interpolate the functions of \(u^{\prime\prime},\,T^{\prime\prime}\,\,{\text{and}}\,C^{\prime\prime}\), and name them as \({\text{R}}_{{1}} (y) = u^{\prime\prime},\,\,\,{\text{R}}_{{2}} (y) = T^{\prime\prime},\,\,\,{\text{R}}_{{3}} (y) = \,\,C^{\prime\prime}\).

  2. (2)

    Calculate the detect functions Di (i = 1,2,…,6), which can be written as follows:

  3. 1.

    D1(y) = \({\text{P}}_{1}^{\prime } - {\text{P}}_{2}\) = 0, D2(y) = \({\text{P}}_{2}^{\prime } - {\text{R}}_{{1}} (y)\),

  4. 2.

    D3(y) = \(P_{3}^{\prime } - {\text{P}}_{4}\) = 0, D4(y) = \({\text{P}}_{4}^{\prime } - {\text{R}}_{{2}} (y)\),

  5. 3.

    D5(y) = \(P_{5}^{\prime } - {\text{P}}_{6}\) = 0, D6(y) = \({\text{P}}_{6}^{\prime } - {\text{R}}_{{3}} (y)\),

  6. (3)

    Add the detect functions Di (i = 1,2,…,6) to the original problems and replace every Yi by another variable Zi (i = 1,2,...,6).

  7. (4)

    Solve the pseudo -problem by the same method to get the solution \(Z(z)\) whose elements \(Zi\) (i = 1,2,…,6).

  8. (5)

    Calculate the global error from the relation en = Zn-P(zn), (n = 1,2,…,6), where Zn is the approximate solution of the pseudo -problemat the point \(zn\) and \(Z(zn)\) is the exact solution of the pseudo -problemat \(zn\). Obviously, the exact solution of pseudo –problemis. Z(zn)= P(zn).

  9. (6)

    The values of the global error are presented in Table 1. This error is based on using 11 points to find the interpolating polynomials PI (I = 1, 2,… 6), of degree 104.

Table 1 The values of the global error estimation for the velocity, temperature and nanoparticles concentration.

In order to achieve the above task we use the Mathematica package 10.1.

The skin-friction,heat and mass transfer40

The skin-frictioncoefficient reduced Nusselt number and Sherwood number in the non-dimensional form can be written as:

$$ \tau_{\omega } = \left[ {\frac{{\partial^{2} u}}{{\partial y^{2} }}\left( {1 + \frac{\alpha }{{\sqrt {\gamma \left( {\frac{\partial u}{{\partial y}}} \right)^{2} + 1} }}} \right)} \right]_{y = 0} , $$
(26)
$$ Nu = - \left[ {\frac{\partial T}{{\partial y}}} \right]_{y = 0} , $$
(27)
$$ Sh = - \left[ {\frac{\partial C}{{\partial y}}} \right]_{y = 0} . $$
(28)

We can write equations (26), (27) and (28) by using finite difference method as follows:

$$ \tau_{\omega } = \left( {\frac{{u_{2}^{n} - 2u_{1}^{n} + u_{0}^{n} }}{{(\Delta y)^{2} }}} \right)\,\left( {1 + \frac{\alpha }{{\sqrt {\gamma \left( {\frac{{u_{1}^{n} - u_{0}^{n} }}{\Delta y}} \right)^{2} + 1} }}} \right), $$
(29)
$$ Nu = - \left( {\frac{{T_{1}^{n} - T_{0}^{n} }}{\Delta y}} \right), $$
(30)
$$ Sh = - \left( {\frac{{C_{1}^{n} - C_{0}^{n} }}{\Delta y}} \right). $$
(31)

Results and discussion

In this section, we show the effects of the problem'sphysical parameters on the velocity of the fluid, temperature, nanoparticles concentration, skin frictioncoefficient, reduced Nusselt number, and Sherwood number. These impacts were evaluated by setting the following standard values:

\(\omega =0.005, \gamma =0.4, \varepsilon =0.05, , , M=10, Da=0.1,Fs=0.5, Gr=0.5,Pr=2.5, Q=5, Ec=1, Sc=1, Df=0.05, Nb=2.5, Nt=3.5,,\)\(U_{HS} = 2\), R = 1, m = 1, and \(\delta = 0.1\).

Figures 2 and 3 are plotted to illustrate the influence of both theHelmholtz–Smoluchowski velocity dimensionless \(U_{HS}\) and the electro-osmotic parameter \(m_{e}\) on the velocity distribution \(u(y)\). It is observed that the velocity distribution increases with an increase in the value of \(U_{HS} .\) Meanwhile, it decreases as \(m_{e}\) increases.Physically, Coulomb force induced by an electric field charges in a solution causes electro-osmotic flow. Because the chemical balance between a surface and an electrolyte solution usually leads to the interface acquiring a net fixed electrical charge, a layer of mobile ions, known as the Debye layer, creates in the region near the interface. When an electric field is applied to the fluid, the net charge in the electrical double layer is induced to move by the resulting Coulomb force. The resulting flow is termed electro-osmotic flow. So, the bigger resulting Coulomb force and consequently easily fluid flow. It is also noted that for each value of both \(U_{HS}\) and \(m_{e}\), there exists a maximum value of uand all maximum values occur at \(y \simeq 0.49\). Figure 4 illustrates the effect of the buoyancy ratioNon the velocitydistribution u. It is found that the velocity increases withan enlargement inNin the intervals \(y\in \left[0.0, 0.3\right]\cup \left[1.2,\right).\) otherwise it decreases by increasing N. So, the behavior of u in the interval \(y \in [0.3, 1.2]\), is an inversed manner of its behavior in the other intervals. In this case, for each value of N, there are maximum values of u hold at \(y = 0.65.\) Figure 5 illustrates the impact of the thermophoresis parameter \(Nt\) on the velocity distribution \(u(y)\). It is depicts that in the interval of the coordinate \(y[0.0, 1.29]\), the behavior of u for various values of \(Nt\) is exactly similar to the behavior of u for various values of \(m_{e}\) given in Fig. 3. It is also noted, from Fig. 5, that in the interval of the radial coordinate \(y[1.29, )\), the behavior of u is an inversed manner of its behavior in the \(y[0.0, 1.29]\) except that the curves are very close to each other in the second interval. Moreover, in the first interval, there is a maximum value of u holds at \(y =0.62\) and this maximum value slightly increases with an elevation in the value of \(Nt\).

Figure 2
figure 2

The velocity u is plotted with y, for different values of UHS.

Figure 3
figure 3

The velocity u is plotted with y, for different values of me.

Figure 4
figure 4

The velocity u is plotted with y, for different values of N.

Figure 5
figure 5

The velocity u is plotted with y, for different values of Nt.

The variations of the temperature distribution T with the dimensionless coordinate y for various values ofboth Eckert number \(Ec\) and radiation parameter R are displayed throughout Figs. 6 and 7 respectively. The graphical results of Figs. 6 and 7 indicate that the temperature distribution T increases with an increase in the parameter Ec.From the physical point of view; during the motion of the fluid particles, the fluid viscosity converts some kinetic energy into thermal energy. This process is called viscous dissipation because it occurs due to viscosity. So, viscous dissipation can be defined as a heat source that results from the irreversible work done by the fluid flow to conquer the shear forces layers in the flow and appears as an increase in the fluid temperature. Consequently, it interprets the result in Fig. 6. This behavior is in agreement with that reported by40,41. Meanwhile, it declineswith an enhancement in the value ofR. It is also noted that T increases with y till a definite value y = y0 (represents the maximum value of T) and it decreases afterward. Similarly, we draw the variation of T with y for different values of the thermophoresis parameter Df in Fig. 8, we will obtain a figure in which the behavior of the curves is the same as that obtained in Fig. 6, with the only difference that the obtained curves are very larger to each other than those obtained in Fig. 6. The results in Fig. 8, is due to the following; the Dufour effect is the energy flux due to a mass concentration gradient occurring as a coupled effect of irreversible processes. It is the reciprocal phenomenon to the Soret effect2. The concentration gradient results in a temperature change. So, it always makes to increase the energy of luiquids.

Figure 6
figure 6

The temperature T is plotted with y, for different values of Ec.

Figure 7
figure 7

The temperature T is plotted with y, for different values of R.

Figure 8
figure 8

The temperature T is plotted with y, for different values of Df.

Brownian motion as a natural phenomenon, is the random motion of particles suspended in a mediumwhich may be a liquid or gas. This motion pattern typically consists of random fluctuations in a particle's position inside a fluid sub-domain, followed by a relocation to another sub-domain. Each relocation is followed by more fluctuations within the new closed volume. This pattern describes a fluid at thermal equilibrium and makes to increase the nanoparticles concentration. This will clarify the next result. Figures 9 and 10 represent the behaviors of the nanoparticles concentration distribution C with the dimensionless coordinate y for different values of Brownian motion parameter Nb and Dufour number Df, respectively. It is observed from Figs. 9 and 10, that the nanoparticles concentration enhances with the increase of Nb. Whereas it dwindles as \(Df\) elevates, respectively. On the other hand, it had an inverse effect near the wall y = 0, namely in the interval y  [0.0, 0.18]. It is also noted that the difference of the nanoparticles concentration distribution C for different values of Nb and Df, becomes lower with increasing the coordinate y and reaches minimum value, after which it increases. Figure 11 illustrates the effect of Schmidt number Sc on the nanoparticles concentration distribution C as a function of the dimensionless coordinate y. It is found that in the interval of the radial coordinate y \(\in\)[0.0, 1.1], the behavior of C for various values of Sc is exactly similar to the behavior of C for various values of Nb given in Fig. 9. It is also noted, from Fig. 11 that in the interval of the coordinate y \(\in\)[1.1, \(\infty\)), the behavior of C is an inversed manner of its behavior in the interval y \(\in\)[0.0, 1.1], except that the curves are very close to each other in the first interval. In this case, for any value of the parameter Sc, there is a minimum value of \(C\) holds at y = 0.49, and this minimal slightly decreases by increasing the value of Sc. The influence of the thermal radiation parameter R on the nanoparticles concentration distribution C is illustrated in Fig. 12. It is found that the effect of R on C is opposite to the impact of \(Sc\) on C given in Fig. 11, with the only difference that, the curves in Fig. 11 are very close to those to each other in the first interval than those obtained in Fig. 12. Now, we will explicate how the radiation parameter affects the nanoparticles concentration. The thermal radiation parameter is defined as the relative contribution of conduction heat transfer to thermal radiation transfer. It is evident that an increase in the radiation parameter causes in decreasing the nanoparticles concentration within the layer. The impacts of other parameters are similar tothat obtained in Figs. 9 and 10. But, they are excluded here to avoid any kind of repetition.

Figure 9
figure 9

The nanoparticles concentration C is plotted with y, for different values of Nb.

Figure 10
figure 10

The nanoparticles concentration C is plotted with y, for different values of Df.

Figure 11
figure 11

The nanoparticles concentration C is plotted with y, for different values of Sc.

Figure 12
figure 12

The nanoparticles concentration C is plotted with y, for different values of Sc.

Figures 13 and 14 illustrate the behavior of skin friction coefficient \(\tau_{\omega }\) with the time t, for various values of the electro-osmotic parameter \(m_{e}\) and Dufour number Df. It is observed from these figures that skin friction coefficient increases as \(m_{e}\) increases, while it decreases with the increase of Df. Moreover, we can notice from Figs. 13 and 14 that skin friction coefficient is always negative and decreases as t increases and at a finite value of t, the relation between \(\tau_{\omega }\) and t is a straight line parallel to the time.

Figure 13
figure 13

The skin friction coefficient \(\tau_{\omega }\) is plotted with t, for different values of me.

Figure 14
figure 14

The skin friction coefficient \(\tau_{\omega }\) is plotted with t, for different values of Df.

The values of Nusselt number Nu are plotted versus the time t through Figs. 15 and 16 for various values of the thermal radiation parameter R and the thermophoresis parameter Nt. It is indicated from Figs. 15 and 16 that Nusselt number increases with increasing R and decreases with increasing values of R for \(0 < \,t\, < 0.13\), while Nusselt number decreases as Nt increases. In addition, the values of Nu for different values of R and Nt, initially increases as t increases till a finite value of t, after which it crumbles.

Figure 15
figure 15

Nusselt number Nu is plotted with t, for different values of R.

Figure 16
figure 16

Nusselt number Nu is plotted with t, for different values of Nt.

The behavior of Sherwood number \(Sh\) with the time t for various values of Dufour number Df, and the chemical reaction parameter \(\delta\) are presented in Figs. 17 and 18, respectively. It is clear from these figures that Sherwood number decreases by increasing the chemical reaction parameter \(\delta\), while it increases by increasing Dufour number Df. Moreover, it is noted that the difference of Sherwood number \(Sh\) for different values of \(\gamma \), and \(Bn\) becomes lower with increasing t and reaches the minimum value, after which it increases. Note that the minimum value of Sherwood number decreases by increasing \(\delta\), whereas it increases with the increase of Df. Further, it is found for each value of \(\gamma \), \(M\) \(Bn\) and, \(Sh\) is always positive.

Figure 17
figure 17

Sherwood number Sh is plotted with t, for different values of Df.

Figure 18
figure 18

Sherwood number Sh is plotted with t, for different values of \(\delta\).

Figures 19 and 20 display a comparison for the velocity and temperature values between our results and those obtained by B´eg et al.42. It is noticed that there is a good agreement in the obtained results.

Figure 19
figure 19

Comparison of the velocity values in our study and those obtained by B´eg et al.42.

Figure 20
figure 20

Comparison of the velocity values in our study and those obtained by B´eg et al.42.

Table 2 presents numerical results for the skin friction \(\tau_{\omega }\), reduced Nusselt number Nu and Sherwood number Sh, for various values of the wave amplitude \(\varepsilon\), Prandtl number \(Pr\) and heat source parameter Q040. It is clear from Table 2, that an increase in \(\varepsilon\), \(Pr\) and Q0 gives an increase in the values of dimensionless quantity \(\tau_{\omega }\) and \(Sh\), but decreasing in the dimensionless quantity Nu. In addition, these results have been compared with those obtained by B´eg et al.42, and it is found that there is a good agreement between our results and B´eg et al.42.

Table 2 Comparison between numerical results for the skin friction, reduced Nusselt number and Sherwood number in the present study and those obtained by B´eg et al.42.

Conclusion

The main target of this study is to present the effects of electro-osmosis forces on the free convective flow of Eyring-Powel nanofluid through a non-Darcy porous medium. The system is influenced by an external uniform magnetic field, thermal radiation, heat source, Ohmic dissipation,and viscous dissipation. The explicit-finite difference method is applied to obtain a numerical solution to the equations that govern the fluid motion. In addition, we obtain an estimation of the error propagation by using Zadunaisky technique for the finite difference method. The estimated errors ensure the usage of the approximated solutions as a suitable approximation to the calculated physical values. It is hoped that the present work will serve as a vehicle for understanding more complex problems in industry, engineering, and some physiological flows43,44,45,46. The obtained results are also shown in a graphic representation and can be summarized as follows:

  1. (1)

    The velocity u decreases with anenrichin \(\upvarepsilon \) \(m_{e}\), M, R, \(Sc\) and \(\alpha \).Whilst it elevates as Da,\(\varepsilon \), \(Nb\) and Q0 increase. In addition, as both N and \(Nt\) increase, it increases or dwindles.

  2. (2)

    By increasing the coordinate y, the velocity u for different values of problem physical parameters becomes greater and reaches a maximum value at a finite value, after which, it declines.

  3. (3)

    The temperature T increases with an enhancement inthe values of \(Nt, Nb, Df, Q0\) and Ec.Whereas it dwindles or elevates as both R and \(Pr\) enhance.

  4. (4)

    All curves of the temperature for different values of the several physical parameters don’t intersect at the plate \(y=0\), then increase as y escalates till a maximum value.

  5. (5)

    The behavior of nanoparticles concentration C seems to be opposite to the temperature behavior.

Future perspectives

Numerous potential applications in bioinformatics, fluid dynamics problems, and critically important financial mathematics may be numerically treated using the Lobatto IIIA and spectral collocation algorithms.