1 Introduction

The memory-dependent derivative (MDD) can be defined as the integral form over a sliding interval of a common derivative with a selected kernel function. This definition is better than the definition of fractional differentiation to reverse the influence of memory. There are several interesting phenomena, especially physical ones that have so-called memory-dependent influences, and this means that their current state depends not only on the position and the time but also on the previous cases. The definition of memory-dependent derivatives was introduced by Wang and Li [1]. An interesting application of MDD is given by Yu et al. [2]. They introduced the MDD instead of fractional calculus into the rate of heat flux in the Lord–Shulman model of generalized thermoelasticity. A model of two-temperature thermoelasticity theory with time delay and Taylor theorem with memory-dependent derivatives involving two temperatures was introduced by Ezzat et al. [3]. The mathematical model of thermoelectric visco-elastic materials with memory-dependent derivatives was proposed by Ezzat et al. [4]. Based on the generalized thermoelastic diffusion theory with memory-dependent derivative in both the generalized heat conduction law and the generalized diffusion law, the transient response is investigated by Li and He [5]. Very recently, several problems in generalized thermo-elasticity in the context of memory-dependent derivatives have been reported in the studies [6,7,8,9,10,11,12,13].

Magneto-thermo-elasticity, which deals with the interactions among strain, temperature, and electromagnetic fields, has drawn the attention of many researchers, because of the extensive uses in diverse fields, especially, geophysics for understanding the effect of the earth’s magnetic field on seismic waves, damping of acoustic waves in a magnetic field, the emission of electromagnetic radiations from nuclear devices, development of a highly sensitive superconducting magnetometer, electrical power engineering, optics, etc. The problem of generalized electro-magneto-thermoelastic plane waves in a finite conductivity half-space with one relaxation time was discussed by Othman [14]. A novel model of the two-temperature generalized magneto-viscoelasticity with two relaxation times in a perfect conducting medium is established by Ezzat et al. [15]. The reflection and transmission of the thermoelastic wave at a solid–liquid interface in the presence of initial stress and magnetic field in the context of Green-Lindsay model was discussed by Abo-Dahab and Abd-Alla [16]. The three-phase-lag model and Green–Naghdi theory without energy dissipation to study the effect of the gravity field and a magnetic field on wave propagations in a generalized thermoelastic problem for a medium with an internal heat source was applied as Said [17]. The effect of Thomson and initial stress in a thermo-porous elastic solid under Green-Naghdi electromagnetic theory was investigated by Abd-Elaziz et al. [18]. The effect of hydrostatic initial stress, gravity, and magnetic field in a fiber-reinforced thermoelastic solid with variable thermal conductivity was investigated by Said and Othman [19]. A dual-phase-lag model to discuss the effect of a magnetic field on thermoelastic micro-elongated solid with diffusion was applied by Alharbi et al. [20]. The literature Refs. [21,22,23,24,25] contains a wealth of studies on magneto-thermoelastic materials.

The theory of linear elastic materials with voids is one of the most significant generalizations of the classical theory of elasticity. This theory examines various types of geological and biological materials in order to fill the gaps left by the classical theory of elasticity and is concerned with materials that have a distribution of small (porous) voids. Iesan [26] discussed a hypothesis of thermoelastic materials with voids and without energy dissipation. The nonlinear theory of non-simple thermoelastic materials with voids was explored by Ciarletta and Scalia [27].The literature Refs. [28,29,30,31,32] contains a wealth of studies on porous thermoelastic materials.

Numerous authors have taken an interest in the theory of nonlocal elasticity as a result of its early success in resolving a long-standing issue in fracture mechanics. Based on the nonlocal thermoelasticity hypothesis, Inan and Eringen [33] looked into thermoelastic wave propagation in plates. By contrasting numerous results of both theories, Artan [34] demonstrated the superiority of the nonlocal theory. The literature Refs. [35,36,37,38,39] contains a wealth of studies on the nonlocal thermoelastic theory.

In the present study, the effect of a magnetic field on a nonlocal thermoelastic porous solid in the context of the three-phase-lag model with a memory-dependent derivative is discussed. The resulting non-dimensional equations are solved using normal mode analysis. A comparison is carried out between the considered variables in the absence and presence of the magnetic field as well as the locality. Comparisons are also given for the results for different values of time delay. Three-phase-lag model is very useful in the problems of nuclear boiling, exothermic catalytic reactions, phonon-electron interactions, phonon-scattering, etc. The numerical results are represented to estimate the effects of the magnetic field, time delay, and the nonlocal parameter on the behavior of all of the field variables such as temperature, displacement, and stresses. It is clear that the locality, time delay, and magnetic field have played a major role in the physical fields.

2 Formulation of the problem and basic equations

The problem of a nonlocal thermoelastic porous medium half-space \((x \ge 0)\) was considered. A magnetic field with a constant intensity \({\varvec{H}} = (0,\,0,\,H_{0} ),\) is acting parallel to the boundary plane. The displacement vector (Fig. 1)

$$ u = u(x,y,\,t),\,\,\,\,\,\,\,\,\,\,\,v = v(x,y,\,t),\,\,\,\,\quad w = 0\,. $$
(1)
Fig. 1
figure 1

Geometry of the problem

The constitutive equations as Hetnarski and Eslami [40], Eringen et al. [41, 42], Inan and Eringen [33], and Wang and Dhaliwal [43]:

$$ (\,1 - \varepsilon^{2} \,\nabla^{2} )\,\sigma_{ij} = \lambda \,e_{kk} \delta_{ij} + 2\mu \,e_{ij} - \gamma \,\theta \,\delta_{ij} + b\,\varphi \,\delta_{ij} , $$
(2)

where \(\varepsilon = a_{0} \,e_{0}\) is the elastic nonlocal parameter having a dimension of length, \(a_{0} ,\,\,e_{0}\) respectively, are an internal characteristic length and a material constant, \(\sigma_{ij}\) are the components of stress, \(e_{ij}\) are the components of strain, \(e_{kk}\) is the dilatation, \(\lambda ,\mu\) are elastic constants, \(\alpha_{t}\) is the thermal expansion coefficient, \(\theta = T - T_{0} ,\) where \(T\) is the temperature above the reference temperature \(T_{0} ,\) \(\varphi\) is the change in volume fraction field of voids, \(\delta_{ij}\) is the Kronecker's delta.

The equations of motion

$$ \rho (1 - \varepsilon^{2} \nabla^{2} )\frac{{\partial^{2} u_{i} }}{{\partial t^{2} }} = (1 - \varepsilon^{2} \nabla^{2} )\sigma_{ji,j} + (1 - \varepsilon^{2} \nabla^{2} )F_{i} {,}\quad F_{i} = \mu_{0} ({\varvec{J}}{\text{x}}{\varvec{H}})_{i} $$
(3)
$$ \beta \,\varphi_{,ii} - be - \alpha_{1} \,\varphi - \alpha_{2} \,\varphi_{,t} + \alpha_{3\,} \theta = \rho \alpha_{4\,} (1 - \varepsilon^{2} \nabla^{2} )\varphi_{,tt} , $$
(4)

where \(\beta ,\,\;b,\,\;\alpha_{1} ,\;\alpha_{2} ,\,\;\alpha_{3} ,\,\;\alpha_{4}\) are the material constants due to the presence of voids and \(\mu_{0} \,{(}{\varvec{J}}\, \times \,{\varvec{H}}\,{)}_{{\text{i}}}\) is Lorentz force due to the presence of a magnetic field.

The variation of the magnetic and electric fields is perfectly conducting slowly moving medium and are given by Maxwell’s equation: as Said [17],

$$ {\varvec{J}} = \nabla \times {\varvec{h}} - \varepsilon_{0} \frac{{\partial {\varvec{E}}}}{\partial t},\quad \nabla \times {\varvec{E}} = - \mu_{0} \frac{{\partial {\varvec{h}}}}{\partial t},\quad {\varvec{E}} = - \mu_{0} \left( {\frac{\partial u}{{\partial t}} \times {\varvec{H}}} \right),\nabla .{\varvec{h}} = 0.\nabla .{\varvec{E}} = 0. $$
(5)

where \(\mu_{0}\) is the magnetic permeability, \(\varepsilon_{0}\) is the electric permeability, \({\varvec{J}}\) is the current density vector, \(\dot{\user2{u}}\) is the particle velocity of the medium, and the small effect of the temperature gradient on \({\varvec{J}}\) is also ignored. Expressing the components of the vector \({\varvec{J}}\) in terms of displacement by eliminating the quantities \({\varvec{h}}\) and \({\varvec{E}}\) from Eq. (5), thus yield:

$$ J_{1} = \frac{\partial h}{{\partial y}} + \mu_{0} \varepsilon_{0} H_{0} \frac{{\partial^{2} v}}{{\partial t^{2} }},J_{2} = - \frac{\partial h}{{\partial x}} - \mu_{0} \varepsilon_{0} H_{0} \frac{{\partial^{2} u}}{{\partial t^{2} }},J_{{3}} = {0,} $$
(6)

Substituting Eq. (6) into Eq. (3), we get

$$ F_{1} = - \;\mu_{0} H_{0} \frac{\partial h}{{\partial \,x}} - \varepsilon_{0} \,\mu_{0}^{2} \,H_{0}^{2} \,\frac{{\partial^{2} u}}{{\partial \,t^{2} }},\,\,\quad \,\,F_{2} = - \mu_{0} H_{0} \frac{\partial h}{{\partial \,y}} - \varepsilon_{0} \,\mu_{0}^{2} \,H_{0}^{2} \frac{{\partial^{2} v}}{{\partial \,t^{2} }},\quad \,\,\,F_{3} = 0.\,\, $$
(7)

The heat conduction equation as Purkait et al. [44] and Choudhuri [45]:

$$ K\,\,(1 + \tau_{\theta } D_{w1} )\nabla^{2} \theta_{,t} + K^{*} (1 + \tau_{\nu } D_{w2} )\nabla^{2} \theta = \left( {1 + \tau_{q} \,D_{w3} + \frac{1}{2}\tau_{q}^{2} \,D_{{w_{3} }}^{2} } \right)\,(\rho \,C_{E} \,\theta_{,tt} + \gamma \,T_{0} \,e_{,tt} + \alpha_{3} \,T_{0} \,\varphi_{,tt} )\,, $$
(8)

where \(K^{*}\) is the coefficient of thermal conductivity, \(K\) is the additional material constant, \(C_{E}\) is the specific heat at constant strain, \(\tau_{\nu }\) is the phase-lag of thermal displacement gradient, \(\tau_{\theta }\) is the phase-lag of temperature gradient and \(\tau_{q}\) is the phase-lag of heat flux.

\(D_{{_{{w_{i} }} }}\) is the memory-dependent derivative operator defined as

$$ D_{{w_{i} }} f(t) = \frac{1}{{w_{i} }}\int_{{t - w_{i} }}^{t} {L(t - \xi )f^{\prime}(\xi )\,d} \xi . $$
(9)

The parameter \(w_{i}\) is the time delay and \(L\,(t - \xi )\) is the kernel function in which they can be chosen freely, see Caputo and Mainardi [46,47,48] for more explanations. In our present study, we choose \(L\,(t - \xi )\) in the following form \(L(t - \xi ) = A + B\,(t - \xi ).\,\)

Introducing Eqs. (2) and (7) in Eqs. (3), we get

$$ \rho \,(1 - \varepsilon^{2} \nabla^{2} )\,\frac{{\partial^{2} u}}{{\partial \,t^{2} }} = (\lambda + 2\mu )\,\frac{{\partial^{{2}} u\,}}{{\partial x^{{2}} }} + (\lambda + \mu )\frac{{\partial^{{2}} v\,}}{\partial \,x\partial y\,} + \mu \,\,\frac{{\partial^{{2}} u\,}}{{\partial y^{{2}} }} - \,\,\gamma \,\frac{\partial \,\theta \,}{{\partial x}} + b\frac{\partial \,\varphi \,}{{\partial x}} - \,(1 - \varepsilon^{2} \nabla^{2} )\,\,\left( {\mu_{0} H_{0} \,\frac{\partial \,h}{{\partial \,x}} + \varepsilon_{0} \,\mu_{0}^{2} \,H_{0}^{2} \,\frac{{\partial^{2} \,u}}{{\partial \,t^{2} }}} \right)\,, $$
(10)
$$ \rho \,(1 - \varepsilon^{2} \nabla^{2} )\,\frac{{\partial^{2} \,v}}{{\partial \,t^{2} }} = (\lambda + 2\mu )\,\frac{{\partial^{2} v\,}}{{\partial y^{2} }} + (\lambda + \mu )\frac{{\partial^{2} u\,}}{\partial \,x\partial y\,} + \mu \,\,\frac{{\partial^{2} v\,}}{{\partial x^{2} }} - \,\,\gamma \,\frac{\partial \,\theta \,}{{\partial y}} + b\,\frac{\partial \varphi \,}{{\partial y}} - \,(1 - \varepsilon^{2} \nabla^{2} )\,\,\left( {\mu_{0} H_{0} \,\frac{\partial \,h}{{\partial \,y}} + \varepsilon_{0} \,\mu_{0}^{2} \,H_{0}^{2} \,\frac{{\partial^{2} v}}{{\partial \,t^{2} }}} \right)\,, $$
(11)

For convenience, the following non-dimensional variables are used:

$$ (x^{\prime},y^{\prime},\varepsilon^{\prime},u^{\prime},v^{\prime}) = \frac{1}{{l_{0} }}(x,y,\varepsilon ,u,v),(t^{\prime},\tau_{q}^{^{\prime}} ,\tau_{\theta }^{^{\prime}} ,\tau_{\nu }^{^{\prime}} ) = \frac{{c_{0} }}{{l_{0} }}(t,\tau_{q} ,\tau_{\theta } ,\tau_{\nu } ),\theta^{\prime} = \frac{\gamma \theta }{{(\lambda + 2\mu )}},\sigma^{\prime}_{ij} = \frac{{\sigma_{ij} }}{\mu },\varphi^{\prime} = \varphi ,h^{\prime} = \frac{h}{{H_{0} }},l_{0} = \sqrt {\frac{{K^{*} }}{{\rho C_{E} T_{0} }}} ,c_{0} = \sqrt {\frac{\lambda + 2\mu }{\rho }} $$
(12)

Using the above non-dimension variables, then employing \(h = - \;H_{0} \,e,\)

$$ A_{1} (1 - \varepsilon^{2} \nabla^{2} )\,\,\frac{{\partial^{2} \,u}}{{\partial \,t^{2} }} = (A_{2} - A_{4} \varepsilon^{2} \nabla^{2} )\,\frac{{\partial^{{2}} u\,}}{{\partial x^{{2}} }} + (A_{3} - A_{4} \varepsilon^{2} \nabla^{2} )\frac{{\partial^{{2}} v\,}}{\partial x\partial y\,} + A_{5} \,\,\frac{{\partial^{{2}} u\,}}{{\partial y^{{2}} }} - \,\,\,\frac{\partial \,\theta \,}{{\partial x}} + A_{6} \,\frac{\partial \varphi \,}{{\partial x}}\,, $$
(13)
$$ A_{1} \,(1 - \varepsilon^{2} \nabla^{2} )\,\,\frac{{\partial^{2} \,v}}{{\partial t^{2} }} = (A_{2} - A_{4} \varepsilon^{2} \nabla^{2} )\,\frac{{\partial^{{2}} v\,}}{{\partial y^{{2}} }} + (A_{3} - A_{4} \varepsilon^{2} \nabla^{2} )\frac{{\partial^{{2}} u\,}}{\partial x\partial y\,} + A_{5} \,\,\frac{{\partial^{{2}} v\,}}{{\partial x^{{2}} }} - \,\,\,\frac{\partial \,\theta \,}{{\partial y}} + A_{6} \frac{\partial \varphi \,}{{\partial y}}\,, $$
(14)
$$ A_{7} \,(1 + \tau_{\theta } D_{w1} )\nabla^{2} \theta_{,t} + \,\,(1 + \tau_{\nu } D_{w2} )\nabla^{2} \theta = \left( {1 + \tau_{q} D_{w3} + \frac{1}{2}\tau_{q}^{2} D_{{w_{3} }}^{2} } \right)(A_{8} \theta_{,tt} + A_{9} e_{,tt} + A_{10} \varphi_{,tt} ), $$
(15)
$$ \,\varphi_{,ii} - A_{11} e - A_{12} \,\varphi - A_{13} \,\varphi_{,t} + A_{14} \theta = A_{15} (1 - \varepsilon^{2} \nabla^{2} )\varphi_{,tt} , $$
(16)

where \(A_{i}\) are given in the Appendix.

3 The analytical solution to the problem

The solution of the considered physical variable can be decomposed in terms of normal mode analysis as:

$$ [u,v,\theta ,\varphi ,\sigma_{ij} ](x,y,t) = [u^{*} ,v^{*} ,\theta^{*} ,\varphi^{*} ,\,\,\sigma_{ij}^{*} ](x)\exp (mt + {\text{i}}\,a{\kern 1pt} y), $$
(17)

where \(u^{*} (x),\) etc. is the amplitude of the function \(u(x,y,\,t)\) etc., \({\text{i}}\) is the imaginary unit, \(m\) is the complex frequency and \(a\) is the wave number in the \(y -\) direction.

$$ (N_{1} {\text{D}}^{4} - N_{2} {\text{D}}^{2} + N_{3} )\;\,u^{*} + (N_{4} {\text{D}}^{3} - N_{5} {\text{D}})\;\,v^{*} + \,{\text{D}}\;\theta^{*} - A_{6} {\text{D}}\,\varphi^{*} = 0, $$
(18)
$$ (N_{8} {\text{D}}^{3} - N_{9} {\text{D}})\;\,u^{*} + (N_{6} - N_{7} {\text{D}}^{2} )\;\,v^{*} + \,{\text{i}}a{\kern 1pt} {\kern 1pt} \theta^{*} - {\text{i}}a{\kern 1pt} A_{6} \,\varphi^{*} = 0, $$
(19)
$$ A_{11} {\text{D}}\,u^{*} + {\text{i}}a\;A_{11} \,v^{*} - \,A_{14} \;\theta^{*} - (N_{10} {\text{D}}^{2} - N_{11} )\,\varphi^{*} = 0, $$
(20)
$$ N_{12} {\text{D}}\,u^{*} + {\text{i}}a\;N_{12} \,v^{*} - \,(N_{14} {\text{D}}^{2} - N_{15} )\;\theta^{*} + N_{13} \,\varphi^{*} = 0, $$
(21)

Eliminating \(v^{*} (x),\;\theta^{*} (x)\) and \(\varphi^{*} (x)\) between Eqs. (18) – (21), the following ten-order ordinary differential equation satisfied by \(u^{*} (x),\;v^{*} (x),\;\theta^{*} (x),\;\varphi^{*} (x)\) can be obtained:

$$ {\text{(D}}^{10} - H_{1} {\text{D}}^{{8}} + H_{2} \;{\text{D}}^{{6}} - H_{3} \;{\text{D}}^{{4}} + H_{4} \;{\text{D}}^{{2}} - H_{5} { )}\{ \,u^{*} (x),\;v^{*} (x),\;\theta^{*} (x),\;\,\varphi^{*} (x)\,\} = 0, $$
(22)

where \(H_{1} ,H_{2} ,H_{3} ,H_{4} ,H_{5}\) are given in the Appendix.

Equation (22) can be factored as

$$ {\text{( D}}^{{2}} - k_{1}^{2} {\text{)(D}}^{{2}} - k_{2}^{2} )\,{\text{(D}}^{{2}} - k_{3}^{2} )\,{\text{(D}}^{{2}} - k_{4}^{2} )\,{\text{(D}}^{{2}} - k_{5}^{2} )\,u^{*} (x) = 0, $$
(23)

where \(k_{n}^{2} \,(\,n = 1,\,2,\,3,\,4\,,5)\) are the five roots of the following characteristic equation:

$$k^{10} - H_{1} \,k^{8} + H_{2} \,k^{6} - H_{3} \,k^{4} + H_{4} \,k^{2} - H_{5} = 0$$
(24)

The solution of Eq. (22), bounded as \(x \to \infty ,\) can be expressed as:

$$ u^{*} (x) = \sum\limits_{{n = {1}}}^{5} {G_{n} } \,{\text{exp(}} - k_{n} x{),} $$
(25)
$$ v^{*} (x) = \sum\limits_{{n = {1}}}^{5} {R_{1n} \,G_{n} } \,{\text{exp(}} - k_{n} x{),} $$
(26)
$$ \theta^{*} (x) = \sum\limits_{{n = {1}}}^{{5}} {R_{2n} \,G_{n} } \,{\text{exp(}} - k_{n} x{),} $$
(27)
$$ \varphi^{*} (x) = \sum\limits_{{n = {1}}}^{{5}} {R_{3n} \,G_{n} } \,{\text{exp(}} - k_{n} {\text{x),}} $$
(28)

Using the above equations, we get

$$ \sigma_{xx}^{*} (x) = \sum\limits_{{n = {1}}}^{{5}} {R_{4n} \,G_{n} } \,{\text{exp(}} - k_{n} x{),} $$
(29)
$$ \sigma_{xy}^{*} (x) = \sum\limits_{{n = {1}}}^{{5}} {R_{5n} \,G_{n} } \,{\text{exp(}} - k_{n} x{),} $$
(30)

where \(R_{in}\) are given in the Appendix.

4 Boundary conditions

In the physical problem, we should suppress the positive exponentials that are unbounded at infinity. The constants \(G_{n} \,\,{(}n = {1,2,3,4,5)}\) have been chosen such that the boundary conditions on the surface at \(x = 0\) as Abbas et al. [49]:

$$ v = 0,\theta = 0,\sigma_{xx} = - \,f_{0} \,G(y,t),\sigma_{xy} = 0,\varphi = \varphi_{0} \,. $$
(31)

where \(f_{0}\) are constants and \(G(y,t)\) are arbitraries functions.

Substituting the expressions of the variables considered into the above boundary conditions, we can obtain the following equations satisfied by the parameters:

$$ \sum\limits_{n = 1}^{5} {R_{1n} G_{n} = 0} ,\sum\limits_{n = 1}^{5} {R_{2n} G_{n} = 0} ,\sum\limits_{n = 1}^{5} {R_{4n} G_{n} = - f_{0} } ,\sum\limits_{n = 1}^{5} {R_{5n} G_{n} = 0} ,\sum\limits_{n = 1}^{5} {R_{3n} G_{n} = \varphi_{0} } , $$
(32)

Solving the above system of Eqs. (32), we obtain a system of five equations. After applying the inverse of the matrix method, we have the values of the five constants \(G_{n} ,\,\,{(}\;n = {1,2,3,4,5)}\,,\) hence; we obtain the expressions of displacements, the thermal temperature, and the stress components.

$$ \left( {\begin{array}{*{20}c} {G_{1} } \\ {G_{2} } \\ {G_{3} } \\ {G_{4} } \\ {G_{5} } \\ \end{array} } \right) = \left( {\begin{array}{*{20}c} {R_{11} } & {R_{12} } & {R_{13} } & {R_{14} } & {R_{15} } \\ {R_{21} } & {R_{22} } & {R_{23} } & {R_{24} } & {R_{25} } \\ {R_{41} } & {R_{42} } & {R_{43} } & {R_{44} } & {R_{45} } \\ {R_{51} } & {R_{52} } & {R_{53} } & {R_{54} } & {R_{55} } \\ {R_{31} } & {R_{32} } & {R_{33} } & {R_{34} } & {R_{35} } \\ \end{array} } \right)^{ - 1} \left( {\begin{array}{*{20}c} 0 \\ 0 \\ { - f_{0} } \\ 0 \\ {\varphi_{0} } \\ \end{array} } \right). $$
(33)

5 Special cases

  1. (a)

    Equations of the 3PHL model when, \(K,\tau_{T} ,\,\tau_{q} ,\,\tau_{\nu } > 0\) and the solutions are always (exponentially) stable if \(\frac{{2K\tau_{T} }}{{\tau_{q} }}\, > \tau_{\nu }^{*} > K^{*} \tau_{q}\) as in Quintanilla and Racke [50].

  2. (b)

    Equations of the GN-II theory without energy dissipation when, \(K = \tau_{T} = \,\tau_{q} = \,\tau_{\nu } = 0\).

  3. (c)

    Equations of the GN-III theory with energy dissipation when, \(\tau_{T} = \,\tau_{q} = \,\tau_{\nu } = 0.\)

  4. (d)

    The corresponding equations for local thermoelastic porous solid without the influence of the magnetic field from the above-mentioned cases by taking \(H_{0} = 0,\) then we have \(A_{4} = N_{1} = N_{4} = N_{8} = 0,\) thus we have

    $$ [N_{3} - N_{2} {\text{D}}^{2} ]\,u^{*} - N_{5} {\text{D}}\,v^{*} + {\text{D}}\,\theta^{*} - A_{6} {\text{D}}\,\phi^{*} = 0, $$
    (32)
    $$ N_{9} \,{\text{D}}\,u^{*} - [N_{6} - N_{7} {\text{D}}^{2} ]\,v^{*} - {\text{i}}\,a\,\theta^{*} + {\text{i}}\,aA_{6} \,\varphi^{*} = 0, $$
    (33)
    $$ A_{11} \,{\text{D}}\,u^{*} + {\text{i}}\,aA_{11} \,v^{*} - A_{14} \,\theta^{*} - [N_{10} {\text{D}}^{2} - N_{11} ]\,\varphi^{*} = 0, $$
    (34)
    $$ N_{21} \,{\text{D}}\,u^{*} + {\text{i}}\,aN_{12} v^{*} - [N_{14} {\text{D}}^{2} - N_{15} ]\,\,\theta^{*} + N_{13} \,\varphi^{*} = 0, $$
    (35)

where \(N_{i} ^{\prime}s\) are given in the Appendix and \(\,{\text{D}} = \frac{{\text{d}}}{{{\text{dx}}}}.\)

Eliminating \(v^{*} (x),\;\theta^{*} (x)\) and \(\varphi^{*} (x)\) between Eqs. (32) – (35), the following ten-order ordinary differential equation satisfied by \(u^{*} (x),\;v^{*} (x),\;\theta^{*} (x),\;\varphi^{*} (x)\) can be obtained:

$$ {\text{(D}}^{{8}} - C\,{\text{D}}^{{6}} + E{\kern 1pt} {\text{D}}^{{4}} - F{\kern 1pt} {\text{D}}^{{2}} + \, J{ )}\{ \,u^{*} (x),\;v^{*} (x),\;\theta^{*} (x),\;\,\varphi^{*} (x)\,\} = 0, $$
(36)

where \(C,E,F,J\) are given in the Appendix.

Equation (36) can be factored as

$$ {\text{( D}}^{{2}} - f_{1}^{2} {\text{)(D}}^{{2}} - f_{2}^{2} )\,{\text{(D}}^{{2}} - f_{3}^{2} )\,{\text{(D}}^{{2}} - f_{4}^{2} )\,\,u^{*} (x) = 0, $$
(37)

where \(f_{n}^{2} \,(\,n = 1,\,2,\,3,\,4\,)\) are the roots of the characteristic equation

The solution of Eq. (37), bounded as \(x \to \infty ,\) can be expressed as:

$$ u^{*} (x) = \sum\limits_{{n = {1}}}^{4} {Q_{n} } \,{\text{exp(}} - f_{n} x{),} $$
(38)
$$ v^{*} (x) = \sum\limits_{{n = {1}}}^{4} {M_{1n} \,Q_{n} } \,{\text{exp(}} - f_{n} x{),} $$
(39)
$$ \theta^{*} (x) = \sum\limits_{{n = {1}}}^{{4}} {M_{2n} \,Q_{n} } \,{\text{exp(}} - f_{n} x{),} $$
(40)
$$ \varphi^{*} (x) = \sum\limits_{{n = {1}}}^{{4}} {M_{3n} \,Q_{n} } \,{\text{exp(}} - f_{n} {\text{x),}} $$
(41)

Using the above equations, we get

$$ \sigma_{xx}^{*} (x) = \sum\limits_{{n = {1}}}^{{4}} {M_{4n} \,Q_{n} } \,{\text{exp(}} - f_{n} x{),} $$
(42)
$$ \sigma_{xy}^{*} (x) = \sum\limits_{{n = {1}}}^{{4}} {M_{5n} \,Q_{n} } \,{\text{exp(}} - f_{n} x{),} $$
(43)

where \(M_{in}\) are given in the Appendix.

6 Boundary conditions

In the physical problem, we should suppress the positive exponentials that are unbounded at infinity. The constants \(Q_{n} \,\,{(}n = {1,2,3,4)}\) have been chosen such that the boundary conditions on the surface at \(x = 0\) as follows:

$$ \theta = 0,\sigma_{xx} = - \;f_{0} \,Q(y,t),\sigma_{xy} = 0,\varphi = \varphi_{0} \,. $$
(44)

where \(f_{0}\) are constants and \(Q(y,t)\) are arbitraries functions.

Substituting the expressions of the variables considered into the above boundary conditions, we can obtain the following equations satisfied by the parameters:

$$ \sum\limits_{n = 1}^{4} {M_{2n} Q_{n} = 0} ,\sum\limits_{n = 1}^{4} {M_{4n} Q_{n} = - \;f_{0} } ,\sum\limits_{n = 1}^{4} {M_{5n} Q_{n} = 0} \,,\sum\limits_{n = 1}^{4} {M_{3n} Q_{n} = \varphi_{0} } \,, $$
(45)

Solving the above system of Eqs. (45), we obtain a system of four equations. After applying the inverse of the matrix method, we have the values of the five constants \(Q_{n} ,\,\,{(}\;n = {1,2,3,4)}\,{.}\) Hence, we obtain the expressions of displacements, the thermal temperature, and the stress components.

$$ \left( {\begin{array}{*{20}c} {Q_{1} } \\ {Q_{2} } \\ {Q_{3} } \\ {Q_{4} } \\ \end{array} } \right) = \left( {\begin{array}{*{20}c} {M_{21} } & {M_{22} } & {M_{23} } & {M_{24} } \\ {M_{41} } & {M_{42} } & {M_{43} } & {M_{44} } \\ {M_{51} } & {M_{52} } & {M_{53} } & {M_{54} } \\ {M_{31} } & {M_{32} } & {M_{33} } & {M_{34} } \\ \end{array} } \right)^{ - 1} \left( {\begin{array}{*{20}c} 0 \\ { - f_{0} } \\ 0 \\ {\varphi_{0} } \\ \end{array} } \right). $$
(46)

7 Numerical results and discussion

In order to clarify the theoretical results obtained in the preceding section and compare these in the context of the three-phase-lag (3PHL) model, and study the effect of the magnetic field, nonlocal parameter, and memory-dependent derivative on a porous thermoelastic medium, we now present some numerical results for the physical constants

$$ \lambda = 2.9\, \times 10^{10} \,{\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;\mu = 7.78\, \times 10^{10} \,{\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;\rho = 8954\,\,{\text{kg}}\,{.}\,{\text{m}}^{{ - {3}}} ,\;\;C_{E} = 383\,\,{\text{J}}\,{\text{.kg}}^{{ - {1}}} {.}\,{\text{K}}^{{ - {1}}} \,,\;\;\alpha_{t} = 1.78\,\, \times \,10^{ - 3} \,{\text{K}}^{{ - {1}}} {,}\;\;f_{0} = 0.5, $$
$$ \varphi_{0} = 0.01,\;\tau_{q} = 9\, \times 10^{ - 7} \,{\text{s}},\;\tau_{\theta } = 7\, \times 10^{ - 7} \,{\text{s,}}\;\tau_{\upsilon } = 6\, \times 10^{ - 7} \,{\text{s}},\;K^{*} = 386\,{\text{w}}\,{.}\,{\text{m}}^{{ - {1}}} {.}\,{\text{K}}^{{ - {1}}} {\text{.s}}^{{ - {1}}} {,}\;b = 1.6 \times 10^{10} \,{\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;\alpha_{1} = 1.47\, \times 10^{10} {\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\, $$
$$ \alpha_{2} = 7.78\, \times 10^{ - 10} {\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;\alpha_{3} = 2\, \times 10^{11} {\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;\alpha_{4} = 1.753\, \times 10^{ - 10} {\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;\beta = 2\, \times 10^{10} {\text{N}}\,{.}\,{\text{m}}^{{ - {2}}} ,\;\;m = m_{0} + i\xi ,\;\;m_{0} = - \;0.3, $$
$$ \xi = - \;0.2,\;\;K = 700\,{\text{w}}\,{.}\,{\text{m}}^{{ - {1}}} {.}\,{\text{K}}^{{ - {1}}} ,\;\;a = 0.3,\;\;A = 1,\;\;B = - \;1,\;\;T_{0} = 293\,{\text{K}},\;\;\varepsilon_{0} = 0.2,\;\;\mu_{0} = 1.9,\;\;y = - 1.5. $$

Figures 2, 3, 4, 5, 6 are graphed to describe the variation in the displacement component \(v,\) the thermodynamic temperature \(\theta ,\) the change in the volume fraction field \(\varphi\) and the stress components \(\sigma_{xx} ,\;\sigma_{xy}\) with different values of \(\varepsilon = 0.5,0.3,0.01\) (nonlocal parameter).

Fig. 2
figure 2

Vertical displacement distribution \(v\) for different values of nonlocal parameter

Fig. 3
figure 3

Thermal temperature distribution \(\theta\) for different values of nonlocal parameter

Fig. 4
figure 4

Volume fraction field distribution \(\varphi\) for different values of nonlocal parameter

Fig. 5
figure 5

Distribution of stress component \(\sigma_{xx}\) for different values of nonlocal parameter

Fig. 6
figure 6

Distribution of stress component \(\sigma_{xy}\) for different values of nonlocal parameter

Figure 2 represents the change of displacement \(v\) with distance \(x\) and satisfies the boundary condition at \(x = 0,\) where \(v\) starts with decreasing to a minimum value in the range \(0 \le x \le 4.7\) and converges to zero with increasing distance \(x\). It is explained that when the value of \(\varepsilon\) is increasing, the value of \(v\) is decreasing. Figure 3 demonstrates the distribution of the thermodynamic temperature \(\theta ,\) it begins with decreasing to a minimum value in the range \(0 \le x \le 0.12,\), then increases and approaches a zero value. The nonlocal parameter increases the magnitude of \(\theta\). Figure 4 shows that when the magnitude of \(\varepsilon\) is increasing magnitude of the volume fraction field \(\varphi\) is decreasing, where it starts from positive values for all value of \(\varepsilon\), then decreases in the range \(0 \le x \le 1.5,\) then increases and converge to zero at \(x \ge 1.5.\) Figure 5 exhibits that the distribution of the stress component \(\sigma_{xx}\) always begins from negative values. For all values of \(\varepsilon\), the values of \(\sigma_{xx}\) start with increasing in the range \(0 \le x \le 0.12,\) then decreasing to a minimum value in the range \(0.12 \le x \le 3.4,\) and finally increasing to a maximum value and becoming constant. Figure 6 depicts the distribution of the stress component \(\sigma_{xy} ,\) based on the three-phase-lag theory and different value of \(\varepsilon\), the magnitudes of the stress component \(\sigma_{xy}\) decrease to a minimum value in the range \(0 \le x \le 1.5,\) but increase in the range \(1.5 \le z \le 5.5,\) also the magnitude of \(\sigma_{xy}\) decrease while the value of \(\varepsilon\) increase.

The influence of different values of the magnetic field, according to the three-phase-lag model on the displacement component \(v,\) the thermodynamic temperature \(\theta ,\) the volume fraction field \(\varphi ,\) and the stress component \(\sigma_{xy} ,\) in Figs. 7, 8, 9, 10. Figure 7 displays the effect of the magnetic field on the vertical displacement \(v,\) where the values of \(v\) begin from zero except at the \(H_{0} = 0\) starts from negative, then the values of \(v\) decrease in the range \(0 \le x \le 4.2,\) then increase at \(x \ge 4.2\) and go to zero. Figure 8 shows that the variance of the thermodynamic temperature \(\theta ,\) begins with decreasing to a minimum value in the range \(0 \le x \le 0.12\) for \((H_{0} = 30,10,0)\) then increases in the range \(0.12 \le x \le 2\) and converges to zero for \(x \ge 2.\) Figure 9 exhibits that the distribution of the volume fraction field \(\varphi\), it is observed that due to the presence of a magnetic field, the volume fraction field \(\varphi\) appreciably decreased for \(H_{0} = 30,10\) in comparison with \(H_{0} = 0,\) it begins from positive values, then decreases to a minimum value in the range \(0 \le x \le 1.8\) and converge to zero with increasing distance \(x\) at \(x \ge 1.8\) for all values of \((H_{0} = 30,10,0).\) Figure 10 depicts that the distribution of the stress component \(\sigma_{xy} ,\) where the values of the stress component \(\sigma_{xy}\) agree with the boundary condition and decrease in the range \(0 \le x \le 1.3,\) but increase in the range \(1 \le x \le 5.5.\)

Fig. 7
figure 7

Effect of different values of magnetic field on vertical displacement \(v\)

Fig. 8
figure 8

Effect of different values of magnetic field on thermal temperature distribution \(\theta\)

Fig. 9
figure 9

Effect of different values of magnetic field on volume fraction field distribution \(\varphi\)

Fig. 10
figure 10

Effect of different values of magnetic field on stress component \(\sigma_{xy}\)

Figures 11, 12, and 13 are giving 3D surface curves for the thermodynamic temperature \(\theta ,\) the stress component \(\sigma_{xy}\) and the change in the volume fraction field \(\varphi\) to study the nonlocal porous thermoelastic solid under the effect of the magnetic field in the context of the three-phase lag (3PHL) model. These figures are very important to study the dependence of these physical quantities on the vertical component of distance.

Fig. 11 
figure 11

3D distribution of thermal temperature \(\theta\) versus components of distance

Fig. 12 
figure 12

3D distribution of stress component \(\sigma_{xy}\) versus components of distance

Fig. 13 
figure 13

3D distribution of volume fraction field \(\varphi\) versus components of distance

8 Conclusions

In this problem, we studied the effect of the magnetic field and the memory-dependent derivative on a nonlocal thermoelastic porous solid in the context of the three-phase-lag (PHL) model. The resulting non-dimensional equations were solved by using the normal mode analysis. We can get the following conclusions based on the above discussions:

  1. a)

    The locality has played a major role in the physical fields which are fairly clear from Figs. 1, 2, 3, 4, 5.

  2. b)

    The magnetic field has played a major role in the physical fields which are pretty clear from Figs. 6, 7, 8, 9.

  3. c)

    The vertical distance has played a major role in the physical fields which are pretty clear from Figs. 10, 11, 12.

  4. d)

    All physical quantities distributions have converged to zero with increasing distance \(x,\) and all functions are continuous.

  5. e)

    The method that was used in the present article is applicable to a wide range of problems in hydrodynamics and thermoelasticity.

  6. f)

    Three-phase-lag model is very useful in the problems of nuclear boiling, exothermic catalytic reactions, phonon-electron interactions, phonon-scattering, etc.