Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

An Analytic Solution for 2D Heat Conduction Problems with General Dirichlet Boundary Conditions

An Analytic Solution for 2D Heat Conduction Problems with General Dirichlet Boundary Conditions axioms Article An Analytic Solution for 2D Heat Conduction Problems with General Dirichlet Boundary Conditions 1 2 1 , Heng-Pin Hsu , Te-Wen Tu and Jer-Rong Chang * Department of Aircraft Engineering, Air Force Institute of Technology, 1 Associate Jyulun Road, Gang-Shan District, Kaoshiung City 820, Taiwan Department of Mechanical Engineering, Air Force Institute of Technology, 1 Associate Jyulun Road, Gang-Shan District, Kaoshiung City 820, Taiwan * Correspondence: jerrong.chang@gmail.com; Tel.: +886-7-6256040 Abstract: This paper proposed a closed-form solution for the 2D transient heat conduction in a rectangular cross-section of an infinite bar with the general Dirichlet boundary conditions. The boundary conditions at the four edges of the rectangular region are specified as the general case of space–time dependence. First, the physical system is decomposed into two one-dimensional subsystems, each of which can be solved by combining the proposed shifting function method with the eigenfunction expansion theorem. Therefore, through the superposition of the solutions of the two subsystems, the complete solution in the form of series can be obtained. Two numerical examples are used to investigate the analytic solution of the 2D heat conduction problems with space–time- dependent boundary conditions. The considered space–time-dependent functions are separable in the space–time domain for convenience. The space-dependent function is specified as a sine function and/or a parabolic function, and the time-dependent function is specified as an exponential function and/or a cosine function. In order to verify the correctness of the proposed method, the case of the space-dependent sinusoidal function and time-dependent exponential function is studied, and the consistency between the derived solution and the literature solution is verified. The parameter influence of the time-dependent function of the boundary conditions on the temperature variation is also investigated, and the time-dependent function includes harmonic type and exponential type. Citation: Hsu, H.-P.; Tu, T.-W.; Keywords: analytic solution; 2D heat conduction; space–time-dependent dependent; Dirichlet Chang, J.-R. An Analytic Solution for boundary conditions; shifting function method 2D Heat Conduction Problems with General Dirichlet Boundary MSC: 35K05; 80M99 Conditions. Axioms 2023, 12, 416. https://doi.org/10.3390/ axioms12050416 Academic Editors: Leonid Plotnikov 1. Introduction and Giovanni Mascali The application of heat conduction problems with time-dependent boundary condi- Received: 2 March 2023 tions can be broadly applied in a wide range of engineering fields, such as time-varying Revised: 8 April 2023 heating on walls or plate panels, laser heating on solids, and the design of mechanical Accepted: 20 April 2023 parts (such as those in turbines and engines [1,2]). In general, the types of time-dependent Published: 24 April 2023 boundary conditions at the boundary surface include (1) the first type: specified tempera- ture distribution (Dirichlet boundary condition); (2) the second type: specified heat flux distribution; and (3) the third type: convective heat exchange with the environment at a specified temperature. There are many methods to solve these three types of problems, Copyright: © 2023 by the authors. such as pure numerical method, approximate method, and exact method. The literature Licensee MDPI, Basel, Switzerland. review focuses on the study of 1D and 2D transient heat conduction problems with various This article is an open access article time-dependent boundary conditions, as shown below. distributed under the terms and For one-dimensional heat conduction problems with different kinds of time-dependent conditions of the Creative Commons boundary conditions, these problems cannot be solved directly by the variable separation Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ method due to the nonhomogeneity of boundary conditions. In the early 1970s, Ivanov and 4.0/). Salomatov [3,4] and Postol’Nik [5] were the first to transform the governing differential Axioms 2023, 12, 416. https://doi.org/10.3390/axioms12050416 https://www.mdpi.com/journal/axioms Axioms 2023, 12, 416 2 of 21 equation of the linear one-dimensional system into a nonlinear equation by introducing new variables. After neglecting the nonlinear terms, they obtained an approximated solution that they said was valid for the system with the Biot number less than 0.25. At the same time, Kozlov [6] used the Laplace transformation technique to study the problem with the Biot function in a rational combination of sine, cosine, polynomial and exponential functions. Although exact series solutions can be obtained for a given transformation system, great difficulties arise in the inversion of the transformation function, which is often not so straightforward. In addition, various approximation methods such as the iterative perturbation method [7], the eigenfunction expansion method [8], and the Lie point symmetry analysis method [9] have been used to study such heat conduction problems. Later in 2010, Lee and colleagues [10–12] proposed an integration-free solution method, which is an extension of the shifting function method developed in their previous research [13], to derive an analytic closed solution for the heat conduction with time- dependent boundary conditions of the second and the third types. Using the same method, they [14–16] had successfully performed one-dimensional inverse estimation of the heat treatment problem with unknown time-dependent boundary conditions of various types. For the two-dimensional heat conduction problems with time-dependent boundary conditions, a considerable amount of work can be found in the literature on the develop- ment of exact, approximate, and numerical methods. In some advanced heat conduction books [17–19], some classical techniques such as Laplace transform, Duhamel’s theorem, and Green’s function have been proposed to solve them. Applying the Laplace transform starts with finding the solution of a 2D problem with nonhomogeneous boundary condi- tions in the transformed domain. Taking the inverse Laplace transform from the complex domain always has difficulties. The typical surveys included Zhu [20], Zhu et al. [21], and Sutradhar et al. [22] who dealt with the time derivative term in the diffusion equation by using the Laplace transform techniques. On the other hand, using Duhamel’s theorem [17], an auxiliary 2D problem with associated nonhomogeneous boundary conditions must first be solved. Therefore, the result will be obtained by differentiating under the integration. Similarly, Green’s function solution method [17] requires the derivation of the associated Green’s function, which satisfies a differential equation with a delta function and homoge- neous boundary conditions. To obtain the general solution, the associated Green’s function must be directionally differentiated and integrated over the space and time domains. In ad- dition, some numerical techniques, such as finite difference method and boundary element method, have also been used to solve 2D heat conduction problems with time-dependent boundary conditions. Bulgakov et al. [23] used the finite difference method to advance the solution in the time domain with the numerical schemes based on the boundary element method, while Walker [24] applied the diffusion fundamental solution combined with the time integration to solve the diffusion equation. Later, Chen et al. [25] applied the method of fundamental solutions for diffusion equations by using the modified Helmholtz funda- mental solution. Burgess and Mahajerin [26] used the fundamental collocation method to solve the problems of arbitrary shapes subjected to arbitrary initial conditions and mixed time-dependent boundary conditions. The time-dependent fundamental solutions for diffusion equations were directly used by Young et al. [27] to obtain the solution as a linear combination of the fundamental solution of the diffusion operator. On the other hand, Cole and Yen [28] involved the method of Green’s function to obtain fast-converging expressions for the temperature and heat flux in a rectangular plate. Beck et al. [29] have developed the transient temperatures of the plates under time-varying heating conditions to an integer power at a surface. Lei et al. [30] presented a space–time generalized finite difference method (GFDM) to solve the transient heat conduction problem by integrating direct space–time discretization techniques into the meshless GFDM. Alam et al. [31] proposed a novel generalized (G’/G) extension technique for two nonlinear evolution equations: the (2+1) dimensional Konopelchenko–Dubrovsky (KD) equation and the (2+1) dimensional Kadomtsev–Petviashvili (KP) equations and obtained some new precise answers. The secured answers include a particular variety of solitary wave solutions. Islam et al. [32] Axioms 2023, 12, 416 3 of 21 applied a modified (G’/G) expansion method to seek new calculations of the Zakharov– Kuznetsov (ZK) equations developed in electrical engineering. Illustrated by 3D and contour plots, the mathematical results clearly demonstrate the complete honesty and high performance of the proposed algorithm. Krishnan et al. [33] proposed a technique based on eigenfunction expansion for solving 1D phase change heat transfer problems with time- dependent temperature or heat flux boundary conditions. By using Duhamel’s theorem, Belekar et al. [34] derived an analytic solution for the transient axisymmetric temperature distribution in a cylindrical geometry with time-dependent boundary conditions. To the best of the authors’ knowledge, there is no literature formulating an analytic solution for the 2D heat conduction problems with the general Dirichlet boundary condi- tions specifying space–time-dependent dependent boundary conditions at the four edges of rectangular region. This paper develops a simplified exact solution method for the transient heat conduction in a rectangular cross-section of an infinite bar with space–time- dependent dependent boundary conditions using the shifting function method proposed by Lee and colleagues [10–16]. The study focuses on the 2D heat conduction problems with the general Dirichlet boundary conditions. For the two-dimensional problem, the original two-dimensional system is separated into two independent one-dimensional subsystems. The boundary conditions of the subsystems can then be changed from nonhomogeneous to homogeneous using the shifting function method, and an analytic solution can be derived using the eigenfunction expansion theorem. The solutions obtained from the two separate subsystems are combined to construct the solution of the original two-dimensional system. Finally, a numerical example is given, and the correctness of the obtained solution is veri- fied via comparison with the literature [27]. Other case studies illustrate the feasibility of this approach. The contributions of this paper are as follows: (1) Lee and colleagues [10–16] used the shifting function method to derive an analytic solution for the heat conduction with time-dependent boundary conditions. They also performed an inverse estimation of a heat treatment problem with unknown time-dependent boundary conditions. However, their research is limited to the scope of one-dimensional heat conduction problems. The greatest contribution of this work is the first investigation of the analytic solution to 2D heat conduction problems with the general Dirichlet boundary conditions by using the proposed method, combining the shifting function method with the expansion theorem method. The applicability of the present method is in solving the heat conduction problems of a rectangular cross- section of an infinite rod with specified space–time-dependent dependent boundary conditions at the four edges of the rectangular region; (2) Some advanced heat conduction books [17–19] proposed some classical techniques such as the Laplace transform, Duhamel’s theorem, and Green’s function to solve the heat conduction problem. However, they are limited to the integration situation during the solution process. The correctness of the solution in this study is verified by comparing it with the results of Young et al. [27]. To the best of the authors’ knowledge, the other cases in this paper have never been presented in past studies. Although the number of series expansion terms determines the accuracy of the solution, the case study shows that the proposed method has good convergence to the solution using series expansion and can quickly reach a convergence value. The influence of the parameters of the time-dependent boundary function on the temperature variation is also studied. 2. Mathematical Modeling Consider the transient heat conduction for a rectangular cross-section in an infinite bar with the space–time-dependent Dirichlet boundary conditions on its four sides and no heat generation in the medium. Figure 1 shows the geometry, the boundary conditions and Axioms 2023, 12, 416 4 of 21 initial condition of a rectangular cross-section in an infinite bar. The governing equation, boundary conditions and initial condition of the problem are as follows: 2 2 ¶ T(x, y, t) ¶ T(x, y, t) ¶T(x, y, t) k + = rc in 0 < x < L , 0 < y < L , t > 0, (1) x y 2 2 ¶x ¶y ¶t T(0, y, t) = f (y, t) at x = 0, 0  y  L , (2) 1 y T(L , y, t) = f (y, t) at x = L , 0  y  L , (3) x 2 x y T(x, 0, t) = f (x, t) at y = 0, 0  x  L , (4) 3 x T(x, L , t) = f (x, t) at y = L , 0  x  L , (5) y 4 y x T(x, y, 0) = T (x, y) at t = 0, 0  x  L , 0  y  L (6) x y where T(x, y, t) denotes the temperature function, x and y are the two-dimensional space variables, L and L are the thicknesses of the rectangular region at x and y directions, x y respectively, and t is the time variable. In addition, k is the thermal conductivity, r is the mass density, and c is the specific heat. It is noted that f (y, t) i = 1, 2 and f (x, t) i = 3, 4 denote i i the general case of space–time-dependent temperatures prescribed along the surfaces at the left and right ends and bottom and top ends, respectively. Furthermore, considering Axioms 2023, 12, x FOR PEER REVIEW 5 of 26 the matching of the boundary conditions with the initial conditions, one has f (y, 0) = T (0, y), f (y, 0) = T (L , y), f (x, 0) = T (x, 0), f (x, 0) = T (x, L ). (7) 1 0 2 0 x 3 0 4 0 y (a) Figure 1. Cont. T (x, L , t )= f (x, t ) y 4 T (0, y,t)= f (y,t) T (L , y,t)= f (y,t) Initially T (x, y,0)= T (x, y) x 2 T (x, 0, t)= f (x, t) x (b) Figure 1. The 2D heat conduction in a rectangular cross-section of an infinite bar with general Di- richlet boundary conditions. (a) An infinite bar with a rectangular cross-section. (b) The 2D heat transfer system in a rectangular region (cross-section). 3. The Solution Methodology A dimensionless form of the 2D heat conduction system is first derived and split into two subsystems, each of which can be solved as a 1D problem. By properly introducing the shifting functions, the second-order governing differential equation with space– time-dependent boundary conditions are transformed into the dierent ff ial equation with homogeneous boundary conditions. 3.1. The Dimensionless Form of Physical System The dimensionless parameters are defined as follows: Axioms 2023, 12, x FOR PEER REVIEW 5 of 26 Axioms 2023, 12, 416 5 of 21 (a) T (x, L , t )= f (x, t ) y 4 T (0, y,t)= f (y,t) T (L , y,t)= f (y,t) Initially T (x, y,0)= T (x, y) x 2 T (x, 0, t)= f (x, t) x (b) Figure 1. The 2D heat conduction in a rectangular cross-section of an infinite bar with general Di- Figure 1. The 2D heat conduction in a rectangular cross-section of an infinite bar with general richlet boundary conditions. (a) An infinite bar with a rectangular cross-section. (b) The 2D heat Dirichlet boundary conditions. (a) An infinite bar with a rectangular cross-section. (b) The 2D heat transfer system in a rectangular region (cross-section). transfer system in a rectangular region (cross-section). 3. The Solution Methodology 3. The Solution Methodology A dimensionless form of the 2D heat conduction system is first derived and split A dimensionless form of the 2D heat conduction system is first derived and split into into two subsystems, each of which can be solved as a 1D problem. By properly in- two subsystems, each of which can be solved as a 1D problem. By properly introducing troducing the shifting functions, the second-order governing differential equation with the shifting functions, the second-order governing differential equation with space– space–time-dependent boundary conditions are transformed into the differential equation time-dependent boundary conditions are transformed into the dierent ff ial equation with with homogeneous boundary conditions. homogeneous boundary conditions. 3.1. The Dimensionless Form of Physical System The dimensionless parameters are defined as follows: 3.1. The Dimensionless Form of Physical System The dimensionless parameters are defined as follows: T(x, y, t) at x y f (y, t) q(X, Y, t) = , t = , X = , Y = , L = , F (Y, t) = , T L L L L T r x y x r f (y, t) f (x, t) f (x, t) T (x, y) 2 3 4 0 F (Y, t) = , F (X, t) = , F (X, t) = , q (X, Y) = . (8) 2 3 0 T T T T r r r r The dimensionless form of the boundary-initial value problem is derived as follows: 2 2 ¶ q(X, Y, t) ¶ q(X, Y, t) ¶q(X, Y, t) L + = in 0 < X < 1, 0 < Y < 1, t > 0, (9) 2 2 ¶t ¶X ¶Y q(0, Y, t) = F (Y, t) at X = 0, 0  Y  1, (10) q(1, Y, t) = F (Y, t) at X = 1, 0  Y  1, (11) q(X, 0, t) = F (X, t) at Y = 0, 0  X  1, (12) q(X, 1, t) = F (X, t) at Y = 1, 0  X  1, (13) 4 Axioms 2023, 12, 416 6 of 21 q(X, Y, 0) = q (X, Y) at t = 0, 0  X  1, 0  Y  1, (14) F (Y, 0) = q (0, Y), F (Y, 0) = q (1, Y), F (X, 0) = q (X, 0), F (X, 0) = q (X, 1) (15) 1 0 2 0 3 0 4 0 where the parameter a = in Equation (8) represents the thermal diffusivity and T is the r c reference temperature. 3.2. Principle of Superposition Due to the linear property of the boundary value problem, the physical system can Axioms 2023, 12, x FOR PEER REVIEW 7 of 26 be divided into two subsystems, A and B along the X and Y directions by using the superposition principle, as shown in Figure 2; q(X, Y, t) is spilt into two parts as follows: q(X, Y, t) = q (X, Y, t) + q (X, Y, t). (16) a b  (X ,1, )= 0 Initially  (0,Y , )= F (Y , )  (X ,Y ,0)= (X ,Y )  (1,Y , )= F (Y , ) a 1 a a 0 a 2  (X ,0, )= 0 (a)  (X , 1,  )= F (X , ) b 4 Initially  (0,Y , )= 0  (1,Y , )= 0 b  (X ,Y ,0)= (X ,Y )− (X ,Y ) b 0 a 0 = (X ,Y ) b 0  (X , 0, )= F (X , ) 1 X a 3 (b) Figure 2. The two subsystems of the two-dimensional heat conduction system with general Di- Figure 2. The two subsystems of the two-dimensional heat conduction system with general Dirichlet richlet boundary conditions. (a) For subsystem A. (b) For subsystem B. boundary conditions. (a) For subsystem A. (b) For subsystem B. For the subsystem A , the governing equation, boundary conditions and initial condition for the heat conduction problem are 2 2     (X ,Y , )   (X ,Y , )  (X ,Y , ) a a a   0 in 0 X  1, 0 Y  1 , , L + = (17)  r  2 2 X Y     (0,Y , )= F (Y , ) (18) at X = 0 , 0 Y  1 , a 1  (1,Y , )= F (Y , ) (19) at X = 1 , 0 Y  1 , a 2 Axioms 2023, 12, 416 7 of 21 For the subsystem A, the governing equation, boundary conditions and initial condi- tion for the heat conduction problem are 2 2 ¶ q (X, Y, t) ¶ q (X, Y, t) ¶q (X, Y, t) a a a L + = in 0 < X < 1, 0 < Y < 1, t > 0, (17) 2 2 ¶X ¶Y ¶t q (0, Y, t) = F (Y, t) at X = 0, 0  Y  1, (18) a 1 q (1, Y, t) = F (Y, t) at X = 1, 0  Y  1, (19) q (X, 0, t) = 0 at Y = 0, 0  X  1, (20) q (X, 1, t) = 0 at Y = 1, 0  X  1, (21) q (X, Y, 0) = q (X, Y) at t = 0, 0  X  1, 0  Y  1. (22) a a0 Likewise, for the subsystem B, the governing equation, boundary conditions and initial condition for the heat conduction problem are 2 2 ¶ q (X, Y, t) ¶ q (X, Y, t) ¶q (X, Y, t) 2 b b b L + = in 0 < X < 1, 0 < Y < 1, t > 0, (23) 2 2 ¶t ¶X ¶Y q (0, Y, t) = 0 at X = 0, 0  Y  1, (24) q (1, Y, t) = 0 at X = 1, 0  Y  1, (25) q (X, 0, t) = F (X, t) at Y = 0, 0  X  1, (26) b 3 q (X, 1, t) = F (X, t) at Y = 1, 0  X  1, (27) b 4 q (X, Y, 0) = q (X, Y) q (X, Y) = q (X, Y) at t = 0, 0  X  1, 0  Y  1. (28) 0 a0 b b0 For the two similar subsystems, first solve the subsystem A, and then solve the subsystem B, listed in the Appendix A for brevity. 3.3. Reduced to One-Dimensional Problem Considering the two homogeneous boundary conditions at the opposite edges of the rectangular region, namely, Y = 0 and Y = 1, one can reasonably assume that the temperature q (X, Y, t) and dimensionless quantities F (Y, t) (i = 1, 2) defined in a i Equations (18) and (19) are q (X, Y, t) = [q (X, t) sin(mpY)], (29) a å m m=1 F (Y, t) = F (t) sin(mpY) , (i = 1, 2) (30) i å i,m m=1 where F (t) (i = 1, 2) is defined as i,m F (t) = 2 F (Y, t) sin(mpY)dY, (i = 1, 2). (31) i,m i 0 Axioms 2023, 12, 416 8 of 21 Thus, q (X, t) in Equation (29) is determined by satisfying the boundary conditions on both sides X = 0 and X = 1 (Equations (18) and (19)) and the governing equation. After substituting Equations (29) and (30) back into Equations (17)–(19), we can obtain the following results ¶q (X, t) ¶ q (X, t) m m 2 2 2 L + m p q (X, t) = 0 in 0 < X < 1, t > 0, (32) ¶t ¶X q (0, t) = F (t) at X = 0, (33) m 1,m q (1, t) = F (t) at X = 1, (34) 2,m q (X, 0) = 2 q (X, Y) sin(mpY)dY at t = 0. (35) m a0 3.4. The Shifting Function Method 3.4.1. Change of Variable To solve the second-order partial differential equation (Equation (32)) with nonho- mogeneous boundary conditions (Equations (33) and (34)), the shifting function method developed by Lee and colleagues [10] is extended by employing the following transforma- tion equation q (X, t) = q (X, t) + [g (X)F (t)]. (36) m m å i,m i,m i=1 where q (X, t) is a transformed function and g (X) (i = 1, 2) represents the two shift m i,m functions that need to be specified. Substituting Equation (36) into Equations (32)–(34) can obtain . . 2 2 00 00 q (X, t) + [g (X)F (t)] L fq (X, t) + [g (X)F (t)]g m å m å i,m i,m r i,m i,m i=1 i=1 (37) 2 2 +m p fq (X, t) + [g (X)F (t)]g = 0 m i,m i,m i=1 where the double primes are used to represent the twice differentiation with respect to X and the dots represent the differentiation with respect to t, respectively. The associated boundary conditions become q (0, t) + [g (0)F (t)] = F (t), (38) m å i,m i,m 1,m i=1 q (1, t) + [g (1)F (t)] = F (t). (39) m å i,m i,m 2,m i=1 3.4.2. The Shifting Functions For the convenience of analysis, the shifting functions are specially selected so that they satisfy the following differential equations and boundary conditions g (X) = 0, i = 1, 2, 0 < X < 1, (40) i,m g (0) = d , g (1) = d (41) i,m i1 i,m i2 where d is the Kronecker delta. Therefore, two shifting functions can be easily determined as ij g (X) = 1 X, g (X) = X (42) 1,m 2,m Axioms 2023, 12, 416 9 of 21 After substituting Equations (40)–(42) back into Equations (37)–(39) yields a differential equation for q (X, t) as below: 2 2 2 q (X, t) L q (X, t) + m p q (X, t) = G (X, t) (43) m m m m and the homogeneous boundary conditions become q (0, t) = 0, q (1, t) = 0 (44) m m where G (X, t) in Equation (43) is defined as 2 . 2 2 G (X, t) = fg (X)[F (t) + m p F (t)]g. (45) m i,m i,m i,m i=1 Moreover, the initial condition can be transformed as q (X, 0) = 2 q (X, Y) sin(mpY)dY [g (X)F (0)]. (46) m a0 å i,m i,m i=1 3.4.3. The Eigenfunction Expansion Theorem The solution q (X, t) specified by Equations (43) and (44) can be expressed by apply- ing the method of separation variable as q (X, t) = [q (X)T (t)] (47) m mn mna n=1 where the space variable q (X) satisfies the following Sturm–Liouville eigenvalue problem mn q (X) + w q (X) = 0, 0 < X < 1, (48) mn mn n q (0) = 0 at X = 0, (49) mn q (1) = 0 at X = 1. (50) mn It is noted that the eigenfunctions q (X) (n = 1, 2, 3, ) and the corresponding mn eigenvalues are q (X) = sin w X, w = np, (n = 1, 2, 3, ) (51) mn n n In addition, the eigenfunctions form an orthogonal set in the interval [0, 1] as 0 for i 6= j, q (X) q (X)dX = (52) mi mj for i = j. Substituting Equation (47) into Equation (43), multiplying it by q (X), and integrating mn from 0 to 1, one will obtain the following differential equation T (t) + l T (t) = g (t) (53) mna mna mna mna where l and g (t) are given as mna mna 2 2 2 l = m + n L p, (54) mna r Axioms 2023, 12, 416 10 of 21 g (t) = 2 q (X)G (X, t)dX mna mn m . . (55) n n 2 2 2 = [F (t) (1) F (t)] + m p [F (t) (1) F (t)] . 2,m 2,m 1,m 1,m np T (0) is determined from the initial condition of the transformed function defined mna in Equation (46) as T (0) = 2 q (X)q (X, 0)dX mna mn m R R (56) 1 1 = 4 sin(npX) q (X, Y) sin(mpY)dYdX [F (0) (1) F (0)]. a0 1,m 2,m 0 0 np Therefore, the general solution to Equation (53) with the above initial conditions is 2 2 l t l (tf) mna mna T (t) = e T (0) + e g (f)df. (57) mna mna mna 3.5. The Analytic Solution After substituting the solution of the transformed function in Equation (47), and the shifting functions in Equation (42), back into Equations (36) and (29), we can derive the closed-form solution for the q (X, Y, t) subsystem as follows: ¥ ¥ q (X, Y, t) = f [sin(npX)T (t)] + (1 X)F (t) + XF (t)g sin(mpY). (58) a å å mna 1,m 2,m m=1 n=1 Due to the high symmetry with the q (X, Y, t) subsystem, the solution form of the q (X, Y, t) subsystem can be easily obtained through a similar derivation process (see Appendix A for details) as ¥ ¥ q (X, Y, t) = f [sin(npY)T (t)] + (1 Y)F (t) + YF (t)g sin(mpX). (59) 3,m b å å mnb 4,m m=1 n=1 Finally, adding the solutions of the two subsystems, the analytic solution for the 2D heat conduction in a rectangular region with the general Dirichlet boundary conditions is obtained as follows: ¥ ¥ q(X, Y, t) = f [sin(npX)T (t)] + (1 X)F (t) + XF (t)g sin(mpY) å å mna 1,m 2,m m=1 n=1 (60) ¥ ¥ + [sin(npY)T (t)] + (1 Y)F (t) + YF (t) sin(mpX). å å mnb 3,m 4,m m=1 n=1 From the above derivation process, it can be seen that the assumptions in Equations (29) and (A5) have restrictions on the boundary conditions and initial condition; that is, these values at the four corners of the rectangular region should be zero. If the values of the boundary conditions and initial condition at the four corners of the rectangular region are not zero, they should be zeroed first. 4. Examples and Verification To illustrate the advantages of the proposed method, two examples with different types of space-dependent boundary conditions are examined in detail below: 4.1. The Space-Dependent Boundary Conditions of Periodical Type Example 1: Consider a linear 2D heat conduction problem in a rectangular region (L = L = x y L = 1) subject to the space–time-dependent boundary conditions and initial condition as follows: T(0, y, t) = f (y, t) = [sin(p y)]h (at) at x = 0, 0  y  1, (61) 1 1 Axioms 2023, 12, 416 11 of 21 T(1, y, t) = f (y, t) = [sin(p y)]h (at) at x = 1, 0  y  1, (62) 2 2 T(x, 0, t) = f (x, t) = [sin(p x)]h (at) at y = 0, 0  x  1, (63) 3 3 T(x, 1, t) = f (x, t) = [sin(p x)]h (at) at y = 1, 0  x  1, (64) 4 4 T(x, y, 0) = sin p x + sin p y at t = 0, 0  x  1, 0  y  1. (65) Following the present solution procedure and using the dimensionless parameters defined in Equation (8), we can change the space–time-dependent boundary and initial conditions to sin(p Y) q(0, Y, t) = F (Y, t) = h (t) at X = 0, 0  Y  1, (66) 1 1 sin(p Y) q(1, Y, t) = F (Y, t) = h (t) at X = 1, 0  Y  1, (67) 2 2 sin(p X) q(X, 0, t) = F (X, t) = h (t) at Y = 0, 0  X  1, (68) 3 3 sin(p X) q(X, 1, t) = F (X, t) = h (t) at Y = 1, 0  X  1, (69) 4 4 [sin(p X) + sin(p Y)] q(X, Y, 0) = at t = 0, 0  X  1, 0  Y  1. (70) The temperature q(X, Y, 0) is divided into two parts as follows: sin(p Y) sin(p X) q (X, Y, 0) = , q (X, Y, 0) = . (71) a0 b0 T T r r In this case, using one-term expansion (m = n = 1) in the analytic solution derived from Equation (60), the solution is derived as q(X, Y, t) = [sin(pX)T (t) + (1 X)F (t) + XF (t)] sin(pY) 11a 1,1 2,1 (72) +[sin(pY)T (t) + (1 Y)F (t) + YF (t)] sin(pX) 3,1 4,1 11b where the associated dimensionless quantity F (t) (i = 1, 2, 3, 4) is i,1 h (t) F (t) = , i = 1, 2, 3, 4 (73) i,1 T (0) and T (0) are determined from the initial conditions of the transformed 11a 11b functions defined in Equations (46) and (A25) as 4 2 4 2 T (0) = [h (0) + h (0)], T (0) = [h (0) + h (0)] (74) 11a 1 2 11b 3 4 p p p p Likewise, from Equations (54) and (55), and Equations (A23) and (A24), one obtains l = l = 2p, (75) 11a 11b . . . . 2 2 2 2 g (t) = fh (t) + h (t) + p [h (t) + h (t)]g, g (t) = fh (t) + h (t) + p [h (t) + h (t)]g, (76) 11a 1 2 11b 3 4 1 2 3 4 p p Axioms 2023, 12, 416 12 of 21 Therefore, one can obtain 4 2 2 2 2p t 2p (tf) T (t) = e [h (t) + h (t)] + 2p e [h (f) + h (f)]df, (77) 11a 1 2 1 2 p p 4 2 2 2 2p t 2p (tf) T (t) = e [h (t) + h (t)] + 2p e [h (f) + h (f)]df. (78) 3 4 3 4 11b p p (Case 1): Consider the time-dependent functions to be of exponential type, as follows: p t h (t) = e , (i = 1, 2, 3, 4). (79) From Equations (77) and (78) one obtains T (t) = T (t) = 0. (80) 11a 11b The solution from the dimensionless form of Equation (72) becomes p t [sin(pX) + sin(pY)]e q(X, Y, t) = . (81) Substituting this back into dimensional form would be ap t T(x, y, t) = [sin(px) + sin(py)]e . (82) It can be seen that the solution obtained in Equation (82) is exactly the same form as that given by Young et al. [25]. (Case 2): Consider the time-dependent functions to be of periodic type, as follows: h (t) = cos(w t), (i = 1, 2, 3, 4). (83) i i One obtains 2 2 g (t) = [w sin(w t) w sin(w t) + p cos(w t) + p cos(w t)], (84) 11a 1 1 2 2 1 2 2 2 g (t) = [w sin(w t) w sin(w t) + p cos(w t) + p cos(w t)] (85) 11b 3 3 4 4 3 4 4 2 4 2 4 2 2 2p +w 2p +w (2p +w ) cos(w p)p w sin(w p) 1 1 1 2 2p t 1 2 2 1 T (t) = e ( + ) [ 11a 4 2 4 2 4 2 p p 4p +w 4p +w 4p +w 1 2 1 (86) 4 2 2 (2p +w ) cos(w p)p w sin(w p) 2 2 2 + ], 4 2 4p +w 4 2 4 2 4 2 2 2p +w 2p +w (2p +w ) cos(w p)p w sin(w p) 2 2 3 3 3 2p t 3 4 3 T (t) = e ( + ) [ 11b 4 2 4 2 4 2 p p 4p +w 4p +w 4p +w 3 4 3 (87) 4 2 2 (2p +w ) cos(w p)p w sin(w p) 4 4 4 + ]. 4 2 4p +w Therefore, the exact solution in dimensionless form becomes cos(w t) cos(w t) 1 2 q(X, Y, t) = [sin(pX)T (t) + (1 X) + X ] sin(pY) 11a T T r r (88) cos(w t) cos(w t) 3 4 +[sin(pY)T (t) + (1 Y) + Y ] sin(pX). 11b T T r r Three cases including w = p(i = 1, 2, 3, 4), w = 5(i = 1, 2, 3, 4), and w = 7 i i i (i = 1, 2, 3, 4) will be considered in the numerical analysis. Figure 3 illustrates the temperature-time variation in the middle of a rectangular region with various param- eter values of w (i = 1, 2, 3, 4), which shows the oscillating behavior, as expected. In i Axioms 2023, 12, 416 13 of 21 Axioms 2023, 12, x FOR PEER REVIEW 16 of 26 addition, the larger the parameter value of w (i = 1, 2, 3, 4), the more frequent the temper- ature fluctuation. 2.5 2.0  = = = = 1 2 3 4  = = = = 1.5 1 2 3 4  = = = = 1 2 3 4 1.0 0.5 0.0 -0.5 -1.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Figure 3. Temperature variation in the middle of the rectangular region with various parameters of Figure 3. Temperature variation in the middle of the rectangular region with various parameters of harmonic-type time-dependent harmonic-type boundary time-depen conditions dent bound (Case ary2 cof onExample ditions (Ca 1).se 2 of Example 1). 4.2. The Space-Dependent Boundary Conditions of Parabolic Type 4.2. The Space-Dependent Boundary Conditions of Parabolic Type Example 2: Consider a 2D transient heat conduction problem in a rectangular region ( Example 2: Consider a 2D transient heat conduction problem in a rectangular region (L = L = x y L = L = L = 1). x y r L = 1). The boundary and initial conditions are listed as follows: The boundary and initial conditions are listed as follows: at x = 0 , , T (0, y,t )= f (y,t )= (y− y ) (t ) 0 y  1 (89) 1 1 T(0, y, t) = f (y, t) = (y y )h (at) at x = 0, 0  y  1, (89) 1 1 T(1, y, t) = f (y, t) = (y y )h (at) at x = at 1,x 0= 1 , y  1, 0 y  1, (90) T (1, y,t )= f (2y,t )= (y− y ) 2(t ) (90) 2 2 T(x, 0, t) = f (x, t) = (x x )h (at) at y = 0, 0  x  1, (91) 3 3 at y = 0 , 0 x  1 , T (x,0,t )= f (x,t )= ( x− x ) (t ) (91) 3 3 T(x, 1, t) = f (x, t) = (x x )h (at) at y = 1, 0  x  1, (92) 4 4 at y = 1 , 0 x  1 , T (x,1,t )= f (x,t 2)= ( x− x2 ) (t ) (92) 4 4 T(x, y, 0) = (x x ) + (y y ) at t = 0, 0  x  1, 0  y  1 (93) Using the dimensionless parameters generates 2 2 at t = 0 , 0 x  1 , 0 y  1. (93) T (x, y, 0)= (x− x )+ ( y− y ) Y Y q(0, Y, t) = h (t)  F (Y, t) at X = 0, 0  Y  1, (94) 1 1 Using the dimensionless parameters generates Y Y q(1, Y, t) = h (t)  F (Y, t) at X = 1, 0  Y  1, (95) 2 2 (0.5, 0.5, ) Axioms 2023, 12, 416 14 of 21 X X q(X, 0, t) = h (t)  F (X, t) at Y = 0, 0  X  1, (96) 3 3 X X q(X, 1, t) = h (t)  F (X, t) at Y = 0, 0  X  1, (97) 4 4 2 2 (X X ) + (Y Y ) q(X, Y, 0) = at t = 0, 0  X  1, 0  Y  1, (98) and separating q(X, Y, 0) into two parts yields 2 2 Y Y X X q (X, Y, 0) = , q (X, Y, 0) = . (99) a0 b0 T T r r Following the same solution procedure, the associated dimensionless quantity F (t) i,m (i = 1, 2, 3, 4) becomes 4[1 (1) ] F (t) = h (t), i = 1, 2, 3, 4. (100) i,m i 3 3 m p T To determine T (t) and T (t), one derives first mna mnb 2 2 l = l = m + n p, (101) mna mnb 8[1 (1) ] n n T (0) = [1 (1) h (0) + (1) h (0)], (102) mna 1 2 3 4 m np T 8[1 (1) ] n n T (0) = [1 (1) h (0) + (1) h (0)], (103) mnb 4 3 4 m np T . . 8[1 (1) ] n n 2 2 g (t) = fh (t) (1) h (t) + m p [h (t) (1) h (t)]g, (104) mna 1 2 1 2 3 4 m np T 8[1 (1) ] . . n n 2 2 g (t) = fh (t) (1) h (t) + m p [h (t) (1) h (t)]g. (105) mnb 3 4 3 4 3 4 m np T Accordingly, the solutions for T (t) and T (t) are mna mnb 8[1(1) ] n n l t mna T (t) = f[1 (1) ]e h (t) + (1) h (t)] mna 3 4 1 2 m np T (106) t n 2 2 l (tf) mna +n p e [h (f) (1) h (f)]dfg, 1 2 8[1(1) ] n n l t mnb T (t) = f[1 (1) ]e h (t) + (1) h (t)] mnb 3 4 4 m np T (107) t n l (tf) 2 2 mnb +n p e [h (f) (1) h (f)]dfg. 3 4 Therefore, the exact solution in dimensionless form is ¥ ¥ m m [1(1) ] [1(1) ] q(X, Y, t) = å f å [sin(npX)T (t)] + 4(1 X) h (t) + 4X h (t)g sin(mpY) mna 1 2 3 3 3 3 m p T m p T r r m=1 n=1 (108) ¥ ¥ m m [1(1) ] [1(1) ] + f [sin(npY)T (t)] + 4(1 Y) h (t) + 4Y h (t)g sin(mpX). å å mnb 3 3 3 3 3 4 m p T m p T r r m=1 n=1 Considering the time-dependent term of exponential type as d t h (t) = e , (i = 1, 2, 3, 4), (109) i Axioms 2023, 12, 416 15 of 21 one has 8[1(1) ] n n l t d t d t mna 1 2 T (t) = f[1 (1) ]e e + (1) e ] mna 3 4 m np T 2 2 (110) d t d t l t l t 1 mna n 2 mna e e e e 2 2 +n p [ (1) ]g, 2 2 l d l d mna 1 mna 2 8[1(1) ] n n l t d t d t 3 4 mnb T (t) = f[1 (1) ]e e + (1) e ] mnb 3 4 m np T 2 2 (111) l t l t d t d t 3 mnb n 4 mnb 2 2 e e e e +n p [ (1) ]g 2 2 l d l d 3 4 mnb mnb where d (i = 1, 2, 3, 4).represents four arbitrary constants. Tables 1–3 shows the tempera- ture variation of the midpoint of the rectangular region under the three kinds of exponential parameters of d (i = 1, 2, 3, 4). It can be found that the solutions developed converge to convergence values as the number of series terms (m = n) increases. The temperature at 0  t  1.2 are the same between 10 and 20 terms expansion. The results converge when 10 terms expansion is used. By comparing the temperature at 0  t  1.2 between 5 and 10 terms expansion in each table of Tables 1–3, one can see that when 5 terms expansion is used, the error of the solution evaluated is less than 1%. Therefore, 5 terms expansion (m = n) of the series will be taken for the numerical analysis below. Figure 4 illustrates the temperature variation in the middle of the rectangular region with respect to time t for three different kinds of d (i = 1, 2, 3, 4). It is seen from Figure 4 that the temperature curve of the set of d = 1 (i = 1, 2, 3, 4) decays faster than the other two curves, and the trend of the temperature curves of three sets is the same. Table 1. The temperature of the rectangular region at X = Y = 0.5 and at various times [h (t) = e , (i = 1, 2, 3, 4)]. q(X=0.5,Y=0.5,t) Number of Expansion Terms (m=n) 1 3 5 10 20 0 0.516 0.497 0.501 0.500 0.500 0.1 0.229 0.246 0.243 0.243 0.243 0.2 0.174 0.189 0.187 0.187 0.187 0.4 0.138 0.150 0.148 0.148 0.148 0.6 0.113 0.123 0.121 0.121 0.121 0.8 0.0921 0.100 0.0989 0.0994 0.0994 1.0 0.0754 0.0823 0.0810 0.0814 0.0814 1.2 0.0618 0.0674 0.0663 0.0666 0.0666 Table 2. The temperature of the rectangular region at X = Y = 0.5 and at various times [h (t) = e , 2t (i = 1, 2); h (t) = e , (i = 3, 4)]. q(X=0.5,Y=0.5,t) t Number of Expansion Terms (m=n) 1 3 5 10 20 0 0.516 0.497 0.501 0.500 0.500 0.1 0.249 0.263 0.261 0.261 0.261 0.2 0.203 0.215 0.213 0.213 0.213 0.4 0.176 0.184 0.183 0.183 0.183 0.6 0.154 0.159 0.159 0.159 0.159 0.8 0.133 0.136 0.136 0.136 0.136 1.0 0.113 0.115 0.115 0.115 0.115 1.2 0.0954 0.0969 0.0967 0.0968 0.0968 Axioms 2023, 12, x FOR PEER REVIEW 19 of 26 Axioms 2023, 12, 416 16 of 21 exponential parameters of . It can be found that the solutions developed d (i = 1, 2, 3, 4) it Table 3. The temperature of the rectangular region at X = Y = 0.5 and at various times [h (t) = e , converge to convergence values as the number of series terms ( ) increases. The m= n (i = 1, 2, 3, 4)]. temperature at 0  1.2 are the same between 10 and 20 terms expansion. The results converge when 10 terms expansion is used. By comparing the temperature at q(X=0.5,Y=0.5,t) 0  1.2 between 5 and 10 terms expansion in each table of Tables 1-3, one can see t Number of Expansion Terms (m=n) that when 5 terms expansion is used, the error of the solution evaluated is less than 1%. Ther 1 efore, 5 terms 3 expansion ( m 5= n ) of the ser 10 ies will be taken 20 for the numerical anal- ysis below. Figure 4 illustrates the temperature variation in the middle of the rectangular 0 0.516 0.497 0.501 0.500 0.500 region with respect to time  for three different kinds of d (i = 1, 2, 3, 4) . It is seen 0.1 0.285 0.295 0.293 0.293 0.293 0.2 0.251 0.257 0.256 0.256 0.256 from Figure 4 that the temperature curve of the set of decays faster d = 1 (i = 1, 2, 3, 4) 0.4 0.229 0.230 0.230 0.230 0.230 than the other two curves, and the trend of the temperature curves of three sets is the 0.6 0.202 0.201 0.202 0.202 0.202 same. 0.8 0.174 0.172 0.172 0.172 0.172 1.0 0.147 0.145 0.146 0.146 0.146 1.2 0.123 0.121 0.122 0.122 0.122 0.5 d =1, d =2, d =3, d =4 1 2 3 4 0.4 d = d =1, d = d =2 1 2 3 4 d = d = d = d =1 1 2 3 4 0.3 0.2 0.1 0.0 0.0 0.2 0.4 0.6 0.8 1.0 1.2 Figure 4. Temperature variation in the middle of the rectangular region with various parameters of Figure 4. Temperature variation in the middle of the rectangular region with various parameters of exponential-type time-dependent exponential-tboundary ype time-de conditions pendent b (Example oundary c2). onditions (Example 2). 5. Conclusions Table 1. The temperature of the rectangular region at X = Y = 0.5 and at various times [ − A closed form solution of the transient heat conduction in a rectangular cross-section  ( )= e , (i = 1, 2, 3, 4) ]. in an infinite bar with the general space–time-dependent boundary conditions has been developed in terms of series expansion. The main advantages of the proposed solution  XY== 0.5, 0.5, ( ) method is that differentiation and/or integration of the Green’s function is not required Number of Expansion Terms ( m= n ) and the solution of the auxiliary 2D problem with associated nonhomogeneous bound- 1 3 5 10 20 ary conditions is avoided. Two examples are given to illustrate the applicability of the 0 0.516 0.497 0.501 0.500 0.500 method and the example of space-dependent boundary for periodic function is shown to be consistent with results0. in 1 the literatur 0.e. 229 0.246 0.243 0.243 0.243 The new findings of the present study are as follows: 0.2 0.174 0.189 0.187 0.187 0.187 0.4 0.138 0.150 0.148 0.148 0.148 (1) The proposed approach combining the shifting function method and the expansion theorem method can derive an analytic solution for the 2D heat conduction in a rectangular cross-section of an infinite bar with the general Dirichlet boundary condi-  (0.5, 0.5, ) Axioms 2023, 12, 416 17 of 21 tions specifying space–time-dependent boundary conditions at the four edges of the rectangular region; (2) The series expansion derived from the proposed method has a good convergence to reach the convergence values. For space-dependent boundary with the parabolic-type case, one can take five terms of the series to obtain the series solutions within 1% error; (3) When considering the time-dependent boundary of harmonic function, the fluctuation of the temperature variation increases as the frequency of the harmonic function increases. When considering the time-dependent boundary of exponential function, d t e , a smaller coefficient d will result in a lower and faster drop in temperature. The analytic solution for the 2D heat conduction problems with general Dirichlet boundary conditions is obtained using the proposed method. However, the values of the boundary conditions and initial condition at the four corners of the rectangular region should be zero, which limits the applicability of this study. Transforming the temperature function before using the method proposed in this paper may overcome this limitation. A method that can be applied to the case for non-zero values at the four corners will be proposed in the near future. Author Contributions: Conceptualization, T.-W.T. and J.-R.C.; formal analysis, H.-P.H.; investigation, J.-R.C.; methodology, H.-P.H., T.-W.T. and J.-R.C.; software, H.-P.H.; supervision, T.-W.T.; validation, J.-R.C.; writing—original draft, T.-W.T.; writing—review and editing, J.-R.C. All authors have read and agreed to the published version of the manuscript. Funding: This research received no external funding. And the APC was funded by H.-P.H. and J.-R.C. Data Availability Statement: Not applicable. Conflicts of Interest: The authors declare no conflict of interest. Nomenclature A, B two subsystems c specific heat (W s/kg C) d (i = 1, 2, 3, 4) four arbitrary constants f (y, t), i = 1, 2 temperatures along the surface at the left end and the right end of the rectangular region f (x, t), i = 3, 4 temperatures along the surface at the bottom end and the top end of the rectangular region F (Y, t), i = 1, 2 dimensionless quantity defined in Equation (8) F (X, t), i = 3, 4 dimensionless quantity defined in Equation (8) F (t), i = 1, 2 dimensionless quantity defined in Equation (31) i,m F (t), i = 3, 4 dimensionless quantity defined in Equation (A7) i,m g (X), i = 1, 2 shifting function i,m g (Y), i = 3, 4 shifting function i,m G (X, t) nonhomogeneous term in the differential equation of the transformed system defined in Equation (43) k thermal conductivity (W/m C) L aspect ratio, L /L defined in Equation (8) r y x L , L thickness of the two-dimensional rectangular region at x- and x y y- directions (m) T(x, y, t) temperature function ( C) T (t), T (t) dimensionless time variable of the transformed function defined in mna mnb Equations (53) and (A22) T reference temperature ( C) T (x, y) initial temperature ( C) t time variable (s) x space variable in x-direction of a rectangular region (m) X dimensionless space variable in x-direction of a rectangular region Axioms 2023, 12, 416 18 of 21 y space variable in y-direction of a rectangular region (m) Y dimensionless space variable in y-direction of a rectangular region a thermal diffusivity (m /s) f auxiliary integration variable g (t), g (t) dimensionless quantity defined in Equations (55) and (A24) mna mnb h (i = 1, 2, 3, 4) time-dependent boundary condition l , l n-th eigenvalues depend on w defined in Equations (54) and (A23) mna n mnb q dimensionless temperature q dimensionless initial temperature q , q dimensionless temperatures for subsystems A and B q (X, t) generalized Fourier coefficient defined in Equation (29) q (X, t) transformed function defined in Equation (36) q (X, t) n-th eigenfunction of the transformed function defined in Equation (47) mn r density (kg/m ) t dimensionless time w n-th eigenvalue for Sturm–Liouville problem defined in Equation (48). Subscripts 0, 1, 2, 3, 4, a, b, i, m, n, r described in the article Appendix A. Analytic Solution of the Subsystem B For the subsystem B, the boundary value problem is as follows: 2 2 ¶ q (X, Y, t) ¶ q (X, Y, t) ¶q (X, Y, t) b b b L + = in 0 < X < 1, 0 < Y < 1, t > 0, (A1) 2 2 ¶X ¶Y ¶t q (0, Y, t) = 0, q (1, Y, t) = 0, (A2) b b q (X, 0, t) = F (X, t), q (X, 1, t) = F (X, t), (A3) 3 4 b b q (X, Y, 0) = q (X, Y) q (X, Y) = q (X, Y). (A4) b 0 a0 b0 Because the boundary conditions of the rectangular region at two opposite edges X = 0 and X = 1 are homogeneous, the temperature q (X, Y, t) and the dimensionless quantities F (X, t), F (X, t) defined in Equation (A3), can be expressed as 3 4 q (X, Y, t) = [q (Y, t) sin(mpX)], (A5) b å m=1 F (X, t) = F (t) sin(mpX) , (i = 3, 4) (A6) i å i,m m=1 where m denotes a positive integer and F (t) (i = 3, 4) is given as i,m F (t) = 2 F (X, t) sin(mpX)dX, (i = 3, 4). (A7) i,m i Substituting Equations (A5) and (A6) back into Equations (A1)–(A4), one obtains ¶q (Y, t) ¶ q (Y, t) m m 2 2 2 + m p L q (Y, t) = 0, (A8) ¶t ¶Y q (0, t) = F (t), q (1, t) = F (t), (A9) m 3,m m 4,m q (Y, 0) = 2 q (X, Y) sin(mpX)dX. (A10) b0 0 Axioms 2023, 12, 416 19 of 21 To find the solution for the second-order differential Equation (A8) with nonhomoge- neous boundary conditions (A9), one uses the shifting function method by taking q (Y, t) = q (Y, t) + g (Y)F (t) (A11) m m å i,m i,m i=3 where q (Y, t) is the transformed function while g (Y) (i = 3, 4) indicates the shifting i,m function to be specified. Substituting Equation (A11) back into Equations (A8)–(A10), one obtains 4 4 00 00 q (Y, t) + g (Y)F (t) q (Y, t) + g (Y)F (t) å å m i,m i,m i,m i,m i=3 i=3 (A12) 2 2 2 +m p L [q (Y, t) + g (Y)F (t)] = 0. m å r i,m i,m i=3 The associated boundary conditions become q (0, t) + g (0)F (t) + g (0)F (t) = F (t), (A13) m 3,m 3,m 3,m 4,m 4,m q (1, t) + g (1)F (t) + g (1)F (t) = F (t) (A14) m 3,m 3,m 4,m 4,m 4,m As in the derivation process, the two shifting functions are determined as g (Y) = 1 Y, g (Y) = Y. (A15) 3,m 4,m After substituting Equation (A15) into Equations (A12)–(A14), one has the differential equation for q (Y, t) as 2 2 2 q (Y, t) q (Y, t) + m p L q (Y, t) = G (Y, t), (A16) m m m m r and the associated homogeneous boundary conditions as q (0, t) = 0, q (1, t) = 0. (A17) m m G (Y, t) is defined as 4 . 2 2 2 G (Y, t) = m p L g (Y)F (t) + g (Y)F (t) . (A18) m å r i,m i,m i,m i,m i=3 Moreover, the initial condition is transformed to be q (Y, 0) = 2 q (X, Y) sin(mpX)dX [g (Y)F (0)]. (A19) b0 å i,m i,m i=3 The solution q (Y, t) specified by Equations (A16)–(A19) can be expressed in the form of eigenfunctions as q (Y, t) = q (Y)T (t) (A20) m mn å mnb n=1 where q (Y) is mn q (Y) = sin npY. (A21) mn Substituting Equation (A20) into Equation (A16), multiplying it by q (Y), and inte- mn grating from 0 to 1, one will obtain T (t) + l T (t) = g (t) (A22) mnb mnb mnb mnb Axioms 2023, 12, 416 20 of 21 where l and g (t) are mnb mnb 2 2 2 l = m L + n p, (A23) mnb g (t) = 2 q (Y)G (Y, t)dY mn m mnb . . (A24) n n 2 2 2 2 = [F (t) (1) F (t) + m p L F (t) (1) F (t)] . 3,m 3,m 4,m r 4,m np Note that T (0) can be determined from the initial condition of the transformed mnb function defined in Equation (A19) as Z Z 1 1 T (0) = 4 sin(npY) q (X, Y) sin(npX)dXdY [F (0) (1) F (0)]. (A25) mnb b0 3,m 4,m np 0 0 The general solution of Equation (A22) with the initial condition above is 2 2 l t l (tf) mnb mnb T (t) = e T (0) + e g (f)df. (A26) mnb mnb mnb References 1. Perakis, N.; Haidna, O.J.; Ihme, M. Heat transfer augmentation by recombination reactions in turbulent reacting boundary layers at elevated pressures. Int. J. Heat Mass Transf. 2021, 178, 121628. [CrossRef] 2. Hassan, M.A.S.M.; Razlan, Z.M.; Bakar, S.A.; Rahman, A.A.; Rojan, M.A.; Wan, W.K.; Ibrahim, Z.; Ishak, A.A.; Ridzuan, M.J.M. Derivation and validation of heat transfer model for Spark-Ignition engine cylinder head. Appl. Therm. Eng. 2023, 225, 120240. [CrossRef] 3. Ivanov, V.; Salomatov, V. On the calculation of the temperature field in solids with variable heat-transfer coefficients. J. Eng. Phys. Thermophys. 1965, 72, 63–64. [CrossRef] 4. Ivanov, V.; Salomatov, V. Unsteady temperature field in solid bodies with variable heat transfer coefficient. J. Eng. Phys. Thermophys. 1966, 11, 151–152. [CrossRef] 5. Postol’Nik, Y.S. One-dimensional convective heating with a time-dependent heat-transfer coefficient. J. Eng. Phys. Thermophys. 1970, 18, 233–238. [CrossRef] 6. Kozlov, V. Solution of heat-conduction problem with variable heat-exchange coefficient. J. Eng. Phys. Thermophys. 1970, 18, 100–104. [CrossRef] 7. Holy, Z. Temperature and stresses in reactor fuel elements due to time-and space-dependent heat-transfer coefficients. Nucl. Eng. Des. 1972, 18, 145–197. [CrossRef] 8. Özisik, ¸ M.N.; Murray, R. On the solution of linear diffusion problems with variable boundary condition parameters. J. Heat Transf. 1974, 96, 48–51. [CrossRef] 9. Moitsheki, R.J. Transient heat diffusion with temperature-dependent conductivity and time-dependent heat transfer coefficient. Math. Probl. Eng. 2008, 9, 41–58. [CrossRef] 10. Chen, H.T.; Sun, S.L.; Huang, H.C.; Lee, S.Y. Analytic closed solution for the heat conduction with time dependent heat convection coefficient at one boundary. Comput. Model. Eng. Sci. 2010, 59, 107–126. 11. Lee, S.Y.; Huang, C.C. Analytic solutions for heat conduction in functionally graded circular hollow cylinders with time-dependent boundary conditions. Math. Probl. Eng. 2013, 5, 816385. [CrossRef] 12. Lee, S.Y.; Tu, T.W. Unsteady temperature field in slabs with different kinds of time-dependent boundary conditions. Acta Mech. 2015, 226, 3597–3609. [CrossRef] 13. Lee, S.Y.; Lin, S.M. Dynamic analysis of nonuniform beams with time-dependent elastic boundary conditions. J. Appl. Mech. 1996, 63, 474–478. [CrossRef] 14. Lee, S.Y.; Huang, T.W. A method for inverse analysis of laser surface heating with experimental data. Int. J. Heat Mass Transf. 2014, 72, 299–307. [CrossRef] 15. Lee, S.Y.; Huang, T.W. Inverse analysis of spray cooling on a hot surface with experimental data. Int. J. Therm. Sci. 2016, 100, 145–154. [CrossRef] 16. Lee, S.Y.; Yan, Q.Z. Inverse analysis of heat conduction problems with relatively long heat treatment. Int. J. Heat Mass Transf. 2017, 105, 401–410. [CrossRef] 17. Carslaw, H.; Jaeger, J. Heat in Solids, 2nd ed.; Clarendon Press: Oxford, UK, 1959. 18. Özısık, ¸ M.N. Heat Conduction; John Wiley & Sons: New York, USA, 1993. 19. Cole, K.D.; Beck, J.V.; Haji-Sheikh, A.; Litkouhi, B. Heat Conduction Using Green’s Functions; Taylor & Francis: Boca Raton, FL, USA, 20. Zhu, S.P. Solving transient diffusion problems: Time-dependent fundamental solution approaches versus LTDRM approaches. Eng. Anal. Bound. Elem. 1998, 21, 87–90. [CrossRef] Axioms 2023, 12, 416 21 of 21 21. Zhu, S.P.; Liu, H.W.; Lu, X.P. A combination of LTDRM and ATPS in solving diffusion problems. Eng. Anal. Bound. Elem. 1998, 21, 285–289. [CrossRef] 22. Sutradhar, A.; Paulino, G.H.; Gray, L. Transient heat conduction in homogeneous and non-homogeneous materials by the Laplace transform Galerkin boundary element method. Eng. Anal. Bound. Elem. 2002, 26, 119–132. [CrossRef] 23. Bulgakov, V.; Šarler, B.; Kuhn, G. Iterative solution of systems of equations in the dual reciprocity boundary element method for the diffusion equation. Int. J. Numer. Methods Eng. 1998, 43, 713–732. [CrossRef] 24. Walker, S. Diffusion problems using transient discrete source superposition. Int. J. Numer. Methods Eng. 1992, 35, 165–178. [CrossRef] 25. Chen, C.; Golberg, M.; Hon, Y. The method of fundamental solutions and quasi-Monte-Carlo method for diffusion equations. Int. J. Numer. Methods Eng. 1998, 43, 1421–1435. [CrossRef] 26. Burgess, G.; Mahajerin, E. Transient heat flow analysis using the fundamental collocation method. Appl. Therm. Eng. 2003, 23, 893–904. [CrossRef] 27. Young, D.; Tsai, C.; Murugesan, K.; Fan, C.; Chen, C. Time-dependent fundamental solutions for homogeneous diffusion problems. Eng. Anal. Bound. Elem. 2004, 28, 1463–1473. [CrossRef] 28. Cole, K.D.; Yen, D.H. Green’s functions, temperature and heat flux in the rectangle. Int. J. Heat Mass Transf. 2001, 44, 3883–3894. [CrossRef] 29. Beck, J.V.; Wright, N.T.; Haji-Sheikh, A. Transient power variation in surface conditions in heat conduction for plates. Int. J. Heat Mass Transf. 2008, 51, 2553–2565. [CrossRef] 30. Lei, J.; Wang, Q.; Liu, X.; Gu, Y.; Fan, C.-M. A novel space-time generalized FDM for transient heat conduction problems. Eng. Anal. Bound. Elem. 2020, 119, 1–12. [CrossRef] 31. Alam, M.N.; Tunç, C. New solitary wave structures to the (2 + 1)-dimensional KD and KP equations with spatio-temporal dispersion. J. King Saud Univ. Sci. 2020, 32, 3400–3409. [CrossRef] 32. Islam, S.; Alam, M.N.; Fayz-Al-Asad, M.; Tunç, C. An analytical technique for solving new computational solutions of the modified Zakharov-Kuznetsov equation arising in electrical engineering. J. Appl. Comput. Mech. 2021, 7, 715–726. 33. Krishnan, G.; Parhizi, M.; Jain, A. Eigenfunction-based solution for solid-liquid phase change heat transfer problems with time-dependent boundary conditions. Int. J. Heat Mass Transf. 2022, 189, 122693. [CrossRef] 34. Belekar, V.V.; Murphy, E.J.; Subramaniam, S. Analytical solution to heat transfer in stationary wet granular mixtures with time-varying boundary conditions. Int. Commun. Heat Mass Transf. 2023, 140, 106500. [CrossRef] Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png Axioms Multidisciplinary Digital Publishing Institute

An Analytic Solution for 2D Heat Conduction Problems with General Dirichlet Boundary Conditions

Axioms , Volume 12 (5) – Apr 24, 2023

Loading next page...
 
/lp/multidisciplinary-digital-publishing-institute/an-analytic-solution-for-2d-heat-conduction-problems-with-general-VPpPvNk8lG
Publisher
Multidisciplinary Digital Publishing Institute
Copyright
© 1996-2023 MDPI (Basel, Switzerland) unless otherwise stated Disclaimer Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. Terms and Conditions Privacy Policy
ISSN
2075-1680
DOI
10.3390/axioms12050416
Publisher site
See Article on Publisher Site

Abstract

axioms Article An Analytic Solution for 2D Heat Conduction Problems with General Dirichlet Boundary Conditions 1 2 1 , Heng-Pin Hsu , Te-Wen Tu and Jer-Rong Chang * Department of Aircraft Engineering, Air Force Institute of Technology, 1 Associate Jyulun Road, Gang-Shan District, Kaoshiung City 820, Taiwan Department of Mechanical Engineering, Air Force Institute of Technology, 1 Associate Jyulun Road, Gang-Shan District, Kaoshiung City 820, Taiwan * Correspondence: jerrong.chang@gmail.com; Tel.: +886-7-6256040 Abstract: This paper proposed a closed-form solution for the 2D transient heat conduction in a rectangular cross-section of an infinite bar with the general Dirichlet boundary conditions. The boundary conditions at the four edges of the rectangular region are specified as the general case of space–time dependence. First, the physical system is decomposed into two one-dimensional subsystems, each of which can be solved by combining the proposed shifting function method with the eigenfunction expansion theorem. Therefore, through the superposition of the solutions of the two subsystems, the complete solution in the form of series can be obtained. Two numerical examples are used to investigate the analytic solution of the 2D heat conduction problems with space–time- dependent boundary conditions. The considered space–time-dependent functions are separable in the space–time domain for convenience. The space-dependent function is specified as a sine function and/or a parabolic function, and the time-dependent function is specified as an exponential function and/or a cosine function. In order to verify the correctness of the proposed method, the case of the space-dependent sinusoidal function and time-dependent exponential function is studied, and the consistency between the derived solution and the literature solution is verified. The parameter influence of the time-dependent function of the boundary conditions on the temperature variation is also investigated, and the time-dependent function includes harmonic type and exponential type. Citation: Hsu, H.-P.; Tu, T.-W.; Keywords: analytic solution; 2D heat conduction; space–time-dependent dependent; Dirichlet Chang, J.-R. An Analytic Solution for boundary conditions; shifting function method 2D Heat Conduction Problems with General Dirichlet Boundary MSC: 35K05; 80M99 Conditions. Axioms 2023, 12, 416. https://doi.org/10.3390/ axioms12050416 Academic Editors: Leonid Plotnikov 1. Introduction and Giovanni Mascali The application of heat conduction problems with time-dependent boundary condi- Received: 2 March 2023 tions can be broadly applied in a wide range of engineering fields, such as time-varying Revised: 8 April 2023 heating on walls or plate panels, laser heating on solids, and the design of mechanical Accepted: 20 April 2023 parts (such as those in turbines and engines [1,2]). In general, the types of time-dependent Published: 24 April 2023 boundary conditions at the boundary surface include (1) the first type: specified tempera- ture distribution (Dirichlet boundary condition); (2) the second type: specified heat flux distribution; and (3) the third type: convective heat exchange with the environment at a specified temperature. There are many methods to solve these three types of problems, Copyright: © 2023 by the authors. such as pure numerical method, approximate method, and exact method. The literature Licensee MDPI, Basel, Switzerland. review focuses on the study of 1D and 2D transient heat conduction problems with various This article is an open access article time-dependent boundary conditions, as shown below. distributed under the terms and For one-dimensional heat conduction problems with different kinds of time-dependent conditions of the Creative Commons boundary conditions, these problems cannot be solved directly by the variable separation Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ method due to the nonhomogeneity of boundary conditions. In the early 1970s, Ivanov and 4.0/). Salomatov [3,4] and Postol’Nik [5] were the first to transform the governing differential Axioms 2023, 12, 416. https://doi.org/10.3390/axioms12050416 https://www.mdpi.com/journal/axioms Axioms 2023, 12, 416 2 of 21 equation of the linear one-dimensional system into a nonlinear equation by introducing new variables. After neglecting the nonlinear terms, they obtained an approximated solution that they said was valid for the system with the Biot number less than 0.25. At the same time, Kozlov [6] used the Laplace transformation technique to study the problem with the Biot function in a rational combination of sine, cosine, polynomial and exponential functions. Although exact series solutions can be obtained for a given transformation system, great difficulties arise in the inversion of the transformation function, which is often not so straightforward. In addition, various approximation methods such as the iterative perturbation method [7], the eigenfunction expansion method [8], and the Lie point symmetry analysis method [9] have been used to study such heat conduction problems. Later in 2010, Lee and colleagues [10–12] proposed an integration-free solution method, which is an extension of the shifting function method developed in their previous research [13], to derive an analytic closed solution for the heat conduction with time- dependent boundary conditions of the second and the third types. Using the same method, they [14–16] had successfully performed one-dimensional inverse estimation of the heat treatment problem with unknown time-dependent boundary conditions of various types. For the two-dimensional heat conduction problems with time-dependent boundary conditions, a considerable amount of work can be found in the literature on the develop- ment of exact, approximate, and numerical methods. In some advanced heat conduction books [17–19], some classical techniques such as Laplace transform, Duhamel’s theorem, and Green’s function have been proposed to solve them. Applying the Laplace transform starts with finding the solution of a 2D problem with nonhomogeneous boundary condi- tions in the transformed domain. Taking the inverse Laplace transform from the complex domain always has difficulties. The typical surveys included Zhu [20], Zhu et al. [21], and Sutradhar et al. [22] who dealt with the time derivative term in the diffusion equation by using the Laplace transform techniques. On the other hand, using Duhamel’s theorem [17], an auxiliary 2D problem with associated nonhomogeneous boundary conditions must first be solved. Therefore, the result will be obtained by differentiating under the integration. Similarly, Green’s function solution method [17] requires the derivation of the associated Green’s function, which satisfies a differential equation with a delta function and homoge- neous boundary conditions. To obtain the general solution, the associated Green’s function must be directionally differentiated and integrated over the space and time domains. In ad- dition, some numerical techniques, such as finite difference method and boundary element method, have also been used to solve 2D heat conduction problems with time-dependent boundary conditions. Bulgakov et al. [23] used the finite difference method to advance the solution in the time domain with the numerical schemes based on the boundary element method, while Walker [24] applied the diffusion fundamental solution combined with the time integration to solve the diffusion equation. Later, Chen et al. [25] applied the method of fundamental solutions for diffusion equations by using the modified Helmholtz funda- mental solution. Burgess and Mahajerin [26] used the fundamental collocation method to solve the problems of arbitrary shapes subjected to arbitrary initial conditions and mixed time-dependent boundary conditions. The time-dependent fundamental solutions for diffusion equations were directly used by Young et al. [27] to obtain the solution as a linear combination of the fundamental solution of the diffusion operator. On the other hand, Cole and Yen [28] involved the method of Green’s function to obtain fast-converging expressions for the temperature and heat flux in a rectangular plate. Beck et al. [29] have developed the transient temperatures of the plates under time-varying heating conditions to an integer power at a surface. Lei et al. [30] presented a space–time generalized finite difference method (GFDM) to solve the transient heat conduction problem by integrating direct space–time discretization techniques into the meshless GFDM. Alam et al. [31] proposed a novel generalized (G’/G) extension technique for two nonlinear evolution equations: the (2+1) dimensional Konopelchenko–Dubrovsky (KD) equation and the (2+1) dimensional Kadomtsev–Petviashvili (KP) equations and obtained some new precise answers. The secured answers include a particular variety of solitary wave solutions. Islam et al. [32] Axioms 2023, 12, 416 3 of 21 applied a modified (G’/G) expansion method to seek new calculations of the Zakharov– Kuznetsov (ZK) equations developed in electrical engineering. Illustrated by 3D and contour plots, the mathematical results clearly demonstrate the complete honesty and high performance of the proposed algorithm. Krishnan et al. [33] proposed a technique based on eigenfunction expansion for solving 1D phase change heat transfer problems with time- dependent temperature or heat flux boundary conditions. By using Duhamel’s theorem, Belekar et al. [34] derived an analytic solution for the transient axisymmetric temperature distribution in a cylindrical geometry with time-dependent boundary conditions. To the best of the authors’ knowledge, there is no literature formulating an analytic solution for the 2D heat conduction problems with the general Dirichlet boundary condi- tions specifying space–time-dependent dependent boundary conditions at the four edges of rectangular region. This paper develops a simplified exact solution method for the transient heat conduction in a rectangular cross-section of an infinite bar with space–time- dependent dependent boundary conditions using the shifting function method proposed by Lee and colleagues [10–16]. The study focuses on the 2D heat conduction problems with the general Dirichlet boundary conditions. For the two-dimensional problem, the original two-dimensional system is separated into two independent one-dimensional subsystems. The boundary conditions of the subsystems can then be changed from nonhomogeneous to homogeneous using the shifting function method, and an analytic solution can be derived using the eigenfunction expansion theorem. The solutions obtained from the two separate subsystems are combined to construct the solution of the original two-dimensional system. Finally, a numerical example is given, and the correctness of the obtained solution is veri- fied via comparison with the literature [27]. Other case studies illustrate the feasibility of this approach. The contributions of this paper are as follows: (1) Lee and colleagues [10–16] used the shifting function method to derive an analytic solution for the heat conduction with time-dependent boundary conditions. They also performed an inverse estimation of a heat treatment problem with unknown time-dependent boundary conditions. However, their research is limited to the scope of one-dimensional heat conduction problems. The greatest contribution of this work is the first investigation of the analytic solution to 2D heat conduction problems with the general Dirichlet boundary conditions by using the proposed method, combining the shifting function method with the expansion theorem method. The applicability of the present method is in solving the heat conduction problems of a rectangular cross- section of an infinite rod with specified space–time-dependent dependent boundary conditions at the four edges of the rectangular region; (2) Some advanced heat conduction books [17–19] proposed some classical techniques such as the Laplace transform, Duhamel’s theorem, and Green’s function to solve the heat conduction problem. However, they are limited to the integration situation during the solution process. The correctness of the solution in this study is verified by comparing it with the results of Young et al. [27]. To the best of the authors’ knowledge, the other cases in this paper have never been presented in past studies. Although the number of series expansion terms determines the accuracy of the solution, the case study shows that the proposed method has good convergence to the solution using series expansion and can quickly reach a convergence value. The influence of the parameters of the time-dependent boundary function on the temperature variation is also studied. 2. Mathematical Modeling Consider the transient heat conduction for a rectangular cross-section in an infinite bar with the space–time-dependent Dirichlet boundary conditions on its four sides and no heat generation in the medium. Figure 1 shows the geometry, the boundary conditions and Axioms 2023, 12, 416 4 of 21 initial condition of a rectangular cross-section in an infinite bar. The governing equation, boundary conditions and initial condition of the problem are as follows: 2 2 ¶ T(x, y, t) ¶ T(x, y, t) ¶T(x, y, t) k + = rc in 0 < x < L , 0 < y < L , t > 0, (1) x y 2 2 ¶x ¶y ¶t T(0, y, t) = f (y, t) at x = 0, 0  y  L , (2) 1 y T(L , y, t) = f (y, t) at x = L , 0  y  L , (3) x 2 x y T(x, 0, t) = f (x, t) at y = 0, 0  x  L , (4) 3 x T(x, L , t) = f (x, t) at y = L , 0  x  L , (5) y 4 y x T(x, y, 0) = T (x, y) at t = 0, 0  x  L , 0  y  L (6) x y where T(x, y, t) denotes the temperature function, x and y are the two-dimensional space variables, L and L are the thicknesses of the rectangular region at x and y directions, x y respectively, and t is the time variable. In addition, k is the thermal conductivity, r is the mass density, and c is the specific heat. It is noted that f (y, t) i = 1, 2 and f (x, t) i = 3, 4 denote i i the general case of space–time-dependent temperatures prescribed along the surfaces at the left and right ends and bottom and top ends, respectively. Furthermore, considering Axioms 2023, 12, x FOR PEER REVIEW 5 of 26 the matching of the boundary conditions with the initial conditions, one has f (y, 0) = T (0, y), f (y, 0) = T (L , y), f (x, 0) = T (x, 0), f (x, 0) = T (x, L ). (7) 1 0 2 0 x 3 0 4 0 y (a) Figure 1. Cont. T (x, L , t )= f (x, t ) y 4 T (0, y,t)= f (y,t) T (L , y,t)= f (y,t) Initially T (x, y,0)= T (x, y) x 2 T (x, 0, t)= f (x, t) x (b) Figure 1. The 2D heat conduction in a rectangular cross-section of an infinite bar with general Di- richlet boundary conditions. (a) An infinite bar with a rectangular cross-section. (b) The 2D heat transfer system in a rectangular region (cross-section). 3. The Solution Methodology A dimensionless form of the 2D heat conduction system is first derived and split into two subsystems, each of which can be solved as a 1D problem. By properly introducing the shifting functions, the second-order governing differential equation with space– time-dependent boundary conditions are transformed into the dierent ff ial equation with homogeneous boundary conditions. 3.1. The Dimensionless Form of Physical System The dimensionless parameters are defined as follows: Axioms 2023, 12, x FOR PEER REVIEW 5 of 26 Axioms 2023, 12, 416 5 of 21 (a) T (x, L , t )= f (x, t ) y 4 T (0, y,t)= f (y,t) T (L , y,t)= f (y,t) Initially T (x, y,0)= T (x, y) x 2 T (x, 0, t)= f (x, t) x (b) Figure 1. The 2D heat conduction in a rectangular cross-section of an infinite bar with general Di- Figure 1. The 2D heat conduction in a rectangular cross-section of an infinite bar with general richlet boundary conditions. (a) An infinite bar with a rectangular cross-section. (b) The 2D heat Dirichlet boundary conditions. (a) An infinite bar with a rectangular cross-section. (b) The 2D heat transfer system in a rectangular region (cross-section). transfer system in a rectangular region (cross-section). 3. The Solution Methodology 3. The Solution Methodology A dimensionless form of the 2D heat conduction system is first derived and split A dimensionless form of the 2D heat conduction system is first derived and split into into two subsystems, each of which can be solved as a 1D problem. By properly in- two subsystems, each of which can be solved as a 1D problem. By properly introducing troducing the shifting functions, the second-order governing differential equation with the shifting functions, the second-order governing differential equation with space– space–time-dependent boundary conditions are transformed into the differential equation time-dependent boundary conditions are transformed into the dierent ff ial equation with with homogeneous boundary conditions. homogeneous boundary conditions. 3.1. The Dimensionless Form of Physical System The dimensionless parameters are defined as follows: 3.1. The Dimensionless Form of Physical System The dimensionless parameters are defined as follows: T(x, y, t) at x y f (y, t) q(X, Y, t) = , t = , X = , Y = , L = , F (Y, t) = , T L L L L T r x y x r f (y, t) f (x, t) f (x, t) T (x, y) 2 3 4 0 F (Y, t) = , F (X, t) = , F (X, t) = , q (X, Y) = . (8) 2 3 0 T T T T r r r r The dimensionless form of the boundary-initial value problem is derived as follows: 2 2 ¶ q(X, Y, t) ¶ q(X, Y, t) ¶q(X, Y, t) L + = in 0 < X < 1, 0 < Y < 1, t > 0, (9) 2 2 ¶t ¶X ¶Y q(0, Y, t) = F (Y, t) at X = 0, 0  Y  1, (10) q(1, Y, t) = F (Y, t) at X = 1, 0  Y  1, (11) q(X, 0, t) = F (X, t) at Y = 0, 0  X  1, (12) q(X, 1, t) = F (X, t) at Y = 1, 0  X  1, (13) 4 Axioms 2023, 12, 416 6 of 21 q(X, Y, 0) = q (X, Y) at t = 0, 0  X  1, 0  Y  1, (14) F (Y, 0) = q (0, Y), F (Y, 0) = q (1, Y), F (X, 0) = q (X, 0), F (X, 0) = q (X, 1) (15) 1 0 2 0 3 0 4 0 where the parameter a = in Equation (8) represents the thermal diffusivity and T is the r c reference temperature. 3.2. Principle of Superposition Due to the linear property of the boundary value problem, the physical system can Axioms 2023, 12, x FOR PEER REVIEW 7 of 26 be divided into two subsystems, A and B along the X and Y directions by using the superposition principle, as shown in Figure 2; q(X, Y, t) is spilt into two parts as follows: q(X, Y, t) = q (X, Y, t) + q (X, Y, t). (16) a b  (X ,1, )= 0 Initially  (0,Y , )= F (Y , )  (X ,Y ,0)= (X ,Y )  (1,Y , )= F (Y , ) a 1 a a 0 a 2  (X ,0, )= 0 (a)  (X , 1,  )= F (X , ) b 4 Initially  (0,Y , )= 0  (1,Y , )= 0 b  (X ,Y ,0)= (X ,Y )− (X ,Y ) b 0 a 0 = (X ,Y ) b 0  (X , 0, )= F (X , ) 1 X a 3 (b) Figure 2. The two subsystems of the two-dimensional heat conduction system with general Di- Figure 2. The two subsystems of the two-dimensional heat conduction system with general Dirichlet richlet boundary conditions. (a) For subsystem A. (b) For subsystem B. boundary conditions. (a) For subsystem A. (b) For subsystem B. For the subsystem A , the governing equation, boundary conditions and initial condition for the heat conduction problem are 2 2     (X ,Y , )   (X ,Y , )  (X ,Y , ) a a a   0 in 0 X  1, 0 Y  1 , , L + = (17)  r  2 2 X Y     (0,Y , )= F (Y , ) (18) at X = 0 , 0 Y  1 , a 1  (1,Y , )= F (Y , ) (19) at X = 1 , 0 Y  1 , a 2 Axioms 2023, 12, 416 7 of 21 For the subsystem A, the governing equation, boundary conditions and initial condi- tion for the heat conduction problem are 2 2 ¶ q (X, Y, t) ¶ q (X, Y, t) ¶q (X, Y, t) a a a L + = in 0 < X < 1, 0 < Y < 1, t > 0, (17) 2 2 ¶X ¶Y ¶t q (0, Y, t) = F (Y, t) at X = 0, 0  Y  1, (18) a 1 q (1, Y, t) = F (Y, t) at X = 1, 0  Y  1, (19) q (X, 0, t) = 0 at Y = 0, 0  X  1, (20) q (X, 1, t) = 0 at Y = 1, 0  X  1, (21) q (X, Y, 0) = q (X, Y) at t = 0, 0  X  1, 0  Y  1. (22) a a0 Likewise, for the subsystem B, the governing equation, boundary conditions and initial condition for the heat conduction problem are 2 2 ¶ q (X, Y, t) ¶ q (X, Y, t) ¶q (X, Y, t) 2 b b b L + = in 0 < X < 1, 0 < Y < 1, t > 0, (23) 2 2 ¶t ¶X ¶Y q (0, Y, t) = 0 at X = 0, 0  Y  1, (24) q (1, Y, t) = 0 at X = 1, 0  Y  1, (25) q (X, 0, t) = F (X, t) at Y = 0, 0  X  1, (26) b 3 q (X, 1, t) = F (X, t) at Y = 1, 0  X  1, (27) b 4 q (X, Y, 0) = q (X, Y) q (X, Y) = q (X, Y) at t = 0, 0  X  1, 0  Y  1. (28) 0 a0 b b0 For the two similar subsystems, first solve the subsystem A, and then solve the subsystem B, listed in the Appendix A for brevity. 3.3. Reduced to One-Dimensional Problem Considering the two homogeneous boundary conditions at the opposite edges of the rectangular region, namely, Y = 0 and Y = 1, one can reasonably assume that the temperature q (X, Y, t) and dimensionless quantities F (Y, t) (i = 1, 2) defined in a i Equations (18) and (19) are q (X, Y, t) = [q (X, t) sin(mpY)], (29) a å m m=1 F (Y, t) = F (t) sin(mpY) , (i = 1, 2) (30) i å i,m m=1 where F (t) (i = 1, 2) is defined as i,m F (t) = 2 F (Y, t) sin(mpY)dY, (i = 1, 2). (31) i,m i 0 Axioms 2023, 12, 416 8 of 21 Thus, q (X, t) in Equation (29) is determined by satisfying the boundary conditions on both sides X = 0 and X = 1 (Equations (18) and (19)) and the governing equation. After substituting Equations (29) and (30) back into Equations (17)–(19), we can obtain the following results ¶q (X, t) ¶ q (X, t) m m 2 2 2 L + m p q (X, t) = 0 in 0 < X < 1, t > 0, (32) ¶t ¶X q (0, t) = F (t) at X = 0, (33) m 1,m q (1, t) = F (t) at X = 1, (34) 2,m q (X, 0) = 2 q (X, Y) sin(mpY)dY at t = 0. (35) m a0 3.4. The Shifting Function Method 3.4.1. Change of Variable To solve the second-order partial differential equation (Equation (32)) with nonho- mogeneous boundary conditions (Equations (33) and (34)), the shifting function method developed by Lee and colleagues [10] is extended by employing the following transforma- tion equation q (X, t) = q (X, t) + [g (X)F (t)]. (36) m m å i,m i,m i=1 where q (X, t) is a transformed function and g (X) (i = 1, 2) represents the two shift m i,m functions that need to be specified. Substituting Equation (36) into Equations (32)–(34) can obtain . . 2 2 00 00 q (X, t) + [g (X)F (t)] L fq (X, t) + [g (X)F (t)]g m å m å i,m i,m r i,m i,m i=1 i=1 (37) 2 2 +m p fq (X, t) + [g (X)F (t)]g = 0 m i,m i,m i=1 where the double primes are used to represent the twice differentiation with respect to X and the dots represent the differentiation with respect to t, respectively. The associated boundary conditions become q (0, t) + [g (0)F (t)] = F (t), (38) m å i,m i,m 1,m i=1 q (1, t) + [g (1)F (t)] = F (t). (39) m å i,m i,m 2,m i=1 3.4.2. The Shifting Functions For the convenience of analysis, the shifting functions are specially selected so that they satisfy the following differential equations and boundary conditions g (X) = 0, i = 1, 2, 0 < X < 1, (40) i,m g (0) = d , g (1) = d (41) i,m i1 i,m i2 where d is the Kronecker delta. Therefore, two shifting functions can be easily determined as ij g (X) = 1 X, g (X) = X (42) 1,m 2,m Axioms 2023, 12, 416 9 of 21 After substituting Equations (40)–(42) back into Equations (37)–(39) yields a differential equation for q (X, t) as below: 2 2 2 q (X, t) L q (X, t) + m p q (X, t) = G (X, t) (43) m m m m and the homogeneous boundary conditions become q (0, t) = 0, q (1, t) = 0 (44) m m where G (X, t) in Equation (43) is defined as 2 . 2 2 G (X, t) = fg (X)[F (t) + m p F (t)]g. (45) m i,m i,m i,m i=1 Moreover, the initial condition can be transformed as q (X, 0) = 2 q (X, Y) sin(mpY)dY [g (X)F (0)]. (46) m a0 å i,m i,m i=1 3.4.3. The Eigenfunction Expansion Theorem The solution q (X, t) specified by Equations (43) and (44) can be expressed by apply- ing the method of separation variable as q (X, t) = [q (X)T (t)] (47) m mn mna n=1 where the space variable q (X) satisfies the following Sturm–Liouville eigenvalue problem mn q (X) + w q (X) = 0, 0 < X < 1, (48) mn mn n q (0) = 0 at X = 0, (49) mn q (1) = 0 at X = 1. (50) mn It is noted that the eigenfunctions q (X) (n = 1, 2, 3, ) and the corresponding mn eigenvalues are q (X) = sin w X, w = np, (n = 1, 2, 3, ) (51) mn n n In addition, the eigenfunctions form an orthogonal set in the interval [0, 1] as 0 for i 6= j, q (X) q (X)dX = (52) mi mj for i = j. Substituting Equation (47) into Equation (43), multiplying it by q (X), and integrating mn from 0 to 1, one will obtain the following differential equation T (t) + l T (t) = g (t) (53) mna mna mna mna where l and g (t) are given as mna mna 2 2 2 l = m + n L p, (54) mna r Axioms 2023, 12, 416 10 of 21 g (t) = 2 q (X)G (X, t)dX mna mn m . . (55) n n 2 2 2 = [F (t) (1) F (t)] + m p [F (t) (1) F (t)] . 2,m 2,m 1,m 1,m np T (0) is determined from the initial condition of the transformed function defined mna in Equation (46) as T (0) = 2 q (X)q (X, 0)dX mna mn m R R (56) 1 1 = 4 sin(npX) q (X, Y) sin(mpY)dYdX [F (0) (1) F (0)]. a0 1,m 2,m 0 0 np Therefore, the general solution to Equation (53) with the above initial conditions is 2 2 l t l (tf) mna mna T (t) = e T (0) + e g (f)df. (57) mna mna mna 3.5. The Analytic Solution After substituting the solution of the transformed function in Equation (47), and the shifting functions in Equation (42), back into Equations (36) and (29), we can derive the closed-form solution for the q (X, Y, t) subsystem as follows: ¥ ¥ q (X, Y, t) = f [sin(npX)T (t)] + (1 X)F (t) + XF (t)g sin(mpY). (58) a å å mna 1,m 2,m m=1 n=1 Due to the high symmetry with the q (X, Y, t) subsystem, the solution form of the q (X, Y, t) subsystem can be easily obtained through a similar derivation process (see Appendix A for details) as ¥ ¥ q (X, Y, t) = f [sin(npY)T (t)] + (1 Y)F (t) + YF (t)g sin(mpX). (59) 3,m b å å mnb 4,m m=1 n=1 Finally, adding the solutions of the two subsystems, the analytic solution for the 2D heat conduction in a rectangular region with the general Dirichlet boundary conditions is obtained as follows: ¥ ¥ q(X, Y, t) = f [sin(npX)T (t)] + (1 X)F (t) + XF (t)g sin(mpY) å å mna 1,m 2,m m=1 n=1 (60) ¥ ¥ + [sin(npY)T (t)] + (1 Y)F (t) + YF (t) sin(mpX). å å mnb 3,m 4,m m=1 n=1 From the above derivation process, it can be seen that the assumptions in Equations (29) and (A5) have restrictions on the boundary conditions and initial condition; that is, these values at the four corners of the rectangular region should be zero. If the values of the boundary conditions and initial condition at the four corners of the rectangular region are not zero, they should be zeroed first. 4. Examples and Verification To illustrate the advantages of the proposed method, two examples with different types of space-dependent boundary conditions are examined in detail below: 4.1. The Space-Dependent Boundary Conditions of Periodical Type Example 1: Consider a linear 2D heat conduction problem in a rectangular region (L = L = x y L = 1) subject to the space–time-dependent boundary conditions and initial condition as follows: T(0, y, t) = f (y, t) = [sin(p y)]h (at) at x = 0, 0  y  1, (61) 1 1 Axioms 2023, 12, 416 11 of 21 T(1, y, t) = f (y, t) = [sin(p y)]h (at) at x = 1, 0  y  1, (62) 2 2 T(x, 0, t) = f (x, t) = [sin(p x)]h (at) at y = 0, 0  x  1, (63) 3 3 T(x, 1, t) = f (x, t) = [sin(p x)]h (at) at y = 1, 0  x  1, (64) 4 4 T(x, y, 0) = sin p x + sin p y at t = 0, 0  x  1, 0  y  1. (65) Following the present solution procedure and using the dimensionless parameters defined in Equation (8), we can change the space–time-dependent boundary and initial conditions to sin(p Y) q(0, Y, t) = F (Y, t) = h (t) at X = 0, 0  Y  1, (66) 1 1 sin(p Y) q(1, Y, t) = F (Y, t) = h (t) at X = 1, 0  Y  1, (67) 2 2 sin(p X) q(X, 0, t) = F (X, t) = h (t) at Y = 0, 0  X  1, (68) 3 3 sin(p X) q(X, 1, t) = F (X, t) = h (t) at Y = 1, 0  X  1, (69) 4 4 [sin(p X) + sin(p Y)] q(X, Y, 0) = at t = 0, 0  X  1, 0  Y  1. (70) The temperature q(X, Y, 0) is divided into two parts as follows: sin(p Y) sin(p X) q (X, Y, 0) = , q (X, Y, 0) = . (71) a0 b0 T T r r In this case, using one-term expansion (m = n = 1) in the analytic solution derived from Equation (60), the solution is derived as q(X, Y, t) = [sin(pX)T (t) + (1 X)F (t) + XF (t)] sin(pY) 11a 1,1 2,1 (72) +[sin(pY)T (t) + (1 Y)F (t) + YF (t)] sin(pX) 3,1 4,1 11b where the associated dimensionless quantity F (t) (i = 1, 2, 3, 4) is i,1 h (t) F (t) = , i = 1, 2, 3, 4 (73) i,1 T (0) and T (0) are determined from the initial conditions of the transformed 11a 11b functions defined in Equations (46) and (A25) as 4 2 4 2 T (0) = [h (0) + h (0)], T (0) = [h (0) + h (0)] (74) 11a 1 2 11b 3 4 p p p p Likewise, from Equations (54) and (55), and Equations (A23) and (A24), one obtains l = l = 2p, (75) 11a 11b . . . . 2 2 2 2 g (t) = fh (t) + h (t) + p [h (t) + h (t)]g, g (t) = fh (t) + h (t) + p [h (t) + h (t)]g, (76) 11a 1 2 11b 3 4 1 2 3 4 p p Axioms 2023, 12, 416 12 of 21 Therefore, one can obtain 4 2 2 2 2p t 2p (tf) T (t) = e [h (t) + h (t)] + 2p e [h (f) + h (f)]df, (77) 11a 1 2 1 2 p p 4 2 2 2 2p t 2p (tf) T (t) = e [h (t) + h (t)] + 2p e [h (f) + h (f)]df. (78) 3 4 3 4 11b p p (Case 1): Consider the time-dependent functions to be of exponential type, as follows: p t h (t) = e , (i = 1, 2, 3, 4). (79) From Equations (77) and (78) one obtains T (t) = T (t) = 0. (80) 11a 11b The solution from the dimensionless form of Equation (72) becomes p t [sin(pX) + sin(pY)]e q(X, Y, t) = . (81) Substituting this back into dimensional form would be ap t T(x, y, t) = [sin(px) + sin(py)]e . (82) It can be seen that the solution obtained in Equation (82) is exactly the same form as that given by Young et al. [25]. (Case 2): Consider the time-dependent functions to be of periodic type, as follows: h (t) = cos(w t), (i = 1, 2, 3, 4). (83) i i One obtains 2 2 g (t) = [w sin(w t) w sin(w t) + p cos(w t) + p cos(w t)], (84) 11a 1 1 2 2 1 2 2 2 g (t) = [w sin(w t) w sin(w t) + p cos(w t) + p cos(w t)] (85) 11b 3 3 4 4 3 4 4 2 4 2 4 2 2 2p +w 2p +w (2p +w ) cos(w p)p w sin(w p) 1 1 1 2 2p t 1 2 2 1 T (t) = e ( + ) [ 11a 4 2 4 2 4 2 p p 4p +w 4p +w 4p +w 1 2 1 (86) 4 2 2 (2p +w ) cos(w p)p w sin(w p) 2 2 2 + ], 4 2 4p +w 4 2 4 2 4 2 2 2p +w 2p +w (2p +w ) cos(w p)p w sin(w p) 2 2 3 3 3 2p t 3 4 3 T (t) = e ( + ) [ 11b 4 2 4 2 4 2 p p 4p +w 4p +w 4p +w 3 4 3 (87) 4 2 2 (2p +w ) cos(w p)p w sin(w p) 4 4 4 + ]. 4 2 4p +w Therefore, the exact solution in dimensionless form becomes cos(w t) cos(w t) 1 2 q(X, Y, t) = [sin(pX)T (t) + (1 X) + X ] sin(pY) 11a T T r r (88) cos(w t) cos(w t) 3 4 +[sin(pY)T (t) + (1 Y) + Y ] sin(pX). 11b T T r r Three cases including w = p(i = 1, 2, 3, 4), w = 5(i = 1, 2, 3, 4), and w = 7 i i i (i = 1, 2, 3, 4) will be considered in the numerical analysis. Figure 3 illustrates the temperature-time variation in the middle of a rectangular region with various param- eter values of w (i = 1, 2, 3, 4), which shows the oscillating behavior, as expected. In i Axioms 2023, 12, 416 13 of 21 Axioms 2023, 12, x FOR PEER REVIEW 16 of 26 addition, the larger the parameter value of w (i = 1, 2, 3, 4), the more frequent the temper- ature fluctuation. 2.5 2.0  = = = = 1 2 3 4  = = = = 1.5 1 2 3 4  = = = = 1 2 3 4 1.0 0.5 0.0 -0.5 -1.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Figure 3. Temperature variation in the middle of the rectangular region with various parameters of Figure 3. Temperature variation in the middle of the rectangular region with various parameters of harmonic-type time-dependent harmonic-type boundary time-depen conditions dent bound (Case ary2 cof onExample ditions (Ca 1).se 2 of Example 1). 4.2. The Space-Dependent Boundary Conditions of Parabolic Type 4.2. The Space-Dependent Boundary Conditions of Parabolic Type Example 2: Consider a 2D transient heat conduction problem in a rectangular region ( Example 2: Consider a 2D transient heat conduction problem in a rectangular region (L = L = x y L = L = L = 1). x y r L = 1). The boundary and initial conditions are listed as follows: The boundary and initial conditions are listed as follows: at x = 0 , , T (0, y,t )= f (y,t )= (y− y ) (t ) 0 y  1 (89) 1 1 T(0, y, t) = f (y, t) = (y y )h (at) at x = 0, 0  y  1, (89) 1 1 T(1, y, t) = f (y, t) = (y y )h (at) at x = at 1,x 0= 1 , y  1, 0 y  1, (90) T (1, y,t )= f (2y,t )= (y− y ) 2(t ) (90) 2 2 T(x, 0, t) = f (x, t) = (x x )h (at) at y = 0, 0  x  1, (91) 3 3 at y = 0 , 0 x  1 , T (x,0,t )= f (x,t )= ( x− x ) (t ) (91) 3 3 T(x, 1, t) = f (x, t) = (x x )h (at) at y = 1, 0  x  1, (92) 4 4 at y = 1 , 0 x  1 , T (x,1,t )= f (x,t 2)= ( x− x2 ) (t ) (92) 4 4 T(x, y, 0) = (x x ) + (y y ) at t = 0, 0  x  1, 0  y  1 (93) Using the dimensionless parameters generates 2 2 at t = 0 , 0 x  1 , 0 y  1. (93) T (x, y, 0)= (x− x )+ ( y− y ) Y Y q(0, Y, t) = h (t)  F (Y, t) at X = 0, 0  Y  1, (94) 1 1 Using the dimensionless parameters generates Y Y q(1, Y, t) = h (t)  F (Y, t) at X = 1, 0  Y  1, (95) 2 2 (0.5, 0.5, ) Axioms 2023, 12, 416 14 of 21 X X q(X, 0, t) = h (t)  F (X, t) at Y = 0, 0  X  1, (96) 3 3 X X q(X, 1, t) = h (t)  F (X, t) at Y = 0, 0  X  1, (97) 4 4 2 2 (X X ) + (Y Y ) q(X, Y, 0) = at t = 0, 0  X  1, 0  Y  1, (98) and separating q(X, Y, 0) into two parts yields 2 2 Y Y X X q (X, Y, 0) = , q (X, Y, 0) = . (99) a0 b0 T T r r Following the same solution procedure, the associated dimensionless quantity F (t) i,m (i = 1, 2, 3, 4) becomes 4[1 (1) ] F (t) = h (t), i = 1, 2, 3, 4. (100) i,m i 3 3 m p T To determine T (t) and T (t), one derives first mna mnb 2 2 l = l = m + n p, (101) mna mnb 8[1 (1) ] n n T (0) = [1 (1) h (0) + (1) h (0)], (102) mna 1 2 3 4 m np T 8[1 (1) ] n n T (0) = [1 (1) h (0) + (1) h (0)], (103) mnb 4 3 4 m np T . . 8[1 (1) ] n n 2 2 g (t) = fh (t) (1) h (t) + m p [h (t) (1) h (t)]g, (104) mna 1 2 1 2 3 4 m np T 8[1 (1) ] . . n n 2 2 g (t) = fh (t) (1) h (t) + m p [h (t) (1) h (t)]g. (105) mnb 3 4 3 4 3 4 m np T Accordingly, the solutions for T (t) and T (t) are mna mnb 8[1(1) ] n n l t mna T (t) = f[1 (1) ]e h (t) + (1) h (t)] mna 3 4 1 2 m np T (106) t n 2 2 l (tf) mna +n p e [h (f) (1) h (f)]dfg, 1 2 8[1(1) ] n n l t mnb T (t) = f[1 (1) ]e h (t) + (1) h (t)] mnb 3 4 4 m np T (107) t n l (tf) 2 2 mnb +n p e [h (f) (1) h (f)]dfg. 3 4 Therefore, the exact solution in dimensionless form is ¥ ¥ m m [1(1) ] [1(1) ] q(X, Y, t) = å f å [sin(npX)T (t)] + 4(1 X) h (t) + 4X h (t)g sin(mpY) mna 1 2 3 3 3 3 m p T m p T r r m=1 n=1 (108) ¥ ¥ m m [1(1) ] [1(1) ] + f [sin(npY)T (t)] + 4(1 Y) h (t) + 4Y h (t)g sin(mpX). å å mnb 3 3 3 3 3 4 m p T m p T r r m=1 n=1 Considering the time-dependent term of exponential type as d t h (t) = e , (i = 1, 2, 3, 4), (109) i Axioms 2023, 12, 416 15 of 21 one has 8[1(1) ] n n l t d t d t mna 1 2 T (t) = f[1 (1) ]e e + (1) e ] mna 3 4 m np T 2 2 (110) d t d t l t l t 1 mna n 2 mna e e e e 2 2 +n p [ (1) ]g, 2 2 l d l d mna 1 mna 2 8[1(1) ] n n l t d t d t 3 4 mnb T (t) = f[1 (1) ]e e + (1) e ] mnb 3 4 m np T 2 2 (111) l t l t d t d t 3 mnb n 4 mnb 2 2 e e e e +n p [ (1) ]g 2 2 l d l d 3 4 mnb mnb where d (i = 1, 2, 3, 4).represents four arbitrary constants. Tables 1–3 shows the tempera- ture variation of the midpoint of the rectangular region under the three kinds of exponential parameters of d (i = 1, 2, 3, 4). It can be found that the solutions developed converge to convergence values as the number of series terms (m = n) increases. The temperature at 0  t  1.2 are the same between 10 and 20 terms expansion. The results converge when 10 terms expansion is used. By comparing the temperature at 0  t  1.2 between 5 and 10 terms expansion in each table of Tables 1–3, one can see that when 5 terms expansion is used, the error of the solution evaluated is less than 1%. Therefore, 5 terms expansion (m = n) of the series will be taken for the numerical analysis below. Figure 4 illustrates the temperature variation in the middle of the rectangular region with respect to time t for three different kinds of d (i = 1, 2, 3, 4). It is seen from Figure 4 that the temperature curve of the set of d = 1 (i = 1, 2, 3, 4) decays faster than the other two curves, and the trend of the temperature curves of three sets is the same. Table 1. The temperature of the rectangular region at X = Y = 0.5 and at various times [h (t) = e , (i = 1, 2, 3, 4)]. q(X=0.5,Y=0.5,t) Number of Expansion Terms (m=n) 1 3 5 10 20 0 0.516 0.497 0.501 0.500 0.500 0.1 0.229 0.246 0.243 0.243 0.243 0.2 0.174 0.189 0.187 0.187 0.187 0.4 0.138 0.150 0.148 0.148 0.148 0.6 0.113 0.123 0.121 0.121 0.121 0.8 0.0921 0.100 0.0989 0.0994 0.0994 1.0 0.0754 0.0823 0.0810 0.0814 0.0814 1.2 0.0618 0.0674 0.0663 0.0666 0.0666 Table 2. The temperature of the rectangular region at X = Y = 0.5 and at various times [h (t) = e , 2t (i = 1, 2); h (t) = e , (i = 3, 4)]. q(X=0.5,Y=0.5,t) t Number of Expansion Terms (m=n) 1 3 5 10 20 0 0.516 0.497 0.501 0.500 0.500 0.1 0.249 0.263 0.261 0.261 0.261 0.2 0.203 0.215 0.213 0.213 0.213 0.4 0.176 0.184 0.183 0.183 0.183 0.6 0.154 0.159 0.159 0.159 0.159 0.8 0.133 0.136 0.136 0.136 0.136 1.0 0.113 0.115 0.115 0.115 0.115 1.2 0.0954 0.0969 0.0967 0.0968 0.0968 Axioms 2023, 12, x FOR PEER REVIEW 19 of 26 Axioms 2023, 12, 416 16 of 21 exponential parameters of . It can be found that the solutions developed d (i = 1, 2, 3, 4) it Table 3. The temperature of the rectangular region at X = Y = 0.5 and at various times [h (t) = e , converge to convergence values as the number of series terms ( ) increases. The m= n (i = 1, 2, 3, 4)]. temperature at 0  1.2 are the same between 10 and 20 terms expansion. The results converge when 10 terms expansion is used. By comparing the temperature at q(X=0.5,Y=0.5,t) 0  1.2 between 5 and 10 terms expansion in each table of Tables 1-3, one can see t Number of Expansion Terms (m=n) that when 5 terms expansion is used, the error of the solution evaluated is less than 1%. Ther 1 efore, 5 terms 3 expansion ( m 5= n ) of the ser 10 ies will be taken 20 for the numerical anal- ysis below. Figure 4 illustrates the temperature variation in the middle of the rectangular 0 0.516 0.497 0.501 0.500 0.500 region with respect to time  for three different kinds of d (i = 1, 2, 3, 4) . It is seen 0.1 0.285 0.295 0.293 0.293 0.293 0.2 0.251 0.257 0.256 0.256 0.256 from Figure 4 that the temperature curve of the set of decays faster d = 1 (i = 1, 2, 3, 4) 0.4 0.229 0.230 0.230 0.230 0.230 than the other two curves, and the trend of the temperature curves of three sets is the 0.6 0.202 0.201 0.202 0.202 0.202 same. 0.8 0.174 0.172 0.172 0.172 0.172 1.0 0.147 0.145 0.146 0.146 0.146 1.2 0.123 0.121 0.122 0.122 0.122 0.5 d =1, d =2, d =3, d =4 1 2 3 4 0.4 d = d =1, d = d =2 1 2 3 4 d = d = d = d =1 1 2 3 4 0.3 0.2 0.1 0.0 0.0 0.2 0.4 0.6 0.8 1.0 1.2 Figure 4. Temperature variation in the middle of the rectangular region with various parameters of Figure 4. Temperature variation in the middle of the rectangular region with various parameters of exponential-type time-dependent exponential-tboundary ype time-de conditions pendent b (Example oundary c2). onditions (Example 2). 5. Conclusions Table 1. The temperature of the rectangular region at X = Y = 0.5 and at various times [ − A closed form solution of the transient heat conduction in a rectangular cross-section  ( )= e , (i = 1, 2, 3, 4) ]. in an infinite bar with the general space–time-dependent boundary conditions has been developed in terms of series expansion. The main advantages of the proposed solution  XY== 0.5, 0.5, ( ) method is that differentiation and/or integration of the Green’s function is not required Number of Expansion Terms ( m= n ) and the solution of the auxiliary 2D problem with associated nonhomogeneous bound- 1 3 5 10 20 ary conditions is avoided. Two examples are given to illustrate the applicability of the 0 0.516 0.497 0.501 0.500 0.500 method and the example of space-dependent boundary for periodic function is shown to be consistent with results0. in 1 the literatur 0.e. 229 0.246 0.243 0.243 0.243 The new findings of the present study are as follows: 0.2 0.174 0.189 0.187 0.187 0.187 0.4 0.138 0.150 0.148 0.148 0.148 (1) The proposed approach combining the shifting function method and the expansion theorem method can derive an analytic solution for the 2D heat conduction in a rectangular cross-section of an infinite bar with the general Dirichlet boundary condi-  (0.5, 0.5, ) Axioms 2023, 12, 416 17 of 21 tions specifying space–time-dependent boundary conditions at the four edges of the rectangular region; (2) The series expansion derived from the proposed method has a good convergence to reach the convergence values. For space-dependent boundary with the parabolic-type case, one can take five terms of the series to obtain the series solutions within 1% error; (3) When considering the time-dependent boundary of harmonic function, the fluctuation of the temperature variation increases as the frequency of the harmonic function increases. When considering the time-dependent boundary of exponential function, d t e , a smaller coefficient d will result in a lower and faster drop in temperature. The analytic solution for the 2D heat conduction problems with general Dirichlet boundary conditions is obtained using the proposed method. However, the values of the boundary conditions and initial condition at the four corners of the rectangular region should be zero, which limits the applicability of this study. Transforming the temperature function before using the method proposed in this paper may overcome this limitation. A method that can be applied to the case for non-zero values at the four corners will be proposed in the near future. Author Contributions: Conceptualization, T.-W.T. and J.-R.C.; formal analysis, H.-P.H.; investigation, J.-R.C.; methodology, H.-P.H., T.-W.T. and J.-R.C.; software, H.-P.H.; supervision, T.-W.T.; validation, J.-R.C.; writing—original draft, T.-W.T.; writing—review and editing, J.-R.C. All authors have read and agreed to the published version of the manuscript. Funding: This research received no external funding. And the APC was funded by H.-P.H. and J.-R.C. Data Availability Statement: Not applicable. Conflicts of Interest: The authors declare no conflict of interest. Nomenclature A, B two subsystems c specific heat (W s/kg C) d (i = 1, 2, 3, 4) four arbitrary constants f (y, t), i = 1, 2 temperatures along the surface at the left end and the right end of the rectangular region f (x, t), i = 3, 4 temperatures along the surface at the bottom end and the top end of the rectangular region F (Y, t), i = 1, 2 dimensionless quantity defined in Equation (8) F (X, t), i = 3, 4 dimensionless quantity defined in Equation (8) F (t), i = 1, 2 dimensionless quantity defined in Equation (31) i,m F (t), i = 3, 4 dimensionless quantity defined in Equation (A7) i,m g (X), i = 1, 2 shifting function i,m g (Y), i = 3, 4 shifting function i,m G (X, t) nonhomogeneous term in the differential equation of the transformed system defined in Equation (43) k thermal conductivity (W/m C) L aspect ratio, L /L defined in Equation (8) r y x L , L thickness of the two-dimensional rectangular region at x- and x y y- directions (m) T(x, y, t) temperature function ( C) T (t), T (t) dimensionless time variable of the transformed function defined in mna mnb Equations (53) and (A22) T reference temperature ( C) T (x, y) initial temperature ( C) t time variable (s) x space variable in x-direction of a rectangular region (m) X dimensionless space variable in x-direction of a rectangular region Axioms 2023, 12, 416 18 of 21 y space variable in y-direction of a rectangular region (m) Y dimensionless space variable in y-direction of a rectangular region a thermal diffusivity (m /s) f auxiliary integration variable g (t), g (t) dimensionless quantity defined in Equations (55) and (A24) mna mnb h (i = 1, 2, 3, 4) time-dependent boundary condition l , l n-th eigenvalues depend on w defined in Equations (54) and (A23) mna n mnb q dimensionless temperature q dimensionless initial temperature q , q dimensionless temperatures for subsystems A and B q (X, t) generalized Fourier coefficient defined in Equation (29) q (X, t) transformed function defined in Equation (36) q (X, t) n-th eigenfunction of the transformed function defined in Equation (47) mn r density (kg/m ) t dimensionless time w n-th eigenvalue for Sturm–Liouville problem defined in Equation (48). Subscripts 0, 1, 2, 3, 4, a, b, i, m, n, r described in the article Appendix A. Analytic Solution of the Subsystem B For the subsystem B, the boundary value problem is as follows: 2 2 ¶ q (X, Y, t) ¶ q (X, Y, t) ¶q (X, Y, t) b b b L + = in 0 < X < 1, 0 < Y < 1, t > 0, (A1) 2 2 ¶X ¶Y ¶t q (0, Y, t) = 0, q (1, Y, t) = 0, (A2) b b q (X, 0, t) = F (X, t), q (X, 1, t) = F (X, t), (A3) 3 4 b b q (X, Y, 0) = q (X, Y) q (X, Y) = q (X, Y). (A4) b 0 a0 b0 Because the boundary conditions of the rectangular region at two opposite edges X = 0 and X = 1 are homogeneous, the temperature q (X, Y, t) and the dimensionless quantities F (X, t), F (X, t) defined in Equation (A3), can be expressed as 3 4 q (X, Y, t) = [q (Y, t) sin(mpX)], (A5) b å m=1 F (X, t) = F (t) sin(mpX) , (i = 3, 4) (A6) i å i,m m=1 where m denotes a positive integer and F (t) (i = 3, 4) is given as i,m F (t) = 2 F (X, t) sin(mpX)dX, (i = 3, 4). (A7) i,m i Substituting Equations (A5) and (A6) back into Equations (A1)–(A4), one obtains ¶q (Y, t) ¶ q (Y, t) m m 2 2 2 + m p L q (Y, t) = 0, (A8) ¶t ¶Y q (0, t) = F (t), q (1, t) = F (t), (A9) m 3,m m 4,m q (Y, 0) = 2 q (X, Y) sin(mpX)dX. (A10) b0 0 Axioms 2023, 12, 416 19 of 21 To find the solution for the second-order differential Equation (A8) with nonhomoge- neous boundary conditions (A9), one uses the shifting function method by taking q (Y, t) = q (Y, t) + g (Y)F (t) (A11) m m å i,m i,m i=3 where q (Y, t) is the transformed function while g (Y) (i = 3, 4) indicates the shifting i,m function to be specified. Substituting Equation (A11) back into Equations (A8)–(A10), one obtains 4 4 00 00 q (Y, t) + g (Y)F (t) q (Y, t) + g (Y)F (t) å å m i,m i,m i,m i,m i=3 i=3 (A12) 2 2 2 +m p L [q (Y, t) + g (Y)F (t)] = 0. m å r i,m i,m i=3 The associated boundary conditions become q (0, t) + g (0)F (t) + g (0)F (t) = F (t), (A13) m 3,m 3,m 3,m 4,m 4,m q (1, t) + g (1)F (t) + g (1)F (t) = F (t) (A14) m 3,m 3,m 4,m 4,m 4,m As in the derivation process, the two shifting functions are determined as g (Y) = 1 Y, g (Y) = Y. (A15) 3,m 4,m After substituting Equation (A15) into Equations (A12)–(A14), one has the differential equation for q (Y, t) as 2 2 2 q (Y, t) q (Y, t) + m p L q (Y, t) = G (Y, t), (A16) m m m m r and the associated homogeneous boundary conditions as q (0, t) = 0, q (1, t) = 0. (A17) m m G (Y, t) is defined as 4 . 2 2 2 G (Y, t) = m p L g (Y)F (t) + g (Y)F (t) . (A18) m å r i,m i,m i,m i,m i=3 Moreover, the initial condition is transformed to be q (Y, 0) = 2 q (X, Y) sin(mpX)dX [g (Y)F (0)]. (A19) b0 å i,m i,m i=3 The solution q (Y, t) specified by Equations (A16)–(A19) can be expressed in the form of eigenfunctions as q (Y, t) = q (Y)T (t) (A20) m mn å mnb n=1 where q (Y) is mn q (Y) = sin npY. (A21) mn Substituting Equation (A20) into Equation (A16), multiplying it by q (Y), and inte- mn grating from 0 to 1, one will obtain T (t) + l T (t) = g (t) (A22) mnb mnb mnb mnb Axioms 2023, 12, 416 20 of 21 where l and g (t) are mnb mnb 2 2 2 l = m L + n p, (A23) mnb g (t) = 2 q (Y)G (Y, t)dY mn m mnb . . (A24) n n 2 2 2 2 = [F (t) (1) F (t) + m p L F (t) (1) F (t)] . 3,m 3,m 4,m r 4,m np Note that T (0) can be determined from the initial condition of the transformed mnb function defined in Equation (A19) as Z Z 1 1 T (0) = 4 sin(npY) q (X, Y) sin(npX)dXdY [F (0) (1) F (0)]. (A25) mnb b0 3,m 4,m np 0 0 The general solution of Equation (A22) with the initial condition above is 2 2 l t l (tf) mnb mnb T (t) = e T (0) + e g (f)df. (A26) mnb mnb mnb References 1. Perakis, N.; Haidna, O.J.; Ihme, M. Heat transfer augmentation by recombination reactions in turbulent reacting boundary layers at elevated pressures. Int. J. Heat Mass Transf. 2021, 178, 121628. [CrossRef] 2. Hassan, M.A.S.M.; Razlan, Z.M.; Bakar, S.A.; Rahman, A.A.; Rojan, M.A.; Wan, W.K.; Ibrahim, Z.; Ishak, A.A.; Ridzuan, M.J.M. Derivation and validation of heat transfer model for Spark-Ignition engine cylinder head. Appl. Therm. Eng. 2023, 225, 120240. [CrossRef] 3. Ivanov, V.; Salomatov, V. On the calculation of the temperature field in solids with variable heat-transfer coefficients. J. Eng. Phys. Thermophys. 1965, 72, 63–64. [CrossRef] 4. Ivanov, V.; Salomatov, V. Unsteady temperature field in solid bodies with variable heat transfer coefficient. J. Eng. Phys. Thermophys. 1966, 11, 151–152. [CrossRef] 5. Postol’Nik, Y.S. One-dimensional convective heating with a time-dependent heat-transfer coefficient. J. Eng. Phys. Thermophys. 1970, 18, 233–238. [CrossRef] 6. Kozlov, V. Solution of heat-conduction problem with variable heat-exchange coefficient. J. Eng. Phys. Thermophys. 1970, 18, 100–104. [CrossRef] 7. Holy, Z. Temperature and stresses in reactor fuel elements due to time-and space-dependent heat-transfer coefficients. Nucl. Eng. Des. 1972, 18, 145–197. [CrossRef] 8. Özisik, ¸ M.N.; Murray, R. On the solution of linear diffusion problems with variable boundary condition parameters. J. Heat Transf. 1974, 96, 48–51. [CrossRef] 9. Moitsheki, R.J. Transient heat diffusion with temperature-dependent conductivity and time-dependent heat transfer coefficient. Math. Probl. Eng. 2008, 9, 41–58. [CrossRef] 10. Chen, H.T.; Sun, S.L.; Huang, H.C.; Lee, S.Y. Analytic closed solution for the heat conduction with time dependent heat convection coefficient at one boundary. Comput. Model. Eng. Sci. 2010, 59, 107–126. 11. Lee, S.Y.; Huang, C.C. Analytic solutions for heat conduction in functionally graded circular hollow cylinders with time-dependent boundary conditions. Math. Probl. Eng. 2013, 5, 816385. [CrossRef] 12. Lee, S.Y.; Tu, T.W. Unsteady temperature field in slabs with different kinds of time-dependent boundary conditions. Acta Mech. 2015, 226, 3597–3609. [CrossRef] 13. Lee, S.Y.; Lin, S.M. Dynamic analysis of nonuniform beams with time-dependent elastic boundary conditions. J. Appl. Mech. 1996, 63, 474–478. [CrossRef] 14. Lee, S.Y.; Huang, T.W. A method for inverse analysis of laser surface heating with experimental data. Int. J. Heat Mass Transf. 2014, 72, 299–307. [CrossRef] 15. Lee, S.Y.; Huang, T.W. Inverse analysis of spray cooling on a hot surface with experimental data. Int. J. Therm. Sci. 2016, 100, 145–154. [CrossRef] 16. Lee, S.Y.; Yan, Q.Z. Inverse analysis of heat conduction problems with relatively long heat treatment. Int. J. Heat Mass Transf. 2017, 105, 401–410. [CrossRef] 17. Carslaw, H.; Jaeger, J. Heat in Solids, 2nd ed.; Clarendon Press: Oxford, UK, 1959. 18. Özısık, ¸ M.N. Heat Conduction; John Wiley & Sons: New York, USA, 1993. 19. Cole, K.D.; Beck, J.V.; Haji-Sheikh, A.; Litkouhi, B. Heat Conduction Using Green’s Functions; Taylor & Francis: Boca Raton, FL, USA, 20. Zhu, S.P. Solving transient diffusion problems: Time-dependent fundamental solution approaches versus LTDRM approaches. Eng. Anal. Bound. Elem. 1998, 21, 87–90. [CrossRef] Axioms 2023, 12, 416 21 of 21 21. Zhu, S.P.; Liu, H.W.; Lu, X.P. A combination of LTDRM and ATPS in solving diffusion problems. Eng. Anal. Bound. Elem. 1998, 21, 285–289. [CrossRef] 22. Sutradhar, A.; Paulino, G.H.; Gray, L. Transient heat conduction in homogeneous and non-homogeneous materials by the Laplace transform Galerkin boundary element method. Eng. Anal. Bound. Elem. 2002, 26, 119–132. [CrossRef] 23. Bulgakov, V.; Šarler, B.; Kuhn, G. Iterative solution of systems of equations in the dual reciprocity boundary element method for the diffusion equation. Int. J. Numer. Methods Eng. 1998, 43, 713–732. [CrossRef] 24. Walker, S. Diffusion problems using transient discrete source superposition. Int. J. Numer. Methods Eng. 1992, 35, 165–178. [CrossRef] 25. Chen, C.; Golberg, M.; Hon, Y. The method of fundamental solutions and quasi-Monte-Carlo method for diffusion equations. Int. J. Numer. Methods Eng. 1998, 43, 1421–1435. [CrossRef] 26. Burgess, G.; Mahajerin, E. Transient heat flow analysis using the fundamental collocation method. Appl. Therm. Eng. 2003, 23, 893–904. [CrossRef] 27. Young, D.; Tsai, C.; Murugesan, K.; Fan, C.; Chen, C. Time-dependent fundamental solutions for homogeneous diffusion problems. Eng. Anal. Bound. Elem. 2004, 28, 1463–1473. [CrossRef] 28. Cole, K.D.; Yen, D.H. Green’s functions, temperature and heat flux in the rectangle. Int. J. Heat Mass Transf. 2001, 44, 3883–3894. [CrossRef] 29. Beck, J.V.; Wright, N.T.; Haji-Sheikh, A. Transient power variation in surface conditions in heat conduction for plates. Int. J. Heat Mass Transf. 2008, 51, 2553–2565. [CrossRef] 30. Lei, J.; Wang, Q.; Liu, X.; Gu, Y.; Fan, C.-M. A novel space-time generalized FDM for transient heat conduction problems. Eng. Anal. Bound. Elem. 2020, 119, 1–12. [CrossRef] 31. Alam, M.N.; Tunç, C. New solitary wave structures to the (2 + 1)-dimensional KD and KP equations with spatio-temporal dispersion. J. King Saud Univ. Sci. 2020, 32, 3400–3409. [CrossRef] 32. Islam, S.; Alam, M.N.; Fayz-Al-Asad, M.; Tunç, C. An analytical technique for solving new computational solutions of the modified Zakharov-Kuznetsov equation arising in electrical engineering. J. Appl. Comput. Mech. 2021, 7, 715–726. 33. Krishnan, G.; Parhizi, M.; Jain, A. Eigenfunction-based solution for solid-liquid phase change heat transfer problems with time-dependent boundary conditions. Int. J. Heat Mass Transf. 2022, 189, 122693. [CrossRef] 34. Belekar, V.V.; Murphy, E.J.; Subramaniam, S. Analytical solution to heat transfer in stationary wet granular mixtures with time-varying boundary conditions. Int. Commun. Heat Mass Transf. 2023, 140, 106500. [CrossRef] Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Journal

AxiomsMultidisciplinary Digital Publishing Institute

Published: Apr 24, 2023

Keywords: analytic solution; 2D heat conduction; space–time-dependent dependent; Dirichlet boundary conditions; shifting function method

There are no references for this article.