Introduction

Due to the intensified energy crisis and the increasing environmental issues, energy storage technology using phase change materials (PCMs) has received much attention [1,2,3]. Fatty acids, such as lauric acid (LA), have the advantages of low cost, high latent heat, low supercooling degree, wide availability and excellent thermal stability [4, 5]. Moreover, their major disadvantage is the low heat transfer rate. Many methods are proposed to solve this problem, such as dispersing various carbon materials [6, 7] or porous materials into PCMs [1, 8] and preparing encapsulated materials [9, 10].

CNTs, well known for having high thermal conductivity (2000–6000 W m−1 K−1) [11], are mainly used as an effective nano-filler for enhancing thermal conductivity [12,13,14]. However, there is limited research on using the hollow cavity of CNTs to study heat transfer. The massive studies have proved substances exhibit the unique behaviors under the confinement condition [15,16,17]. Calorimetric studies evidenced that poly(ethylene glycol), encapsulated in polystyrene fibers, showed a non-trivial crystallization behavior [17]. Recently, a new kind of nano-encapsulated PCMs is proposed to solve the low thermal conductivity trouble and avoid the solidification on the heat transfer surface by filling PCMs into CNTs [18, 19]. The van der Waals interactions between confined molecules and the confining wall prevent molecules to escape from the hollow CNTs [20,21,22]. The intercalation of paraffin into CNTs as a liquid coolant has been verified to enhance the heat transfer rate and decrease the temperature of microelectronic devices, which was due to the latent heat of paraffin [18]. The study on the nanoscale heat transfer of sugar alcohols filling in CNTs pointed out that the heat transfer rate was dependent on the material, the CNT diameter and structure [23]. In the intercalation experiment, paraffin outside of CNTs could be completely removed by appropriate solvent treatment, while that inside CNTs won’t be washed away [24]. Different types of paraffins and their mixtures could be filled into CNTs as nano-encapsulated PCMs with a smart tunable working temperature [19]. The favorable free energy inside CNTs was the driving force in these systems [25]. However, it is limited and difficult to investigate the deeper mechanism only by experimental methods. MD method is suitable to analyze the microcosmic or mesoscopic structure dynamic change and characteristic [26, 27]. The torsion and extension of n-octadecane molecule chains were restricted by excessive thick shell in the nano-encapsulated PCM system [28]. The introduction of CNTs and graphene layers into paraffin leaded to liquid molecule ordering and thermal conductivity enhancement [29]. In our previous study, it has proved that nano-confined environment of CNTs played an important role in the structure and thermal property of paraffin [30, 31]. The thermal conductivity of n-heptacosane was enhanced when it was confined in CNTs [31]. The reported papers show that this kind of nano-encapsulated PCM has a great potential in heat dissipation. Future progress and technological advances for utilizing confined PCMs in various nanostructures would undoubtedly depend on obtaining a basic understanding of the phase change property in these systems.

In this paper, the filling of LA into CNTs as a nano-encapsulated PCM was performed with a vacuum infiltration method. TEM and DSC measurements proved the successful filling. To further understand nano-confined effect on the structure and phase change property of LA, molecule distribution, RDF, end-to-end distance, torsion angle, self-diffusion coefficient and thermal conductivity were analyzed by MD simulation.

Experimental

Experimental methods

Filling

Firstly, the pristine CNTs (Chengdu Organic Chemicals Co., Ltd., China; inner diameter: 30–50 nm, outer diameter: 50–60 nm, length: 5–30 μm, specific area: 120 m2 g−1) were treated with concentrated nitric acid to open the closed ends and purify using the same method in our previous paper [30]. LA (Sinopharm Group Chemical Reagent Co., Ltd., China) was dispersed in anhydrous ethanol with a mass ratio of 1: 4 and sonicated for 15 min to obtain a stable homogeneous solution. Then, the opened end CNTs were put into a sealed flask in an oil bath with 80 °C. A vacuum pump was used to drive away the air in the flask and CNTs. Next, the solution was quickly injected into the flask and retained for 20 min. To well disperse CNTs in the solution, the magnetic stirring treatment was implemented during the filling process. Afterward, the mixture was filtered with anhydrous ethanol to remove the LA residuals outside the CNTs. Finally, the obtained product was dried at normal temperature and pressure.

Characterization

The microphotography of the materials was examined with transmission electron microscopy (TEM) (JEM-2100F). The phase change properties were analyzed by DSC (DSC-Q10, TA Instrument Inc., USA) with a scanning rate at 5 °C min−1.

Simulation methods

To understand the nano-confined effect of CNT on LA, two MD models were constructed as shown in Fig. 1: (a) LA freestanding system containing 15 molecules in a 16.5 × 16.5 × 16.5 Å box; (b) LA confined in CNT in a 37.2 × 37.2 × 61.5 Å box. The number of LA molecules was effectively based on the experimental results. Considering the computation load and our concern, which was the interaction of LA and the inner wall of CNT, a sing-wall (25, 25) CNT model was constructed with 2500 carbon atoms.

Fig. 1
figure 1

Initial structures of a LA freestanding system b LA confined in CNT

After the initial structure was built, the smart minimization method was performed to optimize the geometry. To refine the conformation, six anneal cycles were exerted from 288 to 348 K at a speed of 1 K ps−1 under micro canonical (NVE) ensemble. The energy curve during the annealing process is shown in Fig. 2. Fluctuation of energy curve means the storage and release of heat energy [28]. In this process, the system continuously adjusted the structure to make itself cross the energy barrier. After the anneal operation, the systems were pre-equilibrated with 200 ps and run 800 ps for the data collection under isothermal isobaric (NPT) ensemble at each temperature rising simulation with an interval of 10 K from 288 to 348 K. As shown in Fig. 3, the density of LA fluctuates at 0.89 g cm−3 in agreement with the experiment value [32], validating the choice of the simulated method. Meanwhile, the density value remains unchanged in 450–1000 ps, which indicates that the simulated time of 1000 ps is sufficient for the current system. In the simulation process, the condensed-phase optimized molecular potentials for atomistic simulation study (COMPASS) force field could preferably describe the organic systems. The time step was set as 1 fs, and the periodic boundary conditions were fixed in x, y and z directions. Andersen’s thermostat and Berendsen’s barostat methods were used to control the temperature and pressure, respectively.

Fig. 2
figure 2

Energy fluctuating curve of LA during the anneal process

Fig. 3
figure 3

Density curve of LA during the dynamics process

Reverse non-equilibrium molecular dynamics (RNEMD) method was introduced to calculate the thermal conductivity of each system at 298 K [33]. The method is based on the Fourier heat conduction law:

$$\lambda = \mathop { \lim }\limits_{{{\text{d}}T / {\text{d}}z \to 0}} \mathop { \lim }\limits_{t \to 0} \frac{{J_{\text{z}} (t)}}{{{\text{d}}T/{\text{d}}z}}$$
(1)

where \({\text{d}}T/{\text{d}}z\) denotes the temperature gradient in z direction and \(J_{\text{z}} (t)\) is the heat flux.

In RNEMD method, each system is evenly divided into 40 layers in z direction. The middle layer is set as the cool slab, while both ends are set as the hot slab. The particles, whose kinetic energy is the largest in the cold region, are selected to exchange energy and momentum with the particles whose kinetic energy is the lowest in the hot region. Through this operating, the temperature gradient between the cool and the hot slab is produced. After the systems reach to steady state, the unphysical energy exchange is balanced by the physical thermal conduction in the systems and the stable temperature gradient is established. Thus, the imposed heat flux could be calculated by summing up the energy exchanges in the two slabs through the following expression

$$\langle J_{\text{z}} (t)\rangle = \frac{1}{2At}\sum\limits_{{{\text{transfer}}(t)}} {\frac{1}{2}} m_{\text{h}} \left( {(v_{\text{h}}^{\text{new}} )^{2} - (v_{\text{h}}^{\text{old}} )^{2} } \right)$$
(2)

where A is the cross-sectional area, mh is the respective mass of the particles selected for energy exchange in hot slabs, and \((v_{\text{h}}^{\text{new}} )\) and \((v_{\text{h}}^{\text{old}} )\) present the new and old velocity of the selected particles in the cold region.

Besides, the kinetic temperature Tk in slab k could be determined by

$$T_{\text{k}} = \frac{1}{{3n_{\text{k}} k_{\text{B}} }}\sum\limits_{i \in h}^{{n_{\text{k}} }} {m_{\text{i}} v_{\text{i}}^{2} }$$
(3)

where the sum extends over the nk particles i in slab k with mass mi and velocity vi, kB is Boltzmann’s constant. As a result, the stable temperature gradient could be easily achieved.

The RNEMD calculations for each system were carried out on the base of the corresponding balanced structures. Before sampling process, both systems were further balanced. Considering the complexity of confined system, the simulation time of balanced stage for pure LA system and confined system was 100 ps and 200 ps, respectively. And the sampling process for thermal conductivity for both systems was 500 ps and 1000 ps, respectively.

Results and discussion

Analysis of TEM

Figure 4 shows the TEM image of CNTs filled with LA. As can be seen, the residual impurity in CNTs powder generated in the production process was removed under the action of concentrated nitric acid. The ends of CNTs are opened, which provide the possibility of the successful filling. Some CNTs keep empty shown with the black arrow, while some CNTs are filled with LA, shown with the red arrow and the red ring. There is a gap at the interface between CNTs and LA. It is difficult for LA escaping from CNTs due to the irregular configuration of LA in nanochannel [34].

Fig. 4
figure 4

TEM image of CNTs filled with LA. The blue arrow indicates the opened end. The black arrow indicates the empty cavity. The red arrow indicates LA filled in CNTs. The red ring indicates the gap. (Color figure online)

Thermal property of LA confined in CNT

Figure 5 shows DSC curves of LA in freestanding and confined systems. For both systems, there are endothermic peaks in the range of 20–70 °C. Due to the absence of phase change of CNTs, the endothermic peak in the confined system could attribute to LA. It undoubtedly verifies that LA is successfully infiltrated into CNTs. The melting temperatures of LA in freestanding and confined state are 43.35 °C and 39.74 °C, respectively. The decrease in the melting temperature is caused by the confinement effect of CNTs [17, 24]. Gradys A. stated that the crystallization of PCMs in confinement environment changed from heterogeneous nucleation with three-dimensional crystal growth to two- and one-dimensional, terminated by homogenous nucleation [17]. The structural changes of LA will be found in the following MD discussion. The latent heats are 198.2 J g−1 and 16.78 J g−1 for two systems, respectively, which means that the mass percentage of LA confined in CNT is 8.5%. Compared with the mass fraction, the degree of filling, which is denoted as the volume of PCM versus the volume of empty CNTs, could better reflect the availability of empty CNTs. The degree of filling of LA inside CNTs is 10.02% according to the calculated method mentioned in our previous paper [30]. It indicates that the complete filling is not obtained and the degree of filling could be further improved. Furthermore, it could conclude that there is 15 LA molecules confined in CNTs, which will be used to determine the initial structure in the next MD simulations.

Fig. 5
figure 5

DSC curves of a LA and b LA confined in CNTs

The structure of LA confined in CNT

The thermo-physical property of materials is closely related to their structures. The final structures of LA in freestanding and confined systems are obtained by running 1000 ps dynamic simulations at 298 K and 348 K, respectively, which represent solid and liquid states. As shown in Fig. 6, the molecule distribution of LA in the freestanding state has a remarkable distinguish from that confined in CNT. Due to the inductive effect of CNT, LA molecules become an orderly arrangement in nano-confined environment, which is different from the chaotic structure of LA molecules in freestanding systems. Aoun et al. [20] also stated that it was a well-ordered organization of water molecules under CNT confinement. A highly orderly structure has a potentially positive effect on thermal conductivity [35]. From the axial view of CNT, LA molecules are always in a circular distribution inside CNT with a radius of about 13.15 Å. The radius of CNT is 16.95 Å. Thus, the distance between LA molecules and tube wall of CNT is 4.8 Å, which is in the range of the van der Waals force [21]. Probably due to this interaction force, LA molecules orderly distribute in CNT and do not easily outflow from the inner space of CNT during the phase change process, which has been verified by the simulation and experimental methods [20, 22]. Liang et al. [22]. reported there was no leakage of PCMs from halloysite clay nanotubes even after 200 heating and cooling cycles. Meanwhile, the molecule distribution in the freestanding and confined systems at liquid state is more disordered than that at solid state due to the thermal motion.

Fig. 6
figure 6

Structures of LA in freestanding (a) and confined (b) systems

RDF, end-to-end distance and torsion angle

The above-obtained structures provide intuitive and simple illustrations of the order of LA molecules. However, this method is subjective and easily affected by the observer’s visual angle. Fortunately, the analysis of RDF, end-to-end distance and torsion angle provides an accurate and objective way to study the order of current systems.

RDF g(r) could be considered to reflect the molecule structure. It represents the atomic density varying as a function of the distance r from one particular atom, which could be expressed as the following equation [36]:

$$g(r) = \frac{1}{{\rho 4\pi r^{2} }} \cdot \frac{{\sum\nolimits_{{{\text{t}} = 1}}^{\text{K}} {\sum\nolimits_{{{\text{j}} = 1}}^{\text{N}} {\Delta N(r \to r + \delta r)} } }}{N \cdot K}$$
(4)

where ρ is the overall number density, N is the total number of atoms, K is the number of time steps, and δr is the distance interval.

The RDF with temperature is shown in Fig. 7. Compared with LA in freestanding state, the position of the first peak of LA in CNT shifts from 2.0 to 1.5 Å. The reason is that the inner wall of CNT restricts the motion of LA molecules, which will result in the prefect molecule structure [37]. Due to the good inter-molecular attraction between LA and CNTs, the peak intensities of LA in CNT is obviously enhanced, which certifies the enhancement of the thermal response. In other words, the addition of CNT will enhance the heat conduction [26, 31]. According to the partial enlarged view, the RDF peaks of LA in freestanding and confined systems become weaker along with the increase in temperature. The reason is that the mobility of LA molecules increases and the order parameter decreases. Simultaneously, there is an abrupt decrease in the first peak at 318–328 K and 308–318 K for the freestanding and confined system, respectively. It is corresponded to the phase change process, which is in a good agreement with the above experimental results.

Fig. 7
figure 7

RDF of LA in freestanding (a) and confined (b) systems with temperature

In order to further understand the extension of LA molecule chains, the end-to-end distance and the torsion angle are discussed in Figs. 8 and 9. The end-to-end distance is the distance of the two carbon atoms at both ends of LA molecule chains, which is an average value. The torsion angle is set among the four neighboring C atoms [28].

Fig. 8
figure 8

End-to-end distance distribution of LA molecules in freestanding and confined systems

Fig. 9
figure 9

Torsion angle distribution of LA molecules in freestanding and confined systems

As shown in Fig. 8, the peaks of end-to-end distance of LA molecules in CNT are high and narrow, but in the freestanding system, low and wide. The end-to-end distances mainly distribute in the range of 7–15.5 and 10–15.5 Å for LA molecules in the freestanding and confined states, respectively. And the main peaks are observed at about 12 Å for the freestanding state, 14 and 15 Å for the confined state. It suggests that LA molecule chain gets the better extension due to the constrained action of CNT compared with that in freestanding state. Therefore, the mass transfer of system will be enhanced [26]. Moreover, the distribution range of the end-to-end distance at 348 K is slightly increased compared with that at 298 K, which verifies the increase in the molecule diffuse along with the increasing temperature.

Figure 9 shows the torsion angle distribution of LA molecules in freestanding and confined systems at 298 K and 348 K, which has a consistent trend. The main peaks are both observed at about ± 180° and ± 65°, respectively. However, the peak variation is obvious due to the confined effect of CNT. Comparing with the freestanding system, the distribution increases at ± 180° and decreases at ± 65° in the confined system. It could be concluded that CNT restricts the torsion of LA molecules and makes LA molecules have a good extension, which is in agreement with the analysis of the end-to-end distance. For both systems, the peak height decreases at ± 180o and increases at ± 65o from 298 to 348 K. This indicates that the torsion degree and thermal motion of LA molecules strengthen. The investigation of the end-to-end distance and torsion angle simultaneously suggests that the torsion and tensile behavior of LA molecular chains are closely related to the confinement action of CNT.

Diffusion coefficient

In order to investigate the dynamics of LA molecules in the nano-confined environment, the diffusion coefficient D was calculated according to the well-known Einstein equation [22]:

$$D{ = }\frac{ 1}{ 6N}\mathop {\lim }\limits_{{{\text{t}} \to \infty }} \frac{\text{d}}{{{\text{d}}t}}\sum\limits_{{{\text{i}} = 1}}^{N} {\left\langle {\left| {r_{\text{i}} \left( t \right) - r_{\text{i}} \left( 0 \right)^{2} } \right|} \right\rangle }$$
(5)

where N is the number of atoms, t is the simulation time, ri(t) is the position vector of ith particle at time t, ri(0) is the position vector of ith particle at the origin time, and the angular brackets are the ensemble average.

From Fig. 10, the diffusion coefficient of two systems increases with temperature. The high temperature sections diffuse more intensely than the low-temperature sections due to the molecular thermal motion. The curves trends are consistent, which proves that LA molecules have similar diffusion behavior under the influence of CNT. In addition, the effect of the nano-confined environment enhances the diffusion intensity of the LA molecules. For example, at 328 K, the diffusion coefficients of LA molecules in CNT and in the freestanding system are 6.24 × 10−10 m2 s−1 and 3.7 × 10−11 m2 s−1, respectively. The enhancement of diffusion coefficient means the increase in thermal conductivity [38], which is favorable for a new kind of PCMs.

Fig. 10
figure 10

Self-diffusion coefficient as a function of temperature

As presented by Rao et al. [26], the values of diffusion coefficient could be fitted into two straight lines. And the intersection point of the two lines is regarded as the melting temperature of n-alkane. So, the melting temperatures of LA in freestanding and confined systems are 315.98 and 313.83 K, which has a good agreement with experimental data with 0.84% and 2% error, respectively. It indicates that the MD simulation method is reasonable for current systems.

Thermal conductivity

It is complicated, inaccurate and time consuming to measure the thermal conductivity of the low-dimensional systems by the experimental method. However, MD method is convenient to predict this parameter. Figure 11 presents the temperature gradient of LA in freestanding and confined systems. The average temperatures decrease linearly from the hot slab to the cold slab, which indicates that the stable temperature gradient is established.

Fig. 11
figure 11

Temperature gradient of LA in freestanding (a) and confined (b) systems

Figure 12 shows the energy flux and thermal conductivity curves of LA in freestanding and confined systems at 298 K. The values are convergent at 250 ps and 750 ps for LA in freestanding and confined systems, respectively, which is due to the complexity of the latter. It suggests that the current simulated time is enough to evaluate the thermal conductivity. The convergent values of energy flux for freestanding and confined systems are 4.93 and 29.67 GW m−2, respectively, and 69.50 GW m−2 for empty CNT. The highly order of LA molecules in the nano-confined environment enhances the energy and heat transfer rate. Finally, it will result in the enhancement of thermal conductivity. Meanwhile, the constructive phonons coupling between LA molecules and CNT is favorable for enhancing the thermal conductivity. The thermal conductivity of pure LA is 0.2 W m−1 K−1 closely with the experimental value 0.215 W m−1 K−1 [39]. Thermal conductivity of CNT is 26.43 W m−1 K−1, which is in good agreement with the reported values [40]. The thermal conductivity of LA filled in CNTs is 3.91 W m−1 K−1 which is about 20 times of bulk LA. The enhancement of thermal conductivity for LA is much higher than that of composite PCMs prepared by traditional methods [41]. The similar result has also been reported by many authors [42, 43]. Yutaka et al. [42] claimed that the calculated effective thermal conductivity of the ionic liquid filled into CNTs increases to 19.9 W m−1 K−1, which is much larger than the pure material with 0.2 W m−1 K−1.

Fig. 12
figure 12

Energy flux and thermal conductivity curves of LA in freestanding (a) and confined (b) systems at 298 K

Conclusions

The phase change property of LA confined in CNTs as nano-encapsulated PCMs is systemically studied by the combination of experiment and MD simulation. With the vacuum infiltration method, the successful filling of LA into CNTs is proven by TEM and DSC. The melting temperature of LA decreases from 316.5 to 312.89 K, which is also verified by MD simulation. The degree of filling of LA in CNTs is 10.02%. MD simulations suggest that LA molecules orderly distribute along the inner wall of CNTs with a radius of about 4.8 Å. The analyses on RDF, the end-to-end distance and the torsion angle all suggest that CNT restricts the torsion of LA molecules and makes LA molecules have an orderly distribution in CNTs. The diffusion coefficient of LA molecules increases in CNTs. The energy flux of LA molecules in CNTs is enhanced, which ultimately results in the thermal conductivity enhancement with 20 times compared with pure LA. The series behaviors are attributed to the nano-confined effect of CNTs and eventually result in the positive impact of heat and mass transfer of the system. Based on the experimental results, the MD method gives an interpretation of the phase change property of current systems from microcosmic perspective, and it could also be a guide for further experimental work.