1. Introduction
Thermal energy storage (TES) has found essential applications in the automotive, power generation, buildings, and food industries [
1]. TES technology has shown great potential to regulate the difference between the supply and demand chain. TES technology promotes the flexibility, efficiency, and reliability of thermal energy systems by regulating real-world heat sources’ fluctuation and intermittency nature [
2]. Latent thermal energy storage (LHTES) utilizes the latent heat of fusion and store/release thermal energy at a constant temperature in a compact space. Thus, LHTES systems are promising for large- and small-scale applications. LHTES units have been utilized in buildings [
3,
4], solar systems [
5], solar air heating [
6], solar dryers [
7], and waste heat recovery [
8].
Although LHTES systems can store/release a considerable amount of latent heat at a constant fusion temperature, they suffer from poor thermal conductivity of conventional phase change material (PCM) [
5,
9]. Thus various methods, such as using fins [
10,
11,
12], nanoparticles [
13,
14], metal foams [
15,
16], or a combination of these methods [
17]. Embedding PCMs in open-cell metal foams is an excellent approach for improving the heat transfer performance of LHTES systems, which has attracted the attention of recent researchers [
18]. However, metal foams do not undergo a phase change and cannot contribute to latent heat TES. Moreover, metal foams are made of thermally conductive metals such as copper, aluminum, and nickel, which increase the cost and weight of the LHTES unit. Thus, some researchers tried to utilize layers of metal foam to improve the system’s thermal performance by using a minimum amount of metal foam.
For example, Zhang et al. [
19] experimentally investigated the influence of using layers of metal foams in an enclosure. They also investigated the impact of utilizing different layers of metal foam on the heat transfer behavior of an LHTES unit. The results showed that filling the enclosure with metal foam up to 5/6 of its capacity improves heat transfer. Using different types of foam layers could also improve heat transfer. A metal foam layer with a high porosity should be placed next to the heated wall or at the top regions of the enclosure unit. Buonomo et al. [
20] studied the effect of a metal foam layer on the thermal performance of a shell-tube shape LHTES unit where the foam layer was placed on the tube. The authors examined the effect of various porosities in the range of 0.9–0.97 and various foam thicknesses on the melting time. An increase in the thickness of the foam layer could change the heat transfer regimes and reduce the melting time. Ge et al. [
21] utilized several optimized shapes of fins in a horizontal shell-tube shape thermal energy storage. They compared the advantage of fins with metal foams. They reported that using fins or metal foams (fully or half-filled enclosures) could improve the heat transfer rate by 3.3–5.8 times. They demonstrated that the topology-optimized fins could provide better thermal enhancement compared to metal foams. However, the production cost of optimized fins was higher. Hashem Zadeh et al. [
22] utilized different configurations of fin shape layers of metal foams to improve heat transfer in a horizontal shell-tube shape LHTES unit. A Y shape design could produce the best charging performance.
Some researchers tried to change the structure of metal foams and produce anisotropic metal foams with improved thermal conductivity in a direction. In this approach, the amount of metal foam is fixed, and the changes are applied to the internal structure of the foam. Bamdezh et al. [
23] examined the metal foam anisotropy on the thermal behavior of a thermal management system. The authors reported that an increase in the tangential conductance raises the phase change rate. Moreover, promoting axial thermal conductivity enhances heat transfer. Yu et al. [
24] explored the anisotropic properties of porous media with two different pore structures and found anisotropic characteristics important. Ren et al. [
25] reported the anisotropic thermal conductivity effects in a woven metal foam PCM composite. They reported a better thermal performance for an anisotropic than an isotropic for thermal energy storage applications. They found that a metal foam with engineered anisotropic properties could notably promote heat transfer performance and required material.
The few available literature works on anisotropic metal foams reveal the potential advantage of these materials for LHTES. However, there are only a few experimental or numerical investigations on the engineering design of LHTES units with anisotropic metal foams. The literature review showed that shell-tube type LHTES has many applications in solar energy storage systems. Thus, the present study aims to address the impact of foam anisotropic characteristics on the phase change behavior of shell-tube LHTES units for the first time.
2. Mathematical Model
A shell-tube type latent heat thermal energy storage stores/releases thermal energy in thermodynamic cycles. For example,
Figure 1 illustrates a view of a solar water heating system. In this system, a cold-water source supplies the building’s water demand. The cold water enters a hot water storage tank, providing hot water to the house. The water in the tank circulates in a cycle and goes through solar collectors in a solar heating cycle as water absorbs solar heat and its temperature rises. The excess solar energy can be stored in a compact space, an LHTES unit, in the form of sensible and latent heat. Thus, an LHTES cycle circulates the tanks’ hot water in the LHTES units and charges the PCMs inside the unit. Later, at any point, some of the tank’s water can be consumed by the building, and cold fresh water will enter the tank, causing a significant temperature drop in the hot water tank. In this case, the LHTES cycle circulates the middle-temperature water of the tank in the LHTES unit. Thus, the PCM in the unit releases its energy to the water and undergoes a solidification process.
The heat transfer capabilities of the LHTES unit it is an important factor in thermodynamic cycles since it dictates the required time to regulate the tank’s temperature. Here, it assumed that the thermal charging of LHTES is set at 70 °C, and the LHTES loops activate at this temperature. Thus, by neglecting the line energy losses, the inlet temperature to LHTES can be considered 70 °C.
The storage capacity of the cycle can be adjusted by using several parallel LHTES units. Since the units can be mounted in parallel, their thermal behavior can be similar, and thus, the present study focuses on the modeling and analysis of just one LHTES unit. A schematic view of the LHTES unit is depicted in
Figure 2. A shell-tube storage unit is filled by the anisotropic copper foam of porosity
ε. The thermal conductivity (
k) and permeability (
κ) of metal foam (MF) can be changed in perpendicular directions. The MF is filled by paraffin with a melting temperature of
Tf. The tube is made of copper with a nominal diameter of
D= (½)” or
D = (2.54/2) cm [
26]. A relative pressure
Pin drives the HTF water into the HTF tube at an entrance temperature of
Th. The LHTES unit is initially at a supper cold temperature
Tc. The tube’s outside diameter, inside diameter, and wall thickness are 1.59 cm, 1.34 cm, and 0.13 cm, respectively. The geometrical details of the shell are reported in
Figure 1 as a function of tube nominal radius (
R =
D/2).
2.1. Governing Equations
There are three regions of HTF, copper tube wall, and composite MF-PCM, which are physically coupled. The governing equation for the copper wall is the conduction heat transfer which can be written as in a cylindrical coordinate system:
where
ρ,
Cp, and
k are the tube wall’s density, specific heat capacity, and thermal conductivity, respectively. Moreover,
T and
t are the temperature field and time, respectively. The cylindrical coordinate system is introduced by the
r- and
z-axis, as indicated in
Figure 1. The subscript wall indicates the copper wall.
The governing equations for the HTF region are the continuity, momentum, and convection heat transfer as follows:
where the velocity components in the
r and
z directions are denoted by
ur and
uz, respectively. The fluid’s dynamic viscosity is
μ, and the subscript HTF represents the heat transfer liquid. Here, it was assumed that the thermophysical properties are constant. Moreover, the fluid flow is laminar (
ReHTF < 2000) where
ReHTF =
ρHTF ×
u ×
D/
μHTF, and
u =
. It should be noted that there is no gravity effect in the HTF governing equations since it was assumed that the HTF works in a closed loop, and the static pressure does not contribute to the fluid movement.
Regarding the composite MF-PCM, the metal foam is made of open cells, and thus the liquid PCM can move inside the pores. In the molten PCM, there are temperature gradients; hence, the buoyancy forces can induce natural convection flow circulation. Thus, the continuity and momentum equations should be solved along with the phase change heat equation to simulate the natural convection heat transfer with phase change. Here, the enthalpy porosity formulation is used to simulate phase change. Source terms as a function of melt volume fraction (
φ) are added to the momentum equation to force velocities to zero in solid regions. Here, a difference between the temperature of MF porous matrix (
TMF) and the temperature of the PCM (
TPCM) inside the pores was considered. Thus, a local-thermal non-equilibrium (LTNE) model was used to explain the temperature differences. Considering the non-Darcy effects and controlling source terms, the governing equations for continuity, momentum, and phase change heat transfer can be expressed as follows [
27,
28,
29]:
where κ and
CF are the porous permeability and Frochheimer parameter, respectively. The volumetric interstitial heat transfer coefficient (
hv) is introduced later using the pore scale Nusselt number. The subscripts MF and eff denoted the metal foam and effective properties, respectively. The symbols
β,
g, and
L denote the thermal volume expansion coefficient, gravity acceleration, and latent heat of fusion, respectively. The source terms containing
Amush and
λmush force the fluid velocity to zero in the solid regions. Thus, a substantial value of
Amush = 10
10 Pa.s/m
2 was adopted to adequately force the fluid velocities to zero by dominating the flow solution in solid regions.
Moreover, λmush = 0.001 was used to avoid a zero denominator in the source terms. The dynamic viscosity was considered as a function of melt fraction (φ) to better control the solver stability and force the velocity to zero in solid regions. Thus, the viscosity was introduced as μPCM = φ × μPCM,l + (1 − φ) × μa where μa is an artificially large viscosity value. It was adopted as 104 Pa.s in the current study. Using this formula, the viscosity tends to the typical dynamic viscosity μPCM,l when φ = 1 (liquid region), and it artificially increases to a substantial value in a solid region (φ = 0). Since the aim of source terms is to force the velocities to zero in a solid region, the artificial increase in the dynamic viscosity helps force the velocities to zero in a solid region. Moreover, such a dynamic viscosity formulation helps with the solver stability and facilitates numerical computations without impacting the physical model.
Equation (7a,b) represent heat transfer in the PCM and MF phases. The term
hv (
TMF −
TPCM) considers the thermal interaction of two phases. The effective thermal conductivities for PCM and MF are used in these equations since the pore structures influence these thermal conductivities [
30]. Melting volume fraction,
φ, is a function of PCM temperature as [
31]:
where Δ
Tf is the phase transition interval around the fusion temperature
Tf. MF’s thermal conductivity and permeability are anisotropic, and they can change in perpendicular directions. Supporting the MF ligaments in one direction enhances the thermal conductivity with the cost of reducing MF permeability. Hence, they have been introduced using a second-order tensor follows [
32]:
where κ
1 = (1 −
ζ)×κ
a, κ
2 = (1 +
ζ) ×
κa,
k1 = (1 +
ζ)×
ka, and
k2 = (1 −
ζ) ×
ka. The anisotropic angle,
θ, is defined in
Figure 2b, and it represents the angle of anisotropic MF placement in the enclosure. Here, ζ is the anisotropic factor, where ζ = 0 represents an isotropic MF. The anisotropic factor (ζ) cannot be too high since the MF should stay connected and continuous. Thus, in the present study, the anisotropic factor is adopted as a moderate value of ζ = 0.2 [
32]. The average permeability (κ
a) [
33] and average MF effective thermal conductivity (
ka) of the MF are computed using [
27,
30]:
where
kMF is the bulk thermal conductivity of MF material and
dfp and
κtor are introduced as [
33]:
in which,
dfp is computed using MF pore per inch (
PPI) property as [
33]:
The Frochheimer parameter is computed using [
33]:
The heat exchange between the PCM and MF was evaluated using the volumetric interstitial heat transfer coefficient as [
34]:
where
Nuv is the interstitial heat transfer Nusselt number introduced in a volumetric form [
35]. Then,
Nuv is computed for low pore scale Reynold numbers as [
34]:
where
Pr =
ρPCM ×
μPCM/
αPCM and
αPCM =
kPCM/(
ρCp)
PCM. The pore scale Reynold number (Re) was also introduced as
Re =
ρPCM × u
PCM ×
dfs/μPCM. Many past literature studies used different relations to estimate the Nusselt number. However, most of the available relationships are related to high values of the Reynolds number and typically
Re > 1. However, for the natural convection of PCM in MF, the circulation velocities are small, and Re is typically smaller than unity. Thus, a relation for the specific range of Re < 1 should be used. Therefore, here, the relation reported by Yao et al. [
34] was adopted. This relation was texted against the experimental observations and agreed well with the phase change in PCMs in MF. Equation (16) holds for 21 <
Pr < 41 and 0.929 <
ε < 0.974. Moreover, it should be noted that the heat transfer exchange (
Nuv) is not zero when the velocity is very small or zero since there is still an active thermal diffusion heat transfer which can play a significant role in the thermal exchange between the PCM and MF phases.
Finally, the effective thermal conductivity of PCM was also evaluated [
27,
30]:
A linear weight average was used to compute the thermophysical properties of the PCM in the mushy region:
where subscripts l and s indicate the PCM in the liquid and solid phases.
Table 1 summarizes the thermophysical properties of the tube, MF, and paraffin.
2.2. Initial and Boundary Conditions
The continuity of temperature and heat flux was considered for all coupled interfaces. For the MF region with LTNE conditions, the continuity of temperature was applied. For the continuity of the heat flux (
q), it was divided into two parts based on the volume fraction of each phase (porosity). Thus, the heat flux continuity at the interface of the tube wall and MF region was introduced as:
A uniform inlet temperature of Th was applied as T = 70 °C. A constant relative pressure for p = Pin was applied at the HTF intel boundary. The outflow condition with a relative pressure zero and −n.q = 0 was applied at the outlet where n is the normal vector to a surface. The shell walls are assumed well insulated with −n.q = 0. The no-slip and impermeability boundary conditions were employed for all boundary surfaces except the inlet and outlet boundaries which were explained. The entire LHTES unit was assumed at an initial temperature of Tc = 14 °C. A reference pressure point with zero relative pressure was considered at the bottom left corner of the shell space. The thermophysical properties of HTF fluid (water) and copper foam can be varied slightly by temperature variations.
Since the temperature variation is limited in the present study, the thermophysical properties were assumed constant except for the phase change material which undergoes a phase change. Moreover, the impact of the temperature variations on the density change was included in the buoyancy effect using the Boussinesq model in the liquid PCM.
2.3. Characteristics Parameters
The melting volume fraction shows the average amount of molten PCM in the enclosure, and it was defined as:
where
dV is the volume element of the shell domain. The average outlet temperature difference is introduced as:
where
A is the surface area of the outlet. The stored thermal energy was computed as the sum of sensible and latent heat:
The average velocity of HTF (ua) leaving the unit is computed as . It should be noted that the present study is an axis-symmetric model, and the 2D lines are axis-symmetric surfaces, and the 2D surfaces are indeed axis-symmetric volumes. Using the HTF average velocity, the HTF tube Reynolds number (ReHTF) is introduced as ReHTF = ρHTF × ua(Din)/μHTF where Din is the inside diameter of the HTF tube.
The energy storage power indicates the average power of thermal energy storage from the initial state (super cold PCM) to any given time during the charging process.
4. Results and Discussions
The impact of the MF anisotropic angle (
θ) and the inlet pressure
Pin were investigated on the charging time and the thermal behavior of the LHTES unit. As explained in the modeling section, the inlet temperature (Th) and anisotropic parameter (ζ) were kept constant. The anisotropic angle (θ) was addressed for −90°, −75°, −60°, −45°, −30°, −15°, and 0°, and positive values of these angles. The simulations were also performed for three inlet pressures (
Pin) of 5 Pa, 7.5 Pa, and 10 Pa. Moreover, three reference cases of ζ = 0 and
Pin = 5, 7.5, and 10 Pa were investigated. The investigated cases are summarized in
Table 3.
Figure 9 depicts the MVF and stored energy over time for various anisotropic angles. As seen, the decrease in the anisotropic angle from 90° to 0° accelerates the melting process and reduces the melting time. The results for negative angles are very close to similar positive angles. This is since the difference between the positive and negative angles is just the minor difference produced by sin(
θ)cos(
θ) terms in the thermal conductivity and permeability matrixes. An isotropic case, a reference case with the average porosity and permeability, was also simulated, and the results were added to this figure. The results show that the typical isotropic MF (reference case) can produce a melting process between the anisotropic MF when the anisotropic angle is |
θ| > 45°. However, the decline of the anisotropic angle below 45° down to 0° provides an accelerated melting process.
In practice, reaching different anisotropic angles is easy since it can change by the mounting-direction of the anisotropic MF in an enclosure. The reason for the improvement of melting heat transfer by the increase in anisotropic angle is attributed to the conductivity matrix. Using Equation (2), the thermal conductivity and permeability matrix can be obtained as follows for
θ = 0° and
θ = 90°:
where
k1 >
k2 and κ
1 < κ
2. Thus, for a case with
θ = 0°, there is a better thermal conductivity in the
r direction to transfer the heat from the HTF tube wall into the enclosure. Moreover, there would be a high permeability in the
z-direction, allowing the molten liquid to move in an upward direction and disperse the heat by the advection mechanism. In contrast, a case with θ = 90° provides minimal thermal conductivity in the
r-direction and minimal permeability in the
z-direction, which declines the advection and conduction mechanisms in the molten PCM. The same conclusion is proper for negative angles.
The stored energy shows the same trend as MVF since the thermal energy storage is dominated by latent heat energy storage. The sensible energy is also most significant in the liquid region, closely following the MVF. Thus, the highest energy storage rate can be seen for an anisotropic angle θ = 0 °C.
Figure 10 shows the temperature distribution and the interface for phase change heat transfer in the unit when the anisotropic angle is 0°. The temperature distribution is reported for the PCM (
TPCM) and MF (
TMF) phases. The temperature labels have not been added to avoid congestion. The contour levels are 2°, and the minimum and maximum temperature of each image were also reported above the image. The time of each image is also indicated below the image. As seen, the temperature differences between MF and PCM phases are not much. The differences are mostly next to the insulated wall. There is no temperature difference at the HTF tube wall, indicating accurate implementation of the continuity of temperatures at the boundary. The difference between the PCM and MF at the insulated wall is due to MF’s superior thermal conductivity, which better channels the heat into the solid regions. There are also slight temperature differences at the bottom due to the natural convection effects. They are significant at the final times, with a notable amount of liquid PCM and convection circulation flows.
The melting interface starts from the bottom, where the HTF enters the tube at the highest average temperature. Moreover, the convection heat transfer between the HTF flow and tube wall is highest in the entrance region. The heat reaches the PCM, and melting commences. Thus, the melting front develops from the bottom and extends toward the top right. Due to the presence of MF in the unit, the natural convection circulation is weak, and the melting front mainly progresses from the bottom.
Figure 11 shows the isotherms and melting front for an isotropic case with no anisotropic properties. The temperature difference between
TPCM and
TMF is almost similar to the anisotropic case of
θ = 0°, which was addressed in
Figure 10. The difference between isotherm lines near the bottom is more pronounced. The MVF maps also show that the interface moves toward the top right of the enclosure more slowly compared to the anisotropic case of
θ = 0°. A comparison between the melting interface of
Figure 10 and
Figure 11 at t = 4 h reveals a more solid area for the isotropic case (
Figure 11).
Figure 12 shows the temperature and melting maps for an isotropic case with
θ = 90°. The difference between
TPCM and
TMF lines is almost similar to previous images. However, the difference is more inclined to the vertical direction, where the thermal conductivity of MF is slightly higher in a vertical direction for this case.
Figure 13 plots the impact of anisotropic angle (
θ) and inlet pressure (
Pin) on the MVF, energy storage power, and stored energy when the melting fraction reaches 0.9. The value of
MVF = 0.9 was selected for analysis since, at this number, most of the enclosure is in a liquid state, representing the unit’s thermal behavior next to a full charge level. When the enclosure reaches a fully charged level (
MVF = 0.999), there is no solid PCM left, and the unit behavior is mainly dominated by a small variation of sensible heat. Thus, an appropriate state next to the fully charged state, i.e.,
MVF = 0.9, was adopted to investigate the impact of control parameters on the thermal behavior of the unit.
Figure 13a shows that the increase in inlet pressure notably reduces the charging time. Regardless of the inlet pressure, the charging time is minimal for an anisotropic angle
θ = 0°. This finding agrees with the findings of
Figure 9 for a fully melted unit when
Pin = 5 Pa. For the optimum anisotropic angle θ = 0°, increasing the inlet pressure from 5 Pa to 7.5 Pa (a 50% increase) reduces the melting time from 273 min to 247 min. Thus a 50% increase in the inlet pressure could save the charging time by 9.5%. For an inlet pressure of 10 Pa, the optimum melting time was 230 (min), which is only 15.7% lower than that of
Pin = 5 Pa. The Reynolds number for the inlet pressures of 5 Pa, 7.5 Pa, and 10 Pa was 1054, 1628, and 2233, respectively.
Moreover, a semi-symmetric behavior for negative and positive angles can be observed. The maximum charging time corresponds to anisotropic angles +90° and −90°. These trends agree with the results of
Figure 9 for a fully charged enclosure.
The energy storage power (
Figure 13b) shows a similar trend of behavior to the charging time but in reverse.
Figure 13c shows the amount of stored energy. There are small energy fluctuations (<1%) for various inlet pressure and anisotropic angles when the enclosure reaches a charging state with MVF = 90%. These fluctuations are primarily due to the sensible heat energy, a function of the unit’s local temperature distribution. Most of the enclosure is in a liquid state, with slight temperature variations in the liquid phase. Thus, since there are slight variations in the amount of stored energy, the behavior of the energy storage power is almost proportional to the inverse of melting time (
Figure 13b). The maximum energy storage power for the unit is 119.9 W, obtained for
Pin = 10 Pa and
θ = 0°. The reference lines for an enclosure filled by an isotropic metal foam are also plotted in all sub-figures of
Figure 13.
Figure 13a,b show that an anisotropic angle below 45° (|θ| < 45°) could reduce the melting time and increase the charging power compared to an isotropic metal foam design.
The charging time (MVF = 0.9) for the isotropic metal foam was computed as 292 min, 266 min, and 249 min for inlet pressures of 5 Pa, 7.5 Pa, and 10 Pa. An optimum anisotropic design (θ = 0°) could reduce the charging time to 273 min (6.5%), 247 min (7.1%), and 230 min (7.6%). Considering all inlet pressures, the improvements average is about 7%. The same improvement can be seen for energy storage power. Thus, compared to an isotropic metal foam design, an anisotropic property (ζ = 0.2) could improve the unit’s thermal performance by about 7% without impacting the unit’s thermal energy storage capacity or adding weight.
5. Artificial Intelligence and Optimization
A neural network (NN) is a set of algorithms that attempt to discover fundamental relationships in a group of data through a process that mimics how the human brain works. Thus, a NN can be explained as a system of organic or artificial neurons. A “neuron” in a NN is a function introduced mathematically, which renders information following its specific architecture. Thus, such NN is analogous to statistical methods such as regression and curve fitting [
46]. Since the neurons in a mathematical neural network are introduced artificially, the resulting network is an Artificial Neural Network (ANN).
NNs are capable of adapting to variable inputs and thus providing accurate outputs. A NN contains layers of interconnected nodes (perceptron) and activation functions. A feed-forward neural network, which was utilized in the present study, sends information in one direction through its entry node and processes them in a unidirectional fashion until they reach the output node [
46].
The computational time for each simulation was reported in
Table 2. It was observed that the computational time for the numerical experiments was more than one hour. This means, each simulation for a set of the design parameters, i.e.,
Pin and
θ, takes more than an hour. Therefore, finding an accurate numerical relationship between the design parameters and the melting behavior (MVF) was computationally expensive. Here, the ANN is used to find an accurate map between the design parameters and the design target at a low cost.
In order to train the ANN, the melting process data for cases 1–39, consisting of 4998 sample data, were fed to a neural network to learn the relationship between the input control variables of inlet pressure (
Pin), anisotropic angle (
θ), and melting time (
t), and the target data (
MVF). The melting instances were captured from simulation data at each 2.5 min instance until a full melting reaches. Then, the ANN was trained and used to learn the relationship between the input and target data. The size of the training database was 4998 samples which were divided into 70% training, 15% test, and 15% validation.
Table 4 shows the list of input and output variables.
The Levenberg–Marquardt optimization, which is a network training function that updates weight and bias values, was used. This method is one of the fastest supervised algorithms, which uses the backpropagation algorithms for training. Training record (epoch and performance) returned as a struct whose fields depend on the network training function. A trained neural network structure contains the following parts: (1) Training, data splitting, and performance functions and parameters; (2) Data split index for training, validation, and test sets; (3) Data split mask for training validation and test sets; (4) Number of epochs and best epoch; (5) A list of training state names (states); (6) A field for each state name that records the value during training; and (7) Best network performance such as train, validation, test and best.
Some studies, such as [
47,
48], utilized systematic a hyper-parameter method to select the ANN details. However, in the present study, some preliminary investigations on the number of neurons and the number of hidden layers were performed manually. It was noted that using two hidden layers with many neurons results in excellent training data, but results in an overfit and deteriorates the validation predictions. Thus, only ten neurons with a single hidden layer were used to avoid overfitting issues. Since the utilized neural network was fairly simple and could well predict the physical model no further investigations were seem necessary for fine-tuning the ANN parameters.
Figure 14 shows the structure of the utilized neural network, which consists of ten neurons in its first hidden layer and an output layer made of one neuron.
Figure 15 depicts the neural network prediction accuracy for the test, training, and validation aspects. It should be noted that the validation data should not be just used for validation [
49] and not be fed to the ANN during the training or other processes. Here, the validation data were independent of the training process, but it was just plotted in the same figure for sake of representation. As seen, the ANN learns to predict the results after a few epochs very well. The validation process consists of results for cases that the ANN has never seen during the training and test process. Thus, this index can show the reliability of the ANN in estimating the solution field. The best validation was achieved after 58 epochs; hence, this state was adopted as the best state of ANN for producing the maps of MVF as a function of control parameters.
Figure 16 contains the subplots for the train, test, and validation data details. The
y-axis shows the normalized estimated output while the
x-axis shows the amount of normalized target (CFD) value for each sample. This figure shows that the ANN estimated most of the data with excellent accuracy.
The trained ANN was used to produce maps of MVF as a function of control parameters.
Figure 17 depicts the contours of MVF for various anisotropic angles and inlet pressures. The MVF was simulated using the trained ANN. The inlet pressure was adopted in the range of 5 Pa–10 Pa with intervals of 1 Pa, while the anisotropic angle was in the range of −90° to +90° with an interval of 10°. The plots were created for hourly melting intervals of 2 to 5 h. Based on the previous data, an anisotropic angle of 45° provides similar data to a uniform metal foam with no anisotropic properties. A zero anisotropic angle can provide the melting volume fraction at a low inlet pressure comparable with a much higher inlet pressure but with anisotropic angles about 45° or higher. Thus, an optimum anisotropic angle can promote MVF without adding weight to an LHTES unit.
6. Conclusions
The impact of utilizing an anisotropic metal foam on the melting behavior of a PCM was addressed in a shell-tube latent heat storage unit. The permeability and thermal conductivity were a function of anisotropic intensity and angle. A two-equation heat transfer model, based on the local thermal non-equilibrium approach LTNE model, was employed to capture the metal foam and PCM temperatures. About 40 numerical experiments were executed, and the impact of the anisotropy angle (between −90° and 90° with an anisotropy factor ζ = 0.2) and the HTF inlet pressures on the melting behavior were examined. Results are compared to a reference case of isotropic permeability and conductivity. An artificial neural network was utilized to learn the transient behavior of the melting heat transfer in the LHTES unit. Then, the neural network model was used to discuss the critical impact of control parameters on the melting rate.
Results showed a decrease in the anisotropy angle from = 90° to 0° accelerates the melting rate. Nevertheless, the typical isotropic MF (reference case) can produce a melting process between the anisotropic MF when the anisotropic angle is |θ| = 45°. However, increasing the anisotropic angle above 45° to 90° slows the melting process.
The increase in the inlet pressure of the HTF from 5 Pa to 10 Pa accelerates the melting process by about 16% for the optimum angle of anisotropy θ = 0° and increases the storage capacity. Hence the maximum storage power is achieved for θ = 0° and Pin = 10 Pa.
The feed-forward neural network successfully learned the transient behavior of MVF from 4998 sample data with an R-value greater than 0.99. Using the ANN, hourly maps of MVF as a function of pressure and anisotropic angles were produced. Using the MVF maps, the advantage of anisotropic angle versus pressure drop was discussed. During the whole melting process, using a zero-angle anisotropic MF could significantly accelerate the melting process compared to a uniform MF.