Next Article in Journal
Decision Tree-Based Evaluation and Classification of Chemical Flooding Well Groups for Medium-Thick Sandstone Reservoirs
Previous Article in Journal
An Adaptive Multi-Task Gaussian Process Regression Approach for Harmonic Modeling of Aggregated Loads in High-Voltage Substations
Previous Article in Special Issue
In Situ Winter Performance and Annual Energy Assessment of an Ultra-Lightweight, Soil-Free Green Roof in Mediterranean Climate: Comparison with Traditional Roof Insulation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Performance of Double Pipe Heat Exchanger—Partially Occupied by Metal Foam—Is Better Enhanced Using Robust Adaptive Barrier Function-Based Sliding Mode Control

by
Luma F. Ali
1,
Shibly A. AL-Samarraie
2 and
Amjad J. Humaidi
2,*
1
Mechanical Engineering Department, College of Engineering, University of Baghdad, Baghdad 10071, Iraq
2
College of Control and Systems Engineering, University of Technology, Baghdad 10066, Iraq
*
Author to whom correspondence should be addressed.
Energies 2025, 18(17), 4671; https://doi.org/10.3390/en18174671
Submission received: 27 July 2025 / Revised: 22 August 2025 / Accepted: 28 August 2025 / Published: 3 September 2025
(This article belongs to the Special Issue Heat Transfer Analysis: Recent Challenges and Applications)

Abstract

Numerous thermal practical applications utilize shell and tube heat exchanger appliances to transfer heat energy between hot and cold working fluids. Incorporating metal foam to the outer periphery of inner tube improves the heat transfer process from hot water in the tube side to cold water in the shell side and consequently improves heat exchanger performance. In this study, the integration of use of a porous material together with designing a robust adaptive controller could efficiently regulate the outlet cold water temperature to the desired value. This is achieved with respect to the time required for cold water to reach the desired temperature (settling time) and the amount of hot water volume flow during a certain time span. A barrier function-based adaptive sliding mode controller (BF-based adaptive SMC) is proposed, which requires only the information of temperature measurement of cold water. The stability of BF-based adaptive SMC is proved utilizing Lyapunov function analysis. The effectiveness of proposed controller is verified via numerical results, which showed that the proposed controller could achieve considerable accuracy of cold water temperature using suitable design parameters. In addition, the robustness of controller against variation in inlet temperature is also verified. Another improvement to performance of heat exchanger system is achieved by adding the metal foam of aluminum material on inner pipe perimeter with wide range of metal foam to outer inner pipe diameters ratio ( 1 s 1.8 ). The results showed that the settling time is significantly reduced which enables outlet cold water to reach the required temperature faster. With respect of the case of non-adding metal foam on inner pipe outer circumference, when s = 1.2 , the settling time and hot water temperature are reduced by 1 / 2 and 17.3 % , respectively, while for s = 1.8 , they are decreased by 1 / 20 and 35.3 % correspondingly. Accordingly, the required volume flow for hot water is reduced considerably.

1. Introduction

Frequent applications include heat transfer operations; however, conversion, employment, and energy recovery in every manufacturing, commercial, and domestic application comprise a heat transmission process. In most of these demands, heat is transported through heat exchanger devices which are designed to effectively transmit heat between two fluids without pending into direct interaction. Nowadays, heat exchangers find extensive utilization across diverse industrial and engineering applications; power plants, air conditioning, thermal heating, refrigeration, manufacturing industries, etc. [1,2]. Consequently, improving thermal operation of heat exchange has an instant influence on the energy, material, and cost economy. Accordingly, augmenting heat transmission above that in traditional or normal practice can considerably enhance thermal efficiency in such implementations in addition to their design and operation [2]. There are widespread types of heat exchangers which can be simply factory-made, such as double-pipe or so-called shell and tube heat exchanger type. This type becomes the greatest noteworthy fragment in small and large engineering and technical applications. Also, it has attracted important attention from researchers, engineers, and industries due to numerous compensations, such as compact design, flexibility, versatility, modularity, easy cleaning and maintenance, and cost-efficacy [3,4].
Heat transmission in heat exchangers including the double-pipe heat exchanger can be enhanced by various techniques, such as heat sink appliances that can be combined with heat exchangers to improve heat transmission. These heat sink mechanisms comprise metal wires, disks, fins, rings, porous media, supercritical CO2 with circular tetrahedral lattice structures, and other complex assemblies [5,6,7,8]. Metal foam which represents one of the porous media types can be utilized for supplementing heat transmission because of its small volume and low production cost. Additionally, metal foam has combinations of physical, structural, and mechanical properties that cannot be attained in other materials such as elevated mechanical strength, light weight, raised electrical and thermal conductivity, strong flow-mixing capability, and high specific surface area [9,10,11,12]. Augmentation of employing metal foam in flow and heat transfer appliances is due to its unique thermophysical properties such as high thermal conductivity, porosity, and fluid flow mixing in addition to the increase in the heat transfer surface area which raises the heat transmission rate as compared with components or surfaces without metal foam insertion [13,14,15,16,17,18,19,20].
Performance of double-pipe heat exchangers can be enhanced by inserting metal foam of different geometries on the inner and/or outer cylindrical periphery of outer tube (shell side) and/or inner tube (pipe side). Metal foam insertion can be accomplished fully or partially filled across required position according to the type of working fluids, shell- and tube-side dimensions, working fluids velocity, type of heat exchanger application, maintenance requirements, and many other factors that affect heat exchanger performance and efficiency. Recently, numerous studies have mainly concentrated on the heat transfer process in fully and partially foam-filled heat exchangers with different geometries such as metal foam fins, foam blocks, foam heat sinks, and foam wrapped tubes [12,21,22,23,24,25,26,27,28].
Increased efforts have been spent improving the quality of control in the chemical process industry, mainly for the temperature control systems in heat exchanger appliances. The designer is frequently faced with the problem of maintaining control system stability and performance (robustness) in the presence of significant plant model mismatch, nonlinearity, and external disturbances [29]. The Proportional–Integral–Derivative (PID) controller was utilized by many authors to design temperature control considering the linear model of heat exchanger [30,31,32]. Also, the fuzzy Proportional–Derivative (FPD) controller and PID controller were implemented by [33] and compared with the traditional PID controller. On the other hand, refs. [29,34] applied the PID controller for the feedback-linearized heat exchanger. Consequently, the PID controller is effective for linear model plant with constant perturbation, and so, for the case of a nonlinear model with non-constant perturbation, the controller efficiency degrades.
Nonlinear control design techniques were also applied to nonlinear models of heat exchanger and also for addressing the uncertainty in the models. The H robust controller design theory is applied to the heat exchanger control system with defined uncertainties, like parametric uncertainty and performance, as specified in [35]. By utilizing the dynamic state feedback in [34], the controller was designed by linearizing the heat exchanger model and then linear control theory can be used to regulate temperature to the desired value. Moreover, the sliding mode control technique is a well-known robust control method which is used to control different types of systems. The SMC has several advantages, such as robustness against external disturbances and uncertainties in parameters. Thus, a first-order SMC with integral sliding variable was employed by [36], while a time-varying integral sliding variable was utilized by [37] to combine the benefit of control system robustness and convergence rate. Additionally, in [38], an adaptive fuzzy sliding mode controller was designed for strong robustness and high control precision. Afterwards, for first-order SMC, the convergence is asymptotic; however, for finite time stability, higher order SMCs have been utilized by many authors. Ref. [39] proposed three different terminal sliding mode controllers and was verified through numerical simulations and implemented using an experimental setup. Also, in [40], the super-twisting control (STC) was employed for the temperature control of the heat exchanger. They showed that the STC can be practically implemented for process control using mechanical positioning actuators in real-world applications. Furthermore, for a precise control for the outlet temperature of cold water, a Terminal Synergetic Control (TSC) was proposed in [41], where, in their work, it was shown that synergetic control-based techniques offer superior potential solutions for nonlinear feedback control problems. Finally, a Higher-Order Sliding Mode (HOSM) controller for a heat exchanger connected via a data communication network was proposed by [42]. Besides its ability for chattering attenuation, the HOSM controller compensates for the random communication network and process delays in the model uncertainties present in the heat exchanger.
Model predictive control (MPC) is a control method based on periodically solving a constrained optimal control problem in every time step to evaluate the optimal input signal. The MPC was modified by [43] for a constraint removal approach which achieves the robustness required for practical application to a laboratory-scaled heat exchanger. They analyzed the control performance of the heat exchanger from the industrial perspective considering computational time and energy consumption. Additionally, ref. [44] proposed modified single layer economic model predictive control which integrates the dynamic economic optimization with the objective function of conventional tracking model predictive control. Their results showed that the economic model predictive control provides good quality control at a lower operational cost. Moreover, two control strategies were performed by [45] to identify the best-performing strategy for a countercurrent flow-plate heat exchanger in a virtual environment. The first controller is based on an inverse model of the plant, with linear algebra techniques and numerical methods; the second controller is an MPC. They showed that the MPC controller has the shortest settling time and lowest steady-state error.
Sliding mode control is a robust design methodology based on a systematic scheme that ensures the attractiveness of sliding manifold [46]. During sliding motion, the system becomes invariant to system uncertainties and external disturbances. This is known as the invariance property, which represents the main advantage of sliding mode control [47]. Conversely, the main disadvantage is the chattering problem [48]. The chattering problem can be overcome by suitable selection of the control gain. The barrier function has been augmented with the SMC formula, and it represents an adaptive control gain [49] and also with ISMC [50,51]. With the aid of using the barrier function in SMC, there is no need for either the precise system model knowledge or the ultimate bounds on its uncertainty and disturbances [52]. Hence, an adaptive SMC is obtained and additionally the chattering is eliminated where the combination of the barrier function with the SMC makes the control law continuous [53].
The aim of the present work is to explore the effect and enhancement of adding metal foam to the outer perimeter of the inner pipe for a parallel flow double-pipe heat exchanger. The heat exchanger performance will be measured by fixing the cold outlet temperature via a robust controller. An adaptive SMC using the barrier function will be designed to regulate robustly the outlet cold water to the desired temperature. Then, performance of the controlled output heat exchanger will be measured via the time required to reach the required outlet cold water temperature and additionally the amount of hot water volume flow through the inner pipe during certain time span. The main contributions of the present work can be summarized in the following points:
  • The double-pipe heat exchanger mathematical model has been derived from the first principles in the presence of metal foam insertion at the outer perimeter of the inner pipe (tube side). This also includes the derivation of overall thermal conductance;
  • A robust barrier function-based sliding mode controller has been designed to enforce the outlet cold water temperature to follow a desired value;
  • The insertion of metal foam on the outer periphery of double-pipe heat exchanger tube side could reduce both the settling time and hot water volume flow and hence improve the performance of the system;
  • Improvement of the sustainability metric in terms of energy and consumed water, where both the volume and temperature of hot water have been decreased. By virtue of adding metal foam and fusing the proposed robust BF-based adaptive SMC, one can keep low consumption of hot water flow and, simultaneously, maintain lower temperature of the outlet hot water.

2. Double-Pipe Heat Exchanger Mathematical Model

A common double-pipe heat exchanger (shell and tube heat exchanger), shown in Figure 1, is composed of two concentric pipes with different diameters; the inner and outer pipes are so-called tube and shell sides, respectively. Two working fluids are flowing in the heat exchanger and heat transmission between them through the solid pipe wall is taking place. One of these fluids runs inside the tube side and the other fluid flows through the shell side (annular space between the two pipes). Two types of flow arrangement are probable for these working fluids, parallel flow and counter flow. In parallel flow, both hot and cold fluids enter the heat exchanger at the same end and move in a similar direction while working fluids in counter flow arrangement run in the opposite direction. In the present work, parallel flow arrangement is performed extensively.
To derive the mathematical model, the following assumptions are taken into consideration:
  • The thermophysical properties of both cold and hot fluids under consideration are constant;
  • The variation in fluid velocity and temperature radially is negligible, and thus the kinetic and potential energy changes are negligible;
  • The outer surface of the heat exchanger is assumed to be perfectly insulated, so that there is no heat loss to the surrounding medium, and any heat transfer occurs between the two fluids only;
  • Axial heat conduction along the tube is usually insignificant and can be considered negligible.
Referring to Figure 1, consider an incremental element x and along x to which the principle of energy conservation is applied. Energy balance is applied to differential element on tube side (either shell or inner tube). In the element at a particular distance x x and time t, the heat balance equation is given by [54,55] the following:
R a t e   o f   c h a n g e   o f e n e r g y   i n   t h e e l e m e n t x = c o n v e c t i v e   f l o w   o f e n e r g y   i n t o   t h e e l e m e n t x c o n v e c t i v e   f l o w   o f e n e r g y   o u t   o f   t h e e l e m e n t x + h e a t   t r a n s f e r t o   t h e e l e m e n t x ,
and it can be written as follows:
Q s t o r e , x = Q x Q x + x + Q r a d i a l ,   x ,
If the velocity of fluid averaged across the tube is constant, i.e., independent of x , then unsteady-state lumped energy balance is given by [34] the following:
d ρ C p T d t = ρ C p V ˙ T x x T x + U A T L M T D ,
where ρ is fluid density; is volume of fluid; C p is fluid specific heat; T is temperature; t is time duration; V ˙ is fluid volume flow rate; U is the overall heat transfer coefficient; A is cross section area; and T L M T D is the logarithmic mean temperature difference.
Equation (2) can be utilized to derive the following equation for the shell side (cold fluid) as follows:
d T c d t = V ˙ c c T x x T x + U A ρ c c C p c T L M T D ,
And the tube side (hot fluid) is casted as follows:
d T h d t = V ˙ h h T x x T x U A ρ h h C p h T L M T D ,
where subscripts c and h refer to cold and hot working fluid, respectively.
It must be noticed that the negative sign for the second term in the right side of Equation (4) is because heat transfer is transmitted from the element in tube side (hot fluid) to that in shell side (cold fluid).
Cold T c and hot T h fluid temperature in the left side of Equations (3) and (4), respectively, can be possessed as a bulk mean temperature of inlet and outlet temperature, T c = T c i + T c o 2 and T h = T h i + T h o 2 . Thus, Equations (3) and (4) become the following:
d T c i + T c o 2 d t = V ˙ c c T c i T c o + U A ρ c c C p c T L M T D ,
d T h i + T h o 2 d t = V ˙ h h T h i T h o U A ρ h h C p h T L M T D ,
In the present work, T c i and T h i are considered constant. Thus, d T c i d t = 0 and d T h i d t = 0 and Equations (5) and (6) are presented as follows:
d T c o d t = 2 c V ˙ c T c i T c o + U A ρ c C p c T L M T D ,
d T h o d t = 2 h V ˙ h T h i T h o U A ρ h C p h T L M T D ,
Meanwhile, if cold T c and hot T h fluid temperature in the left side of Equations (3) and (4) are taken equal to outlet temperature, T c = T c o and T h = T h o , then Equations (3) and (4) become the following:
d T c o d t = V ˙ c c T c i T c o + U A ρ c c C p c T L M T D ,
d T h o d t = V ˙ h h T h i T h o U A ρ h h C p h T L M T D ,
Thus, Equations (9) and (10) are represented as follows:
d T c o d t = 1 c V ˙ c T c i T c o + U A ρ c C p c T L M T D ,
d T h o d t = 1 h V ˙ h T h i T h o U A ρ h C p h T L M T D ,
In general form, Equations (7), (8), (11) and (12) can be casted as follows:
d T c o t d t = a c V ˙ c t T c i T c o t + U A ρ c C p c T L M T D t ,
d T h o t d t = a h V ˙ h t T h i T h o t U A ρ h C p h T L M T D t ,
where a may be either equal 1 or 2 . In the present work, a is possessed equal to 1 . Additionally, T L M T D t is determined using the following equation:
T L M T D t = T h i T c i T h o t T c o t ln T h i T c i / T h o t T c o t ,

2.1. Overall Thermal Conductance

The overall heat transfer coefficient multiplied by surface area through which heat is transferred ( U A ) is known as overall thermal conductance. Generally, heat transfer rate in double-pipe heat exchanger can be assessed using the following equation:
Q = T R = U A s T L M T D = U i A i T L M T D = U o A o T L M T D ,
where R is the overall thermal resistance; U i and U o are inner and outer overall heat transfer coefficient, respectively; A i and A o are inner and outer surface area correspondingly; and A s is the surface area.
By re-writing Equation (16), the total thermal resistance for inner tube with non-negligible wall thickness can be formulated as follows (shown in Figure 2):
1 U A s = 1 U i A i = 1 U o A o = R = 1 h i A i + ln D o / D i 2 π k L + 1 h o A o ,
where k is the inner pipe thermal conductivity; h i and h o are heat transfer coefficient inside inner pipe and on outer periphery of inner pipe, respectively; D o and D i are inner and outer diameter of inner pipe correspondingly; and L is the length of inner pipe.
As mentioned previously, metal foam can be added adjacent to the solid wall to enhance heat transmission. In the present work, a metal foam layer of different thicknesses t f o a m is supplemented on the outer perimeter of inner pipe (exposed in Figure 2) and its diameter D f o a m can be stated as follows:
D f o a m = D o + 2 × t f o a m ,
Consequently, Equation (17) can be presented as follows for the case of adding metal foam on the outer perimeter of inner tube by appending metal foam conduction thermal resistance ( R c o n d , f o a m = ln D f o a m / D o 2 π k e f f L ) [54,55]:
1 U A = 1 U i A i = 1 U o A o = R = 1 h i A i + ln D o / D i 2 π k L + ln D f o a m / D o 2 π k e f f L + 1 h o A o ,

2.2. Calculation of Heat Transfer Coefficients

In order to estimate the overall heat transfer coefficient, inner heat transfer coefficient h i and outer heat transfer coefficient h o can be calculated for the two cases of inner pipe. These cases include without and with adding metal foam on the outer perimeter of inner pipe.
1.
The inner heat transfer coefficient h i for internal side of inner pipe (hot water) can be determined by employing the following equations [2,5,6,55,56]:
For   R e i 2100 :   N u = 1.86 R e i   P r i   D i L 1 / 3 μ b μ s 0.14 ,
For   2100 < R e i < 10000 :   N u = 1.86 R e i   P r i   D i L 1 / 3 μ b μ s 0.14 ,
For   R e i 10000 :   N u = 0.023 R e i 0.8 P r i n ,
where R e i = V h D i ν i is inner Reynolds number; V h = m ˙ h ρ i A c = m ˙ h ρ i 1 4 π D i 2 is fluid velocity inside tube side; N u = h i D i k i is Nusselt number; k i is tube-side fluid thermal conductivity; P r i is tube-side Prandtl number; μ b and μ s are dynamic viscosity at bulk and surface temperature, respectively; m ˙ i is tube-side fluid mass flow rate; ρ i is tube-side fluid density; A c is inner tube cross-section area; ν i is tube-side fluid kinematic viscosity; and n is a constant and it is taken as n = 0.4 for heating and 0.3 for cooling of fluid flowing through tube during heat exchanger operation.
2.
The outer heat transfer coefficient h o for the outer side of the inner pipe (cold water in annulus region) can be assessed by utilizing the following equations [5,56]:
V c = V ˙ c ρ o A o = V ˙ c ρ o 1 4 π D s , i 2 D t , o 2 ,
Instead of using D i , h in the tube Equations (20)–(22), equivalent diameter equation D e can employed as given below:
D e = 4 A s , c P = 4 π D s , i 2 D t , o 2 4 π D t , o = D s , i 2 D t , o 2 D t , o ,
where V c is cold fluid velocity inside shell side; A s , c is cross section area of annulus region (between outer diameter of pipe side and inner diameter of shell); P is perimeter of annulus region; D s , i is inner diameter of outer heat exchanger pipe (shell side); and D t , o is outer diameter of inner pipe (tube side).

2.3. Thermally Steady Outlet Temperature

In this section, the thermally steady-state outlet temperature is derived by equating the steady-state heat transfer rate equations. These heat rate equations include the equation of heat transmission to cold water (shell side), given as follows:
Q c = m ˙ c C p c ( T c _ o u t T c _ i n ) ,
The equation of heat transmission from hot water (tube side) is stated as follows:
Q h = m ˙ h C p h ( T h _ i n T h _ o u t ) ,
The average heat transfer rate, which is represented as follows:
Q = U A   T h i T c i T h o T c o ln T h i T c i / T h o T c o ,
As the steady-state condition is applied, the above three heat transfer rate Equations (25)–(27) can be equated because heat is transmitted from the hot fluid through inner pipe wall towards cold fluid. Thus,
Q = Q c = Q h ,
By solving Equation (28) with respect to T c o and T h o , the outlet cold and hot temperature is obtained as function of U A , mass flow rate of cold and hot water, specific heat of water, and inlet cold and hot water temperature. An interesting point that can be deduced from heat balance Equation (28) for T c o is that the maximum allowable outlet cold water can be estimated for a certain hot and cold input water temperature and also for specific cold and hot water mass flow rate. Accordingly, this is stated in the following lemma.
Lemma 1. 
Using the heat balance Equation (28) for certain cold and hot water inlet temperature and cold and hot water volumetric flow rates, the steady-state outlet hot water temperature is bounded by the following:
T c o < α T h i + T c i 1 + α ,
where  α = V ˙ h / V ˙ c .
Proof. 
The two equations which are obtained from Equation (28) are given by the following:
0 = V ˙ c T c i T c o + U A ρ c C p c T L M T D ,
0 = V ˙ h T h i T h o U A ρ h C p h T L M T D ,
From which, the following equation can be attained:
V ˙ c T c i T c o + V ˙ h T h i T h o = 0 ,
This leads to the following:
T c o = V ˙ h V ˙ c T h i T h o + T c i ,
Let α = V ˙ h / V ˙ c be the ratio of inlet hot water flow rate to inlet cold water flow rate, then,
T c o = α T h o + α T h i + T c i ,
with the assumption of no heat generation, the following equation is casted:
T c o < T h o ,
Then, from Equation (34), the following is obtained:
T c o < α T c o + α T h i + T c i
or it can be expressed as follows:
T c o < α T h i + T c i 1 + α ,
From Lemma 1, it is clear that the bound on T c o is function to α in addition to inlet cold and hot water temperature.
Remark 1. 
For a certain  α = V ˙ h / V ˙ c , T h i , and T c i , the outlet cold water temperature for which the heat exchanger is designed must be selected such that inequality Equation (37) does not violate.
Remark 2. 
For any α , the time history of outlet cold temperature from the first instant to steady-state condition is included in the following set  Σ = T c o T c i < T c o < α T h i + T c i 1 + α .
Remark 3. 
An interesting estimation for the outlet cold water from inequality Equation (37) can be obtained for  α = 1  which shows that  T c o  will be less than the average temperature of inlet cold- and hot water temperature. Meanwhile, for  α > > 1 T c o  approaches the inlet hot water temperature  T h i .

2.4. State Space Model

The double-pipe heat exchanger mathematical model given in Equations (13) and (14) with a = 1 is re-written in the state space model by defining the state variables x 1 and x 2 as follows:
x 1 = T c o t x 2 = T h o t ,
Hence, the double-pipe heat exchanger dynamics, in terms of state variables x = x 1 , x 2 , is expressed by the following:
d x 1 d t = f 1 x ,
d x 2 d t = f 2 x + g 2 x u ,
where x = x 1 , x 2 , f 1 x = 1 c V ˙ c T c i x 1 + U A ρ c C p c T L M T D , f 2 x = 1 h U A ρ h C p h T L M T D , g 2 x = 1 h T h i x 2 , T L M T D = T h i T c i x 2 x 1 l n T h i T c i x 2 x 1 , and finally u = V ˙ h is the volumetric flow rate of hot fluid which presents the control input.
The state space model can be put also in a general form as follows:
d x d t = f x + g x u ,
where f x = f 1 x   f 2 x T and g x = 0     g 2 x T . The heat exchanger state model is state feedback linearizable system as stated in the following Lemma.
Lemma 2. 
The state space model of the double-pipe heat exchanger as given by Equations (39) and (40) is state feedback linearizable which can be transformed to a second-order canonical form via the state transformation  x y :
y 1 = x 1                     y 2 = x ˙ 1                   ,
where  y 2  is assumed to be measured or estimated.
Proof. 
By following the procedure of deriving the linearizing output y = h ( x ) in [57], firstly the dimension of the matrix g ,   [ f , g ] ( x ) must be two, as shown below:
i m g x ,   [ f , g ] ( x ) = d i m 0 f 1 x 2   g 2   g 2 * ( x ) = 2 ,
where [ f , g ] is the Lie bracket and f 1 x 2 g 2 2 0     x 0 .
Secondly, since s p a n g is involutive, the double-pipe heat exchanger is a linearizable system. Finally, the linearizing output h ( x ) must satisfy the following condition:
h x g = 0 ;                       L f h x g 0 ,     a n d             h 0 = 0 ,
where L f h ( x ) is the Lee derivative of h ( x ) with respect to f . So, h x g = h x 2 g 2 = 0 , this leads to h x 2 = 0 , which means that h = h x 1 . Eventually, let h ( x ) = x 1 , which also satisfies the condition L f h x g 0 because L f h ( x ) = f 1 x then L f h x = f 1 x x 2 g 2 0   x . Hence, the double-pipe heat exchanger state space model is linearizable with the linearizing output h ( x ) = x 1 . Consequently, the change in variables is y 1 = h ( x ) and y 2 = L f h x = f 1 x which ends the proof. □
The linearized double-pipe heat exchanger state space model is specified by the following:
y ˙ 1 = y 2                                                                                                       y ˙ 2 = F x + G x u                                                           ,
where F x = f 1 x x f 1 x f 2 x , and G x = f 1 x x 2 g 2 x . Also, it is assumed that G x > 0 , x .
Note that it does not need to transform the control u to a new control v (using u = 1 G x   F x + v ) in order to write Equation (42) as y ˙ 1 = y 2 and y ˙ 2 = v . This is because F x and G x are considered as uncertain functions and accordingly the controller needs to be robust and adaptive, as is stated in the next section.

3. Barrier Function-Based Sliding Mode Control Law

One challenging problem in control engineering is the design of controllers for uncertain systems. The model inaccuracies, due to un-modeled or neglected system dynamics, uncertainty in model parameters, and external disturbances, are the sources of uncertainties. One of the most efficient robust control methodologies that can deal with uncertain systems is the sliding mode control (SMC) [48].
In the present work, the proposed controller employs barrier function (BF) instead of the discontinuous control term. The barrier function is defined as follows:
Definition 1.
([49]) For some ϵ   >   0 ,  which is known and fixed, the BF can be defined as an even continuous function  k b f : z ( ϵ ,   ϵ )   k b f z [ b , ]  strictly increasing on,  0 , ϵ ) .
  • lim | x | ϵ k b f z = + ;
  • k b f z has a unique minimum at zero and k b f 0 = b 0 .
In the present study, a class of semi-definite BFs is considered as k b f z = | z | ϵ | z | . The SMC gain k is used as a function of the sliding variable σ via barrier function, i.e.,
k = | σ | ϵ | σ | ,
By using the gain in Equation (46), the SMC law becomes continuous, adaptive, and with attenuating or eliminating chattering.
To present our proposed controller, we need first to define the sliding variable. Thus, the sliding variable s , with respect to Equation (45), is defined by the following:
σ = e 2 + λ e 1 ,                       λ > 0 ,
where e 1 and e 2 are the error functions which are defined as follows:
e 1 = y 1 y r = T c o t T c o r t e 2 = e ˙ 1 = y 2 y ˙ r = T ˙ c o t T ˙ c o r t ,
Also, the time rate of change in σ is given by the following:
σ ˙ = y ˙ 2 y ¨ r + λ y 2 y ˙ r = F x , y + G x u ,
In the present work, we propose the use of a variable structure controller that consists of three controllers and the switching between them depends on the state position in state space. The controllers are presented as follows:
  • The first controller uses the maximum hot water flow-rate as the control input when the state lies in the following region:
Ω I = x t σ t ϵ ,
where ϵ is a small positive number. That is if x t Ω I , then
u = u m a x ,
2.
The second controller utilizes the barrier function as the adaptive gain law for the sliding mode controller. The control law for this controller is given by the following:
u = k σ s i g n σ ,
where, as in Equation (48), k t , s can be defined as follows:
k σ = k o σ ϵ σ ,   k o > 0 ,
It is used when x t Ω I I and u u m a x where
Ω I I = x t ϵ < σ t < 0 ,
3.
The third controller is simply justifying the positive control input nature of the system. If x t Ω I I I , where Ω I I I = x t σ t 0 , then the controller is given by the following:
u = 0 ,
The three above regions Ω I , Ω I I , and Ω I I I are shown in Figure 3 and the above variable structure controller is stated in the following theorem.
Theorem 1. 
For the double-pipe heat exchanger which is defined by Equations (39) and (40), the proposed variable structure controller in Equations (52)–(57) enforces output cold water to follow the desired temperature with ultimate error bound given by the following:
e 1 ϵ λ ,
Proof. 
Let us assume that the state is initiated in Ω I I , then the second controllers, Equations (54) and (55), are used. Accordingly, we need to show that the error e 1 between the outlet cold water and desired outlet temperature is ultimately bounded by (58). To derive the inequality Equation (58), the following candidate Lyapunov function is employed:
V σ = 1 2 σ 2 ,
Its time rate of change is given by the following:
V ˙ σ = σ σ ˙ = σ e 2 + λ e ˙ 2 ,
Then for constant desired outlet cold temperature and the control law in Equations (52) and (53) we have the following:
V ˙ σ = σ y ˙ 2 + λ y 2 = σ F x + G x u + λ y 2 ,
= σ F x G x k t , s s i g n s + λ y 2 ,
G x k σ σ + G x H ( x , y ) σ ,
= G x k o σ 2 ϵ σ σ + G x H ( x , y ) σ ,
where H x , y = F x + λ y 2 G x . Therefore,
V ˙ σ < 1 θ G x k o σ 2 ϵ σ ,   0 < θ < 1 ,
σ such that
θ k o σ 2 ϵ σ + F x , y σ < 0 ,
The last inequality is solved for σ
σ > F x , y θ k o + F x , y ϵ ,
Hence, V ˙ σ < 0 for all state where s satisfies this inequality. Accordingly, the ultimate bound is presented as follows:
σ b = F x , y θ k o + F x , y ϵ < ϵ ,
Which proves that when the state in Ω I I , the sliding variable s is bounded by ϵ . The ultimate bound with respect to the error e 1 = T c o t T c o r t can be derived from Equation (9),
e 2 + λ e 1 = σ ,
by solving for e 1 , we obtain
e 1 t = e 1 0 exp λ t + exp λ t 0 t exp λ τ σ τ d τ ,
This leads to the following:
e 1 t e 1 0 exp λ t + exp λ t 0 t exp λ τ σ τ d τ ,
e 1 0 exp λ t + ϵ exp λ t 0 t exp λ τ d τ ,
= e 1 0 exp λ t + ϵ λ 1 exp λ t ,
As t ,
lim   t e 1 t ϵ λ ,
This proves that the error function e 1 t is asymptotically approaching the ultimate bound ϵ λ .
To this end, it must be shown that Ω I I is attractive if the state is initiated outside it. So, if the state is started in Ω I with u = u m a x , T c o t Σ according to Remark 2. That means from Lemma 1, if the desired outlet cold water T c o r t lies in Σ then with u = u m a x , T c o t will enter Ω I I in finite time and this proves the attractiveness Ω I I when the state is initiated in Ω I .
Finally, it is required to show the attractiveness of Ω I I when the state is initiated in the region where s t 0 . In this case, u = 0 , accordingly, Equation (34) with α = 0 , the steady-state outlet cold water temperature becomes the following:
T c o = T c i ,
Therefore, after a certain finite period of time, the state returns to enter Ω I I since T c o r t > T c i . This ends the proof where via switching between the tree control laws according to the specified region, the outlet cold water temperature is eventually forced to follow the desired value. □
Remark 4. 
In the proposed control law,  u m a x  is not necessary to be the maximum available hot water flow rate.The operator can use an appropriate flow rate value and it is assigned as  u m a x  but it is necessary to check that the condition  T c o r t Σ  is satisfied.
Remark 5. 
The control law in  Ω I I  can be put in a more compact from as follows:
u = S a t u m a x k σ ,
where
S a t u m a x ( k σ ) = u m a x                             i f     k σ u m a x               k σ                             i f     k σ < u m a x               ,
Corollary 1. 
The proposed controller in theorem 1 is a continuous controller.
Proof. 
If the state is initiated in Ω I I , then the control law is given by u = k σ = k o σ ϵ σ . The control formula in this region is a continuous function of s . But, if the state is initiated in Ω I , then u = u m a x until the state enter Ω I I where during a certain period of time after entering Ω I I , the computed control u is greater than u m a x as stated in Remark 5. This is because it is initially very near to the boundary of barrier function and according to Equation (70), the control u   is fixed at u m a x . After this period of time, the control u becomes equal to u m a x and that is natural, since s goes away from the barrier function boundary. Then, due to the continuity of control law in Ω I I , control effort starts decreasing until it reaches a certain value such that the thermal steady outlet temperature equation is satisfied based on the desired outlet cold water temperature. This proves the continuity of the proposed control law. □
Remark 6. 
The proposed control law in the above theorem is adaptive and works without the knowledge of system parameters or upper bound on their values. In fact, the structure of the mathematical model is the only thing that needs to be known, as given in Equations (11) and (12), in addition to the inlet and outlet cold and hot temperatures.
Figure 4 illustrates the mechanism of integrating the BF-based adaptive sliding mode controller to the heat exchanger.

4. Results and Discussions

This section is devoted to presenting the numerical simulations for the double-pipe heat exchanger utilizing the proposed controller using the barrier function based on adaptive SMC. In the first part of this section, the heat exchanger dynamic system is simulated for fixed hot water volume flowrate and for different metal foam diameter. Then, in the second part which is devoted to test control system performance, the heat exchanger model is simulated for different desired outlet cold water temperatures. The only information required is the measurements of the inlet and outlet cold and hot water temperature. Next, in the third part of the simulation experiments, double-pipe heat exchanger performance enhancement is examined through the results of numerical simulations after adding metal foam with different diameters.
The heat exchanger mathematical model parameters that are used in the simulation are listed in Table 1 below, including the geometrical and the materials information required to calculate the overall thermal conductance U A and the other state space model parameters in Equations (49) and (40).

4.1. Effect of Metal Foam Insertion on Outlet Cold Water Temperature for Fixed Cold and Hot Water Flow Rates

The effect of inserting metal foam layer on the outer periphery of inner pipe in a double-pipe heat exchanger is examined in the present part of the results. The results are based on simulating the heat exchanger with the parameters listed in Table 1.
The only variable parameter in the heat exchanger system is the diameter of inserted metal foam and for simplicity it was taken as a percent from the outlet diameter of the inner pipe (tube side) D t o , i.e., the metal foam diameter D f o a m is related to D t o by the following relation:
D f o a m = s . D t o ,
where s = 1 refers to the heat exchanger without metal foam, while when s = D s i / D t o , the metal foam fills totally the gap between outer pipe D t o and inner shell D s i diameters.
For feasibility in engineering applications, it can be mentioned that if the annulus is filled completely with water without metal foam ( s = 1 ), the annulus mass is 13   kg and if the annulus is fully filled with metal foam ( s = 2 ) the annulus mass becomes 15.25   kg . Therefore, the mass increase is about 2.25   kg ( 17 % ) and this amplification can be neglected with respect to the overall mass of heat exchanger and can be integrated with the design consideration of heat exchanger.
The effect of adding metal foam is examined for the range 1 s 1.8 < 1.97 = D s i / D t o with inlet hot water volume flow rate equal to u m a x . Figure 5 reveals that the overall thermal conductance U A is an increasing function with the increasing in the metal foam diameter D f o a m . This behavior can be attributed to the reduction in thermal resistance as a result of increasing in effective thermal conductivity of metal foam. Note that in this paper, the results which are related to the metal foam diameter are referred to by their corresponding value of s .
With the same inlet hot water volume flow rate, the numerical simulation results for different metal foam diameters are plotted in Figure 6. This figure reveals that the effect of adding metal foam to the heat exchanger, where the outlet cold water temperature is at steady state, is increased with the increase in the metal foam diameter. As the thickness of inserted metal foam is increased, this tends to raise the heat transmissions from hot water in the tube side to cold water in the shell side. Consequently, this is a direct result of increasing U A where a larger amount of heat energy is transformed from the hot water to the cold water.

4.2. Testing the SMC Performance

As mentioned above, the proposed barrier function-based SMC is first tested for the double-pipe heat exchanger using selected control design parameter values of k o = 5 u m a x , = 1 , and λ = 2 . The results in this part are obtained for the double heat exchanger with the addition of metal foam where s = 1.25 . Figure 7 shows the simulation results for three different, desired outlet cold water temperature where all the selected desired outlet cold temperatures are within the set Σ . It is observed that the control performance is well clarified where the outlet cold water converges to the desired temperature with a steady-state error less than ϵ λ = 0.5   ° C   (inequality Equation (69)). Also, it can be noticed from Figure 7 that the transient period for all required cold water temperature coincides. This is because the state is always initiated in Ω I and subsequently the control u is u m a x .
Also, in order to examine the control robustness simulation test, firstly it is demonstrated with different inlet cold and hot water temperatures, secondly through the different cold water inlet volume flow rate, and finally with different effective metal foam thermal conductivity. In Figure 8, the plot shows that the cold water converges to the desired temperature ( T c o r = 45 ) and satisfies inequality Equation (71) irrespective of the change in the inlet cold water temperature.
Meanwhile, in Figure 9, the outlet cold water temperature is plotted when the inlet cold water flow rate is varied ( ± 10 % of the nominal cold water volume flow rate V ˙ c = 2.5096 10 6 m 3 / s ) in order to accommodate the change in the cold-water volume flow rate due to metal foam insertion. Again, the proposed controller forces cold water to follow the desired temperature with a small variation in settling time.
For the case of different metal foam porosity (0.909, 0.937, and 0.971 [58]) and consequently different metal foam effective thermal conductivity, the proposed controller against this type of uncertainty is robust, as revealed in Figure 10.
For a stepwise desired outlet cold temperature, Figure 11 demonstrates the ability and performance of the proposed controller where the outlet cold water temperature follows the desired reference with the specified accuracy. Later, it is shown that by inserting metal foam, the settling time is reduced and consequently, the outlet cold water follows the required temperature quickly.
Finally, for the 45   ° C as a reference outlet cold water temperature, the hot water volume flow rate (the control input) is continuous, as can be seen from Figure 12 below where this result is proved in Corollary 1.

4.3. Testing the Enhancement of Adding Porous Material to the Heat Exchanger

In this part, the simulation results can answer the question about the evidence of adding porous material to the double-pipe heat exchanger with respect of the heat exchanger control system performance. Two factors are considered in evaluating the performance enhancement. The first factor is the settling time which is the time required to enter the positively invariant set Ω that is a set where T c o t T c o r t ϵ λ . Meanwhile, the second factor is the hot water volume flow during a time span including the transient period and certain time interval throughout steady-state condition.
In Figure 13, the cold-water temperature state is plotted for different metal foam diameters. This figure clarifies that the settling time is reduced significantly with the increase in the metal foam diameter. The settling time is also shown in Figure 14 for different foam diameter where for s = 1 , the settling time is 10 , 800   s while for s = 1.2 , the settling time is 4870   s which means that the cold water with s = 1.2 reaches the required temperature less than half the time spend for the case without metal foam. Additionally, when s = 1.8 , the settling time reduces greater than 20 times the case of without adding metal foam ( s = 1 ), which proves the significance of adding the metal foam to the heat exchanger.
The reduction in the hot water volume (the second factor) is also shown in Figure 14. The addition of metal foam not only reduces significantly the settling time but also the required hot water volume, where it is measured here for a time span of 15,000 s. The settling time for different metal foam diameter ratio s is replotted in Figure 15 where the significance of the addition of metal foam on the heat exchanger control system response is clarified. Finally, the performance enhancement via adding metal foam for a stepwise required temperature is clarified in Figure 16. The enhancement is clear when the result in this figure with s = 1.8 is compared with those in Figure 11 where s = 1.25 .
Additionally, the effect of adding metal foam for various diameters on the sliding variable is shown in Figure 16, where the reaching time is decreased significantly. After that, the cold-water temperature asymptotically reaches the desired value during sliding motion according to the sliding variable Equation (49) with a time constant equal to 1 / 2 as stated previously. As a result, the settling time which consists of reaching time and time spent during sliding phase is reduced and is illustrated in Figure 13.
An important contribution of adding metal foam, where large hot water volume flow rate reduction is obtained with increasing metal foam ratio, is proved in Figure 17. From this figure, it can be deduced that during the reaching phase, the hot water volume flow rate is constant and equal u m a x but after that it is reduced during sliding motion phase. The reaching time is decreased with respect of the metal foam diameter; therefore, the period of time during which u = u m a x is reduced and consequently less control effort is required. Moreover, this figure shows that the steady-state hot water volume flow rate is also reduced with increasing metal foam diameter. In context to the reduction in steady-state hot water volume flow rate, the steady-state outlet hot water temperature is reduced with rising metal foam diameter as depicted in Figure 18. For steady-state condition and from Figure 17 and Figure 18, both outlet hot water temperature and volume flow rate values are decreased with metal foam diameter increasing. Basically, according to this result, with both the outlet cold water temperature and volume flow rate values fixed, the thermal steady outlet temperature is satisfied and specifically Equation (32) is held. Accordingly, sustainable energy and consuming water requirements are attained as volume and temperature of hot water are decreased, which are a result of utilizing the current proposed control system and adding metal foam.
Finally, the performance enhancement via adding metal foam for a stepwise required temperature is clarified in Figure 19. The enhancement is clear when the result in this figure with s = 1.8 is compared with those in Figure 11 where s = 1.25 .

5. Conclusions

The present work addresses the performance enhancement for the double-pipe heat exchanger results from adding the metal foam to the outer diameter. The thermal conductance U A has been derived where Equation (19) showed that its value is increased with increasing metal foam diameter. The simulation results demonstrated the effect of the increase in in the thermal conductance U A , where it can be seen that the heat transfer from hot to cold water increased as in Figure 6. In order to study the effect of adding the metal foam, the adaptive and robust SMC has been designed to enforce the cold water to follow a certain desired value with the hot water volume flow rate play the role of the control input. The control stability and performance has been proved analytically through the use of Lyapunov function and also the simulation results reveal this fact. By using the designed controller, the simulation results reveal that a significant reduction occurred in the settling time and amount of hot water volume flow. Also, these results demonstrate that the enhancement in heat exchanger performance is achieved by inserting metal foam in addition to controlling the outlet cold water temperature. For s = 1.8 , it was found that the reduction in settling time reaches 1/20 times the case of non-adding metal foam ( s = 1 ). Finally, from these results, the insertion of the metal foam to the double-pipe heat exchanger control system is recommended.

Author Contributions

Conceptualization, L.F.A., A.J.H. and S.A.A.-S.; methodology, L.F.A., A.J.H. and S.A.A.-S.; validation, A.J.H. and S.A.A.-S.; formal analysis, L.F.A., A.J.H. and S.A.A.-S.; investigation, L.F.A. and S.A.A.-S.; writing—review and editing, L.F.A. and A.J.H., writing—original draft preparation, L.F.A. and S.A.A.-S.; supervision, A.J.H. and S.A.A.-S.; funding acquisition, S.A.A.-S. and L.F.A. All authors have read and agreed to the published version of the manuscript.

Funding

This work is not financially supported by any organization and the fees were paid by the authors.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors gratefully acknowledge all their colleagues for their co-operation.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Alam, T.; Kim, M.-H. A Comprehensive Review on Single Phase Heat Transfer Enhancement Techniques in Heat Exchanger Applications. Renew. Sustain. Energy Rev. 2018, 81, 813–839. [Google Scholar] [CrossRef]
  2. Bejan, A.; Kraus, A.D. Heat Transfer Handbook; John Wiley: Hoboken, NJ, USA, 2003. [Google Scholar]
  3. Omidi, M.; Farhadi, M.; Jafari, M. A Comprehensive Review on Double Pipe Heat Exchangers. Appl. Therm. Eng. 2017, 110, 1075–1090. [Google Scholar] [CrossRef]
  4. Li, W.; Zhang, W.; Li, Z.; Yao, H.; Cui, P.; Zhang, F. Investigation of the Heat Transfer Performance of Multi-Borehole Double-Pipe Heat Exchangers in Medium-Shallow Strata. Energies 2022, 15, 4798. [Google Scholar] [CrossRef]
  5. Thulukkanam, K. Heat Exchanger Design Handbook; CRC Press: Boca Raton, FL, USA, 2013. [Google Scholar] [CrossRef]
  6. Sekulić, D.P.; Shah, R.K. Fundamentals of Heat Exchanger Design; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2023. [Google Scholar] [CrossRef]
  7. Liu, J.; Guo, W.; Yin, M.; Xi, W.; Sunden, B. Flow and Heat Transfer Characteristic of Regenerative Cooling Channels Using Supercritical CO2 with Circular Tetrahedral Lattice Structures. Case Stud. Therm. Eng. 2025, 71, 106204. [Google Scholar] [CrossRef]
  8. Zachi, F.J.; Ali, L.F. Experimental Study of Natural Convection Heat Transfer on an Enclosure Partially Filled Porous Medium Heated from below by Constant Heat Flux. AIP Conf. Proc. 2023, 2651, 050002. [Google Scholar] [CrossRef]
  9. Mahmoudi, Y.; Hooman, K.; Vafai, K. Convective Heat Transfer in Porous Media; CRC Press: Boca Raton, FL, USA, 2019. [Google Scholar] [CrossRef]
  10. Nield, D.A.; Bejan, A. Convection in Porous Media; Springer International Publishing: Cham, Switzerland, 2017. [Google Scholar] [CrossRef]
  11. Kaviany, M. Principles of Heat Transfer in Porous Media; Springer: New York, NY, USA, 1995. [Google Scholar] [CrossRef]
  12. Fiedler, T.; Movahedi, N. Compact Aluminium Foam Heat Exchangers. Metals 2023, 13, 1440. [Google Scholar] [CrossRef]
  13. Alkinani, I.H.; Ali, L.F. Natural Convection in Annulus between Two Concentric Cylinders Partially Filled with Metal Foam Distributed with New Suggested Design. IOP Conf. Ser. Earth Environ. Sci. 2022, 961, 012032. [Google Scholar] [CrossRef]
  14. Kuruneru, S.T.W.; Vafai, K.; Sauret, E.; Gu, Y. Application of Porous Metal Foam Heat Exchangers and the Implications of Particulate Fouling for Energy-Intensive Industries. Chem. Eng. Sci. 2020, 228, 115968. [Google Scholar] [CrossRef]
  15. Chen, X.; Sun, C.; Xia, X.; Liu, R.; Wang, F. Conjugated Heat Transfer Analysis of a Foam Filled Double-Pipe Heat Exchanger for High-Temperature Application. Int. J. Heat Mass Transf. 2019, 134, 1003–1013. [Google Scholar] [CrossRef]
  16. Lu, W.; Zhao, C.; Tassou, S. Thermal Analysis on Metal-Foam Filled Heat Exchangers. Part I: Metal-Foam Filled Pipes. Int. J. Heat Mass Transf. 2006, 49, 2751–2761. [Google Scholar] [CrossRef]
  17. Alomar, O.R.; Hamdoon, O.M.; Salim, B.M. Analysis of Two-Phase Flow in a Double-Pipe Heat Exchanger Filled with Porous Media. Int. J. Heat Mass Transf. 2020, 156, 119799. [Google Scholar] [CrossRef]
  18. Arasteh, H.; Salimpour, M.R.; Tavakoli, M.R. Optimal Distribution of Metal Foam Inserts in a Double-Pipe Heat Exchanger. Int. J. Numer. Methods Heat Fluid Flow 2019, 29, 1322–3142. [Google Scholar] [CrossRef]
  19. Abdulwahed, A.S.; Ali, L.F. Numerical Investigation of Natural Convection in a Square Enclosure Partially Filled with Horizontal Layers of a Porous Medium. Heat Transf. 2023, 52, 874–889. [Google Scholar] [CrossRef]
  20. Ali, L.F.; Humaidi, A.J. Offset Temperature and Amplitude–Frequency Effect on Convection Heat Transfer in Partially Gradient Porous Cavity with Different Outlet Port Locations. Processes 2025, 13, 2279. [Google Scholar] [CrossRef]
  21. Hamzah, J.A.; Nima, M.A. Experimental Study of Heat Transfer Enhancement in Double-Pipe Heat Exchanger Integrated with Metal Foam Fins. Arab. J. Sci. Eng. 2020, 45, 5153–5167. [Google Scholar] [CrossRef]
  22. Buonomo, B.; di Pasqua, A.; Manca, O.; Nappo, S. Entropy Generation Analysis on Heat Exchanger in Aluminum Foam. Tec. Ital. J. Eng. Sci. 2021, 65, 166–173. [Google Scholar] [CrossRef]
  23. Shirvan, K.M.; Mirzakhanlari, S.; Kalogirou, S.A.; Öztop, H.F.; Mamourian, M. Heat Transfer and Sensitivity Analysis in a Double Pipe Heat Exchanger Filled with Porous Medium. Int. J. Therm. Sci. 2017, 121, 124–137. [Google Scholar] [CrossRef]
  24. Tian, H.; Zhao, T.; Shi, L.; Chen, T.; Ma, X.; Zhang, H.; Shu, G. Assessment and Optimization of Exhaust Gas Heat Exchanger with Porous Baffles and Porous Fins. Appl. Therm. Eng. 2020, 178, 115446. [Google Scholar] [CrossRef]
  25. Fiedler, T.; Moore, R.; Movahedi, N. Manufacturing and Characterization of Tube-Filled ZA27 Metal Foam Heat Exchangers. Metals 2021, 11, 1277. [Google Scholar] [CrossRef]
  26. Alhusseny, A.; Turan, A.; Nasser, A. Rotating Metal Foam Structures for Performance Enhancement of Double-Pipe Heat Exchangers. Int. J. Heat Mass Transf. 2017, 105, 124–139. [Google Scholar] [CrossRef]
  27. Abadi, G.B.; Kim, K.C. Experimental Heat Transfer and Pressure Drop in a Metal-Foam-Filled Tube Heat Exchanger. Exp. Therm. Fluid Sci. 2017, 82, 42–49. [Google Scholar] [CrossRef]
  28. Ahmad, F.; Al-Kayiem, H.H.; Soon, W.P.K. ICPER 2020, Proceedings of the 7th International Conference on Production, Energy and Reliability; Springer: Berlin/Heidelberg, Germany, 2022. [Google Scholar] [CrossRef]
  29. Alsop, A.W.; Edgar, T.F. Nonlinear Heat Exchanger Control through the Use of Partially Linearized Control Variables. Chem. Eng. Commun. 1989, 75, 155–170. [Google Scholar] [CrossRef]
  30. Reddy, V.S.; Subhadra, H.; Prananvanand, S.; Juliet, A.V.; Ramesh, G.; Lakshmi, G.S.; Reddy, C.L.; Reddy, K.S. Controller Design for Temperature Regulation in a Nonlinear Industrial Heat Exchanger System. E3S Web Conf. 2025, 616, 10. [Google Scholar] [CrossRef]
  31. Pallavi, P.; Vankunavath, P.; Ilaiah, S.; Reddy, G.P.; Bandi, A.; Hossain, M.; Jin, Y. Real-Time Temperature Control of a Shell and Tube Heat Exchanger by IMC Based PID Controller. Epic. Ser. Comput. 2023, 91, 155–163. [Google Scholar]
  32. Markowski, M.; Trafczynski, M.; Pavlovičová, E.; Oravec, J.; Alabrudzinski, S.; Kisielewski, P.; Urbaniec, K.; Elwertowski, K.; Gostynski, D. Impact of Industrial Constraints on the Dynamic Performance of a PID-Controlled Hybrid Heat-Integrated Distillation System with a Plate Heat and Mass Exchanger. Int. J. Heat Mass Transf. 2025, 252, 127445. [Google Scholar] [CrossRef]
  33. A.A.EMhemed, A.; Alsseid, A.; Hanafi, D. Modelling and Controller Design for Temperature Control of Power Plant Heat Exchanger. Univers. J. Control. Autom. 2017, 5, 49–53. [Google Scholar] [CrossRef]
  34. Rahman, M.H.R.F.; Devanathan, R. Modelling and Dynamic Feedback Linearisation of a Heat Exchanger Model. In Proceedings of the IEEE Conference on Control Applications, Glasgow, UK, 24–26 August 1994; IEEE: New York, NY, USA; pp. 1801–1806. [Google Scholar] [CrossRef]
  35. Vasičkaninová, A.; Bakošová, M.; Čirka, L.; Kalúz, M. Robust Controller Design for a Heat Exchanger. Chem. Eng. Trans. 2016, 52, 247–252. [Google Scholar] [CrossRef]
  36. Pirela, M.P.; Sandoval, J.P.G.; Camacho, O. Discontinuous Feedback Control Strategies for a Heat Exchanger. NOVASINERGIA REVISTA DIGITAL DE CIENCIA, INGENIERÍA Y TECNOLOGÍA. Novasinergia 2019, 2, 80–87. [Google Scholar] [CrossRef]
  37. Boonyaprapasorn, A.; Kuntanapreeda, S.; Ngiamsunthorn, P.S.; Kumsaen, T.; Sethaput, T. Time-Varying Sliding Mode Controller for Heat Exchanger with Dragonfly Algorithm. Int. J. Electr. Comput. Eng. 2023, 13, 3958–3968. [Google Scholar] [CrossRef]
  38. Sun, H.-X.; Zhang, J.-T. Application of Adaptive Fuzzy Sliding-Mode Controller for Heat Exchanger System in District Heating. In Proceedings of the Proceedings-International Conference on Intelligent Computation Technology and Automation, ICICTA 2008, Changsha, China, 20–22 October 2008; pp. 850–854. [Google Scholar] [CrossRef]
  39. Almutairi, N.B.; Zribi, M. Control of a Plate Heat Exchanger Using the Terminal Sliding Mode Technique. Ind. Eng. Chem. Res. 2012, 51, 4610–4623. [Google Scholar] [CrossRef]
  40. Khimani, D.; Patil, M.; Godse, P.; Barai, R. A Super-Twisting Control Design for Shell and Tube Heat Exchanger. J. Electr. Syst. 2024, 20, 8191–8200. [Google Scholar]
  41. Boonyaprapasorn, A.; Simatrang, S.; Kuntanapreeda, S.; Ngiamsunthorn, P.S.; Kumsaen, T.; Sethaput, T. Terminal Synergetic Control for Plate Heat Exchanger. J. Adv. Res. Fluid Mech. Therm. Sci. 2024, 117, 189–202. [Google Scholar] [CrossRef]
  42. Shah, D.; Shah, A.; Mehta, A. Higher Order Networked Sliding Mode Controller for Heat Exchanger Connected via Data Communication Network. Eur. J. Control. 2021, 58, 301–314. [Google Scholar] [CrossRef]
  43. Dyrska, R.; Horváthová, M.; Bakaráč, P.; Mönnigmann, M.; Oravec, J. Heat Exchanger Control Using Model Predictive Control with Constraint Removal. Appl. Therm. Eng. 2023, 227, 120366. [Google Scholar] [CrossRef]
  44. Seban, L.; Boruah, N.; Roy, B. Modified Single Layer Economic Model Predictive Control and Application to Shell and Tube Heat Exchanger. IFAC-PapersOnLine 2016, 49, 754–759. [Google Scholar] [CrossRef]
  45. Siza, J.; Llanos, J.; Velasco, P.; Moya, A.P.; Sumba, H. Model Predictive Control (MPC) of a Countercurrent Flow Plate Heat Exchanger in a Virtual Environment. Sensors 2024, 24, 4511. [Google Scholar] [CrossRef] [PubMed]
  46. Al-Samarrai, S.A.; Al-Nadawi, Y.K.; Hama, T.G.; Al-Gadery, T.A. Robust Adaptive Sliding Mode Controllers Design for a Non-Holonomic Mobile Robot. In Studies in Computational Intelligence; Springer Science and Business Media Deutschland GmbH: Berlin/Heidelberg, Germany, 2023; pp. 489–556. [Google Scholar] [CrossRef]
  47. Al-Samarraie, S.A.; Gorial, I.I.; Mshari, M.H. An Integral Sliding Mode Control for the Magnetic Levitation System Based on Backstepping Approach. IOP Conf. Ser. Mater. Sci. Eng. 2020, 881, 012136. [Google Scholar] [CrossRef]
  48. Utkin, V.; Guldner, J.; Shi, J. Sliding Mode Control in Electro-Mechanical Systems; CRC Press: Boca Raton, FL, USA, 2009. [Google Scholar] [CrossRef]
  49. Obeid, H.; Fridman, L.M.; Laghrouche, S.; Harmouche, M. Barrier Function-Based Adaptive Sliding Mode Control. Automatica 2018, 93, 540–544. [Google Scholar] [CrossRef]
  50. Abd, A.F.; Al-Samarraie, S.A. Integral Sliding Mode Control Based on Barrier Function for Servo Actuator with Friction. Eng. Technol. J. 2021, 39, 248–259. [Google Scholar] [CrossRef]
  51. MohammadRidha, T.; Al-Samarraie, S.A. A Barrier Function-Based Integral Sliding Mode Control of Heart Rate During Treadmill Exercise. Math. Model. Eng. Probl. 2023, 10, 179–188. [Google Scholar] [CrossRef]
  52. Hassan, M.R.; Al-Samarraie, S.A. Optimal Feedback Control for HVAC Systems: An Integral Sliding Mode Control Approach Based on Barrier Function. Math. Model. Eng. Probl. 2023, 10, 1053–1062. [Google Scholar] [CrossRef]
  53. Mohammad, A.M.; Al-Samarraie, S.A.; Jaber, A.A. Barrier Function-Based Integral Sliding Mode Controller Design for a Single-Link Rotary Flexible Joint Robot. Int. J. Smart Sens. Intell. Syst. 2024, 17, 1–16. [Google Scholar] [CrossRef]
  54. Cengel, Y.; Ghajar, A. Heat and Mass Transfer: Fundamentals and Applications; McGraw-Hill Science/Engineering/Math: Columbus, OH, USA, 2015. [Google Scholar]
  55. Bergman, T.L.; Lavine, A.S.; Incropera, F.P.; DeWitt, D.P. Fundamentals of Heat and Mass Transfer; Wiley-Interscience: Hoboken, NJ, USA, 2011. [Google Scholar]
  56. Eduardo, C. Heat Transfer in Process Engineering; McGraw-Hill Education: Columbus, OH, USA, 2010. [Google Scholar]
  57. Khalil, H.K. Nonlinear Systems; Prentice Hall: Hoboken, NJ, USA, 2001. [Google Scholar]
  58. Calmidi, V.V.; Mahajan, R.L. The Effective Thermal Conductivity of High Porosity Fibrous Metal Foams. J. Heat Transf. 1999, 121, 466–471. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of a double-pipe heat exchanger. (a) Parallel flow heat exchanger; (b) Temperature profile for parallel flow.
Figure 1. Schematic diagram of a double-pipe heat exchanger. (a) Parallel flow heat exchanger; (b) Temperature profile for parallel flow.
Energies 18 04671 g001
Figure 2. Heat exchanger cross section (a) without adding metal foam; (b) metal foam is added on outer periphery of iner pipe.
Figure 2. Heat exchanger cross section (a) without adding metal foam; (b) metal foam is added on outer periphery of iner pipe.
Energies 18 04671 g002
Figure 3. Control regions.
Figure 3. Control regions.
Energies 18 04671 g003
Figure 4. Schematic diagram of controlled heat exchanger based on BF-based SMC.
Figure 4. Schematic diagram of controlled heat exchanger based on BF-based SMC.
Energies 18 04671 g004
Figure 5. Overall thermal conductance U A vs. metal foam diameter ( D f o a m = s . D t o ).
Figure 5. Overall thermal conductance U A vs. metal foam diameter ( D f o a m = s . D t o ).
Energies 18 04671 g005
Figure 6. Outlet cold water temperature for different metal foam.
Figure 6. Outlet cold water temperature for different metal foam.
Energies 18 04671 g006
Figure 7. Outlet cold water temperature for different required temperature.
Figure 7. Outlet cold water temperature for different required temperature.
Energies 18 04671 g007
Figure 8. Outlet cold water temperature for different inlet cold water temperature.
Figure 8. Outlet cold water temperature for different inlet cold water temperature.
Energies 18 04671 g008
Figure 9. Outlet cold water temperature for different inlet cold water flow rate.
Figure 9. Outlet cold water temperature for different inlet cold water flow rate.
Energies 18 04671 g009
Figure 10. Outlet cold water temperature for different effective thermal conductivity.
Figure 10. Outlet cold water temperature for different effective thermal conductivity.
Energies 18 04671 g010
Figure 11. Outlet cold water temperature for stepwise required temperature s = 1.25 .
Figure 11. Outlet cold water temperature for stepwise required temperature s = 1.25 .
Energies 18 04671 g011
Figure 12. Hot water volume flow rate ( c m 3 / m i n ) .
Figure 12. Hot water volume flow rate ( c m 3 / m i n ) .
Energies 18 04671 g012
Figure 13. Outlet cold water temperature for different metal foam diameter.
Figure 13. Outlet cold water temperature for different metal foam diameter.
Energies 18 04671 g013
Figure 14. Settling time and hot water volume for different metal foam diameter ratio.
Figure 14. Settling time and hot water volume for different metal foam diameter ratio.
Energies 18 04671 g014
Figure 15. Settling time vs. different metal foam diameter ratio s .
Figure 15. Settling time vs. different metal foam diameter ratio s .
Energies 18 04671 g015
Figure 16. Sliding variable plot vs. time for different metal foam diameter ratio.
Figure 16. Sliding variable plot vs. time for different metal foam diameter ratio.
Energies 18 04671 g016
Figure 17. Hot water volume flow rate (the controller u ) for different metal foam diameter ratio.
Figure 17. Hot water volume flow rate (the controller u ) for different metal foam diameter ratio.
Energies 18 04671 g017
Figure 18. Outlet hot water temperature for different metal foam diameter ratio.
Figure 18. Outlet hot water temperature for different metal foam diameter ratio.
Energies 18 04671 g018
Figure 19. Outlet cold water temperature for stepwise required temperature s = 1.8 .
Figure 19. Outlet cold water temperature for stepwise required temperature s = 1.8 .
Energies 18 04671 g019
Table 1. Heat exchanger model parameter values [2,21,55]. * Effective thermal conductivity for water-saturated metal foam of 10 PPI thermal [58].
Table 1. Heat exchanger model parameter values [2,21,55]. * Effective thermal conductivity for water-saturated metal foam of 10 PPI thermal [58].
ParameterValueParameterValue
T h i 85   ° C D s i 0.108   m
T c i 20   ° C μ 855 × 10 6   N . s / m 2
c 0.0029   m 3 L 1.92   m
h 0.0043   m 3 k 0.671   W / m 2 . K
V ˙ c 2.5096 × 10 6   m 3 / s k e f f   * 7.6   W / m 2 . K
ρ c 966   k g / m 3 D t o 0.0548   m
ρ h 966   k g / m 3 D t i 0.0536   m
C p c 4204   J / k g . K u m a x 1.6667 × 10 5   m 3 / s
C p h 4204   J / k g . K
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

Ali, L.F.; AL-Samarraie, S.A.; Humaidi, A.J. Performance of Double Pipe Heat Exchanger—Partially Occupied by Metal Foam—Is Better Enhanced Using Robust Adaptive Barrier Function-Based Sliding Mode Control. Energies 2025, 18, 4671. https://doi.org/10.3390/en18174671

AMA Style

Ali LF, AL-Samarraie SA, Humaidi AJ. Performance of Double Pipe Heat Exchanger—Partially Occupied by Metal Foam—Is Better Enhanced Using Robust Adaptive Barrier Function-Based Sliding Mode Control. Energies. 2025; 18(17):4671. https://doi.org/10.3390/en18174671

Chicago/Turabian Style

Ali, Luma F., Shibly A. AL-Samarraie, and Amjad J. Humaidi. 2025. "Performance of Double Pipe Heat Exchanger—Partially Occupied by Metal Foam—Is Better Enhanced Using Robust Adaptive Barrier Function-Based Sliding Mode Control" Energies 18, no. 17: 4671. https://doi.org/10.3390/en18174671

APA Style

Ali, L. F., AL-Samarraie, S. A., & Humaidi, A. J. (2025). Performance of Double Pipe Heat Exchanger—Partially Occupied by Metal Foam—Is Better Enhanced Using Robust Adaptive Barrier Function-Based Sliding Mode Control. Energies, 18(17), 4671. https://doi.org/10.3390/en18174671

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