Introduction

Stokes second problem described by Schlichting [1] was and still is a basis of many research directions not only in the specific area of the problem. The problem describes a semi-infinite flow field which is disturbed by an oscillating plate \(u\left( {0,t} \right) = U_{0} \cos \left( {\upomega {\text{t}}} \right)\) where \(u\left( {0,t} \right)\) designate the plate velocity or the bottom layer velocity of the fluid as a function of time, \(U_{0}\) is the plate velocity amplitude and \(\omega\) is the plate frequency. The essence of the problem is that the fluctuations in the fluid can be seen as a kind of steady-state condition despite the fluid velocity values do change over time but get the same values in equal time periods. Stokes problem has been extended to the realm of non-steady or transient state, an example of such work being that of Panton [2]. Nazar et al. [3] and Asghar et al. [4] expanded the Stokes problem to the transient realm for second grade fluids. The following are more examples of expanding the Stokes problem. Srinivasan and Rajagopal [5] and Prusa [6] expanded the Stokes problems to pressure dependent viscosities. Dutta and Beskok [7] introduced an analytical solution of time periodic electroosmotic flows, it was shown that for some of the cases investigated the flow is analogies to Stokes second problem.

Khaled [8] investigated the influence of combined periodic heat flux and convective boundary condition on heat conduction through a semi-infinite and finite media. It was found that the temperature fluctuations in each medium decreased as the Bio number was increased. Ahmadikia et al. [9] presented an analytical solution of transient heat flux condition on skin tissue as a finite domain, it was shown that by penetrating along the skin depth the temperature amplitude response decreases significantly. Some more examples of physical models developed for describing transient heat conduction in a slab or through more than one material layer are the works of Sadat [10], Norouzi et al. [11] and that of Shiah and Shi [12].

Kundu [13] examined five boundary conditions in order to determine the temperature response in a biological tissue under Fourier and non-Fourier heat conduction. The paper ultimate goal was to improve thermal therapy for killing cancerous cells without side effects. The representing equation was built according to the bioheat transfer equation for Fourier and non-Fourier heat conduction. The thermal response of the skin tissue was solved by the separation of variables method. It was found that the higher temperature response was received by isothermal heating for the non-Fourier heat conduction in the tissue. This may be selected as a design condition for effective heating. Kundu and Lee [14] used a semi-analytical method in order to investigate the thermal performance of fin and tube heat exchangers with orthotropic fin material and wet surfaces. It was found that the fin efficiency of orthotropic materials was always lower than that of the isotropic material and the efficiency of wet fins decreased with increasing the relative humidity of the air for a constant base and ambient temperatures. Kundu and Lee [15] determined analytically the temperature distribution for 2D heat conduction in a fin. The 2D physical model was solved by using the separation of variable method. It was found that the 2D heat conduction in a fin is primarily dependent upon the geometry of the fin and base temperature.

There are several technology areas that may require a study of heat transfer oscillations on a semi-infinite board, for example, a material processing using laser beams and microwave heating. The present work is actually implementing the second Stokes problem for a semi-infinite heat transfer where the oscillating velocity disturbance is replaced by the oscillating temperature. In addition, within the semi-infinite medium, a material layer of a finite thickness and different thermal conductivity was inserted. The temperature penetration or heat transfer at this stratified medium is discussed in this work.

Mathematical Formulation and Solution (The Physical Model)

The development of the physical model described here is fully inspired by the solution of the physical model of Stokes' second problem. Stokes' second problem was presented by Schlichting [1] based on the original article [16]. Stokes' second problem describes the effect of forced oscillations on the space of an incompressible fluid in a semi-infinite medium. Although there are fluctuations in the problem and it is time dependent, in fact this condition is a condition that is ostensibly a steady-state condition and therefore there are actually no initial condition but only boundary conditions. Because the problem describes one representative frequency that is forced into the whole space of the problem and because the state is ostensibly a steady state despite the oscillations, the conventional move of searching for additional self-values and subsequent use of the orthogonal connection is not obligatory (Fig. 1).

Fig. 1
figure 1

The problem structure

The drive of the temperature oscillations is expressed by the following connection:

$$T\left( {0,t} \right) = T_{{\text{i}}} + \Delta T\cos \left( {\upomega {\text{t}}} \right)$$
(1)

where \(\omega\) is the oscillation frequency and \(\Delta T\) is the disturbance amplitude. Without any disturbance or while \(\Delta T = 0\) the temperature in every point into the materials layers is equal to \(T_{{\text{i}}}\). As can be seen, the maximum temperature on the surface is received when \(t = 0\) and is equal to \(T_{{\text{i}}} + \Delta T\). Equation (1) can be written as:

$$T\left( {0,t} \right) - T_{{\text{i}}} = \Delta T\cos \left( {\upomega {\text{t}}} \right)$$
(2)

or as:

$$T\left( {0,t} \right) = T_{{\text{i}}} + \left( {T_{0} - T_{{\text{i}}} } \right)\cos \left( {\upomega {\text{t}}} \right)$$
(3)

where \(T_{0}\) is the maximum temperature on the surface or actually is the maximum temperature that can be received in every point into the materials layers and is equal to \(T_{{\text{i}}} + \Delta T\).

It is signified that:

$$\theta = T - T_{{\text{i}}}$$
(4)

where \(T\) denotes the temperature value in every point into the materials layers. It can be concluded that \({{\partial T} \mathord{\left/ {\vphantom {{\partial T} {\partial x}}} \right. \kern-\nulldelimiterspace} {\partial x}}\) is equal to \({{\partial \theta } \mathord{\left/ {\vphantom {{\partial \theta } {\partial x}}} \right. \kern-\nulldelimiterspace} {\partial x}}\), that \({{\partial^{2} T} \mathord{\left/ {\vphantom {{\partial^{2} T} {\partial x^{2} }}} \right. \kern-\nulldelimiterspace} {\partial x^{2} }}\) is equal to \({{\partial^{2} \theta } \mathord{\left/ {\vphantom {{\partial^{2} \theta } {\partial x^{2} }}} \right. \kern-\nulldelimiterspace} {\partial x^{2} }}\) and that \({{\partial T} \mathord{\left/ {\vphantom {{\partial T} {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}}\) is equal to \({{\partial \theta } \mathord{\left/ {\vphantom {{\partial \theta } {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}}\).

It can be written:

$$\theta \left( {0,t} \right) = T\left( {0,t} \right) - T_{{\text{i}}}$$
(5)

If the significance of \(\Delta T\) is that:

$$\Delta T = T_{0} - T_{{\text{i}}}$$
(6)

The following notation can be written:

$$\theta_{0} = T_{0} - T_{{\text{i}}}$$
(7)

and:

$$\theta \left( {0,t} \right) = \theta_{0} \cos \left( {\upomega {\text{t}}} \right)$$
(8)

In every layer, the heat diffusion equation for one-dimensional coordinate \(\left( x \right)\) and time \(\left( t \right)\) dependence without heat generation is received as:

$$\frac{{\partial^{2} \theta }}{{\partial x^{2} }} = \frac{1}{\alpha }\frac{\partial \theta }{{\partial t}}$$
(9)

where \(\alpha\) is the thermal diffusivity and equal to \({k \mathord{\left/ {\vphantom {k {\rho c_{p} }}} \right. \kern-\nulldelimiterspace} {\rho c_{p} }}\), \(k\) is the material thermal diffusivity, \(\rho\) is the material density and \(c_{p}\) is the material heat capacity. A trial will be done to solve the above equation by the variable's separation method. The temperature parameter as a function of two separated variables is written as:

$$\theta = \theta_{{\text{x}}} \left( x \right) \cdot \theta_{t} \left( t \right)$$
(10)

By placing the last connection into the above equation, it may be written as:

$$\theta_{t} \left( t \right) \cdot \frac{{\partial^{2} \theta_{{\text{x}}} \left( x \right)}}{{\partial x^{2} }} = \frac{1}{\alpha } \cdot \theta_{{\text{x}}} \left( x \right) \cdot \frac{{\partial \theta_{t} \left( t \right)}}{\partial t}$$
(11)

After dividing the above equation by \(\theta_{{\text{x}}} \left( x \right) \cdot \theta_{t} \left( t \right)\), it is received as:

$$\frac{1}{{\theta_{{\text{x}}} \left( x \right)}} \cdot \frac{{\partial^{2} \theta_{{\text{x}}} \left( x \right)}}{{\partial x^{2} }} = \frac{1}{\alpha } \cdot \frac{1}{{\theta_{t} \left( t \right)}}\frac{{\partial \theta_{t} \left( t \right)}}{\partial t}$$
(12)

or as:

$$\alpha \cdot \frac{1}{{\theta_{{\text{x}}} \left( x \right)}} \cdot \frac{{\partial^{2} \theta_{{\text{x}}} \left( x \right)}}{{\partial x^{2} }} = \frac{1}{{\theta_{t} \left( t \right)}}\frac{{\partial \theta_{t} \left( t \right)}}{\partial t}$$
(13)

Since the left side of the above equation is a function of \(x\) only and the right side is a function of \(t\) only, the two sides of the equation have to be equal to a constant. The following constant will be taken:

$$\alpha \cdot \frac{1}{{\theta_{{\text{x}}} \left( x \right)}} \cdot \frac{{\partial^{2} \theta_{{\text{x}}} \left( x \right)}}{{\partial x^{2} }} = \frac{1}{{\theta_{t} \left( t \right)}}\frac{{\partial \theta_{t} \left( t \right)}}{\partial t} = {\text{i}}\upomega$$
(14)

where \(i\) is the imaginary unit. It can be written that:

$$\frac{1}{{\theta_{t} \left( t \right)}}\frac{{\partial \theta_{t} \left( t \right)}}{\partial t} = {\text{i}}\upomega$$
(15)

and that:

$$\frac{1}{{\theta_{t} \left( t \right)}}\frac{{d\theta_{t} \left( t \right)}}{dt} = {\text{i}}\upomega$$
(16)

or as:

$$\frac{{d\theta_{t} \left( t \right)}}{{\theta_{t} \left( t \right)}} = {\text{i}}\upomega {\text{dt}}$$
(17)

The solution of the time dependence part will be received by the continuing following steps:

$$\ln \left[ {\theta_{t} \left( t \right)} \right] = {\text{i}}\upomega {\text{t}} + C_{1}$$
(18)
$$\theta_{t} \left( t \right) = e^{{{\text{i}}\upomega {\text{t}} + C_{1} }} = C_{1} e^{{{\text{i}}\upomega {\text{t}}}}$$
(19)

The temperature location dependence will be received by developing the left side of the Eq. 13, continuing with the following steps:

$$\alpha \cdot \frac{1}{{\theta_{{\text{x}}} \left( x \right)}} \cdot \frac{{d^{2} \theta_{{\text{x}}} \left( x \right)}}{{dx^{2} }} = {\text{i}}\upomega$$
(20)
$$\frac{{d^{2} \theta_{{\text{x}}} \left( x \right)}}{{dx^{2} }} - \frac{{{\text{i}}\upomega }}{\alpha }\theta_{{\text{x}}} \left( x \right) = 0$$
(21)
$$\left( {D^{2} - \frac{{{\text{i}}\upomega }}{\alpha }} \right)\theta_{{\text{x}}} \left( x \right) = 0 \to D_{1,2} = \pm \sqrt {\frac{{{\text{i}}\upomega }}{\alpha }}$$
(22)

The full solution is received as:

$$\theta = \left[ {C_{2} \exp \left( {\sqrt {\frac{{{\text{i}}\upomega }}{\alpha }} x} \right) + C_{3} \exp \left( { - \sqrt {\frac{{{\text{i}}\upomega }}{\alpha }} x} \right)} \right]C_{1} e^{{{\text{i}}\upomega {\text{t}}}}$$
(23)

or as:

$$\theta = \left[ {C_{4} \exp \left( {\sqrt {\frac{{{\text{i}}\upomega }}{\alpha }} x} \right) + C_{5} \exp \left( { - \sqrt {\frac{{{\text{i}}\upomega }}{\alpha }} x} \right)} \right]e^{{{\text{i}}\upomega {\text{t}}}}$$
(24)

where \(C_{4} = C_{1} \cdot C_{2}\) and \(C_{5} = C_{1} \cdot C_{3}\).

Using the following connection:

$$\sqrt i = \frac{1}{\sqrt 2 } + i\frac{1}{\sqrt 2 }$$
(25)

The full solution is received as:

$$\theta = \left\{ {C_{4} \exp \left[ {\left( {\sqrt {\frac{\omega }{2\alpha }} + i\sqrt {\frac{\omega }{2\alpha }} } \right)x} \right] + C_{5} \exp \left[ { - \left( {\sqrt {\frac{\omega }{2\alpha }} + i\sqrt {\frac{\omega }{2\alpha }} } \right)x} \right]} \right\}e^{i\omega t}$$
(26)

The significance of the coefficients will now be changed according to the system structure:

$$\theta_{1} = C_{1} \exp \left\{ {\left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\} + C_{2} \exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\}$$
(27)
$$\theta_{2} = C_{3} \exp \left\{ {\left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\} + C_{4} \exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\}$$
(28)

where \(\theta_{1}\) is the relative temperature into the first layer and \(\theta_{2}\) is the relative temperature into the second layer.

The following boundary condition leads to knowing \(C_{3}\):

$$\left. {\theta_{2} } \right|_{{{\text{x}} \to \infty }} = 0 \to C_{3} = 0$$
(29)

The following boundary condition leads to the next coefficients connection:

$$\left. {\theta_{1} } \right|_{x = 0} = \theta_{0} \exp \left( {{\text{i}}\upomega {\text{t}}} \right)$$
(30)

It is received that:

$$C_{1} \exp \left( {{\text{i}}\upomega {\text{t}}} \right) + C_{2} \exp \left( {{\text{i}}\upomega {\text{t}}} \right) = \theta_{0} \exp \left( {{\text{i}}\upomega {\text{t}}} \right)$$
(31)

Dividing the above connection by \(\exp (i\omega t)\) leads to the following coefficients connection:

$$C_{1} + C_{2} = \theta_{0} \to C_{2} = \theta_{0} - C_{1}$$
(32)

The third boundary condition leads to the following coefficients connection:

$$\left. {\theta_{1} } \right|_{{{\text{x}} = {\text{L}}}} = \left. {\theta_{2} } \right|_{{{\text{x}} = {\text{L}}}}$$
(33)

or to:

$$\begin{gathered} C_{1} \exp \left\{ {\left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] + i\omega t} \right\} + C_{2} \exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] + {\text{i}}\upomega {\text{t}}} \right\} = \hfill \\ = C_{4} \exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)L} \right] + {\text{i}}\upomega {\text{t}}} \right\} \hfill \\ \end{gathered}$$
(34)

Dividing by \(\exp \,({\text{i}}\upomega {\text{t}})\) the following connection is received:

$$\begin{aligned} C_{1} \exp \left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] + C_{2} \exp \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] \\ & = C_{4} \exp \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)L} \right] \\ \end{aligned}$$
(35)

The fourth boundary condition leads to the following coefficients connections:

$$\left. {k_{1} \frac{{\partial \theta_{1} }}{\partial x}} \right|_{{{\text{x}} = {\text{L}}}} = \left. {k_{2} \frac{{\partial \theta_{2} }}{\partial x}} \right|_{{{\text{x}} = {\text{L}}}}$$
(36)
$$\begin{aligned} \left. {k_{1} \left\langle \begin{gathered} C_{1} \left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)} \right]\exp \left\{ {\left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\} + \hfill \\ + C_{2} \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)} \right]\exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\} \hfill \\ \end{gathered} \right\rangle } \right|_{{{\text{x}} = {\text{L}}}} \\ & = \left. {k_{2} C_{4} \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)} \right]\exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)x} \right] + {\text{i}}\upomega {\text{t}}} \right\}} \right|_{{{\text{x}} = {\text{L}}}} \\ \end{aligned}$$
(37)

It is received that:

$$\begin{aligned} k_{1} \left\langle \begin{gathered} C_{1} \left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)} \right]\exp \left\{ {\left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] + {\text{i}}\upomega {\text{t}}} \right\} + \hfill \\ + C_{2} \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)} \right]\exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] + {\text{i}}\upomega {\text{t}}} \right\} \hfill \\ \end{gathered} \right\rangle \\ & = k_{2} C_{4} \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)} \right]\exp \left\{ {\left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)L} \right] + {\text{i}}\upomega {\text{t}}} \right\} \\ \end{aligned}$$
(38)

The above equation can be divided by \(\exp \left( {{\text{i}}\upomega {\text{t}}} \right)\) to get:

$$\begin{aligned} k_{1} \left\{ \begin{gathered} C_{1} \left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)} \right]\exp \left[ {\left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] + \hfill \\ + C_{2} \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)} \right]\exp \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}} } \right)L} \right] \hfill \\ \end{gathered} \right\} \\ & = k_{2} C_{4} \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)} \right]\exp \left[ { - \left( {\sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}} } \right)L} \right] \\ \end{aligned}$$
(39)

By marking:

$$a_{1} = \sqrt {\frac{\omega }{{2\alpha_{1} }}} + i\sqrt {\frac{\omega }{{2\alpha_{1} }}}$$
(40)

and:

$$a_{2} = \sqrt {\frac{\omega }{{2\alpha_{2} }}} + i\sqrt {\frac{\omega }{{2\alpha_{2} }}}$$
(41)

The third boundary condition leads to the following connection:

$$C_{1} \exp \left( {a_{1} L} \right) + C_{2} \exp \left( { - a_{1} L} \right) = C_{4} \exp \left( { - a_{2} L} \right)$$
(42)

and the fourth boundary condition leads to the following connections:

$$k_{1} \left[ {C_{1} a_{1} \exp \left( {a_{1} L} \right) + C_{2} \left( { - a_{1} } \right)\exp \left( { - a_{1} L} \right)} \right] = k_{2} C_{4} \left( { - a_{2} } \right)\exp \left( { - a_{2} L} \right)$$
(43)
$$C_{1} k_{1} a_{1} \exp \left( {a_{1} L} \right) - C_{2} k_{1} a_{1} \exp \left( { - a_{1} L} \right) = - C_{4} k_{2} a_{2} \exp \left( { - a_{2} L} \right)$$
(44)

Developing the third boundary condition will lead to following connections:

$$C_{1} \exp \left( {a_{1} L} \right) + \left( {\theta_{0} - C_{1} } \right)\exp \left( { - a_{1} L} \right) = C_{4} \exp \left( { - a_{2} L} \right)$$
(45)
$$C_{1} \left[ {\exp \left( {a_{1} L} \right) - \exp \left( { - a_{1} L} \right)} \right] + \theta_{0} \exp \left( { - a_{1} L} \right) = C_{4} \exp \left( { - a_{2} L} \right)$$
(46)

Dividing the above connection by \(\exp \left( { - a_{2} L} \right)\) leads to the following connection:

$$C_{4} = C_{1} \left\{ {\exp \left[ {\left( {a_{1} + a_{2} } \right)L} \right] - \exp \left[ {\left( { - a_{1} + a_{2} } \right)L} \right]} \right\} + \theta_{0} \exp \left[ {\left( { - a_{1} + a_{2} } \right)L} \right]$$
(47)

By marking:

$$a_{3} = \exp \left[ {\left( {a_{1} + a_{2} } \right)L} \right] - \exp \left[ {\left( { - a_{1} + a_{2} } \right)L} \right]$$
(48)
$$a_{4} = \theta_{0} \exp \left[ {\left( { - a_{1} + a_{2} } \right)L} \right]$$
(49)

The following connection is received:

$$C_{4} = a_{3} C_{1} + a_{4}$$
(50)

By placing the values of \(C_{2}\) and \(C_{4}\) as a function of \(C_{1}\) into the fourth boundary condition, it leads to the following connections:

$$C_{1} k_{1} a_{1} \exp \left( {a_{1} L} \right) - \left( {\theta_{0} - C_{1} } \right)k_{1} a_{1} \exp \left( { - a_{1} L} \right) = \left( { - a_{3} C_{1} - a_{4} } \right)k_{2} a_{2} \exp \left( { - a_{2} L} \right)$$
(51)
$$C_{1} = \frac{{\theta_{0} k_{1} a_{1} \exp \left( { - a_{1} L} \right) - a_{4} k_{2} a_{2} \exp \left( { - a_{2} L} \right)}}{{k_{1} a_{1} \exp \left( {a_{1} L} \right) + k_{1} a_{1} \exp \left( { - a_{1} L} \right) + a_{3} k_{2} a_{2} \exp \left( { - a_{2} L} \right)}}$$
(52)

The exact temperature can be calculated by the following simple connection:

$$T = {\text{real}}\left( \theta \right) + T_{{\text{i}}}$$
(53)

Results and Discussion

In all the following figures titles, the density \(\rho\) is designated as d, the specific heat \(c_{p}\) is designated as c, and the thermal diffusivity \(\alpha\) is designated as al, all with the lower index indicates belonging to layer 1 or 2.

Figures 2, 3 and 4 introduce a principally plots to show the effect of the thermal conductivities on the temperature distribution. The boundary layer between the two layers is at \(x = 1\). The lines plot in the figure designates the relative temperature distribution every eighth period time. The frequency of the temperature oscillations was taken as \(\omega = 1\) and so the period time is equal to \({{2\pi } \mathord{\left/ {\vphantom {{2\pi } {\omega = 2\pi }}} \right. \kern-\nulldelimiterspace} {\omega = 2\pi }}\). Plot t1 designates the relative temperature distribution at \(t = 0\) and plot t8, for example, designates the temperature distribution after seven eighth of the period time \(\left( {{{7 \times 2\pi } \mathord{\left/ {\vphantom {{7 \times 2\pi } 8}} \right. \kern-\nulldelimiterspace} 8} = 5.4978} \right)\). Index 1 designates the physical parameters relate to layer 1 and index 2 designates the physical parameters relate to layer 2, ‘k’\(\left( k \right)\) is the thermal conductivity, ‘d’ \(\left( d \right)\) is the material density, ‘c’ \(\left( c \right)\) is the specific heat capacity, and ‘al’ \(\left( \alpha \right)\) is the thermal diffusivity.

Fig. 2
figure 2

Relative temperatures distributions in accordance to the parameters listed in the figure title. \(t_{1}\) to \(t_{8}\) note the temperature distribution plots at time intervals of the eighth time period. Since the oscillations frequency was taken as \(\omega = 1\), the time period is received as \(T = 2\pi /1 = 2\pi\). \(t_{1}\) plot notes the temperature distribution at \(t = 0\) or at \(t = 2\pi\). \(t_{2}\) plot notes the temperature distribution at \(t = 2\pi /8 = 0.7854\). \(t_{3}\) plot notes the temperature distribution at \(t = 2 \times 2\pi /8 = 1.5708\) and so on. \(t_{8}\) plot notes the temperature distribution at \(t = 7 \times 2\pi /8 = 5.4978\)

Fig. 3
figure 3

Relative temperatures distributions in accordance to the parameters listed in the figure title. \(t_{1}\) to \(t_{8}\) note the temperature distribution plots at time intervals of the eighth time period. Since the oscillations frequency was taken as \(\omega = 1\), the time period is received as \(T = 2\pi /1 = 2\pi\). \(t_{1}\) plot notes the temperature distribution at \(t = 0\) or at \(t = 2\pi\). \(t_{2}\) plot notes the temperature distribution at \(t = 2\pi /8 = 0.7854\). \(t_{3}\) plot notes the temperature distribution at \(t = 2 \times 2\pi /8 = 1.5708\) and so on. \(t_{8}\) plot notes the temperature distribution at \(t = 7 \times 2\pi /8 = 5.4978\)

Fig. 4
figure 4

Relative temperatures distributions in accordance to the parameters listed in the figure title. \(t_{1}\) to \(t_{8}\) note the temperature distribution plots at time intervals of the eighth time period. Since the oscillations frequency was taken as \(\omega = 1\), the time period is received as \(T = {{2\pi } \mathord{\left/ {\vphantom {{2\pi } {1 = }}} \right. \kern-\nulldelimiterspace} {1 = }}2\pi\). \(t_{1}\) plot notes the temperature distribution at \(t = 0\) or at \(t = 2\pi\). \(t_{2}\) plot notes the temperature distribution at \(t = {{2\pi } \mathord{\left/ {\vphantom {{2\pi } {8 = 0.7854}}} \right. \kern-\nulldelimiterspace} {8 = 0.7854}}\). \(t_{3}\) plot notes the temperature distribution at \(t = {{2 \times 2\pi } \mathord{\left/ {\vphantom {{2 \times 2\pi } {8 = 1.5708}}} \right. \kern-\nulldelimiterspace} {8 = 1.5708}}\) and so on. \(t_{8}\) plot notes the temperature distribution at \(t = 7 \times {{2\pi } \mathord{\left/ {\vphantom {{2\pi } {8 = 5.4978}}} \right. \kern-\nulldelimiterspace} {8 = 5.4978}}\)

Figure 2 shows the effect of the increased thermal conductivity into the right slab on the relative temperature distribution. It is shown that at \(x = 5\) the maximum relative temperature is equal to \(0.0968\) and at \(x = 1\) the maximum relative temperature is equal to \(0.2395\).

Figure 3 shows the effect of the decreased conductivity or smaller equal thermal conductivities into the two layers on the relative temperature distribution. It is shown that at \(x = 5\) the maximum relative temperature is equal to \(0.0269\) and at \(x = 1\) the maximum relative temperature is equal to \(0.4916.\)

By examining and comparing the two Figs. 2 and 3 and the above data, it is shown as was expected that the relative temperature oscillations in Fig. 2 where the second slab has the larger thermal conductivity restrained along the longer distance. But, it is noteworthy to be written and clearly was not expected that in the boundary between the two slabs, the figure with the reduced thermal conductivity shows larger oscillations. This result can be explained by energy conservation insight. On the left surface, the surface where \(x = 0\), there are the same oscillations and amplitudes in the two structures represented by the two Figs. 2 and 3. The structure represented by Fig. 2 has an overall thermal resistance smaller than that represented Fig. 3 as a result of larger thermal conductivities along the two layers. So, it has to be concluded that the heat flux on the external surface of Fig. 2 structure at \(x = 0\) need to be larger than Fig. 3 structure and since that layer 1 of the two structures has identical values, the absolute gradient of Fig. 2 structure has to be larger than Fig. 3 structure. Also, according to an overall insight based on the larger conductivity of Fig. 2 structure in layer 2 and smaller overall thermal resistance, the temperature oscillations of Fig. 2 structure restrained along larger distance which can be clearly seen on the external left surfaces at \(x = 5\), the maximum relative temperature value at Fig. 2 is larger than the maximum relative temperature value at Fig. 3.

Figure 4 introduce a principally plot to show the effect of the increased thermal conductivity into the left slab on the relative temperature distribution. It is shown that at \(x = 5\) the maximum relative temperature is equal to \(0.0538\) and at \(x = 1\) the maximum relative temperature is equal to \(0.9234\). The relative temperature gradient on the external surface at \(x = 0\) is smaller than the relative temperature gradients shown at Fig. 3. This can be explained as a result of the larger conductivity of layer 1 in Fig. 4, a large conductivity does not need a large temperature gradient to transfer the heat flux.

Along all the lines plot in Figs. 2, 3 and 4, it is shown that related to the two layers the temperature absolute value decreases along the depth coordinate \(\left( x \right)\).

In Figs. 2 and 4, where there is a change in the thermal conductivity there is a change in the temperature gradient at the separating surface at \(x = 1\). When the thermal conductivity increases as in Fig. 2, the absolute value of the temperature gradient decreases. When the thermal conductivity decreases as in Fig. 4, the absolute value of the temperature gradient increases. This is of course due to the identity in the calculation of the heat flux along the separating surface based on layer 1 or based on layer 2, \(\left. { - k_{1} {{\partial T_{1} } \mathord{\left/ {\vphantom {{\partial T_{1} } {\partial x}}} \right. \kern-\nulldelimiterspace} {\partial x}}} \right|_{x = 1} = \left. { - k_{2} {{\partial T_{2} } \mathord{\left/ {\vphantom {{\partial T_{2} } {\partial x}}} \right. \kern-\nulldelimiterspace} {\partial x}}} \right|_{x = 1}\) or \(\left. {k_{1} {{\partial T_{1} } \mathord{\left/ {\vphantom {{\partial T_{1} } {\partial x}}} \right. \kern-\nulldelimiterspace} {\partial x}}} \right|_{x = 1} = \left. {k_{2} {{\partial T_{2} } \mathord{\left/ {\vphantom {{\partial T_{2} } {\partial x}}} \right. \kern-\nulldelimiterspace} {\partial x}}} \right|_{x = 1}\). This physical condition leads to either temperature drop or to either a sharp rise in temperature.

It can be seen in Fig. 2, 3 and 4 that except in the constraint surface at \(x = 0\) where their value is zero and there are certain times when the temperatures are all either positive or either negative along all medium depth. These times are indicated by the plots t3 and t7. These are the times that indicate the temperature distribution after a quarter period time and after a three-quarter period time, respectively. This description is most clearly shown in Fig. 3 which represent an equal thermal conductivity in layer 1 and in layer 2. Plot t3 and plot t7 represent the last times before a negative or a positive trend change is imposed on the surface constraint at x = 1.

Plots t3 and t7 in Fig. 2, 3 and 4 show also acceptance of extreme temperature or extreme surfaces where the temperature is maximum or minimum. It is worth noting that these surfaces indicate the existence of adiabatic surfaces at these times. It can be noted that the heat enters along the medium depth until that adiabatic surfaces and does not pass on. On the other hand, heat exits from the area or volume defined by the constraint surface at \(x = 0\) to those adiabatic surfaces.

In Fig. 2, at times t1 and t5, it can be seen that the temperature distribution is linear along all the medium depth, both in the first and in the second layer. There are two factors that may contribute to this distribution kind. One factor is the lower thermal conductivity of the first layer which in fact is a resistance to heat transfer or to temperature change within the medium. The second factor relates to times t1 and t5, these times are the extremes of the temperature constraint because they indicate the start time period and the half time period. These times can be estimated as weakened times in terms of transient heat transfer and in fact strengthen the closeness to a steady heat transfer, plus the assumptions that exist here, no heat generation, one-dimensional heat transfer and constant thermal conductivity. All these may support the linear temperature distribution result. In Fig. 3, in which the thermal conductivity is uniform, there is no discontinuity in the thermal conductivity in both layers 1 and 2. In fact, one uniform layer is obtained. Here, there is no breaking in the temperature distribution and no temperature distribution of straight lines. Probably where possible, the temperature distribution would be a natural continuity with no straight lines.

Figure 5 shows a real plot related to real parameters that was taken from a structural building materials list suited to a part of house wall composition. Layer 1 made of gypsum plaster was taken as the external layer exposed to the temperature environment. The gypsum plaster parameters are: material density \(\rho_{1} = 1680\,{\text{kg/m}}^{3}\), material thermal conductivity \(k_{1} = 0.22\,{{\text{W}} \mathord{\left/ {\vphantom {{\text{W}} {{\text{m}} \cdot^\circ {\text{C}}}}} \right. \kern-\nulldelimiterspace} {{\text{m}} \cdot^\circ {\text{C}}}}\) and specific heat capacity \(c_{{p_{1} }} = 1085\,{\text{J}}/{\text{kg}} \cdot^\circ {\text{C}}\). Layer 2 which is the main building material of the wall was taken as common brick. The brick parameters are: material density \(\rho_{2} = 1920\,{\text{kg}}/{\text{m}}^{3}\), material thermal conductivity \(k_{2} = 0.72\,{\text{W}}/{\text{m}} \cdot^\circ {\text{C}}\) and specific heat capacity \(c_{{p_{2} }} = 835\,{\text{J}}/{\text{kg}} \cdot^\circ {\text{C}}\). Layer 1 thickness was taken as \(2\,{\text{cm}}\), and Layer 2 thickness was taken as \(8\,{\text{cm}}\). The temperature amplitude between day and night was taken as \(\theta_{0} = 10\,^\circ {\text{C}}\). Twenty-four hours were taken for the period time and so the frequency is received as \(\omega = {{2\pi } \mathord{\left/ {\vphantom {{2\pi } {24_{{{\text{houres}}}} = 7.2722 \times 10^{ - 5} \,{\text{rad/s}}}}} \right. \kern-\nulldelimiterspace} {24_{{{\text{houres}}}} = 7.2722 \times 10^{ - 5} \,{\text{rad/s}}}}\). The parameters dimensions shown in the figure are: \(\theta \,\left[ {^\circ {\text{C}}} \right]\), \(x\,\left[ m \right]\), \(k\,\left[ {{{{\text{kg}}} \mathord{\left/ {\vphantom {{{\text{kg}}} {{\text{m}} \cdot^\circ {\text{C}}}}} \right. \kern-\nulldelimiterspace} {{\text{m}} \cdot^\circ {\text{C}}}}} \right]\), \(d \equiv \rho \,\left[ {{{{\text{kg}}} \mathord{\left/ {\vphantom {{{\text{kg}}} {{\text{m}}^{{3}} }}} \right. \kern-\nulldelimiterspace} {{\text{m}}^{{3}} }}} \right]\), \(c \equiv c_{p} \,\left[ {{{\text{J}} \mathord{\left/ {\vphantom {{\text{J}} {{\text{kg}} \cdot^\circ {\text{C}}}}} \right. \kern-\nulldelimiterspace} {{\text{kg}} \cdot^\circ {\text{C}}}}} \right]\), \({\text{al}} \equiv \alpha \,\left[ {{{{\text{m}}^{{2}} } \mathord{\left/ {\vphantom {{{\text{m}}^{{2}} } {\text{s}}}} \right. \kern-\nulldelimiterspace} {\text{s}}}} \right]\). The figure shows the relative temperature oscillations along this part of the wall. The oscillations restraint after the plaster layer or at \(x = 2\,{\text{cm}}\) is received as \({{5.4490\,^\circ {\text{C}}} \mathord{\left/ {\vphantom {{5.4490\,^\circ {\text{C}}} {10\,^\circ {\text{C}} = }}} \right. \kern-\nulldelimiterspace} {10\,^\circ {\text{C}} = }}0.5449 = 54.490\%\) and the oscillations restraint after the brick or at \(x = 10\,{\text{cm}}\) is received as \({{2.6268\,^\circ {\text{C}}} \mathord{\left/ {\vphantom {{2.6268\,^\circ {\text{C}}} {10\,^\circ {\text{C}} = }}} \right. \kern-\nulldelimiterspace} {10\,^\circ {\text{C}} = }}0.26268 = 26.268\%\). The brick restraint only is \({{2.6268\,^\circ {\text{C}}} \mathord{\left/ {\vphantom {{2.6268\,^\circ {\text{C}}} {5.4490\,^\circ {\text{C}} = 0.4821 = 48.21\% }}} \right. \kern-\nulldelimiterspace} {5.4490\,^\circ {\text{C}} = 0.4821 = 48.21\% }}\). It should be noted that, in addition to the fact that the wall prevents heat transfer to a cold environment, it also acts as a retainer for the temperature fluctuations or at an equal inference to the heat transfer oscillations.

Fig. 5
figure 5

Relative temperature distributions along a real wall (the relevant parameters are listed in the figure title). \(t_{1}\) to \(t_{8}\) note the temperature distribution plots at time intervals of the eighth time period. The time period was taken as \(T = 24\,{\text{hours}} = 86,400\,{\text{seconds}}\)(\(\omega = 2\pi /24\,{\text{hours}} = 7.2722 \times 10^{ - 5} \,{{{\text{rad}}} \mathord{\left/ {\vphantom {{{\text{rad}}} s}} \right. \kern-\nulldelimiterspace} s}\)). \(t_{1}\) plot notes the temperature distribution at \(t = 0\) or at \(t = 24\,{\text{hours}}\, = 86,400\,{\text{seconds}}\). \(t_{2}\) plot notes the temperature distribution at \(t = 24/8 = 3\,{\text{hours}} = 10\,800\,{\text{seconds}}\). \(t_{3}\) plot notes the temperature distribution at \(t = 2 \times 24/8 = 6\,{\text{hours}} = 21,600\,{\text{seconds}}\) and so on. \(t_{8}\) plot notes the temperature distribution at \(t = 7 \times 24/8 = 21\,{\text{hours}} = 75,600\,{\text{s}} {\text{econds}}\)

A comparison of the amplitude absolute value between Figs. 5 and 2, 3, 4 indicates something about the validation of the physical model. It can be seen that the values of the temperatures along all the medium relative to the amplitude value decrease with decreasing the amplitude value. Another small move to validate the model was made by selecting a constant forced temperature by setting a zero value for amplitude. The temperature values obtained along the entire medium were zero as expected. There was no point in presenting this plot result.

Summary

The physical model presented in this work for a finite material thickness inserted within the semi-infinite medium can be applied for an additional number of material layers. It was shown that the structure with the overall smaller thermal resistance due to a larger conductivity in the semi-infinite medium leads to a larger absolute gradient of temperature value at the external surface at \(x = 0\). At the times after a quarter period time and after a three-quarter period time, temperature distributions with extreme, maximum or minimum temperatures values are received. These values actually represent adiabatic surfaces at these times, meaning that heat transfer, entry or exit occurs in the limited volume between the constraint surface and those adiabatic surfaces. These temperature distributions also show receiving of identical, positive or negative values along all the medium depth. At the start time of the time period and at the half time of the time period, linear temperatures distributions are obtained. These times can be seen as weakening times in terms of supporting the transient heat transfer. The temperature distribution in the structure of a wall made up of real building materials shows that the wall is a retainer for temperature fluctuations and not just is a basic resistance to heat transfer. Using complex numbers are a very efficient tool for analysing such research directions. Linear physical models have very high capacity of describing most important physical phenomena.