## Abstract

This chapter validates the capability of CFD modelling technique to accurately describe processes in the thermal storage system with the PCM. For validation purposes, CFD modelling using FLUENT ANSYS was conducted and the predicted results were compared with the experimental and numerical data from the literature. The comparison between experimental and numerical results was carried out in terms of the temperature distributions and average volume of the PCM liquid fraction. Additionally, the detailed parametric study of the storage system with the PCM was performed and results obtained were discussed with dimensional correlations for the Nusselt number being proposed to be used in the designing process. Finally, a correlation was developed to estimate the total melting time at the thermal storage system.

### Keywords

- CFD
- PCM
- thermal storage system
- Nusselt number
- paraffin
- FlUENT/ANSYS

## 1. Introduction

The thermal energy storage systems can be classified into several main groups, namely thermochemical storage, sensible heat storage and latent heat storage, or combination of these both [1]. The energy is stored in the latent heat storage systems regarding the phase change of materials as a constant or nearly constant temperature. It is critically reviewed in several recent publications that the PCM thermal storage system is one of the most efficient heat storage methods because it provides a considerable amount of energy during the charging and discharging process compared to that of the conventional sensible heat energy storage.

This means that the latent heat storage system using a PCM requires a much smaller volume of materials to store a certain amount of energy. Recently, several studies have been carried out to study the thermal behaviour of PCM thermal storage systems using FLUENT. Al-Maghalseh [2] conducted a comprehensive review of the heat transfer enhancement methods in the thermal storage systems using PCM. Several techniques of heat transfer intensification methods were discussed in details, including both experimental and numerical studies for fins, fins materials and geometry, filling materials, nano-fluid, nano-particles, microencapsulation and thermal conductivity enhancement. Another study by the same author [3] numerically studied the effects of natural convection on the heat transfer of the PCM thermal storage system. He found that the natural convection has a considerable effect on the heat transfer inside the storage system, and therefore reducing the total melting time of the PCM. A detailed review of energy storage using PCMs has been performed in [4, 5, 6, 7, 8] as well as Perez-Raya [9], Joybari [10], Riahi [11], Kozak [12], Liu [13], and Mario [14].

Jian et al. [15] developed a numerical model to predict the transient thermal behaviour during charging and discharging processes of a latent thermal storage unit involving a triplex concentric tube with the PCM filling the middle channel Freeman et al. [16] carried out some investigations into a small-scale solar organic ranking cycle (ORC) with integrated PCM thermal energy storage(TES) unit. The system was examined for selected months in the contrasting climates of Cyprus and the UK. The performance indicator of the ORC engine and the required TES volume with and without the PCM are compared and discussed. It was found that the system with evacuated flat-plate collectors has a better performance compared with using low-cost evacuated-tube heat-pipe collectors. Furthermore, using PCMs for the TES shown better performance and a smaller equivalent storage volume than water.

Dal Magro et al. [17] used the PCM to improve the efficiency of the ORC system operating under thermal power fluctuations. He found that using the PCM allows the capacity factor to increase from 38–52% and the average thermal efficiency to increase from 15.5% to 16.4%. Sagar et al. [18] developed a numerical model for ORC based solar thermal power plant integrated with latent heat thermal energy storage system. Shell and tube latent heat thermal storage system was designed to generate 200 kW during the discharging process. However, the overall performance of the solar thermal power plant was evaluated for ten days of operation. Another study by Manfrida et al. [19] developed a simulation model for PCM thermal storage system coupled with solar-powered ORC. The study examined the thermal performance of the system over several conditions. Further, a case study for the operating of the system during one week was numerically examined. The results clearly showed that the system we able to provide power in 78.5% of the time, with weekly averaged efficiencies of 13.4% for the ORC unit, and 3.9% for the whole plant. A simple numerical method, called, the temperature and thermal resistance iterations, was used in the numerical calculation. The data from the numerical model was then compared with experimental results, and a good agreement was observed. Ho and Chen [20] also developed a numerical model for the melting of ice around a horizontal isothermal cylinder. The model’s results were compared with experimental data published by White in [21], and a good agreement was found. It was concluded that the melting process of ice is strongly affected by the changing recirculation occurring in the molten water. Another numerical model of melting around a horizontal pipe was developed by Rieger et al. [22]. The numerical solution was obtained for Rayleigh numbers (Ra) up to 1.5 × 10^{5}, Stefan numbers in the range of 0.005 ≤ Ste ≤0.08, and for Pr=50. It was found that the natural convection is the dominant process in the heat transfer mechanism throughout almost the entire melting process.

Trp studied the transient heat transfer in the shell-and-tube thermal storage system in an experimental and numerical study [23, 24]. He developed a mathematical model based on the non-isothermal phase transition, and it was implemented as a FORTRAN computer code. The numerical results were validated with experimented data, and it was concluded that heat transfer from the HTF to the PCM was low due to the large Prandtl numbers of the HTF. Therefore, a large amount of heat was carried downstream with the HTF, whilst a small amount of heat was transferred to the PCM upstream. The same author [25] numerically investigated the effects of several geometrical parameters and different HTF operational conditions on heat transfer during both melting and solidification processes by measuring the transient temperature distribution of the HTF, PCM and tube wall.

This chapter presents the results of the 3-D CFD modelling of the PCM in the shell-and-tube thermal storage system. Then, the numerical results obtained by the CFD were compared with the experimental and numerical data from the literature. Finally, a detailed parametric study of heat transfer processes in the melting PCM was carried out and results were discussed.

## 2. Validation of the FLUENT model with the experimental case study by Lacroix

Lacroix [26], conducted a series of experiments to study the heat transfer performance of the shell-and-tube thermal storage unit using PCM. The PCM installed on the shell side, while the Heat Transfer Fluid (HTF) flowing inside the tube. The effects of several thermal and geometric parameters on the heat process were investigated. The schematic diagram of the model is presented in Figure 1. The PCM fills the shell with the diameter of D_{e}, whereas the HTF flows through the tube with a diameter of Di. The PCM is commercially available material * n-Octadecane*. The thermophysical properties of the

*are presented in Table 1.*n-Octadecane

Properties | Value |
---|---|

Liquid density, _{l} | 814 kg/m^{3} |

Solid density, _{s} | 814 kg/m^{3} |

Liquid Thermal conductivity, _{l} | 0.148 W/(m^{o}C) |

Solid Thermal conductivity, _{s} | 0.358 W/(m^{o}C) |

Liquid specific heat, _{l} | 2200 J/Kg ^{o}C |

Solid specific heat, _{s} | 1900 J/Kg ^{o}C |

Latent heat, | 243.5 KJ/Kg |

Viscosity, | |

Thermal expansion coefficient, | 0.00091 1/K |

Melting Temperature, _{m} | 300.7 K |

Figure 2 illustrates the test unit scheme. Two concentric tubes were used. The inner tube (D_{i} = 12.7 mm, D_{o} = 15.8 mm, and L = 1 m) is made of copper, and outside tube (D_{i} = 25.8 mm, and L = 1 m) is made of Plexiglas. Thick pipe insulation (Rubates Armstrong Armflex II) was used to isolate the system. The space between two tubes was filled with * N-Octadecane as a PCM,*while water was used as an HTF. An electrical heater inside a tank was used to maintain the inlet temperature of the HTF. Then, the HTF was circulating inside the copper tube with the mass flow ranging from 0.03 to 0.07 kg/s. Three thermocouples were used to record the temperature inside the PCM at different locations. Further, two thermocouples being used to record the inlet and outlet temperature of the HTF. A data acquisition unit was used to record the thermocouples signals into a PC. Finally, the storage unit was positioned vertically to depress the natural convection effects on the heat transfer inside the system.

For the validation purpose, Lacroix’s experiments were numerically restudied using the ANSYS FLUENT software. In the preliminary simulations, different grid sizes and time steps were carefully examined to obtain computational grid convergence. The computational grid was constructed using 282504 hexahedral elements and boundary layers were used surrounding the pipe. Transient simulations were run using the * k-epsilon*turbulence model and the time step used in calculations was set to 0.1 s. To study the phase change phenomena in the PCM, the solidification/melting model was enabled. The first-order upwind spatial discretization and the pressure solver with the PRESTO algorithm for pressure–velocity coupling were selected to obtain a converged solution. Convergence criteria were established by setting the absolute residual values to 10

^{−6}for energy and 10

^{−3}for all other variables. Zero heat flux boundary conditions were set on all sides of the shell. The mass flow rate and temperature of the HTF were specified at the inlet of the copper pipe. The mathematical formulations for solving PCM related problems have been categorized [30] as fixed grid, variable grid, front-fixing, adaptive grid generation, and enthalpy methods. Two methods are used to analyse the heat transfer in solid-liquid PCMs. These are the temperature-based and enthalpy-based methods. In the former, temperature is considered to be a single dependent variable. The energy equations for both solid and liquid are formulated separately; and thus the solid-liquid interface positions can be tracked easily to achieve an accurate solution for the problem [31, 32].

An enthalpy-porosity method is used for modelling the solidification/melting process [33]. This technique is described in detail by Voller and Prakash [32, 34].

The energy conservation equation for this case is written as:

The enthalpy of the material is calculated as the sum of the sensible heat, * h*, and latent heat,

*:*ΔH

The sensible heat is calculated as:

The latent heat is also calculated as:

The liquid fraction,

The solid and liquid temperatures are also calculated as

The source term in the momentum equation can be written as [33]:

Due to Darcy’s law damping terms as a source term are added to the momentum equation because of the effect of phase change on convection, whereas * ε*is a small constant number (0.001) used to prevent division by zero and

^{4}and 10

^{7}are recommended for most computations [33]. In the present study, the mushy zone was set to 10

^{5}.

The liquid velocity can be calculated by the following Equation [33]:

The validation of the CFD model was carried out by comparing numerical results from ANSYS FLUENT to experimental data obtained by Lacroix [26]. The comparison was carried out for three different cases during the melting process. These are for three different HTF inlet temperatures above the melting temperature of * n-Octadecane*by 5, 10 and 20 K. The HTF mass flow rate was maintained at a constant value of 0.0315 Kg/s. Figures 3-5 show the temporal temperature variations in the experiment and CFD data at locations T1 (h = 0.51 m, r = 0.002 m) and T2 (h = 0.95 m, r = 0.001 m) inside the PCM. It is clearly shown that the predicted numerical results of the temperature follow the experimental trend in Lacroix [26]. The main discrepancies between the numerical and experimental results can be attributed to the measurements uncertainties and the difference in the PCM physical properties in the solid and liquid phase. Furthermore, CFD numerical results on the evolution of the liquid fraction in the PCM were compared with calculations of Lacroix [26]. Figure 6 shows the variation of molten volume fraction of the PCM in the test unit as a function of time. The outer diameter (

*) of the storage unit is 22 mm, the inside tube diameter (*D

_{e}

*) is 12.7 mm, and the storage length (*Di

*) is 1 m. The HTF mass flow rate in simulations ranges from 1.5 × 10*L

^{−4}to 1.5 × 10

^{−2}and the HTF inlet temperature was 20 K above the PCM melting temperature. It can be seen in Figures 7-9, the current CFD results are in a very good agreement with calculations of Lacroix [26]. In general, comparison of CFD results with results presented in Lacroix [26] demonstrated that the developed CFD model accurately describes processes taking place in the experimental test rig and therefore can be used with confidence for further transient heat transfer simulations in the shell-and-tube latent thermal storage unit.

## 3. Heat transfer performance

The heat transfer performance of the storage unit was numerically examined during the charging process. Figure 7 shows the numerical results of the temperature and liquid fractions along the storage unit axis during the charging process when the elapsed time is 350 seconds (the inlet temperature of the HTF is 320 K, the mass flow rate is 0.0315 Kg/s).

It can be seen that the highest temperature of the PCM can be observed at the domain’s top region close to the inlet of the HTF and can rise gradually in the regions closed to at the vicinity of the tube walls. Therefore, the top part of the domain converted into a liquid first and later on, melting expands to lower regions on the domain. Figure 8, illustrates the temperature variation in the PCM for three different radial locations. As expected, the higher temperatures are noticed in the regions close to the surface of the wall with the HTF, where the melting process takes place first. The temperature variations along the axis at the outer surface of the HTF tube are shown in Figure 9. It can be seen that higher temperatures exist at the domain’s top. This is mainly because the HTF flows from the top to the bottom and thus the temperature rises faster at the vicinity of the tube walls close to the inlet. At this period, the effect of natural convection is not profound yet.

The effect of HTF inlet temperature on the melting process is demonstrated in Figure 10. It can be seen that the inlet temperature of the HTF considerably affects the rate of the melting and the PCM temperature distribution. The increase in the inlet temperature of the HTF leads to a rise in the temperature difference between the tube walls and the bulk of the PCM and thus enhance the heat transfer rate. It results in the faster rise of the liquid fraction and decreases the total melting time. Figure 11 shows that the time for completion of melting for the HTF inlet temperature of 305 K is 2974 s, for 310 K this time is reduced to 1617s and finally, for 320 K, the time of melting is only 963 s. Therefore, the total melting time is reduced approximately by 68% when the inlet temperature is increased from 305 to 320 K and by 45.6% when the inlet temperature is increased from 305 to 310 K.

Figure 12 demonstrates the effect of the HTF flow rate on the meting process. It can be seen that the flow rate accelerates the melting process due to the increased heat transfer rate. It can be seen from Figure 13 that when the flow rate increases from 0.000315 to 0.00315 kg/s, the PCM melting time is reduced from 2781 to 1173 s (reduction by 57%). Also, the melting time is reduced by 17.8% when the mass flow rate increases from 0.00315 to 0.0315 kg/s. The effect of the HTF mass flow rate rise is less profound when compared with the effect of the rise in the HTF inlet temperature. This is demonstrated in Figure 14 using temperature distribution counters and the PCM fluid fraction evolution diagrams.

## 4. Effect of natural convection

To study the effect of the natural convection, the system needs to be installed in the horizontal position. Several points were created inside the computational domain to monitor the variation of the temperature inside the PCM during numerical CFD modelling. These monitoring points are placed in three planes, which are perpendicular to the axis of the system and located at distances of 0.07, 0.51 and 0.95 m from the front of the system (see Figure 1). Figure 15 indicates the locations of monitoring points in the plane at a distance of 0.07 m from the front of the system.

Figure 16 shows the temperature variation at some of the monitoring points at the front plane of the system with the PCM for the case when the inlet temperature of the HTF is 320.7 K and the mass flow rate is 0.0315 kg/s. It can be seen that initially, the temperature increases rapidly from 280 to 299 K due to the heat transfer from the pipe walls to the solid PCM by conduction. The temperatures at monitoring points u1, r1, and b1 rise more rapidly due to their proximity to the pipe. Temperatures in monitoring points u3, r3, and b3 rise considerable slower since these points are located on the edge of the storage unit. During the melting process the temperature increases from 299 to 300.7 K and equalise at all monitoring points. Initially, during the melting process, a thin liquid layer is formed between the pipe and the solid PCM. Gradually, the solid–liquid interface expands in the axial and radial directions and the melting then is dominated by natural convection in the PCM’s liquid regions. The melting process is intensified in the upper regions of the container, resulting in higher temperature recordings at the top of the computational domain (point u1).

The velocity vectors in the liquid pure PCM are shown in Figure 17 for the elapsed time of 300, 400 and 550 s. It can be seen that the molten PCM ascends upwards from the top regions at the centre of the unit and then after cooling flows downwards to complete the natural convection circle. The convection is intensified as the liquid fraction volume increases. The velocity magnitude gradually decreases in time due to a reduction in the temperature difference in the molten PCM. These results are in good agreement with the results of several experimental and numerical investigations [35, 36, 37].

## 5. Average heat transfer coefficient

The local heat transfer coefficient could not be estimated accurately for the present thermal storage system as there is a temperature difference between the outer surface of the HTF pipe and the PCM along with both axial and radial directions. Consequently, the average heat transfer coefficient for the melting process is calculated instead using the following Equations [38] for the temporal heat transfer coefficient

where the surface area of HTFP is calculated using the following equation:

The heat transfer rate (* q*) in the thermal storage can be calculated through the HTF’s enthalpy reduction rate in the HTF [39]. This enthalpy reduction can be calculated through the following equation:

where, * T*and

_{i}

*are the HTF’s inlet and outlet temperatures respectively.*T

_{o}

The average heat transfer coefficient is:

where T_{u1} and T_{u2} are the PCM temperature at points u1 (first measurement plane) and u2 (last measurement plane); T_{w1} and T_{w2} are the pipe wall temperatures at the same corresponding measurement planes.

Finally, the temporal Nusselt number (* Nu*) is used to quantify heat transfer and this can be calculated using the following equation:

The time-averaged Nusselt number

Different cases were analysed with various system’s geometrical and thermophysical parameters. To generalise results it is vital to characterise them in the dimensionless form. More details about the dimensional parameters calculation and analysis can be found at [32].

The heat transfer coefficient values were calculated for the top, side and bottom regions of the storage unit for several cases during the melting processes.. Figure 18 present results on the heat transfer coefficient changing as a function of time for the PCM during the case when the inlet temperature of the HTF is 320.7 K and the mass flow rate is 0.0315 kg/s. It can be seen that the heat transfer coefficients for both top and side regions increase with time. This agrees well with the initial solid PCM’s temperature rise followed by the melting process. The higher heat transfer coefficient values can be observed in the top regions of the system. This can be attributed to the effect of natural convection. For the longer elapsed times, the heat transfer value stabilises. This is because the temperature distribution becomes more established within the PCM body when the system reaches the steady-state operation. At this stage, the majority of the PCM is melted and a very small part of it, which is close to the bottom regions of the unit, maybe in the solid-state.

The average heat transfer coefficient values for various HTF inlet temperature and flow rates were obtained and used to calculate the Nusselt number for the pure PCM. The flow rates of the HTF considered were 0.000315, 0.00315, 0.005, and 0.0063 Kg/s. The HTF inlet temperatures used in the modelling are 305, 310, and 320 K. To derive generic heat transfer correlations, the Nusselt numbers were calculated at the top, side and bottom regions of the storage unit. Thereafter, the average Nusselt number value for all regions is calculated. Figures 19-21 show the results of these CFD modelling. As it can be seen in Figure 19, the Nusselt number increases with the rise in the Stefan number (see Eq. 18) which is proportional to the difference between the inlet temperature of the HTF and the melting temperature of the PCM (the increase in the inlet temperature of HTF increases the Stefan number). Similar observations can be made concerning the Rayleigh number (see Eq. 19), see Figure 20. The Rayleigh number is also proportional to the difference between the inlet temperature of the HTF and the melting temperature of the PCM.

Figure 21 show that the Nusselt number decreases with the rise in the Fourier number (see Eq. 20). The Fourier number is proportional to the melting time. However, an increase in the inlet temperature and flow rate of the HTF will lead to a decrease in the total melting time, and thus, reduce the Fourier number.

The average Nusselt numbers in the system are presented in Figure 19D** ,**20D, and 21D. This data was used to derive the Nusselt number correlations for the pure PCM. The correlations are derived as a function of the Stefan, Fourier, and Rayleigh numbers.

The Nusselt number for the pure PCM is (

The correlation between the numerically obtained and calculated using Eqs. (20) is shown in Figure 22. It can be seen that the Nusselt number varies between 2 and 4.3 for the system under investigations. The lower Nusselt numbers are for the low HTF inlet temperature, and the high Nusselt numbers values are obtained at the high HTF inlet temperatures. The total melting time of the PCM can then be calculated using the following formula (R^{2} = 0.966)

## 6. Conclusions

The 3D CFD simulation model was developed for shell-and-tube thermal storage system using FLUENT/ANSYS. For the validation purpose, the results from the numerical model were compared with the experimental results of Lacroix [26]. The results show that a considerable agreement between the numerical and experimental results. Therefore, the results demonstrate that the developed CFD model accurately describes processes taking place in the experimental test rig and therefore can be used with confidence for further transient heat transfer simulations in the shell-and-tube latent thermal storage unit. 3D CFD simulations were performed for a range of the HTF inlet temperature values and its mass flow rate. Thereby, the results were used to derive Nusselt number correlations as a function of Stefan, Rayleigh and Fourier numbers to take into account the effect of all design and operational conditions. The Nusselt number for the system with the pure PCM was found to be (

The total melting time of the PCM can be estimated by (R^{2} = 0.966)

## Nomenclature

Area (m^{2})

A

_{Mush}

Mushy zone constant

C

_{P}

Specific heat (J/Kg^{o}C)

Diameter

Gravitational acceleration

Grashof number

h

Sensible enthalpy (J)

H

Enthalpy

Height

h

_{ref}

Reference enthalpy

k

Thermal conductivity (W/m^{o}C)

k

_{eff}

Effective thermal conductivity

Latent heat (Kj/Kg)

Length

The logarithmic mean temperature difference

m

Mass in each space (Kg)

Mass flow rate

Nusselt number

Prandtl number

q

Heat transfer rate

Radial coordinate

Rayleigh number

Reynolds number

Source term

S

_{h}

The heat from any volumetric sources

S

_{m}

Mass source

Stefan number

Time (s)

Temperature

T

_{ref}

Reference temperature

u

X velocity components (m/s)

v

Y velocity components (m/s)

v

_{n}

Normal components of the velocity of the interface

v

_{r}

Radial velocity component

v

_{x}

Axial velocity component

w

Z velocity components (m/s)

Width

x

Axial coordinate

Contribution of the fluctuating dilatation incompressible turbulence to The overall dissipation rate

## Greek symbols

ρ

Density (

Coefficient of thermal expansion (1/K)

μ

Viscosity (

Liquid fraction

α

Permeability

ϕ

Volumetric fraction