1 Introduction

The discovery of the most important tubular nanostructures in 1990s, i.e., carbon nanotubes (CNTs) [1, 2] and boron nitride nanotubes (BNNTs) [3, 4], has begun a new era in nanoscience and nanotechnology. Numerous experimental and theoretical investigations have evidenced comparable mechanical properties of CNTs and BNNTs despite the electrical and thermochemical properties. These properties make them so promising in fabricating novel nanoelectromechanical systems (NEMS) [58]. CNTs are found to be metallic and semiconducting depending on their radius and chirality [916]. On the contrary, BNNTs behave as an insulator with a wide band gap of ~6 eV [10, 12, 14, 15] making it suitable for nanocables [1720]. Also, it is observed that BNNTs possess higher thermal stability and chemical inertness compared to CNTs [10, 12, 13]. These considerable differences between the two nanotubes result in proposing hybrid carbon and boron nitride nanotubes since the earlier attempts of doping carbon nanotubes with boron and nitrogen [21] in order to overcome the drawbacks in applying the individual pure CNTs and BNNTs in novel applications. To this end, many efforts have been made to fabricate carbon and boron nitride hybrid nanotubes since 1994 [2229]. Regarding the developments in experimental growth of hybrid nanotubes, several theoretical and experimental investigations have been carried out to explore the electromagnetic properties and stability of these hybrid nanotubes unlike the mechanical properties which are limited to elastic properties [3034]. Although these studies have explored some crucial properties of hybrid nanotubes, it is important to understand their mechanical behavior as they are applied to any NEMS. According to the published literature, a limited number of studies have been performed on the vibrational behavior of pure CNTs and BNNTs, free or torsional, employing molecular dynamics (MD) simulations and continuum theories [3542]. In this regard, a comprehensive study is made to investigate the vibrational behavior (free vibration) of carbon and boron nitride double-walled hybrid nanotubes through MD simulations which has not been considered so far. Finally, the natural frequency is obtained and the effects of geometrical parameters, different boundary conditions and formation configurations on the natural frequency are investigated.

2 Methodology

To perform MD simulations, a homemade computer code is prepared by MATLAB®. To this end, the Tersoff–Brenner [43, 44] and the Tersoff-like [45, 46] empirical potential energy functions are employed to calculate bonded energy of CNTs and BNNTs, respectively. Also, the vdW interaction energy between the walls of the nanotubes is simulated through the Lennard–Jones (LJ) pairwise potential energy function [47, 48] as non-bonded energy function. Finally, the total potential energy of system is obtained by summing the bonded and non-bonded energies of system, i.e., Tersoff–Brenner, Tersoff-like and the LJ potential energies. Also, velocity Verlet algorithm [49] is employed to integrate the equations of motions at the basic time step of 1 fs together with Nose–Hoover thermostat algorithm in order to control temperature of system at the room temperature (300 K) in the canonical ensemble [50]. Applying this thermostat leads to less fluctuation of system during thermal stabilization [51].

To simulate different boundary conditions such as simply supported (SS) and clamped (CC), one and four rows of atoms are fixed, respectively [3942], as demonstrated in Fig. 1. In order to obtain equilibrium structure and optimal energy, the system is initially relaxed up to 10 ps. Afterward, nanotubes are deformed to their initial mode of vibration and then allowed to vibrate freely for a specific time which is dependent on the size of system. Note that to simulate the vibration of nanotubes, the boundary atoms are selected to be the thermostat atoms. Finally, the histories of the center of mass of nanotubes are saved and natural frequency is calculated using fast Fourier transform (FFT).

Fig. 1
figure 1

Schematic representation of SWBNNTs with a CC, b CF and c SS boundary conditions

3 Results and discussion

To study the vibrational behavior of carbon and boron nitride double-walled hybrid nanotubes, (5,5) and (10,10) single-walled and (5,5)@(10,10) double-walled nanotubes are chosen with different lengths varying from 25 to 120 Å. It should be noted that as the results of natural frequency are approximately insensitive to chirality [39], only armchair nanotubes are taken into considerations. According to the published literature, due to the lack of data regarding to free vibration of BNNTs, to validate the generated code, Young’s modulus of BNNTs can be determined by incorporating the calculated natural frequency of BNNTs into continuum theory relation between Young’s modulus and axial frequency in the case of axial vibration of BNNT with clamped–free (CF) boundary condition, as follows [52, 53]:

$$f = \frac{{\left( {2n - 1} \right)\sqrt {\frac{E}{\rho }} }}{4L},\quad n = 1,2, \ldots$$
(1)

where f is axial frequency, E is Young’s modulus, and ρ indicates density given by:

$$\rho = \frac{M}{\pi DtL}$$
(2)

To perform the axial vibration, a (5,5) BNNT with the length of 60 Å and CF boundary condition is selected and small axial displacement is applied to the free end of nanotube, and then it is allowed to vibrate. The histories of center of mass of BNNT are stored, and the time response of BNNT is plotted in Fig. 2. Throughout FFT, the frequency is obtained around 0.72 THz. By substituting the obtained axial frequency into Eq. (1), Young’s modulus of 0.9 TPa is obtained which is in good agreement with previously published data [5456].

Fig. 2
figure 2

A sample of time response for axial vibration of BNNT

Considering free vibration of BNNTs, Fig. 3 presents the effects of different boundary conditions on the natural frequency of BNNTs. As it is observed, the frequency of clamped BNNTs with similar lengths is higher than that of BNNTs with SS and CF boundary conditions. The highest frequency belongs to BNNT with the length of 22 Å and CC boundary condition. Changing the type of boundary conditions from CC to SS and CF causes approximately 24 and 65 % reduction in the natural frequency, respectively. This discrepancy reduces to 10 % in the case of BNNTs with SS boundary condition as the length increases to 120 Å, whereas it remains approximately constant for CF boundary conditions as the length increases.

Fig. 3
figure 3

Effects of different boundary conditions on the natural frequency of SWBNNT

In order to more precisely study the variation in natural frequency of BNNTs with the length by a simple mathematical model, rational curve fitting is performed according to the following equation:

$$f\left( x \right) = \frac{ax + b}{x + c}$$
(3)

where f indicates natural frequency of BNNTs in THz, and a, b and c represent constants in THz, THz.Å and Å, respectively. Employing a curve fitting technique, the constants are calculated. Table 1 presents the values of aforementioned constants for (10,10) BNNT. As demonstrated, a and c are negative, while b is positive and, all these constants qualitatively guarantee the reduction of frequency as the length increases. This reduction is around 94 % for all boundary conditions.

Table 1 Values of constants for Eq. (1) corresponding to (10,10) SWBNNT with different boundary conditions

In order to explore the effect of nanotube radius on the natural frequency, Fig. 4 is depicted for BNNTs with CC boundary conditions. For a specific length, it can be seen that nanotubes with higher diameters possess higher frequencies. According to the calculated data, the natural frequency of (10,10) BNNT at the length of 22 Å is around 1.1 times higher than that of (5,5) BNNT, whereas it reaches 1.9 times as the length increases up to 120 Å. Further, the constants of Eq. (3) are computed and presented in Table 2 for (5,5) BNNT with CC boundary conditions. Comparison between the values of a, b and c related to (5,5) and (10,10) BNNTs demonstrates that nanotubes with smaller radii possess lower values compared to bigger nanotubes. Considering the diameter, by increasing the diameter, the moment of inertia increases. The order of this increase is more pronounced than that of cross section. Also, according to [57], mass density decreases as the tube diameter increases. So, according to direct and reverse dependence of natural frequency on the moment of inertia and mass density [53], respectively, for a similar length, tube with higher diameter possesses higher natural frequency.

Fig. 4
figure 4

Effect of tube radius on the natural frequency of SWBNNT

Table 2 Values of constants for Eq. (1) corresponding to (5,5) SWBNNT with CC boundary conditions

To make a comparison between the natural frequencies of CNTs and their inorganic analogous, i.e., BNNTs, Fig. 5 is illustrated. To this end, two (10,10) carbon and boron nitride nanotubes are chosen and boundaries are taken to be CC. According to the results, the natural frequency of BNNTs is higher than that of CNTs. This difference is around 27 % at the length of 22 Å, and it rises to 36 % as the length of nanotube increases up to 120 Å. It should be noted that the natural frequency of CNTs obtained in this study is in complete agreement with previously published data [39, 42]. Comparing the density of C–C and B–N, it can be found that C–C is denser than B–N in hexagonal sp 2 hybridized structure. According to [57], the density of (10,10) SWCNT of greater than 3 g/cm3 is obtained, which is considerably higher than that of B–N hexagonal structure obtained around 2.1 g/cm3. This is the essential reason for higher frequency of BNNTs compared to CNTs. Also, from chemical bonding point of view, unlike the B–N hexagonal structure, the presence of powerful double bonds in hexagonal structure of CNTs can affect the vibration behavior and reduce the natural frequency of CNTs compared to that of BNNTs.

Fig. 5
figure 5

Effect of material type on the natural frequency of nanotubes in the case of carbon and boron nitride

To investigate the effect of number of walls on the natural frequency, (5,5)@(10,10) double-walled BNNT (DWBNNT) is taken with CC boundary conditions. As demonstrated in Fig. 6, the natural frequency of DWBNNT is between those of individual inner and outer constituent nanotubes, i.e., (5,5) and (10,10). Moreover, it can be seen that natural frequencies are converged to each other as the length increases enough. These results are qualitatively similar to those reported in the previously published works on CNTs [39].

Fig. 6
figure 6

Effect of the number of walls on the natural frequency of BNNTs

Finally, the vibrational behaviors of carbon and boron nitride double-walled hybrid nanotubes are explored. To this end, two types of double-walled hybrid nanotubes are simulated, i.e., a (5,5) single-walled CNT (SWCNT) inside a (10,10) single-walled BNNT (SWBNNT), (CNT@BNNT) and vice versa (BNNT@CNT) which are depicted in Fig. 7. The boundaries are taken to be CC, natural frequencies are calculated, and Fig. 8 is presented. According to this figure, in the case of smaller nanotubes up to 50 Å, DWBNNTs possess the highest frequency compared to double-walled hybrid nanotubes and DWCNTs and natural frequency of double-walled hybrid nanotubes lies between those of pure DWBNNTs and DWCNTs. As the length increases, the natural frequency of double-walled hybrid nanotubes with BNNT inside CNT (BNNT@CNT) reduces less than that of other nanostructures. This results in higher natural frequency of BNNT@CNT compared to that of DWBNNTs and DWCNTs as the length increases. Note that the highest frequency belongs to BNNT@CNT double-walled hybrid nanotubes. It can be concluded that natural frequency of double-walled hybrid nanotubes is less sensitive to the length variation at greater lengths as it is compared to pure double-walled nanotubes. It should be noted that for both types of double-walled hybrid nanotubes at the smaller lengths, computed frequencies are close together. For example, at the length of 22 Å, the difference between the natural frequencies of CNT@BNNT and BNNT@CNT is around 0.3 %, whereas it increases to 16 % at the length of 120 Å. Finally, the constants of Eq. (1) are computed and presented in Table 3.

Fig. 7
figure 7

Molecular models of CNT@BNNT and BNNT@CNT double-walled hybrid nanotubes

Fig. 8
figure 8

Comparison of the variation of natural frequencies for DWBNNT, DWCNT and double-walled hybrid nanotubes

Table 3 Values of constants for Eq. (1) corresponding to DWBNNT, DWCNTs and double-walled hybrid nanotubes with CC boundary conditions

4 Conclusion

In this investigation, MD simulations were employed to simulate vibrational behavior of single- and double-walled BNNT and double-walled hybrid nanotubes. The natural frequency was computed and the effects of geometrical parameters and boundary conditions were studied. The results demonstrated that nanotubes with clamped boundary conditions have higher natural Frequencies in comparison with other types of boundary conditions. Also, it was observed that the natural frequency of BNNT is larger than that of its carbon counterpart, and the natural frequency of DWBNNT is between those of its constituent inner and outer nanotubes with the same length and boundary conditions; considering the double-walled carbon and boron nitride hybrid nanotubes, it was seen that their natural frequency is between those of pure DWBNNT and DWCNTs with the same length and boundary conditions at smaller lengths. Furthermore, it was shown that, as the length increases, the reduction rate of natural frequencies related to double-walled nanotubes is quicker than that related to double-walled hybrid nanotubes leading to higher frequencies of double-walled hybrid nanotubes compared to pure ones. Finally, in order to study the variation in natural frequency with the length, rational curve was fitted to data of frequency and the constants corresponding to each data set were computed.