Research article Special Issues

Predicting the optimal heating function for uniform exit temperature in a pipe flow

  • The primary goal of this study is to achieve isothermal temperature control of the fluid at the outlet of a circular pipe through a gradient-based method. Typically, temperatures are set on the outer wall of the pipe to warm the fluid and achieve the desired uniformly consistent exit temperature. However, maintaining a constant temperature on the outer wall of the pipe is challenging due to the heat exchange between the fluid and the wall, as well as external environmental factors. Thus, in this current investigation, the temperature distribution is designated along the inner pipe wall to heat the fluid, employing an optimization algorithm to deduce the appropriate optimal heating function on the outer wall. This enables the attainment of the specified temperature on the inner wall. To guarantee consistent temperature control during optimal heating procedures across extensive distances or expansive areas, a gradient-based optimization technique is employed. In the context of a smaller pipe diameter scenario, applying the designated floor function temperature distribution produces the most accurate outcomes for exit temperatures at the pipe exit. The assessed heating function exhibits abrupt surges and disjointed behaviors, which can be alleviated by introducing a weight coefficient into the cost function. This adaptation preserves the precision of exit temperature and its uniformity. In the context of a larger pipe diameter scenario, while adhering to the floor function temperature specification, the estimated exit temperature remains precise, and the uniformity reaches a contentedly acceptable level. This implies that a larger pipe diameter could potentially require a lengthened tube to enhance the uniformity of exit temperatures.

    Citation: Cheng-Hung Huang, Tsung-Yi Lee. Predicting the optimal heating function for uniform exit temperature in a pipe flow[J]. AIMS Mathematics, 2024, 9(1): 1997-2021. doi: 10.3934/math.2024099

    Related Papers:

    [1] Geetika Saini, B. N. Hanumagowda, S. V. K. Varma, Jasgurpreet Singh Chohan, Nehad Ali Shah, Yongseok Jeon . Impact of couple stress and variable viscosity on heat transfer and flow between two parallel plates in conducting field. AIMS Mathematics, 2023, 8(7): 16773-16789. doi: 10.3934/math.2023858
    [2] S. R. Mishra, Subhajit Panda, Mansoor Alshehri, Nehad Ali Shah, Jae Dong Chung . Sensitivity analysis on optimizing heat transfer rate in hybrid nanofluid flow over a permeable surface for the power law heat flux model: Response surface methodology with ANOVA test. AIMS Mathematics, 2024, 9(5): 12700-12725. doi: 10.3934/math.2024621
    [3] Zonghong Xiong, Wei Wei, Ying Zhou, Yue Wang, Yumei Liao . Optimal control for a phase field model of melting arising from inductive heating. AIMS Mathematics, 2022, 7(1): 121-142. doi: 10.3934/math.2022007
    [4] J. Kayalvizhi, A. G. Vijaya Kumar, Ndolane Sene, Ali Akgül, Mustafa Inc, Hanaa Abu-Zinadah, S. Abdel-Khalek . An exact solution of heat and mass transfer analysis on hydrodynamic magneto nanofluid over an infinite inclined plate using Caputo fractional derivative model. AIMS Mathematics, 2023, 8(2): 3542-3560. doi: 10.3934/math.2023180
    [5] Jean-Paul Pascal, Serge D’Alessio, Syeda Rubaida Zafar . The instability of liquid films with temperature-dependent properties flowing down a heated incline. AIMS Mathematics, 2019, 4(6): 1700-1720. doi: 10.3934/math.2019.6.1700
    [6] Yong-Chao Zhang . Entry-exit decisions with output reduction during exit periods. AIMS Mathematics, 2024, 9(3): 6555-6567. doi: 10.3934/math.2024319
    [7] Nadeem Abbas, Wasfi Shatanawi, Taqi A. M. Shatnawi . Innovation of prescribe conditions for radiative Casson micropolar hybrid nanofluid flow with inclined MHD over a stretching sheet/cylinder. AIMS Mathematics, 2025, 10(2): 3561-3580. doi: 10.3934/math.2025164
    [8] Abdul Rauf, Nehad Ali Shah, Aqsa Mushtaq, Thongchai Botmart . Heat transport and magnetohydrodynamic hybrid micropolar ferrofluid flow over a non-linearly stretching sheet. AIMS Mathematics, 2023, 8(1): 164-193. doi: 10.3934/math.2023008
    [9] Cheng-Hung Huang, Ya-Rou Zhong . An inverse problem to estimate simultaneously the heat source strength for multiple integrated circuit chips on a printed circuit board. AIMS Mathematics, 2024, 9(4): 8848-8867. doi: 10.3934/math.2024431
    [10] W. Abbas, Ahmed M. Megahed, Osama M. Morsy, M. A. Ibrahim, Ahmed A. M. Said . Dissipative Williamson fluid flow with double diffusive Cattaneo-Christov model due to a slippery stretching sheet embedded in a porous medium. AIMS Mathematics, 2022, 7(12): 20781-20796. doi: 10.3934/math.20221139
  • The primary goal of this study is to achieve isothermal temperature control of the fluid at the outlet of a circular pipe through a gradient-based method. Typically, temperatures are set on the outer wall of the pipe to warm the fluid and achieve the desired uniformly consistent exit temperature. However, maintaining a constant temperature on the outer wall of the pipe is challenging due to the heat exchange between the fluid and the wall, as well as external environmental factors. Thus, in this current investigation, the temperature distribution is designated along the inner pipe wall to heat the fluid, employing an optimization algorithm to deduce the appropriate optimal heating function on the outer wall. This enables the attainment of the specified temperature on the inner wall. To guarantee consistent temperature control during optimal heating procedures across extensive distances or expansive areas, a gradient-based optimization technique is employed. In the context of a smaller pipe diameter scenario, applying the designated floor function temperature distribution produces the most accurate outcomes for exit temperatures at the pipe exit. The assessed heating function exhibits abrupt surges and disjointed behaviors, which can be alleviated by introducing a weight coefficient into the cost function. This adaptation preserves the precision of exit temperature and its uniformity. In the context of a larger pipe diameter scenario, while adhering to the floor function temperature specification, the estimated exit temperature remains precise, and the uniformity reaches a contentedly acceptable level. This implies that a larger pipe diameter could potentially require a lengthened tube to enhance the uniformity of exit temperatures.



    As global warming becomes increasingly severe, the importance of energy conservation is also correspondingly heightened. For instance, building energy efficiency has become a primary goal in regional, national and even international energy policies. Among various building services, the energy consumption of heating, ventilation and air conditioning (HVAC) systems has shown particularly significant growth. In a typical HVAC system, fluids such as air are heated or cooled and brought to a predetermined temperature before being distributed to different areas of the building through a network of pipes. In this process, ensuring an even temperature distribution within the pipes is crucial, as it directly affects the comfort levels in different areas and the overall system performance [1,2].

    On the other hand, various facilities within power plants, such as steam boilers and cooling towers, also require heat transfer through pipelines. In these processes, whether the fluid is water, steam or other cooling agents, its temperature distribution within the pipes is of utmost importance. Optimal heating control strategies that ensure a uniform distribution of steam temperature within the pipes can enhance heat transfer efficiency, reduce thermal stress due to uneven temperatures and consequently extend the boiler's lifespan [3,4,5].

    In addition, with the continuous development of the semiconductor industry, temperature control plays an increasingly prominent role in processing and measurement technologies. Techniques such as chemical vapor deposition (CVD), thermal oxidation and isothermal closed space sublimation (ICSS) heavily rely on precise temperature control. Specifically, ICSS is employed in the production of thin films for semiconductor and optoelectronic devices, involving a sublimation reaction between two parallel substrates under isothermal conditions to form the thin film [6,7].

    In numerous technological research, industrial production and laboratory applications, thermostatic baths have played crucial roles due to their ability to provide precise and stable temperature control. However, in the abovementioned cases where the object to be heated is excessively long or of large volume, the applicability of thermostatic baths in these specific environments is limited. To address these issues, this study proposes a strategy for optimization control using a gradient-based algorithm, with the aim of achieving isothermal control of the fluid at the exit of a circular pipe. This strategy achieves the desired isothermal state of the exit fluid temperature by precisely controlling the heat flux distribution on the outer pipe wall.

    The gradient-based optimization algorithm [8], due to its self-regularized characteristic, is popular in many areas, including heat flow management. This method uses the mathematical concept of the gradient to find the minimum or maximum of partial differential equations. In addition, it does not require a priori information of the functional form of the unknown quantities, and reliable estimations can always be obtained. Therefore, it provides an effective way to find the optimal solution.

    For instance, Chen and Ozisik applied a gradient-based algorithm to address a nonlinear optimal control problem, wherein they determined the optimal heating sources for both a slab [9,10] and a cylinder [11]. Huang [12] employed an iterative regularization approach within a non-linear optimal control problem, aiming to forecast the magnitudes of optimal boundary heat fluxes.

    The CFD-ACE+ software [13] is utilized for numerical computations in this work since it boasts exceptional computational performance and precise simulation capabilities. The present optimal heating problem is transformed into two sub-problems, namely, sensitivity and adjoint problems. We integrate the CFD-ACE+ software with our core optimization program, where the gradient-based algorithm is used for determining the optimal heating function required for various specified temperature distributions on the inner wall, thereby controlling the desired uniform fluid outlet temperature.

    Finally, the optimal heating function is estimated for various inner wall specified temperature distributions to verify the validity of using the gradient-based algorithm to solve the considered optimal heating problem.

    A thin wall circular pipe is considered as the demonstration model of this optimal heating problem. The computational domain Ω consists of two sub-domains, i.e., the pipe and fluid domains, Ωp and Ωf, respectively. The computational domain and grid system of the present work are illustrated in Figure 1(a), (b), respectively.

    Figure 1.  The (a) computational domain and (b) grid system of the present study.

    An incompressible laminar flow fluid with constant properties and neglected viscous heating term enters into the pipe with a velocity Uin=uin and an ambient temperature Tf,in=T. An unknown heat flux is applied on the outer surface of pipe S1 to increase the temperature of the fluid to yield the desired uniform temperature at the outlet of the pipe. For practical consideration, the heating function is assumed not to be a function of radial direction; therefore, it is only a function of axial direction, q(x; S1).

    The goal of this study is to predict the optimal heating function to achieve the desired uniform temperature of the fluid at the pipe outlet. The interfacial surfaces of Ωp and Ωf, i.e., S2, are subjected to the perfect thermal contact condition, i.e., the temperatures and heat fluxes of the pipe are identical to those of the fluid on S2.

    The differential equations for this optimal control problem can be expressed as follows:

    (I) Pipe domain (Ωp)

    kp2 Tp=0 (1)

    where kp and Tp are the thermal conductivity and temperature of the pipe, respectively, and the outer surface S1 is subjected to an unknown optimal heating function q(x; S1).

    kpTpn=q(x;S1); on S1,0xL (2)

    (II) Fluid domain (Ωf)

    The continuity, momentum and energy equations for the fluid domain are given below:

    U=0 (3)
    ρ(UU)=P+μ2U+13U(U)+ρg (4)
    kf2 Tf=ρCp(UTf) (5)

    where the velocity vector, thermal conductivity and fluid temperature are presented as U, kf and Tf, respectively. Here, the inlet fluid has a velocity Uin=uin and a temperature Tf,in=T.

    (III) Pipe-fluid interface (SΩpΩf = S2)

    The perfect thermal contact condition is utilized with S2:

    kpTpn=kfTfn and Tp=Tf, on S2 (6)

    If the heating function q(x) is known, the temperature solutions to the above hydro-thermal conjugated problem can be solved using CFD-ACE+, and the outlet temperature of the pipe can be calculated.

    From a theoretical perspective, if the outer surface of the pipe is designated to possess a constant temperature Yp(x; S1), the fluid's temperature upon entering the pipe with an initial temperature T will ultimately align with Yp(x; S1) at the pipe outlet, provided the pipe length is sufficiently extensive. However, it is impractical to employ an exceedingly elongated pipe to achieve uniform fluid temperature at the outlet. Furthermore, the task of sustaining a consistent temperature on the outer pipe surface poses considerable challenges.

    Hence, in this investigation, the designated temperatures Yp(x; S2) are assigned to the inner surface of the pipe, S2. Subsequently, the corresponding optimal heating function q(x; S1) for achieving these Yp(x; S2) values is determined. Additionally, if the specified temperature on S2 surpasses the desired uniform temperature at the outlet, Yf(L; Sout), it becomes plausible to shorten the pipe length.

    Designate the specified temperatures on S2 as Yp(x; S2), and the resolution of the optimal heating problem involves employing Yp(x; S2) to estimate the optimal heat flux q(x; S1).

    The following cost function must be minimized for obtaining q(x; S1):

    J[q(x;S1)]=S2[ Tp(x;S2)Yp(x;S2)]2dS2+αLx=0q(x;S1)2dx (7)

    where Tp(x; S2) are the estimated temperatures on S2, and α is a given weighting coefficient.

    The first term on the right hand side in Eq (7) is the integration of the square of the difference between the estimated and specified temperature over S2. The second term denotes the integration of the square of the optimal heating function q(x; S1) over x, multiplied by a weighting coefficient α. The weighting coefficient α is a design parameter that control the closeness of Tp(x; S2) to Yp(x; S2). As an illustration, when α = 0, Tp(x; S2) closely aligns with Yp(x; S2), yet the estimated q(x; S1) might exhibit oscillatory behavior. Therefore, to mitigate such oscillations and achieve a smoother q(x; S1), it becomes essential to introduce a finite value for the weighting coefficient α.

    The following gradient-based iterative equation [8] is utilized to compute the optimal heating function q(x; S1) by minimizing the cost function J[q(x; S1)]:

    qn+1(x;S1)=qn(x;S1)βnJn(x;S1) for n=0,1,2 (8)

    where n represents the iteration index, βn and Jn(x;S1) denote the values of search step size and gradient of cost function, and they must be computed before Eq (8) can be applied. The solutions to the sensitivity and adjoint functions can be derived below and utilized to compute the values of βn and Jn(x;S1).

    The sensitivity functions pertaining to the sensitivity problem can be obtained by perturbing the unknown optimal heat flux within the original problem, following the procedure outlined below. We assume that q(x; S1) experiences a minor perturbation, denoted as Δq, consequently leading to perturbations in Tp and Tf, represented as ΔTp and ΔTf, respectively. Substituting q, Tp and Tf with q+Δq, Tp+ΔTp and Tf+ΔTf, respectively, in Eqs (1) to (6), and subsequently subtracting the resulting equations from Eqs (1) to (6) while retaining only the first-order terms, yields the following equations for the sensitivity functions within the context of the linear problem considered here.

    (I) Pipe domain (Ωp)

    kp2ΔTp=0 (9)

    where the base surface S1 is subjected to a heat flux Δq,

    kpΔTpn=Δq on S1 (10)

    (II) Fluid domain (Ωf)

    The continuity and momentum equations for Ω2 are given by Eqs (3) and (4), and the corresponding energy equation is given below.

    kf2ΔTf=ρCp(UΔTf). (11)

    The inlet conditions for the sensitivity functions are obtained as Uin = uin and ΔTa, in = 0.

    (III) Pipe-fluid interface (S2)

    The perfect thermal contact condition is derived for the interface surface S2 and obtained as

    kpΔTpn=kfΔTfn and ΔTp=ΔTf, on S2 (12)

    The above sensitivity functions can be solved by CFD-ACE+.

    By using a Taylor expansion of the cost function J[q(x;S1)], the following new form of the cost function can be derived:

    J(qn + 1) = S2[Tp(qnβnJn)Yp]dS2+αLx = 0(qnβnJn)2dx = S2(TpβnΔTpYp)dS2+αLx = 0(qnβnJn)2dx. (13)

    The sensitivity functions ΔTp(Jn) are the solutions of the sensitivity problem given by Eqs (9) to (12) on S2 using Δq=Jn.

    Equation (13) is minimized with respect to βn to obtain the expression for determining the value of βn:

    βn=S2(TpYp)ΔTpdS2+αLx=0qnJndxS2(ΔTp)2dS2+αLx=0(Jn)2dx. (14)

    The derivation of the adjoint functions for the adjoint problems proceeds as follows: The energy equations for the pipe and fluid domains are multiplied by λp and λf, respectively. The resulting equations are then integrated over their respective domains, denoted as Ωp and Ωf. Subsequently, these two integrations are added to the right-hand side of Eq (7), leading to the following expression:

    J[q(x)]=S2(TpYp)dS2+αLx=0q2dx+Ωpλpkp2TpdΩp+Ωfλf[kf2TfρCpUTf]dΩf. (15)

    The change in the cost function ΔJ can be derived by perturbing q, Tp and Tf by Δq, ΔTp and ΔTf, respectively, in Eq (15). This involves subtracting the original Eq (15) from the perturbed equation and retaining only the terms of the first order. Consequently, the ensuing adjoint functions for the adjoint problems can be determined as follows.

    ΔJ=S22(TpYp)ΔTpdS2+Lx=02αqΔqdx+Ωpλpkp2ΔTpdΩp+Ωfλf[kf2ΔTfρCpUTf]dΩf. (16)

    Green's second identity is utilized to reformulate two domain integration terms in Eq (16), Eqs (10) and (12) are utilized, and ΔJ is assumed to approach zero. Finally, the equations of the adjoint functions λp and λf can be obtained.

    (I) Pipe domain (Ωp)

    kp2λp=0 (17)

    where the base surface S1 is subjected to the insulation condition given below.

    kpλpn=0 ,onS1. (18)

    (II) Fluid domain (Ωf)

    kf2λf=ρCpUλf. (19)

    The inlet conditions for λp and λf are Uin = uin and λf, in = 0. Here, U can be determined from Eqs (3) and (4).

    (III) Pipe-fluid interface (S2)

    The boundary condition for the interface surfaces on S2 are given below:

    kpλpn = kfλfn2(TpYp) and λp=λf,onS2. (20)

    It is important to highlight that a perfect thermal contact condition is absent on S2, and further heat sources are present on S2 for the adjoint functions. The solutions for the aforementioned adjoint functions are computed using CFD-ACE+.

    Finally, the following integration term is left.

    ΔJ=Lx = 0(λp+2αq)Δqdx. (21)

    The increment in the cost function was obtained as [8]

    ΔJ=Lx = 0J'(q)Δqdx. (22)

    From Eqs (21) and (22), the gradient of the cost function J'(q) is determined as

    J'(q) = (λp+2αq). (23)

    Once βn and Jn(x;S1)=Jn(q) are obtained, Eq (8) can be iterated to compute the optimal heating function q(x; S1). The stopping criterion for Eq (8) is given below:

    ε=|¯Tf(L;Sout)n + 1¯Tf(L;Sout)n¯Tf(L;Sout)n|×100%  0.01%  (24)

    where ¯Tf(L; Sout)n + 1 and ¯Tf(L; Sout)n denote the average outlet fluid temperatures at the iteration indices n+1 and n.

    The computational methodology employed to address the optimal heating problem through a gradient-based algorithm is outlined as follows:

    Assume that qn(x;S1) is known at the iteration index n.

    Step 1. Solve Eqs (1) to (6) for Tp and Tf.

    Step 2. Check the stopping criterion Eq (24). Continue to Step 3 if the stopping criterion is not satisfied.

    Step 3. Solve Eqs (17) to (20) for λp and λf.

    Step 4. Compute J[q(S1)] from Eq (23).

    Step 5. Set Δq=Jn, and solve Eqs (9) to (12) for ΔTp and ΔTf.

    Step 7. Compute βn from Eq (14).

    Step 8. Compute the new estimate for qn+1(x; S1) from Eq (8) and return to Step 1.

    The objective of this study is to employ a gradient-based algorithm to determine the optimal heating function q(x; S1) within a pipe, aiming to achieve the desired uniform outlet fluid temperature. Given the absence of prior knowledge regarding the functional form of the unknown optimal heating function, this task can be categorized as function estimation within an optimal control problem.

    An aluminum alloy material with k = 190 W/(m·K) is considered for the pipe module, and the inlet fluid is considered as water with inlet temperature T = 300 K. The outer surface S1 of the pipe is subjected to an unknown heating function q(x; S1), and the perfect thermal contact condition is utilized on the inner surfaces S2 between the pipe and water.

    Two pipe models will be investigated in this work, i.e., Case A (L = 6 m, uin = 0.4 m/s, ro = 3.5 mm and ri = 2.5 mm) and Case B (L = 6 m, uin = 0.2 m/s, ro = 6 mm and ri = 5 mm). The grid-independent tests for the pipes of Cases A and B will be studied first using q(x; S1) = 1000 W/m2 and T = 300 K, and the outlet average temperature of the water ¯Tf(L; Sout) will be computed.

    For Case A, three grid numbers of 114, 000, 228, 000 and 380, 000 are used, and ¯Tf(L; Sout) is computed as 303.248 K, 304.322 K and 304.321 K, respectively. The relative error in ¯Tf(L; Sout) between the grid numbers 228, 000 and 380, 000 is only 0.00033%; therefore, grid number 228, 000 will be utilized for subsequent computations. Similarly, three grid numbers of 121, 050, 242, 100 and 403, 500 are used for Case B, and ¯Tf(L; Sout) is calculated as 304.559 K, 305.257 K and 305.256 K, respectively. The relative error in ¯Tf(L; Sout) between the grid numbers 242, 100 and 403, 500 is only 0.00033%; therefore, grid number 242, 100 will be considered for further calculations.

    The forthcoming numerical experiments will be examined to validate the utilization of the current gradient-based algorithm in estimating the optimal heating function q(x; S1), contingent upon the desired uniform outlet water temperature of the pipe flow, set at ¯Yf(L; Sout) = 323 K.

    The benefit of employing the gradient-based algorithm for predicting the optimal heating function lies in the flexibility of selecting initial guesses. Consequently, for all the numerical experiments conducted in this study, the initial guess for the optimal heating function is arbitrarily set to q(x; S1)0 = 100 W/m². We explore two numerical test cases, denoted as Cases A and B, encompassing distinct pipe diameters and inlet velocities while maintaining the same pipe length. These cases involve different specified temperature distributions on S2.

    (A) Case A

    Within Case A, three distinct temperature distributions will be designated along the inner wall S2 of the front part of the pipe, ranging from 0 m to 3.2 m. In the subsequent section, spanning from 3.2 m to 6 m, a constant temperature of 323 K will be specified to ensure compliance with the requirement of achieving ¯Yf(L; Sout) = 323 K. This specification is applied to Cases A1−A3, leading to the estimation of corresponding optimal heating functions on S1.

    Case A1:

    The specified temperature distribution Yp(x; S2) on S2 is given as

    Yp(x;S2)={363 K; 0x3.2 m323 K; 3.2 mx6m . (25)

    Figure 2(a) displays the graph of the Yp(x; S2) function. Employing the gradient-based algorithm with α = 0, the optimization analysis resulted in a reduction of the cost function to 20 after 104 iterations. Figure 3 illustrates the change in the cost function over the course of iterations. This graphical representation highlights a rapid decline in the value of the cost function, exhibiting a consistently decreasing trend.

    Figure 2.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A1 with α = 0.
    Figure 3.  The convergent speed in Case A1 with α = 0.

    The estimated optimal heating function q(x; S1) and the computed temperature Tp(x; S2) are given in Figure 2(a), and it shows that the values of Yp(x; S2) and Tp(x; S2) are almost identical. This implies that the optimal control algorithm used in this study is indeed effective, since the estimated q(x; S1) can produce Tp(x; S2) to match with Yp(x; S2). The temperature distributions of the water along the x-axis and at the cross-section of the outlet are given in Figure 2(b), (c), respectively. Evidently, the water within the pipe undergoes heating from Tp(x; S2), a process regulated by q(x; S1), resulting in the attainment of the desired fluid exit temperature.

    The calculated average outlet temperature of the water was found to be ¯Tf(L; Sout) = 326.2 K, in contrast to the specified requirement of ¯Yf(L; Sout) = 323 K. This discrepancy suggests an excessive infusion of energy into the fluid, indicating the need for energy extraction from the front segment of the pipe in the subsequent cases under investigation. Moreover, ¯Tf(L; Sout) represents an average value of exit temperatures, making it inadequate for assessing the uniformity of these temperatures. Consequently, an additional index must be formulated to accurately evaluate the exit temperature uniformity.

    The uniformity of exit temperatures is then defined as follows:

    ΔT(L;Sout) = Max|Tf(L;Sout)¯Yf(L;Sout)|. (26)

    Here, Tf(L; Sout) signifies the temperatures at the outlet of the flow. In the context of Case A1, the uniformity of exit temperatures is quantified as ΔT(L; Sout) = 7.1 K. Observing Figure 2(c), it becomes evident that the uniformity of exit temperatures is not optimal, as discernible color variations within the outlet fluid are noticeable.

    An abrupt surge in heat flux is observable at the initial section of the pipe, while a discontinuity in heat flux is present at x = 3.2 m. These abrupt alterations in heat flux pose challenges for practical control. To address this limitation, a corrective measure has been implemented by introducing a weighting coefficient α into the cost function, as depicted in Eq (7).

    When employing a weighting coefficient α = 1×10-6, the optimal solution converged after 31 iterations, as depicted in Figure 4. It is notable that the fluctuations in heat flux have become smoother and more refined, although the values of Yp(x; S2) and Tp(x; S2) are not as optimal as those attained with α = 0. In this case, ¯Tf(L; Sout) reached 327.7 K, and ΔT(L; Sout) decreased from 7.1 K to 4.7 K. This underscores the efficacy of the weighting coefficient in effectively smoothing the optimal heating function.

    Figure 4.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A1 with α = 1×10-6.

    Case A2:

    For Case A1, the specified temperature Yp(x; S2) within the range of 0 to 3.2 m was established at 363 K, revealing an excess of energy input. Consequently, in Case A2, the temperature distribution within the same range was modified to exhibit a linear decrease from 363 K to 323 K.

    Yp(x;S2)={36312.5x K; 0x3.2 m323 K; 3.2 m < x6 m . (27)

    This approach proves effective in curbing excessive energy infusion into the fluid. With α = 0, the optimal solution converged after 102 iterations, leading to a reduction in the cost function to 35. The outcomes of this estimation are showcased in Figure 5, and the convergence pattern is illustrated in Figure 6. It is evident from Figure 5(a) that the values of Yp(x; S2) and Tp(x; S2) exhibit a near-identical correspondence.

    Figure 5.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A2 with α = 0.
    Figure 6.  The convergent speed in Case A2 with α = 0.

    This suggests that the estimated heat flux serves as an accurate representation of the optimal heating function, reinforcing the validity of the optimization algorithm. Figure 5(b), (c) depicts the temperature distributions along the x-axis and at the outlet, respectively. The calculated values for ¯Tf(L; Sout) and ΔT(L; Sout) are 322.7 K and 1.2 K, respectively. These results indicate a close proximity of ¯Tf(L; Sout) to 323 K and a further reduction of ΔT(L; Sout) to 1.2 K. This signifies a notable improvement in the uniformity of exit temperatures, as evidenced by the absence of color variation in the water outlet temperature seen in Figure 5(c).

    By utilizing Eq (27), the discontinuity in heat flux at x = 3.2 m is eliminated. However, a distinct surge in heat flux persists at the outset of the pipe. Consequently, to mitigate this issue, a weighting coefficient α = 1×10-6 is incorporated to enhance the smoothness of the estimated heat flux. After 31 iterations, the optimal heating function converges, and the outcomes are illustrated in Figure 7. Figure 7(a) distinctly displays the amelioration of the abrupt increase in heat flux, yet the alignment between the values of Yp(x; S2) and Tp(x; S2) is not as precise with α = 1×10-6. However, ¯Tf(L; Sout) attains a value of 327.7 K, on par with the result achieved with α = 0. Nonetheless, ΔT(L; Sout) escalates from 1.2 K to 2.2 K, introducing a discernible color variation in the outlet temperature seen in Figure 7(c). Despite this change, the uniformity of exit temperatures remains notably satisfactory even with α = 1×10-6.

    Figure 7.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A2 with α = 1×10-6.

    Case A3:

    While the average exit temperature ¯Tf(L; Sout) in Case A2 achieved through linearly decreasing heating closely approximates the target temperature ¯Yf(L; Sout), the uniformity of the exit temperature ΔT(L; Sout) remains at 1.2 K. Consequently, Case A3 introduces a more intricate temperature distribution characterized by a floor function (step-like) profile. This is done to investigate whether such complexity can yield further enhancements in the uniformity of the exit temperature.

    A floor function, , temperature distribution is specified from 0 to 3.2 m as follows:

    Yp(x;S2)={3635×(x0.4) K; 0x3.2m323 K;3.2mx6m . (28)

    With α = 0, the optimal solution converges after 100 iterations, resulting in the estimated outcomes showcased in Figure 8. The cost function value diminishes to 62, with the convergence pattern portrayed in Figure 9. From Figure 8(a), a noticeable alignment between the values of Yp(x; S2) and Tp(x; S2) becomes apparent, signifying that the estimated q(x; S1) indeed functions as the optimal heating function. Nevertheless, the estimated q(x; S1) demonstrates minor jumps owing to the step-like nature of the floor function. Addressing these jumps can be achieved by introducing a weighting coefficient, as will be explored later.

    Figure 8.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A3 with α = 0.
    Figure 9.  The convergent speed in Case A3 with α = 0.

    Figure 8(b), (c) elucidates the temperature distributions of water along the x-axis and at the outlet (Sout), respectively. The calculated values for ¯Tf(L; Sout) and ΔT(L; Sout) are 323.0 K and 0.3 K, respectively. In comparison to Case A2, the design of Case A3 showcases superior exit temperature uniformity, with a remarkably reduced ΔT(L; Sout) of only 0.3 K. This is evident, as there is no noticeable color variation in the water outlet temperature at Sout, as depicted in Figure 8(c).

    In order to mitigate the abrupt spikes and discontinuous behaviors of q(x; S1), we introduced weighting coefficients α = 1×10-6 and 1×10-5 to facilitate a smoother profile for q(x; S1). The values of q(x; S1) converged after 30 and 22 iterations for α = 1×10-6 and 1×10-5, respectively. The outcomes for α = 1×10-6 and 1×10-5 are illustrated in Figures 10 and 11, respectively. Figures 10(a) and 11(a) clearly demonstrate the enhancement in alleviating the abrupt spikes and discontinuities in q(x; S1) with α = 1×10-6 and 1×10-5. However, the alignment between the values of Yp(x; S2) and Tp(x; S2) is not as precise with these weighting coefficients. The values of ¯Tf(L; Sout) and ΔT(L; Sout) reach 323.3 K and 1.7 K, respectively, when α = 1×10-6. These values are comparable to those obtained with α = 0. However, with α = 1×10-5, the values of ¯Tf(L; Sout) and ΔT(L; Sout) are 316.0 K and 11.5 K, respectively. As depicted in Figure 11(c), the uniformity of the exit temperature deteriorates significantly.

    Figure 10.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A3 with α = 1×10-6.
    Figure 11.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case A3 with α = 1×10-5.

    In conclusion, opting for α = 1×10-6 facilitates the smoothing of the estimated heat flux while upholding desirable temperature uniformity. Nonetheless, when the weighting coefficient becomes too large, such as α = 1×10-5, the estimated heat flux undergoes excessive damping, consequently impacting the uniformity of exit temperatures. This underscores the significance of meticulously selecting an appropriate weighting coefficient for tackling the optimal heating problem. The estimated results for Case A are summarized in Table 1.

    Table 1.  The estimated results for Cases A and B.
    A1
    (α=0)
    A1
    (α=1×10 - 6)
    A2
    (α=0)
    A2
    (α=1×10 - 6)
    A3
    (α=0)
    A3
    (α=1×10 - 6)
    A3
    (α=1×10 - 5)
    B
    (α=0)
    B
    (α=1×10 - 6)
    ¯Yf(L; Sout), K 323 323 323 323 323 323 323 323 323
    Number of iterations 104 31 102 31 100 30 22 101 36
    J 20 834625 35 520378 62 559965 2100084 10 476631
    ¯Tf(L; Sout), K 326.2 327.7 322.7 322.7 323.0 323.3 316.0 323.2 323.4
    ΔT(L; Sout), K 7.1 4.7 1.2 2.2 0.3 1.7 11.5 7.6 9.1

     | Show Table
    DownLoad: CSV

    (B) Case B

    For Case B, an investigation is conducted involving a larger pipe radius (ro = 6 mm and ri = 5 mm) at a flow velocity of uin = 0.2 m/s. Given the effectiveness of the specified floor function temperature distribution, it will be employed in Case B as the heating function on S2 to ensure the satisfaction of ¯Yf(L; Sout) = 323 K.

    The specified temperature distribution Yp(x; S2) on S2 is expressed as follows:

    Yp(x;S2)={363 K;0x1.84m3635×x0.4 K;1.84x5.84m323 K;5.84mx6m. (29)

    The Yp(x; S2) function is depicted in Figure 12(a). Employing α = 0 for the optimization analysis, the cost function diminishes to 10 after 101 iterations.

    Figure 12.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case B with α = 0.

    The estimated q(x; S1) and the computed Tp(x; S2) are illustrated in Figure 12(a), unveiling a near-identical correspondence between Yp(x; S2) and Tp(x; S2). This once again underscores the efficacy of the gradient-based algorithm employed in this study, as q(x; S1) successfully aligns Tp(x; S2) with Yp(x; S2). The temperature distributions that vary along the x-axis and the cross-sectional perspective at the outlet are presented in Figure 12(b), (c), respectively.

    The calculated average outlet temperature of the water stands at ¯Tf(L; Sout) = 323.2 K, signifying adherence to the stipulated requirement of ¯Yf(L; Sout) = 323 K. Nevertheless, the uniformity of the exit temperature ΔT(L; Sout) is determined to be 7.6 K, contributing to the discernible color shift in Figure 12(c). This observation highlights the potential necessity for a longer tube length when dealing with larger pipe diameters in order to ensure sufficient heating for achieving temperature uniformity conditions at the pipe exit. The convergence pattern is illustrated in Figure 13, which demonstrates a rapid convergence rate.

    Figure 13.  The convergent speed in Case B with α = 0.

    To address the abrupt spikes and discontinuities in q(x; S1), a weighting coefficient α = 1×10-6 is introduced. After 36 iterations, the convergence of q(x; S1) is achieved, and the results are depicted in Figure 14. Analysis of Figure 14 indicates an amelioration in the sudden rise and discontinuity behaviors of q(x; S1), although the alignment between the values of Yp(x; S2) and Tp(x; S2) is not optimal. ¯Tf(L; Sout) and ΔT(L; Sout) reach 323.4 K and 9.1 K, respectively, which can be deemed acceptable in accordance with the desired conditions. The estimated results for Case B are summarized in Table 1.

    Figure 14.  The (a) specified and estimated results, (b) temperature distribution along the x-axis and (c) temperature distribution at Sout in Case B with α = 1×10-6.

    The current study delves into a novel approach to address the optimal heating problem. This method involves prescribing a temperature function along the inner surface of the pipe to facilitate fluid heating, complemented by the utilization of a gradient-based algorithm. This algorithm is applied to ascertain the optimal heating function along the outer surface of the pipe, aligning with the specified temperature function and resulting in uniform fluid exit temperatures. Numerical experiments affirm that the application of the estimated optimal heat function consistently achieves the desired uniform fluid exit temperatures to a satisfactory degree.

    In the context of Case A, characterized by a smaller pipe diameter, the utilization of the specified floor function temperature distribution, as observed in Case A3, yielded the most favorable outcomes for ¯Tf(L; Sout) and ΔT(L; Sout) at the pipe exit. However, the estimated q(x; S1) exhibited abrupt surges and discontinuities. These behaviors can be alleviated by introducing a weighting coefficient into the cost function, leading to maintained accuracy in ¯Tf(L; Sout) and ΔT(L; Sout). In the scenario of Case B, featuring a larger pipe diameter and the same floor function temperature specification, the estimated ¯Tf(L; Sout) remains precise, though ΔT(L; Sout) achieves a satisfactory level. This suggests that a larger pipe diameter might necessitate an elongated tube length to enhance the uniformity of exit temperatures.

    The authors declare they have not used artificial intelligence (AI) tools in the creation of this article.

    The research was funded by the National Science and Technology Council of Taiwan, under Grant NSTC-112-2221-E-006-140-MY3.

    The authors declare that they have no conflicts of interest.



    [1] L. Perez-Lombard, J. Ortiz, C. Pout, A review on buildings energy consumption information, Energ. Buildings, 40 (2008), 394−398. https://doi.org/10.1016/j.enbuild.2007.03.007 doi: 10.1016/j.enbuild.2007.03.007
    [2] S. K. Kim, W. H. Hong, J. H. Hwang, M. S. Jung, Y. S. Park, Optimal control method for HVAC systems in offices with a control algorithm based on thermal environment, Buildings-Basel, 10 (2020), 12. https://doi.org/10.3390/buildings10050095 doi: 10.3390/buildings10050095
    [3] N. Alamoodi, P. Daoutidis, Nonlinear control of coal-fired steam power plants, Control Eng. Pract., 60 (2017), 63−75. https://doi.org/10.1016/j.conengprac.2016.12.005 doi: 10.1016/j.conengprac.2016.12.005
    [4] H. Kim, E. K. Kim, J. Kim, K. S. Lee, S. Kim, Y. Han, Prediction-based feedforward control of superheated steam temperature of a power plant, Int. J. Elec. Power, 71 (2015), 351−357. https://doi.org/10.1016/j.ijepes.2015.03.022 doi: 10.1016/j.ijepes.2015.03.022
    [5] A. Sanchez-Lopez, G. Arroyo-Figueroa, A. Villavicencio-Ramirez, Advanced control algorithms for steam temperature regulation of thermal power plants, Int. J. Elec. Power, 26 (2004), 779−785. https://doi.org/10.1016/j.ijepes.2015.03.022
    [6] V. Torres-Costa, C. de Melo, A. Climent-Font, F. Argullo-Rueda, O. de Melo, Isothermal close space sublimation for Ⅱ-Ⅵ semiconductor filling of porous matrices, Nanoscale Res. Lett., 7 (2012), 6. https://doi.org/10.1186/1556-276x-7-409
    [7] J. C. A. Huang, W. T. K. Chien, C. H. J. Huang, Some practical concerns on isothermal electromigration tests, IEEE Trans. Semicond. Manuf., 14 (2001), 387−394. https://doi.org/10.1109/66.964326 doi: 10.1109/66.964326
    [8] O. M. Alifanov, Inverse heat transfer problems, Springer Science & Business Media, 2012.
    [9] C. J. Chen, M. N. Ozisik, Optimal heating of a slab with a plane heat source of timewise varying strength, Numer. Heat Tr., 21 (1992), 351−361. https://doi.org/10.1080/10407789208944881 doi: 10.1080/10407789208944881
    [10] C. J. Chen, M. N. Ozisik, Optimal heating of a slab with two plan heat sources of timewise varying strength, J. Frank. I., 329 (1992), 195−206. https://doi.org/10.1016/0016-0032(92)90028-F doi: 10.1016/0016-0032(92)90028-F
    [11] C. J. Chen, M. N. Ozisik, Optimal convective heating of a hollow cylinder with temperature dependent thermal conductivity, Appl. Sci. Res., 52 (1994), 67−79. https://doi.org/10.1080/10407790.2010.541354 doi: 10.1080/10407790.2010.541354
    [12] C. H. Huang, A non-linear optimal control problem in determining the strength of the optimal boundary heat fluxes, Numer. Heat Tr., 40 (2001), 411−429. https://doi.org/10.1080/104077901753243197 doi: 10.1080/104077901753243197
    [13] CFD-ACE+ user's manual, ESI-CFD Inc., 2020.
  • Reader Comments
  • © 2024 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1219) PDF downloads(59) Cited by(0)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog