Next Article in Journal / Special Issue
Hydraulic Performance Optimization of a Submersible Drainage Pump
Previous Article in Journal
Enhancement of Machine-Learning-Based Flash Calculations near Criticality Using a Resampling Approach
Previous Article in Special Issue
Modeling of Heat Flux in a Heating Furnace
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analytical and Numerical Investigation of Two-Dimensional Heat Transfer with Periodic Boundary Conditions

1
Department of Mathematics, Kocaeli University, TR-41380 Kocaeli, Türkiye
2
Department of Mechanical Engineering, Kocaeli University, TR-41380 Kocaeli, Türkiye
*
Author to whom correspondence should be addressed.
Computation 2024, 12(1), 11; https://doi.org/10.3390/computation12010011
Submission received: 8 November 2023 / Revised: 7 December 2023 / Accepted: 2 January 2024 / Published: 10 January 2024

Abstract

:
A two-dimensional heat diffusion problem with a heat source that is a quasilinear parabolic problem is examined analytically and numerically. Periodic boundary conditions are employed. As the problem is nonlinear, Picard’s successive approximation theorem is utilized. We demonstrate the existence, uniqueness, and constant dependence of the solution on the data using the generalized Fourier method under specific conditions of natural regularity and consistency imposed on the input data. For the numerical solution, an implicit finite difference scheme is used. The results obtained from the analytical and numerical solutions closely match each other.

1. Introduction

The investigation of a mathematical model has broad implications for a great number of important applications, such as chemical diffusions [1,2], heat conduction problems, [3,4,5], population dynamics [6], thermoelasticity [7], medical science, electrochemistry [8], engineering, and control theory. This necessitates the analysis of two-dimensional parabolic partial differential equations with nonlocal boundary conditions [9,10,11].
The heat diffusion equation is one of the two-dimensional quasilinear parabolic problems. It is employed to determine temperature distribution in every region of the domain at desired time for conduction heat transfer problems. Heat transfer by conduction involves temperature differences in a solid or stationary fluid. Information on temperature distribution in a solid can be utilized to determine structural integrity through assessing thermal stresses, expansions, deflections, and cracks. The evaluation and propagation of granite thermal stresses and thermal cracks with time are shown in Figure 1 [12]. The temperature distribution can also be used to optimize the thickness of an insulating material or to determine the compatibility of the material with special coatings or adhesives used [13].
Initial and boundary conditions are required for solving the two-dimensional quasilinear parabolic problem, such as the heat diffusion equation. Some of boundary conditions for the heat diffusion equation, Dirichlet (or first kind) determines the fixed temperature at surfaces. For example, the surface is very close to this when it comes into contact with a melting solid and/or a boiling liquid. In both cases, heat transfer occurs at the surface, whereas the surfaces remain at the temperature of phase-changing process [13]. Neumann (or the second type) corresponds to the presence of constant heat flux on the surface. This heat flux is related to the temperature at the surface according to Fourier’s law and can be accomplished by bonding a thin electric heater to the surface. A special case of this situation corresponds to a perfectly insulated or adiabatic surface. A periodic boundary condition is combined with Dirichlet and Neumann boundary conditions [14], and it is set to isolate repeating temperature distribution in the solution’s domain [15].
The periodic boundary condition, a special case of the nonlocal boundary [16] condition, is used in the present investigation. Generally, the periodic boundary condition is often employed in numerical simulations and mathematical models. Additionally, the periodic boundary condition results from many important applications in heat transfer, fluid dynamics, life sciences, and used lunar theory [14,17,18].
There are analytical methods available for solving two-dimensional quasilinear parabolic problems. One of these methods is the Fourier method. Baglan and Kanca analytically solved the two-dimensional quasilinear parabolic problem (heat diffusion) with an inverse coefficient and a heat source using the Fourier method [14,19]. The two-dimensional heat diffusion equation with time-dependent thermal conductivity and a heat source problem is analytically solved with the Fourier method by the same authors [20]. Additionally, similar analytical solutions for fractional diffusion equations can be found in the literature [21,22,23].
In order to solve the two-dimensional quasilinear parabolic problem, several numerical methods are available, such as the finite difference method [24,25], the finite element method [26,27], the finite volume method [28], and the lattice Boltzmann methods [15,29,30]. Denghan solved the one-dimensional heat diffusion equation numerically using the finite difference method [31]. In this study, three different schemes were employed, namely, the backward time-centered space (BTCS) implicit scheme, the implicit Crandall’s method, the forward time-centered space (FTCS) explicit scheme, and the Dufort–Frankel three-level techniques. The Crank–Nicolson implicit scheme is used to numerically solve the one-dimensional heat diffusion equation with an inverse coefficient by Baglan et al. [32]. Kanca and Baglan numerically solved the two-dimensional heat diffusion equation with periodic boundary conditions [20]. An implicit finite difference scheme is used for numerical solutions. Hamila et al. [33] investigated the effects of changes in thermal conductivity on several transient heat transfer problems using the lattice Boltzmann methods (LBM). Benchmark problems containing conduction and/or radiation with constant thermal conductivity were calculated and simulated. The heat diffusion equation was solved numerically by exclusively using the lattice Boltzmann methods. The numerical results closely aligned with the available results in the literature.
The finite difference method is one of the existing numerical methods considered in the present investigation that can be applied to solve partial differential equations. The finite difference method is based on the discretization of differential equations through finite difference equations. Finite difference approximations have algebraic forms and relate the value of a dependent variable at one point in the solution region to the values at some neighboring points. Using Taylor series is the most usual way to construct these approximations. The numerical method recommended here is the implicit finite difference method. This method supports second order accuracy in the spatial grid sizes and first order time grid size. The explicit finite scheme has a restriction of determining time step size due to stability requirements for the numerical solution of the two-dimensional heat diffusion equation.
In the present paper, we establish the existence, uniqueness, and continuous dependence of the solution on the data. We derive the analytical solution by the Fourier Method and Picard’s successive approximation for the two-dimensional heat diffusion problem with periodic boundary conditions [14,19,20]. For the numerical solution, we employ an implicit finite difference approximation. The numerical solution demonstrates good agreement with the analytical solution.
This problem is nonlinear. Obtaining an analytical solution for a nonlinear problem is only possible through a few methods, namely, the Fourier Method, the maximum principle method, and/or the operation method. The periodic boundary condition used in the problem poses a challenging condition, and analytically solving this boundary condition is very difficult. Generally, in the literature, there are very few analytical solutions for problems that are both nonlinear and have periodic boundary conditions. As mentioned before, we utilized the Fourier method along with the Picard’s successive approximation for our analytical solution. We compared this analytical solution with a numerical solution, highlighting the novelty of our study.

2. The Problem with Periodic Boundary Conditions

Let us examine the two-dimensional, quasilinear heat diffusion problem with the heat source given below,
T τ = 2 T α 2 + 2 T β 2 + h α , β , τ , T ,
with the initial condition,
T ( α , β , 0 ) = ϕ ( α , β ) , α 0 , π , β 0 , π ,
and with the periodic boundary conditions,
T ( 0 , β , τ ) = T ( π , β , τ ) , β 0 , π , τ 0 , Ƴ T ( α , 0 , τ ) = T ( α , π , τ ) , α 0 , π , τ 0 , Ƴ ,
T α ( 0 , β , τ ) = T α ( π , β , τ ) , β 0 , π , τ 0 , Ƴ T β ( α , 0 , τ ) = T β ( α , π , τ ) , α 0 , π , τ 0 , Ƴ .
Studies involving equations similar to the heat diffusion equation we solved in our work can be found in the literature [13,14,19,20,32]. In Equations (1)–(4), where T is temperature distribution, h is a source function, α and β represent the direction, and τ and Ƴ are time and maximum time, respectively. The domain size is π for the α and β directions. ϕ is the initial condition. A schematic figure of the problem with boundary conditions is shown in Figure 2.
T ( α , β , τ ) = T 0 ( τ ) 4 + r , s = 1 T c r s ( τ ) cos 2 r α cos 2 s β + r , s = 1 T s c r s ( τ ) sin 2 r α cos 2 s β + r , s = 1 T c s r s ( τ ) cos 2 r α sin 2 s β + r , s = 1 T s r s ( τ ) sin 2 r α sin 2 s β .
where the Fourier coefficients:
T 0 ( τ ) = T 0 ( 0 ) + 4 π 2 0 t 0 π 0 π h α , β , τ , T d α d β d τ ,
T c r s ( τ ) = T c r s ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T cos 2 r α cos 2 s β d α d β d τ ,
T c s r s ( τ ) = T c s r s ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T ( N ) cos 2 r α sin 2 s β d α d β d τ ,
T s c r s ( τ ) = T s c r s ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T sin 2 r α cos 2 s β d α d β d τ ,
T s r s ( τ ) = T s r s ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T sin 2 r α sin 2 s β d α d β d τ .
Then, we obtain the solution:
T ( α , β , τ ) = 1 4 φ 0 + 4 π 2 0 t h 0 ( τ , T ) d τ + r , s = 1 φ c r s + 4 π 2 0 t e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h c r s ( τ , T ) d τ cos 2 r α cos 2 s β + r , s = 1 φ c s r s + 4 π 2 0 t e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h c s r s ( τ , T ) d τ cos 2 r α sin 2 s β + r , s = 1 φ s c r s + 4 π 2 0 t e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h s c r s ( τ , T ) d τ sin 2 r α cos 2 r β + r , s = 1 φ s r s + 4 π 2 0 t e τ t ( 2 r ) 2 + ( 2 s ) 2 d r h s r s ( τ , T ) d τ sin 2 r α sin 2 s β
where h 0 , h c r s , h c s r s , h s c r s , and h s r s are the Fourier coefficients of the source function.

3. Analytical Solution of the Problem

Let us assume the following rules for the functions used in the problem:
(A)
φ ( α , β ) C 1,1 0 , π × 0 , π ,
Let L be constant, φ L ,
φ ( 0 , β ) = φ ( π , β ) , φ α ( 0 , β ) = φ α ( π , β ) ,
φ ( α , 0 ) = φ ( α , π ) , φ β ( α , 0 ) = φ β ( α , π ) .
(B)
Let h ( α , β , τ , v ) have the following properties:
h α , β , τ , T α h α , β , τ , T ¯ α b α , β , τ T T ¯ ,
h α , β , τ , T β h α , β , τ , T ¯ β b α , β , τ T T ¯ ,
h α , β , τ , T α β h α , β , τ , T ¯ α β b α , β , τ T T ¯ ,
where
b α , β , τ L 2 , b α , β , τ 0 ,
b α , β , τ C 1 , 1 , 0 0 , π ,
h α , β , τ , T α = 0 = h α , β , τ , T α = π ,
h α α , β , τ , T α = 0 = h α α , β , τ , T α = π ,
h β α , β , τ , T β = 0 = h β α , β , τ , T β = π ,
h α β α , β , τ , T α = 0 = h α β α , β , τ , T α = π ,
h α β α , β , τ , T β = 0 = h α β α , β , τ , T β = π .
and where b α , β , τ is the Lipschitz coefficient.
Definition 1.
T ( τ ) = T 0 ( τ ) , T c r s ( τ ) , T c s r s ( τ ) , T s c r s ( τ ) , T s r s ( τ ) ,
max 0 t T T 0 ( τ ) 4 + r , s = 1 max 0 t T T c r s ( τ ) + max 0 t T T c s r s ( τ ) + max 0 t T T s c r s ( τ ) + max 0 t T T s r s ( τ ) < ,
T ( τ ) = max 0 t T T 0 ( τ ) 4 + r , s = 1 max 0 t T T c r s ( τ ) + max 0 t T T c s r s ( τ ) + max 0 t T T s c r s ( τ ) + max 0 t T T s r s ( τ ) .
is called Banach (B) norm.
Problem (1)–(4) is a nonlinear problem; therefore, an iterative method should be employed to determine the existence, uniqueness, and convergence of the problem. The solution using the Picard Successive Iteration method is as follows.
Theorem 1.
Let the assumptions (A)–(B) be satisfied, then the problem has a unique solution.
Proof. 
As an iteration for the problem.
T 0 ( N + 1 ) ( τ ) = T 0 ( 0 ) ( 0 ) + 4 π 2 0 t 0 π 0 π h α , β , τ , T ( N ) d α d β d τ ,
T c r s ( N + 1 ) ( τ ) = T c r s ( 0 ) ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T ( N ) cos 2 m α cos 2 n β d α d β d τ ,
T c s r s ( N + 1 ) ( τ ) = T c s r s ( 01 ) ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T ( N ) cos 2 r α sin 2 s β d α d β d τ ,
T s c r s ( N + 1 ) ( τ ) = T s c r s ( 0 ) ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T ( N ) sin 2 r α cos 2 s β d α d β d τ ,
T s r s ( N + 1 ) ( τ ) = T s r s ( 0 ) ( 0 ) e 0 t ( 2 r ) 2 + ( 2 s ) 2 d t + 4 π 2 0 t 0 π 0 π e τ t ( 2 r ) 2 + ( 2 s ) 2 d t h α , β , τ , T ( N ) sin 2 r α sin 2 s β d α d β d τ .
where N is the iteration number.
By applying the Cauchy, Bessel, and Hölder inequalities and the Lipschitz condition, we have
T ( 1 ) ( τ ) = max 0 t T T 0 ( 1 ) ( τ ) 4 + r , s = 1 max 0 t T T c r s ( 1 ) ( τ ) + max 0 t T T c s r s ( 1 ) ( τ ) + max 0 t T T s c r s ( 1 ) ( τ ) + max 0 t T T s r s ( 1 ) ( τ ) φ 0 ( τ ) 4 + r , s = 1 φ c r s ( τ ) + φ c s r s ( τ ) + φ s c r s ( τ ) + φ s r s ( τ ) + 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( 0 ) ( τ ) + 2 π 2 T + 3 T 3 π 2 M .
where φ 0 , φ c r s , φ c s r s , φ s c r s , and φ s c s are the Fourier coefficients of the source function. M presents the arbitrary constant.
From the theorem, T ( 0 ) ( τ ) B .
Applying for the step N ,
T ( N + 1 ) ( τ ) = max 0 t T T 0 ( N ) ( τ ) 4 + r , s = 1 max 0 t T T c r s ( N ) ( τ ) + max 0 t T T c s r s ( N ) ( τ ) + max 0 t T T s c r s ( N ) ( τ ) + max 0 t T T s r s ( N ) ( τ ) φ 0 ( τ ) 4 + r , s = 1 φ c r s ( τ ) + φ c s r s ( τ ) + φ s c r s ( τ ) + φ s r s ( τ ) + 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( N ) ( τ ) + 2 π 2 T + 3 T 3 π 2 M .
We receive T ( N ) ( τ ) B since T ( N + 1 ) ( τ ) B .
Let us show that T ( N + 1 ) ( τ ) is converged for N .
T ( 1 ) T ( 0 ) 1 4 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ( 0 ) ) h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t d α d β d τ + 1 4 4 π 2 0 t 0 π 0 π h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ( 0 ) ) h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α cos 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α cos 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ( 0 ) ) h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α sin 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α sin 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ( 0 ) ) h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α cos 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α cos 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ( 0 ) ) h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α sin 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , 0 ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α sin 2 s β d α d β d τ .
By applying the Cauchy, Bessel, and Hölder inequalities and the Lipschitz condition, we have
T ( 1 ) ( τ ) T ( 0 ) ( τ ) 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( 0 ) ( τ ) + 2 π 2 T + 3 T 3 π 2 M ,
where let A = 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( 0 ) ( τ ) + 2 π 2 T + 3 T 3 π 2 M .
Applying for the step N,
T ( N + 1 ) ( τ ) T ( N ) ( τ ) 2 π 2 T + 3 T 3 π 2 ( N ) A N ! b ( α , β , τ ) ( N ) .
We obtain T ( N + 1 ) ( τ ) T ( N ) ( τ ) .
Let us show that T ( N + 1 ) ( τ ) T ( τ ) is converged for N .
By applying the Cauchy, Bessel, and Hölder inequalities and the Lipschitz condition, we have
T ( τ ) T ( N + 1 ) ( τ ) 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( τ ) T ( N + 1 ) + 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( N + 1 ) ( τ ) T ( N ) + 2 π 2 T + 3 T 3 π 2 M .
From the Gronwall’s inequality,
T ( τ ) T ( N + 1 ) ( τ ) 2 A 2 N ! 2 π 2 T + 3 T 3 π 2 2 b ( α , β , τ ) 2 N exp 2 π 2 T + 3 T 3 π 2 2 b ( α , β , τ ) 2 .
From Equation (12), we receive T ( N + 1 ) ( τ ) T ( τ ) .
To show the uniqueness, we receive two solutions for the problem T ( τ ) , U ( τ ) .
By applying the Cauchy, Bessel, and Hölder inequalities and the Lipschitz condition, we have
T ( τ ) U ( τ ) 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( τ ) U ( τ ) + 2 π 2 T + 3 T 3 π 2 M .
From the Gronwall’s inequality,
T ( τ ) U ( τ ) 2 0 × exp 2 π 2 T + 3 T 3 π 2 2 b ( α , β , τ ) 2 .
We receive T ( τ ) = U ( τ ) . □

4. Stability of Solution

Theorem 2.
Let the assumptions (A)–(B) be satisfied. Then, the problem is constantly dependent on the data.
Proof. 
T T ¯ = φ 0 φ 0 ¯ 4 + r , s = 1 φ c r s e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α cos 2 s β + r , s = 1 φ c r s ¯ e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α cos 2 s β + r , s = 1 φ c s r s e τ t ( 2 r ) 2 + ( 2 s ) 2 d r cos 2 r α sin 2 s β + r , s = 1 φ c s r s ¯ e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α sin 2 s β + r , s = 1 φ s c r s e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α cos 2 s β + r , s = 1 φ s c m n ¯ e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α cos 2 s β + r , s = 1 φ s r s e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α sin 2 r β + r , s = 1 φ s m n ¯ e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α sin 2 s β + 1 4 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ) h ( α , β , τ , T ¯ ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ) h ( α , β , τ , T ¯ ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α cos 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ) h ( α , β , τ , T ¯ ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t cos 2 r α sin 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ) h ( α , β , τ , T ¯ ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α cos 2 s β d α d β d τ + r , s = 1 4 π 2 0 t 0 π 0 π h ( α , β , τ , T ) h ( α , β , τ , T ¯ ) e τ t ( 2 r ) 2 + ( 2 s ) 2 d t sin 2 r α sin 2 s β d α d β d τ .
By applying the Cauchy, Bessel, and Hölder inequalities and the Lipschitz condition, we have
T T ¯ φ 0 φ 0 ¯ 4 + r , s = 1 φ c r s φ c r s ¯ + φ c s r s φ c s r s ¯ + φ s c r s φ s c r s ¯ + φ s r s φ s r s ¯ + 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) T ( τ ) T ¯ ( τ ) + 2 π 2 T + 3 T 3 π 2 b ( α , β , τ ) M ,
θ θ ¯ = φ 0 φ 0 ¯ 4 + r , s = 1 φ c r s φ c r s ¯ + φ c s r s φ c s r s ¯ + φ s c r s φ s c r s ¯ + φ s r s φ s r s ¯ .
From the Gronwall’s inequality,
T T ¯ 2 θ θ ¯ 2 × exp 2 π 2 T + 3 T 3 π 2 2 b ( α , β , τ ) 2 .
From Equation (14), θ θ ¯ . Then, T T ¯ . □

5. Numerical Method for Problem

The analytical solution described above, which involves Fourier series, is itself an approximate solution. To validate this approximate solution using another approximate method, namely, the numerical method, we performed a numerical solution following the analytical solution.
In this section, we use an implicit finite difference approximation [14,27,28] of the discretized problems (1)–(4);
1 Δ τ T i , j k + 1 T i , j k = 1 Δ α 2 T i 1 , j k + 1 2 T i , j k + 1 + T i + 1 , j k + 1 + 1 Δ β 2 T i , j 1 k + 1 2 T i , j k + 1 + T i , j + 1 k + 1 + f i , j k + 1 ,
T i , j 0 = φ i ,
T 1 , j k = T n α , j k T i , 1 k = T i , n β k ,
T n α , j k = T 2 , j k T n α 1 , j k 2 T i , n β k = T i , 2 k T i , n β 1 k 2 ,
where the computational domain 0 , π × 0 , π × 0 , τ is discretized as follows:
α i = i Δ α 1 , i = 1 , 2 , , n α , β j = j Δ β 1 , j = 1 , 2 , , n β , τ k = k Δ τ , and k = 0 , 1 , , n .
Where Δ α = π / n α , Δ β = π / n β , and Δ τ = τ / n are the space α direction, space β direction, and time steps, respectively. nx, ny, and n are three positive integers.
T i , j k = T α i , β j , τ k , and f i , j k = T α i , β j , τ k .
In order to define periodic boundary conditions (Equations (17) and (18)) for the implicit finite difference scheme, a one-dimensional schematic figure with numerical meshes is represented in Figure 3. Point-1 and point-nα are the boundary points of the one-dimensional solution domain. When determining spatial discretization with a finite difference scheme, the used finite difference formulations are defined as
= r α T n α 2 T α 1 + T 2 T 1 2 T α 2 + T 3 T n α 1 2 T α n α + T 1 ,
where r α = Δ τ / Δ α 2 , and the coefficient matrix can be rewritten for one-dimensional solution domain.
r α 2 1 0 0 1 1 2 1 0 0 0 0 1 2 1 1 0 0 1 2 ,
This one-dimensional formulation and coefficient matrix can be extended to a two-dimensional solution domain. A two-dimensional schematic figure with numerical meshes (9 finite difference meshes) is represented in Figure 4. Of course, a matrix is constructed for 9 finite difference meshes; therefore, the matrix size is 9 × 9. Point-1, -2, and -3 are periodic with Point-7, -8, and -9, respectively, in the β-direction. Point-1, -4, and -7 are periodic with -3, -6, and -9, respectively, at the α direction. The coefficient matrix can be written as
1 + 2 r α + 2 r β r α r α r β 0 0 r β 0 0 r α 1 + 2 r α + 2 r β r α 0 r β 0 0 r β 0 r α r α 1 + 2 r α + 2 r β 0 0 r β 0 0 r β r β 0 0 1 + 2 r α + 2 r β r α r α r β 0 0 0 r β 0 r α 1 + 2 r α + 2 r β r α 0 r β 0 0 0 r β r α r α 1 + 2 r α + 2 r β 0 0 r β r β 0 0 r β 0 0 1 + 2 r α + 2 r β r α r α 0 r β 0 0 r β 0 r α 1 + 2 r α + 2 r β r α 0 0 r β 0 0 r β r α r α 1 + 2 r α + 2 r β ,
where r β = Δ τ / Δ β 2 . If a large number of meshes are used, the matrix can be extended in a same way. For example, if we have 20 meshes in both the α and β directions, our matrix size will be 400 × 400, the total number of elements in the matrix is 160,000, and our matrix can be constructed in the same manner to define points of periodic boundary conditions and points of inner (no periodic boundary condition points).
The methods that are described above were implemented in-house using finite difference code via the FORTRAN Programming language. The obtained results were visualized using the program Tecplot 360 [34].
Example 1.
Consider the heat diffusion problem with heat sources (1)–(4):
The temperature distribution is given as
T ( α , β , τ ) = e τ 2 ( 5 + cos 2 α + cos 2 β ) ,
with the heat source,
h ( α , β , τ ) = 2 e τ 2 ( τ + 2 ) ( cos 2 α + cos 2 β ) ,
and with the initial condition,
ϕ ( α , β ) = 5 + cos 2 α + cos 2 β .
We determined the time step size to be Δ τ = 0.005 s . The discretization of spaces or mesh sizes in the α and β directions are considered equal ( Δ α = Δ β ). To determine mesh sizes in the α and β directions, a grid independence study was conducted. For the grid-independence study, fifteen different grid resolutions are used.
In the α and β directions, the same numbers of grid were used because of the equal grid size ( Δ α = Δ β ) being considered. In Figure 5, two different grid resolutions are illustrated among fifteen different resolutions. The displayed grid numbers are 2500 and 6400. For every grid resolution, we observed an area-weighted averaged value of temperature for the whole solution domain. Figure 6 shows the grid-independent study of area-weighted averaged value of temperature. According to Figure 6, the mesh number of 6400 is taken as the grid independent mesh number. In this case, eighty grids are used for the α and β directions; therefore, our mesh size for the α and β directions is obtained as 0.03926875 m.
Figure 7 shows the (a) exact and (b) numerical solutions for the temperature with the time at 0.1 s. The exact and numerical solutions are paraboloidal. Maximum and minimum temperature values are observed at corners and at the middle of the solution domain, respectively. Due to periodic boundary conditions at the side of solution domain, temperatures are the same at the side of the solution domain. Also, the exact and numerical solutions are quite similar.
Figure 8 depicts the (a) absolute error and (b) relative absolute error for the temperature with the time at 0.1 s. Absolute error is defined as the absolute value of the difference between the exact solution value and the numerical solution. According to Figure 7a, the maximum absolute error is observed at center of the solution domain, and the absolute error is higher at the corners of the solution domain. At the center of the solution domain, an approximate absolute error of 0.1 is observed. The relative absolute error is the ratio of the absolute error to the exact solution. The magnitude of the absolute error in terms of the exact solution is determined using the relative absolute error. Similar to the absolute error, the maximum relative error, which is 0.03, is observed at the center of the solution domain. At the corners of the solution domain, the relative absolute error is in the order of 0.01. As time progresses, the absolute error and relative absolute error remain in the same order, and these errors are reasonable.
Figure 9 presents the numerical predictions of the temperature distributions at the times (a) 0.1 s, (b) 0.25 s, and (c) 0.5 s. As one can see, the temperature distributions at these specific times are paraboloid. The concavity of the paraboloid increases with time. The minimum and the maximum values of the temperature appear at the center and corners of the solution domain, respectively, at all times.
In order to visualize all time intervals in a single figure, Figure 10 illustrates the temperature distribution over a time range from 0 s to 0.5 s. Paraboloids are not shown in this representation. Maximum and minimum temperature values are observed at the corners and center of the solution domain, respectively, at all times. Additionally, with increasing time, the temperature values of the corners increase, and the temperature values of the centers decrease.
Fundamentally, this study has focused on the analytical and numerical solution of a two-dimensional, time-dependent system with heat generation. However, it has not extensively delved into the specific applications of this problem. Nevertheless, the results obtained from this problem could be applied in a suitable context by other researchers.

6. Limitations and Future Scope

This problem is characterized by specific limits and assumptions, constituting a time-dependent, two-dimensional heat diffusion problem with a heat source and periodic boundary conditions. Due to the applied periodic boundary conditions, temperature distributions at the edges and corners of the solution domain are found to be identical. In systems with heat generation, the temperature profile at a specific time tends to exhibit a parabolic shape. As time progresses, the slope of this parabolic nature also increases.
For future studies, this problem can be expanded into three dimensions, enabling an investigation into the influence of the third dimension on heat diffusion. As an analytical solution method, the maximum principle and/or the operation method may be considered in future work. For numerical solutions, various schemes can be employed in the finite difference method, or alternative methods such as the finite volume method and the lattice Boltzmann methods could be explored.

7. Conclusions

An analytical and numerical investigation of a two-dimensional heat diffusion problem with a heat source has been conducted. This problem is a quasi-linear parabolic problem, and we used an initial condition and a periodic boundary condition to determine the temperature in the solution domain. Due to the problem being nonlinear, Picard’s successive approximation theorem is used. Under certain conditions of natural regularity and consistency imposed upon the input data, we establish the existence, uniqueness, and constant dependence of the solution on the data using the generalized Fourier method. An implicit finite difference scheme is employed for the numerical solution. The number of numerical meshes, where results do not change, is determined according to the grid independence study. In light of the analytical and numerical solution, the distribution of the temperature forms a paraboloid at a certain time. With increasing time, the concavity of the parabola increases. At the time of 0.1 s, the maximum absolute error and relative error occur in the middle of the solution domain at 0.1 and 0.03, respectively. Therefore, we can conclude that the analytical solution and numerical solutions are closely aligned. Also, with increasing time, the degrees of absolute and relative absolute remain the same. For future studies, extending the problem to three dimensions can investigate the influence of the third dimension on heat diffusion. Analytically, considering the maximum principle and/or the operation method is an option. Numerically, exploring various schemes in the finite difference method or alternative methods, such as finite volume and the lattice Boltzmann methods, is possible.

Author Contributions

Conceptualization, İ.B. and E.A.; methodology, İ.B.; software, E.A.; validation, E.A; formal analysis, İ.B.; investigation, İ.B. and E.A.; resources, İ.B.; data curation, E.A.; writing—original draft preparation, E.A.; writing—review and editing, İ.B. and E.A.; visualization, E.A.; supervision, İ.B.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained with this article.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

φ ( α , β ) is the initial temperature.
φ 0 τ ,   φ c r s τ ,   φ c s r s τ ,   φ s c r s τ ,   φ s r s τ are the Fourier coefficients of initial condition.
T ( α , β , τ ) is the temperature distribution.
h ( α , β , τ , T ) is a source function.
h 0 τ ,   h c r s τ ,   h c s r s τ ,   h s c r s τ ,   h s r s τ are the Fourier coefficients of source function.
T 0 τ ,   T c r s τ , T c s r s τ , T s c r s τ , T s r s τ are the Fourier coefficients.
M is an arbitrary constant.
b ( α , β , τ ) is a Lipschitz coefficient.
L 2 is a converged space.
N is an iterative number.

References

  1. Permikin, D.V.; Zverev, V.S. Mathematical model on surface reaction diffusion in the presence of chemical reaction. Int. J. Heat Mass Transf. 2013, 57, 215–221. [Google Scholar] [CrossRef]
  2. Tredenick, E.C.; Farewell, T.W.; Forster, W.A. Modeling of diffusion of a hydrophilic ionic fertilizer in plant cuticles: Surfactant and hygroscopic effects. Front. Plant Sci. 2018, 9, 1888. [Google Scholar] [CrossRef] [PubMed]
  3. Canon, J.R. The solution of the heat equation subject to the specification of energy. Q. Appl. Math. 1963, 21, 155–160. [Google Scholar] [CrossRef]
  4. Canon, J.R. Determination of an unknown heat source from overspecified boundary data. SIAM J. Numer. Anal. 1968, 5, 275–286. [Google Scholar] [CrossRef]
  5. Zhu, Q.; Tran, H.; Yang, H. Heat conduction: Mathematical modeling and experimental data. J. Emerg. Investig. 2021, 4, 1–4. [Google Scholar] [CrossRef] [PubMed]
  6. Venkatesha, P.; Eunice, G.B.; Akshaya, B.; Arya Kumari, S. Mathematical modeling of population growth. Int. J. Sci. Eng. Manag. 2017, 2, 117–121. [Google Scholar]
  7. Avey, M.; Fantuzzi, N.; Sofiyev, A. Mathematical modeling and analytical solution of thermoelectric stability problem of functionally graded nanocomposite cylinders within different theories. Mathematics 2022, 10, 1081. [Google Scholar] [CrossRef]
  8. Turnbull, A.; Ferriss, D.H. Mathematical modelling of the electrochemistry in corrosion fatigue cracks in structural steel cathodically protected in sea water. Corros. Sci. 1986, 26, 601–628. [Google Scholar] [CrossRef]
  9. Dehghan, M. Implicit locally one-dimensional methods for two-dimensional diffusion with a non-local boundary condition. Math. Comput. Simul. 1999, 49, 331–349. [Google Scholar] [CrossRef]
  10. Siddique, M. Solving two-dimensional diffusion equations with nonlocal boundary conditions by a special class of Padé approximants. Syst. Cybern. Inform. 2010, 8, 23–29. [Google Scholar]
  11. Mohebbi, A. A numerical algorithm for determination of a control parameter in two-dimensional parabolic inverse problems. Acta Math. Appl. Sin. Engl. Ser. 2015, 31, 213–224. [Google Scholar] [CrossRef]
  12. Li, Q.; Yin, T.; Li, X.; Shu, R. Experimental and numerical investigation on thermal damage of granite subjected to heating and cooling. Mathematics 2021, 9, 3027. [Google Scholar] [CrossRef]
  13. Bergmann, T.L.; Lavine, A.S.; Incropera, F.P.; Dewitt, D.P. Fundamentals of Heat and Mass Transfer, 7th ed.; John Wiley & Sons: Danver, MA, USA, 2011. [Google Scholar]
  14. Baglan, I.; Kanca, F. Two-dimensional inverse quasilinear parabolic problems with periodic boundary conditions. Appl. Anal. 2019, 98, 1549–1565. [Google Scholar] [CrossRef]
  15. Mohamad, A.A. Lattice Boltzmann Method Fundamentals and Engineering Applications with Computer Codes, 2nd ed.; Springer: London, UK, 2019. [Google Scholar]
  16. Afshar, S.; Soltanalizadeh, B. Solution of the two-dimensional second-order diffusion equation with nonlocal boundary conditions. Int. J. Pure Appl. Math. 2014, 94, 119–131. [Google Scholar] [CrossRef]
  17. Rao, Y.; Zhang, Y.; Xu, Y.; Ke, H. Experimental study and numerical analysis of heat transfer enhancement and turbulent flow over shallowly dimples channel surfaces. Int. J. Heat Mass Transf. 2020, 160, 120195. [Google Scholar] [CrossRef]
  18. Hill, G.W. On the part of the motion of the lunar perigee which is a function of the mean motions of the sun and moon. Acta Math 1886, 8, 1–36. [Google Scholar] [CrossRef]
  19. Kanca, F.; Baglan, I. Solution of the boundary-value problem of heat conduction with parabolic conditions. Ukr. Math. J. 2020, 72, 232–245. [Google Scholar] [CrossRef]
  20. Kanca, F.; Baglan, I. Analysis for two-dimensional inverse quasilinear parabolic problem by Fourier Method. Inverse Probl. Sci. Eng. 2021, 29, 1912–1945. [Google Scholar] [CrossRef]
  21. Yasmin, H.; Aljahdaly, N.F.; Saeed, A.M.; Shah, R. Probing families of optical soliton solutions in fractional perturbed Radhakrishnan-Kundu-Lakshmanan model with improved versions of extended direct algebraic method. Fractal Fract. 2023, 7, 512. [Google Scholar] [CrossRef]
  22. Yasmin, H.; Aljahdaly, N.F.; Saeed, A.M.; Shah, R. Investigating families of solution solutions for the complex structured coupled fractional Biswas-Arshed model in Birefringent fibers using a novel analytical technique. Fractal Fract. 2023, 7, 491. [Google Scholar] [CrossRef]
  23. Yasmin, H.; Aljahdaly, N.F.; Saeed, A.M.; Shah, R. Investigating symmetric soliton solutions for the fractional coupled Konno-Onno system using improved versions of a novel analytical technique. Mathematics 2023, 11, 2686. [Google Scholar] [CrossRef]
  24. Morton, K.W.; Mayers, D.F. Numerical Solution of Partial Differential Equation, 2nd ed.; Cambridge University Press: Cambridge, UK, 2005. [Google Scholar]
  25. Dmitriev, V.G.; Danilin, A.N.; Popova, A.R.; Pshenichnova, N.V. Numerical analysis of deformation characteristics of elastic inhomogeneous rotational shells at arbitrary displacements and rotating angles. Computation 2022, 10, 184. [Google Scholar] [CrossRef]
  26. Benim, A.C.; Zinser, W. Investigation into finite element analysis of confined turbulent flows using a k-ε model of turbulence. Compt. Methods Appl. Mech. Eng. 1985, 51, 507–523. [Google Scholar] [CrossRef]
  27. Benim, A.C. Finite element analysis of confined turbulent swirling flows. Int. J. Num. Meth. Fluids 1990, 11, 697–717. [Google Scholar] [CrossRef]
  28. Versteeg, H.K.; Malalasekera, W. An Introduction to Computational Fluid Dynamics, 2nd ed.; Pearson, Prentice Hall: London, UK, 2007. [Google Scholar]
  29. Chen, S.; Doolen, G.D. Lattice Boltzmann method for fluid flows. Annu. Rev. Fluid Mech. 1998, 30, 329–364. [Google Scholar] [CrossRef]
  30. Succi, S. The Lattice Boltzmann Equation for Fluid Dynamics and Beyond; Oxford University Press: Oxford, UK, 2001. [Google Scholar]
  31. Denghan, M. Efficient techniques for the second-order parabolic equation subject to nonlocal specifications. Appl. Num. Math. 2005, 12, 39–62. [Google Scholar] [CrossRef]
  32. Baglan, I.; Kanca, F.; Mishra, V.N. Determination of an unknown heat source from integral overdetermination condition. Iran J. Sci. Technol. Trans. Sci. 2018, 42, 1373–1382. [Google Scholar] [CrossRef]
  33. Hamila, R.; Chaabane, R.; Askri, F.; Jemni, A.; Nasrallah, S.B. Lattice Boltzmann method for heat transfer problems with variable thermal conductivity. Int. J. Heat Technol. 2017, 35, 313–324. [Google Scholar] [CrossRef]
  34. Tecplot Inc. Tecplot 360 2008 Release 1; Tecplot Inc.: Bellevue, WA, USA, 2007. [Google Scholar]
Figure 1. Evaluation and propagation of granite thermal stress field and thermal cracks [12].
Figure 1. Evaluation and propagation of granite thermal stress field and thermal cracks [12].
Computation 12 00011 g001
Figure 2. Schematic figure of the problem with boundary conditions.
Figure 2. Schematic figure of the problem with boundary conditions.
Computation 12 00011 g002
Figure 3. One-dimensional schematic figure with numerical meshes.
Figure 3. One-dimensional schematic figure with numerical meshes.
Computation 12 00011 g003
Figure 4. Two-dimensional schematic figure with numerical meshes.
Figure 4. Two-dimensional schematic figure with numerical meshes.
Computation 12 00011 g004
Figure 5. Two different grid resolutions.
Figure 5. Two different grid resolutions.
Computation 12 00011 g005
Figure 6. Grid independence study of area-weighted averaged value of temperature.
Figure 6. Grid independence study of area-weighted averaged value of temperature.
Computation 12 00011 g006
Figure 7. The (a) exact and (b) numerical solutions for T(α, β, 0.1 s).
Figure 7. The (a) exact and (b) numerical solutions for T(α, β, 0.1 s).
Computation 12 00011 g007
Figure 8. The (a) absolute error and (b) relative absolute error of T(α, β, 0.1 s).
Figure 8. The (a) absolute error and (b) relative absolute error of T(α, β, 0.1 s).
Computation 12 00011 g008
Figure 9. Numerical predictions of T distributions at times (a) 0.1 s, (b) 0.25 s, and (c) 0.5 s.
Figure 9. Numerical predictions of T distributions at times (a) 0.1 s, (b) 0.25 s, and (c) 0.5 s.
Computation 12 00011 g009
Figure 10. Distribution of temperature over a time range from 0 s to 0.5 s.
Figure 10. Distribution of temperature over a time range from 0 s to 0.5 s.
Computation 12 00011 g010
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.

Share and Cite

MDPI and ACS Style

Bağlan, İ.; Aslan, E. Analytical and Numerical Investigation of Two-Dimensional Heat Transfer with Periodic Boundary Conditions. Computation 2024, 12, 11. https://doi.org/10.3390/computation12010011

AMA Style

Bağlan İ, Aslan E. Analytical and Numerical Investigation of Two-Dimensional Heat Transfer with Periodic Boundary Conditions. Computation. 2024; 12(1):11. https://doi.org/10.3390/computation12010011

Chicago/Turabian Style

Bağlan, İrem, and Erman Aslan. 2024. "Analytical and Numerical Investigation of Two-Dimensional Heat Transfer with Periodic Boundary Conditions" Computation 12, no. 1: 11. https://doi.org/10.3390/computation12010011

APA Style

Bağlan, İ., & Aslan, E. (2024). Analytical and Numerical Investigation of Two-Dimensional Heat Transfer with Periodic Boundary Conditions. Computation, 12(1), 11. https://doi.org/10.3390/computation12010011

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop