1. Introduction
Thermography is a technique used to create images of temperature variations on the surfaces of objects by detecting the infrared radiation emitted, utilizing infrared cameras or sensors to measure the radiation. The collected data are then converted into temperature values and displayed as thermal images.
Thermography has applications across various fields. (a) In the medical field, it is used for diagnosing health conditions, detecting anomalies in body temperature, and identifying areas of inflammation or injury; (b) in building inspections, thermography is used to detect energy inefficiencies, moisture intrusion, insulation defects, and structural anomalies in buildings; (c) in electrical inspections, it aids in identifying overheating components, loose connections, and potential faults in electrical systems; (d) in non-destructive testing, it is employed to identify defects, cracks, and anomalies in materials without causing damage to them; and (e) in industrial applications, thermography is utilized for the predictive maintenance of machinery, monitoring manufacturing processes, and detecting hot spots or applied heat fluxes in industrial equipment. Overall, thermography provides valuable insights into temperature distribution and helps diagnose problems or anomalies across various applications. In this study, thermography technology is used to identify unknown applied heat fluxes in inverse problems.
To classify inverse problems, we begin with the presumption of a direct problem rooted in the field of mathematical physics. This implies that when we possess comprehensive knowledge about a physical system, we are equipped with a classical mathematical portrayal of said system, encompassing aspects such as uniqueness, stability, and the existence of solutions for the corresponding mathematical problem. However, when tasked with determining one or more unknown parameters characterizing this system based on additional experimental data, we are faced with an inverse problem.
Recent advancements in mathematical theory have spurred the evolution of efficient methodologies and algorithms to tackle a range of inverse heat transfer problems. Currently, we possess the tools necessary to successfully resolve and practically apply inverse heat transfer problems across various applied research endeavors, as well as in the experimental development of thermal engineering applications.
Inverse heat transfer problems encompass a spectrum of classifications, including inverse heat conduction problems (the most prevalent), inverse heat convection problems, inverse heat radiation problems, and inverse heat conjugation problems. Researchers have comprehensively explored inverse problems related to heat conduction [
1,
2,
3,
4,
5,
6,
7,
8,
9], heat convection [
10,
11,
12,
13,
14,
15,
16], and heat radiation [
17,
18,
19], employing diverse algorithms. However, investigations into inverse conjugate heat transfer problems [
20,
21,
22] remain notably scarce within the available literature.
It is worth noting that practical thermal science and engineering applications fall under the purview of direct heat conduction–convection coupled problems. In these scenarios, the velocity, pressure, and temperature distributions within a system can be computed through the implementation of the known initial and boundary conditions. This entails the simultaneous resolution of the continuity, momentum, and energy equations within the fluid domain, along with the energy equation governing the solid domain.
Contrary to direct heat conduction–convection-coupled problems, resolving an inverse heat conduction–convection-coupled problem involves determining either the system’s initial condition, its boundary conditions, or any unknown functions based on the temperatures measured within it. In this scenario, the continuity, momentum, and energy equations must be tackled concurrently. This significantly complicates the computational process, leading to a scarcity of works in the literature addressing this particular challenge.
Among the array of algorithms available for tackling inverse heat transfer problems, gradient-based and self-regularized iterative algorithms stand out as potent optimization tools. This method is particularly renowned for its effectiveness and efficiency when calculating the gradient of a cost function, making it a primary choice for addressing inverse heat transfer problems. Both the steepest descent method (SDM) [
23] and the conjugate gradient method (CGM) [
23] are gradient-based and self-regularized iterative algorithms. Unlike methods that demand prior knowledge of the functional forms of unknown quantities, these algorithms generate dependable estimates without such prerequisites. As a result, they have emerged as potent tools for function estimation in inverse problems, particularly for addressing three-dimensional challenges.
For example, Zhou et al. [
24] utilized the conjugate gradient method (CGM) in an inverse heat conduction problem to estimate the heat flux and temperature distribution on the front surface of a three-dimensional object based on measurements taken on the back surface. Their numerical findings revealed that the CGM was highly effective, accurately estimating the two-dimensional heat flux and temperature distribution on the front surface through inverse estimations. Huang and Wang [
25] employed the CGM to tackle a transient three-dimensional heat conduction inverse problem, aiming to estimate the unknown time-dependent boundary heat flux. Their study revealed averaged relative errors of 8.3% and 3.7% for Cases 1 and 2, respectively, with a 2% measurement error.
Huang and Chen [
26] utilized the CGM to address a three-dimensional irregular-duct flow problem within the inverse heat convection domain, aiming to estimate the unknown boundary heat flux. Their investigation revealed that the error in the estimated heat flux increased proportionally with the duct thickness. Zhang et al. [
27] conducted a study on an inverse heat radiation problem, aiming to simultaneously estimate the radiative properties (namely, the extinction coefficient, scattering albedo, and wall emissivity) of a cylindrical system. They based their analysis on the radiative heat flux measurements obtained from various boundaries and employed the CGM. Their findings demonstrated that the proposed inverse analysis method effectively retrieved the previously unknown radiative physical properties of the cylindrical system.
It should be noted that the above problems are related to inverse heat conduction, convection, or radiation; no inverse heat conjugated problems were investigated. Recently, Huang and He [
21] employed the CGM for the first time to determine the unknown space-dependent heat flux in a steady-state 3-D inverse conjugate heat transfer problem, and subsequently [
22] conducted experiments to verify the validity of the CGM when estimating the heat flux of a steady-state inverse heat conduction–convection conjugated problem. To our knowledge, the CGM has not been previously applied to address a three-dimensional time-dependent inverse heat conduction–convection conjugated problem.
An advantage of the CGM lies in its ability to handle problems without prior knowledge of the functional form of the unknown functions. This allows for the correction and estimation of a large number of unknowns in each iteration, consistently yielding accurate estimates. In addition, CFD-ACE+ [
28] is a commercial computational fluid dynamics solver that solves the conservation equations of mass, momentum, energy, chemical species, and other scalar transport equations using the finite volume method. These equations enable coupled simulations of fluid, thermal, chemical, biological, electrical, and mechanical phenomena. It has been widely employed in numerous studies on inverse problems [
21,
22] for direct problem computations.
Therefore, the present study demonstrates the first use of the CGM for optimization, utilizing CFD-ACE+ as a computational tool, to address a 3-D transient inverse conjugate heat transfer problem that predicts boundary heat flux, which varies both spatially and temporally.
4. CGM for Minimization
The iterative-based CGM [
23] given below is considered to estimate the unknown heat flux q(S
bottom,t) by minimizing the cost function J[q(S
bottom,t)]:
Here,
is the search step size and P
n(S
bottom,t) is the direction of descent, which can be obtained using the following equation:
where
is the gradient of the cost function and the conjugate coefficient γ
n can be computed from
The values of and must be known prior to computing the iterative Equation (10). The values of and can be obtained by utilizing the solutions of the following sensitivity and adjoint problems.
4.1. The Sensitivity Functions
The sensitivity functions are formulated by introducing a perturbation to the unknown heat flux in the original direct problem described by Equations (1)–(8) through the following steps. In the direct problem, q, Tp, and Ta are replaced by q + Δq, Tp + ΔTp, and Ta + ΔTa, resulting in the perturbed problem, where Δ represents the perturbed value. Subsequently, the direct problem is subtracted from the perturbed problem and the higher-order terms are neglected; the sensitivity problem can then be derived.
For the linear problem considered here, the perturbation of the heat flux Δq does not influence the values of U and P derived from Equations (3) and (4); therefore, Equations (3) and (4) only need to be solved once for all subsequent iterations.
- (I)
Plate domain (Ωp)
Here, the initial and boundary conditions of the sensitivity problem are as follows:
- (II)
Air domain (Ωa)
The corresponding energy equation is shown below.
The inlet and initial conditions for the sensitivity function in Ωa can be obtained as follows:
- (III)
Plate–air interface ()
The interface conditions are defined as follows:
The sensitivity problem outlined above is tackled using CFD-ACE+.
To ascertain the value of
, a modified cost function
is given below. In Equation (9),
is initially replaced by
and subsequently linearized using a Taylor expansion, resulting in the expression given below:
The solution of Equations (13)–(17) can be solved by using
[
23]. Minimizing Equation (18) with respect to
yields the following expression for the determination of
:
4.2. The Adjoint Functions
The adjoint functions are acquired through the following process. Equations (1) and (5) are multiplied by λ
p and λ
a, respectively, and the resultant expressions are integrated over the corresponding time domain t and spatial domains Ω
p and Ω
a. Subsequently, the outcomes are added to the right-hand side of Equation (9) to formulate the following functional J[q(S
bottom,t)]:
The variation ΔJ can be determined by introducing the perturbations Δq to q, ΔT
p to T
p, and ΔT
a to T
a in Equation (20). By subtracting the original Equation (20) from the perturbed expression and neglecting second and higher order terms, the following equation is obtained:
Green’s second identity is applied to simplify the last two integration terms in Equation (21); Equations (14b) and (17) are utilized; and as ΔJ approaches zero, the integrands involving ΔTp and ΔTa vanish. This process results in the following adjoint problem for solving the adjoint functions λp and λa.
- (I)
Plate domain (Ωp)
where the final time and boundary conditions are given below.
- (II)
Air domain (Ωa)
The inlet and final conditions in Ω
a are as follows:
- (III)
Plate–air interface ()
The interface conditions for the surface
are as follows:
The interface condition for S
top is as follows:
Equation (27) suggests that there are additional applied heat sources on the interface surface Stop for the adjoint problem.
In addition, it is noted that the form of energy equations for the adjoint problems in Ωp and Ωa, i.e., Equations (22) and (24), are different from the direct and sensitivity problems; instead of the traditional initial value problem, they become the final time value problem, and the final condition at time t = tf is specified, i.e., as in Equations (23a) and (25b). However, these problems can be transformed into an initial value problem by the transformation of the time variables to τ = tf − t. Thereafter, the form of the energy equations becomes identical to those of the direct and sensitivity problems, and then the solutions to the adjoint functions outlined above can be obtained using CFD-ACE+.
Eventually, the following expression for the perturbation of cost function remains.
In addition, the perturbation of the cost function can be obtained as follows [
23]:
A comparison of Equations (28) and (29) results in the expression of the gradient of the cost function
:
From Equations (23a) and (25b), it is evident that the final time conditions for the adjoint functions λp(Ωp,tf) and λa(Ωa,tf) are both equal to zero. This indicates that the gradient of the cost function is consistently zero at t = tf. Consequently, no corrections can be made at t = tf, and the estimated heat flux will perpetually equate to the initial guess value.
In addition, estimations in the proximity of t = tf will suffer distortion due to singularity at this point. To mitigate the influence of this final time effect on estimation accuracy, extending the computational time domain is recommended. For instance, when estimating heat flux between 1 and 95 s, extending the time domain to tf = 100 s is recommended.
4.3. Discrepancy Principle
The accuracy of any inverse problem relies entirely on the quality of the measurement data. Utilizing precise measuring instruments is imperative, and fine-tuning these instruments is also essential for acquiring the best possible measurement data.
For errorless measured data, the stopping criterion can be defined as
Here, ε is a small, specified number. However, in practical scenarios where measurement temperatures include errors, the cost function is not anticipated to converge to ε due to the ill-posed nature of the inverse problem.
The discrepancy principle [
21,
22] is then employed to determine the value of ε. The difference between the estimated and measured temperatures is assumed to be σ:
Here, σ is the standard deviation of the measurements. Equation (32) is substituted into Equation (9) to obtain the stopping criterion ε:
5. Results and Discussion
The objective of this work is to employ the CGM for estimating the temporally and spatially varying boundary heat flux q(Sbottom,t) in a 3-D inverse conjugate heat transfer problem. This investigation operates under the assumption of lacking any prior knowledge regarding the functional form of the unknown parameters. Thus, the task at hand is a function estimation within the realm of inverse problems.
In this study, we examined a rectangular plate with the dimensions of Lx = 50 mm, Ly = 30 mm, and Lz = 1 mm. Additionally, a duct with the dimensions of was considered. The heating duration was fixed at 100 s for this investigation.
To discretize the problem, the plate was divided into a grid with 80, 60, and 4 elements along the x, y, and z directions, respectively, and 100 divisions along the time axis. The Sbottom of the plate experienced the heat flux q(Sbottom,t), while the remaining surfaces were subject to a conjugate heat transfer boundary condition. Moreover, an ideal thermal contact condition was enforced across all interface surfaces between the plate and air.
The CFD-ACE+ software was employed to compute the center-point temperature at t = 100 s, T(S
top,center,100), for Q = 10 W, u
in = 5 m/s, and
= 300 K. Five different grid sizes, 68,640, 108,000, 270,000, 388,800, and 403,200, were tested, yielding temperatures of 420.701 K, 414.165 K, 416.597 K, 416.169 K, and 416.351 K, respectively. When comparing the results between the grid sizes of 270,000 and 388,800, the relative error in T(S
top,center,100) was merely 0.103%. Consequently, 270,000 grid numbers were chosen for the subsequent computations. The plots of the grid independence test are illustrated in
Figure 1b.
Two examples with different forms of heat fluxes were examined to validate the efficacy of the CGM when forecasting the unknown q(Sbottom,t) on the bottom surface. This prediction was based on the simulated temperatures obtained on Stop.
Measurement data with random errors were simulated in this work. These errors were generated using normally distributed, uncorrelated errors with a zero mean and a constant standard deviation. This process resulted in the creation of the following set of simulated measurement data, denoted as Y:
In the context of this representation,
Yexact signifies the temperatures for S
top, corresponding to the exact heat flux q(S
bottom,t). The symbol σ denotes the standard deviation in the measured temperatures, while ω is a random number generated within the range of −2.576 to 2.576 by the IMSL subroutine DRNNOR [
29], intended to establish a 99% confidence bound.
An advantageous aspect of employing the CGM for computing the inverse problem lies in the flexibility it offers in selecting initial guesses for the unknown quantities. Thus, for all investigated cases in this study, the initial guess q(Sbottom,t)0 = 0.1 was considered arbitrary.
(A) Example 1
The unknown q(x,y,t) on S
tobottom is assumed to be a step function, as outlined below:
The step function is independent of positions x and y on the surface Sbottom, with its values varying solely with time.
The plate is discretized into a grid with 80, 60, and 100 divisions along the x, y, and t directions. Consequently, a total of 480,000 unknown discretized values of q(Sbottom,t) need to be estimated over (Sbottom,t), while 480,000 extractions of the measured temperatures obtained by an infrared camera are assumed to be available for the Stop surface. Below, the numerical experiments conducted to estimate the unknown q(Sbottom,t) using the CGM are outlined.
Initially, the inverse problem is conducted assuming that σ = 0.0, u
in = 5 m/s, T
p(Ω
p,0) = T
a(Ω
a,0) =
= 300 K, and L
z = 1 mm, corresponding to a thin-plate condition. The cost function decreases to 13 after 100 iterations. Contour plots depicting the estimated heat fluxes at t = 15, 45, and 80 s are presented in
Figure 2a–c, respectively. These figures reveal that with exact measurements, the estimated values closely match the exact heat flux described by Equation (35).
To provide a clearer presentation of the inverse solutions, the exact and estimated q(S
bottom,t) values when σ = 0 at (0.025 m, 0.015 m, 0.0 m) for (a) 0 < t < 100, (b) 0 < t < 30, (c) 30 < t < 60, and (d) 60 < t < 100 s are depicted in
Figure 3a–d, respectively. It is notable that the estimated heat flux near the discontinuity (at t = 30, 60, and 100 s) displays oscillatory behavior, although the amplitude is generally small.
Figure 3a demonstrates that the estimation of the heat flux showed excellent accuracy over time, except for the values near the final time t = 100 s, as previously mentioned. However, if the estimations are limited to t = 95 s, the accuracy of the estimations remains high. Consequently, for all subsequent cases considered, errors in the estimated temperatures and heat fluxes are calculated up to t = 95 s.
The equations defining the computed average errors of the estimated temperature, denoted as ERR1%, and heat flux, denoted as ERR2%, are presented below.
The corresponding measured Y(S
top,t) and estimated T(S
top,t) temperatures are presented in
Figure 4a–c at t = 15, 45, and 80 s, respectively. From
Figure 4, it is evident that the measured and estimated temperatures are nearly identical, suggesting the validity of the inverse algorithm for the present inverse conjugate heat transfer problem. The computed errors were ERR1 = 0.001% and ERR2 = 0.17% when σ = 0.0.
Figure 5a illustrates the cost function versus the iteration numbers, demonstrating a decrease from 6,734,652,281 to 13 after 100 iterations. This trend suggests that the estimated q(S
bottom,t) rapidly converges towards the exact q(S
bottom,t) globally using the CGM, as the convergent speed is very rapid over the initial iterations. Subsequently, the remaining iterations are utilized to fine-tune the estimated q(S
bottom,t) locally.
Here, the investigation focuses on the primary concern of how inexact temperature measurements impact the estimation of heat flux in inverse problems. Initially, the measurement error is set to σ = 0.05, and then it is increased to σ = 0.1. The convergent criterion ε is obtained with Equation (33), and the estimated q(S
bottom,t) is obtained after 60 and 44 iterations. The average errors ERR1 and ERR2 are 0.009% and 0.5% for σ = 0.05, respectively, and 0.019% and 0.92% for σ = 0.1, respectively. The 2-D plots of the estimated q(S
bottom,15), q(S
bottom,45) and q(S
bottom,80) are shown in
Figure 6a–c for σ = 0.1. These findings suggest that the reliability of heat flux estimation persists even when utilizing inexact measurements.
Once again, the estimated q(S
bottom,t) values when σ = 0.05 and 0.1 at (0.025 m, 0.015 m, 0.0 m) for (a) 0 < t < 100, (b) 0 < t < 30, (c) 30 < t < 60, and (d) 60 < t < 100 s are plotted in
Figure 3a,d, respectively. It is noticeable that the oscillation behaviors of the estimated heat flux become more pronounced near the discontinuity region as the measurement error is increased.
To explore the impact of the inlet air velocity on the estimated results and confirm the effectiveness of the proposed algorithm, we elevated the air velocity to u
in = 8 m/s for L
z = 1 mm when σ = 0, 0.05, and 0.1. The corresponding iteration numbers, cost function J, and ERR1 and ERR2 values are presented in
Table 1. The values of ERR1 and ERR2 are 0.0007% and 0.16% for σ = 0.0, 0.009% and 0.53% for σ = 0.05, and 0.02% and 0.93% for σ = 0.1, respectively. The 2-D plots of the q(S
bottom,15), q(S
bottom,45), when q(S
bottom,80) are illustrated in
Figure 7a–c, respectively, and the measured temperatures Y(S
top,15), Y(S
top,45), and Y(S
top,80) and estimated the temperatures T(S
top,15), T(S
top,45), and T(S
top,80) are given in
Figure 8a–c, respectively, when σ = 0.1.
A comparison of these figures demonstrates a remarkable similarity between the estimated values of q(Sbottom, t) over Sbottom for uin = 5 and 8 m/s. These findings imply that for laminar flow, the air velocity exerts a negligible influence on the inverse solutions.
(B) Example 2
The assumed functional form of the q(Sbottom,t) now takes the following expression:
This representation corresponds to a combination of sine and cosine functions, providing a thorough examination of the inverse algorithm due to the complexity of the spatially and temporally varying heat flux functions. Example 2 was used to verify the CGM’s capability of accurately estimating the defined heat fluxes.
The 3-D and 2-D plots for the exact q(S
bottom,30), q(S
bottom,50), and q(S
bottom,70) are illustrated in
Figure 9 and
Figure 10, respectively, while the 2-D plots of the exact measured temperatures Y(S
top,30), Y(S
top,50), and Y(S
top,70) based on the exact q(S
bottom,t) value are given in
Figure 11.
The inverse algorithm is then executed when σ = 0, L
z = 1 mm, and u
in = 5 m/s. The functional J exhibits a rapid convergence rate within the initial iterations, diminishing to 42 after 250 iterations. The predicted 3-D and 2-D contour plots of q(S
bottom,30), q(S
bottom,50), and q(S
bottom,70) are presented in
Figure 9 and
Figure 10, respectively, and the estimated T(S
top,30), T(S
top,50), and T(S
top,70) values are presented in
Figure 11. The values of ERR1 and ERR2 were computed to be 0.001% and 1.29%, respectively.
Based on the plotted figures and calculated errors, it can be concluded that the estimation of heat flux using the CGM is highly accurate, even when the considered function of the spatially distributed heat flux is very complex.
In
Figure 5b, the cost function is plotted against the number of iterations using exact measurements, showing a decrease from 6,999,812,239 to 42 over 250 iterations. This outcome underscores the rapid convergence of the estimated q(S
bottom,t) towards the exact global q(S
bottom,t) during the initial iterations, while the subsequent iterations focus on refining the estimated q(S
bottom,t) locally.
Next, the noise data are increased to σ = 0.05. The estimated q(S
bottom,t) is obtained after 182 iterations, and the 3-D and 2-D plots of the estimated q(S
bottom,30), q(S
bottom,50), and q(S
bottom,70) values are shown in
Figure 12. The values of ERR1 and ERR2 were 0.01% and 2.45%, respectively.
This result underscores the reliability of the estimated heat fluxes even in the presence of measurement errors. However, when the measurement error is increased to σ = 0.1, the estimations become less accurate. This suggests that when the shape of the spatially distributed heat flux becomes more complex, more precise measurement data are necessary to achieve accurate estimations.
Next, we delve into the examination of how wall thickness affects the estimated heat flux. The inverse algorithm is used, with σ = 0 and 0.05 for L
z = 2 mm and u
in = 5 m/s. When σ = 0, the cost function decreases to 65 after 250 iterations, and the values of ERR1 and ERR2 are calculated to be 0.002% and 2.99%, respectively. When σ = 0.05, J decreases to 1193 after 143 iterations, and ERR1 and ERR2 are 0.01% and 5.19%, respectively. They are reported in
Table 1. The estimated 3-D and 2-D plots of the heat fluxes q(S
bottom,30), q(S
bottom,50), and q(S
bottom,70) are shown in
Figure 13. Again, the estimation remains reliable for L
z = 2 mm but is less accurate compared to the case for L
z = 1 mm.
Drawing from the outcomes of the two test examples outlined previously, it can be inferred that the spatially and temporally dependent surface heat flux q(Sbottom,t), in an inverse conjugate heat transfer scenario, has been precisely estimated. The function estimation retained its reliability whether exact or inexact temperature measurements were employed, particularly in cases of thin walls.