Introduction

Hydrogen cyanide is colorless and extremely poisonous liquid. This compound and its derivatives are used for many chemical processes, including fumigation, the case hardening of iron and steel, electroplating, and the concentration of ores. It also is employed in the preparation of acrylonitrile, which is used in the production of acrylic fibers, synthetic rubber, and plastics. Hydrogen cyanide is highly toxic because it inhibits cellular oxidative processes. An adult human can withstand 50–60 parts of hydrogen cyanide per million parts of air for an hour without serious consequences, but exposure to concentrations of 200–500 parts per million of air for 30 min is usually fatal. Controlling the HCN concentration under the threshold limit value in the air requires a sensitive, reliable, and specific method for monitoring its content in work environments. Due to detect HCN concentration in the air, gas sensors have been considered promising alternatives for environmental measurements due to their low cost, high sensitivity, fast response and direct electronic interface [1, 2]. In recent years, nanotubes have attracted great interest in the sensor industry. Carbon nanotubes (CNTs) as chemical sensors [35] have generated strong interests in the research community since Kong et al. [3, 4] demonstrated that single-walled carbon nanotubes (SWCNT) can be used as miniature sensors to detect low concentrations of toxic gas molecules.

Valentini et al. [6] showed that CNTs could detect poison gas concentrations as small as 10 ppb. However, since the electronic properties of CNTs are mainly dependent on tabular chirality and diameter [7], separation of nanotubes with the desired electronic properties from other kinds is very difficult.

Recently, models of pristine single-walled beryllium oxide nanotubes are proposed. Due to the large ionicity of Be–O bond, BeO compound often displays different properties from the counterpart of C, BN and SiC. BeO is an insulator with wide band gap (about 10 eV), high melting point, high thermal conductivity and large elastic constants [8]. In addition, compared with CNTs, BNNTs and SiCNTs, it is found that the BeONTs have a larger band gap which is less dependent on the chirality and the diameter of tubes [9, 10].

In this work, the adsorption energies, optimized parameters, the molecular orbital properties like HOMO, LUMO, chemical potential, hardness, their energy gap and AIM, NBO, NMR, NQR calculations and density of states (DOS) plots are used to gain insights into the influence of HCN adsorption on the electronic properties, geometrical structure of the BeONT, and how these effects could be used to design more sensitive gas sensing devices.

Computational methods

To study the adsorption behavior of HCN molecule, armchair (5,5) single-walled BeONT consisting of 35 pairs Be and O atoms has been chosen as model where open ends are saturated by hydrogen atoms. Geometry optimizations have been carried out by the DFT method by employing Becke, 3-parameter, Lee–Yang–Parr (B3LYP) functional [11, 12] with 6-31G* basis. Harmonic vibrational frequency calculations have been carried out to check whether the configurations are minima or not. The binding energy is corrected using the counterpoise technique proposed by Boys and Bernardi [13] and zero-point vibrational energy (ZPVE) correction. The adsorption energy (E ads) is estimated using the following approximate expression:

$$E_{\text{ads}} = E_{{{\text{HCN}}/{\text{BeONT}}}} - \left( {E_{\text{BeONT}} + E_{\text{HCN}} } \right)$$
(1)

where E HCN/BeONT corresponds to the energy of the BeONT, in which the HCN molecule has been adsorbed on its wall, E BeONT is the energy of the isolated nanotube and E HCN is the energy of a single HCN molecule. It should be mentioned that the adsorption energy is the sum of interaction and deformation energy. The following equations are applied to calculate these contributions.

$$E_{\text{ads}} = E_{\text{def}} + E_{\text{int}}$$
(2)
$$E_{\text{int}} = E_{{{\text{tube}} - {\text{gas}}}} - \left( {E_{{{\text{tube}}\,\,{\text{in complex}}}} + E_{{{\text{gas}}\,{\text{in}}\,{\text{complex}}}} } \right)$$
(3)
$$E_{\text{def}} = E_{{{\text{def}}\,{\text{gas}}}} + \, E_{{{\text{def}}\,{\text{tube}}}}$$
(4)

where E tube in complex/E gas in the complex is the total energy of nanotube/gas and E def tube/E def gas is the deformation energy of nanotube/gas in its optimized geometry.

The quantum molecular descriptors like energy gap, global hardness and chemical potential are used for explaining the chemical reactivity and stability of the different configurations. The energy gap is defined as Eg = E LUMO − E HOMO; E LUMO is the energy of the lowest unoccupied molecular orbital and E HOMO is the energy of the highest occupied molecular orbital. The chemical potential (μ) and global hardness (η) can be calculated as follows [1416]:

$$\eta = \frac{{E_{\text{LUMO}} - E_{\text{HOMO}} }}{2}$$
(5)
$$\mu = \frac{{E_{\text{LUMO}} + E_{\text{HOMO}} }}{2}$$
(6)

The AIM 2000 program [17] is used in calculating the properties of the bond critical points; their electron densities and their Laplacians. The NBO [18] calculation is performed by using the NBO 3.1 program [19], as implemented in the Gaussian 03 package [20].

The Wiberg bond index (WBI) which comes from the manipulation of the density matrix in the orthogonal natural atomic orbital based on the NBO analysis [21, 22] is also considered. WBI demonstrates the strength of the covalent character (the larger WBI implies to stronger covalent character) and closely relates to the bond order. WBI expressed by the following mathematical definition:

$${\text{WBI}} = \sum\nolimits_{k} {P_{jk}^{2} } = 2P_{jj} - P_{jj}^{2}$$
(7)

where P jk and P jj denote the density matrix elements and charge density in the atomic orbital, respectively.

Molecular electrostatic potential (MEP) surfaces for all of the configurations under study are generated using the electron density at the B3LYP/6-31G* level. The work function is determined as the difference between the vacuum level and the Fermi level, which herein, the energy of vacuum level has been assumed to be zero. The canonical assumption for Fermi level is that in a molecule (at T = 0 K) it lies approximately in the middle of the Eg. The work function represents the minimum energy required to remove an electron from the Fermi level to the vacuum level. Furthermore, in order to investigate the effects of the HCN adsorption on the electronic properties of the nanotube, the density of state (DOS) analysis is performed.

Experimentally, quadrupole coupling constants (C Q) and asymmetry parameters (η Q) are measured by nuclear quadrupolar resonance (NQR). C Q is the interaction energy of the nuclear electric quadrupole moment (e) with the EFG tensors at the sites of quadrupole nuclei, but the asymmetry parameter (η Q) is a quantity of the EFG tensors that describes the deviation from tubular symmetry at the sites of quadrupole nuclei. Quantum chemical calculations yield principal components of the EFG tensor, q ii , in atomic unit

$$1\,{\text{au}} = 9.717365 \times 10^{21} \,{\text{V}}\,{\text{m}}^{ - 2}$$

The calculated EFG tensor eigenvalues in the principal axis system (PAS) with order |q zz | > |q yy | > |q xx | are converted to measurable NQR parameters, C Q and η Q , using Eqs. (8) and (9). Standard Q values [(9Be) = 52.88 and (17O) = 25.58 mb] reported by Pyykkö [23] are used in Eq. (8) [23, 24].

$$C_{Q} \left( {\text{MHz}} \right) \, = \, e^{ 2} Qq_{zz} {\text{h}}^{ - 1}$$
(8)
$$\eta_{\text{Q}} = \, \left| {\left( {q_{\text{xx}} - q_{\text{yy}} } \right)/q_{\text{zz}} } \right|\quad 0\langle \eta_{\text{Q}} \langle 1$$
(9)

The global interaction between the HCN molecule and BeONT can be showed by the parameter ΔN which determines the fractional number of electrons transferred from a system A to system B and can be calculated as follows:

$$\Delta N \, = \, (\mu_{\text{B}} - \mu_{\text{A}} )/ \, \left( {\eta_{\text{A}} + \eta_{\text{B}} } \right)$$
(10)

which yields stabilization energy (ΔE SE) to be as:

$$\Delta E_{{{\text{SE}}({\text{AB}})}} = \Delta E_{{{\text{A}}({\text{B}})}} + \Delta E_{{{\text{B}}({\text{A}})}} = \, - \left( {\mu_{\text{B}} - \mu_{\text{A}} } \right)^{ 2} / 2\left( {\eta_{\text{A}} + \eta_{\text{B}} } \right)$$
(11)

From Eq. (11) it is obvious that in the process of spontaneous flow of the electrons from one species to another, ΔE SE is negative. Therefore, the interaction between two species is favorable. However, spontaneous flow of the electrons from B to A cannot be predicted from the negative value of the ΔE SE alone. This formation can obtain from ΔN, the positive value of ΔN, indicates that electron flow is spontaneous from B to A; otherwise, it is in the reverse direction. Also, information regarding the direction of the electron transfer can be extracted from components of the ΔE SE (∆E B(A) and ∆E A(B)) and can be denoted as:

$$\Delta E_{{{\text{B}}({\text{A}})}} = \Delta N( - \mu_{B} + \frac{1}{2}\eta_{B} \Delta N)$$
(12)
$$\Delta E_{{{\text{A}}({\text{B}})}} = \Delta N( - \mu_{\text{A}} + \frac{1}{2}\eta_{\text{A}} \Delta N)$$
(13)

The positive ΔE B (A) value demonstrates that B is a donor and A is the acceptor [25]. Similar argument indicates that ΔE A (B) will be negative when A in the donor and B is the acceptor.

The chemical shielding tensors (CS) at the sites of Be and O nuclei are calculated using the gauge-independent atomic orbital (GIAO) method [26]. The quantum chemical calculations yield chemical shielding tensors in the principal axis system (PAS) with the order of σ 33 > σ 22 > σ 11; therefore, Eqs. (14) and (15) are used to convert the calculated chemical shielding tensors to the absolute isotropic (σ iso) and anisotropic (Δσ) chemical shielding parameters:

$$\sigma_{\text{iso}} = \, (\sigma_{33} + \sigma_{22} + \sigma_{11} )/3$$
(14)
$$\Delta \sigma = \sigma_{33} - (\sigma_{11} + \sigma_{22} )/2$$
(15)

Results and discussion

Molecular geometry and binding energies

Full structural optimization of pristine BeONT and several potential configurations (HCN is placed at the different position on the nanotube surface) is carried out to explore the adsorption energy of the HCN molecule on the exterior and interior surfaces of the BeONT. Table 1 illustrates the geometrical parameters and the interaction (E int), deformation (E def) and adsorption (E ads) energies for the studied complexes. The value of the obtained adsorption energies varies from 18.09 to −14.02 kJ/mol. These results indicate that the HCN molecule can be physically adsorbed on the surface of the BeONT and in the most cases the adsorption process on the exterior surface is exothermic, while HCN adsorption on the interior surface is endothermic.

Table 1 The geometrical parameters (bond lengths (R), in Å), adsorption (E ad), interaction (E int) and deformation (E def) energies (kj mol−1) calculated at the B3LYP/6-31G* level

In order to identify the most stable configuration, we investigate several potential configurations, including the HCN molecule is initially placed above beryllium and oxygen atoms which the HCN molecule approached to the nanotube wall from N-down, H-down, and several configurations with HCN molecule orientations parallel to the nanotube surface, above of the hexagonal ring. The notation N-down and H-down denotes an HCN perpendicular to the surface via N and H atoms, and two cases for its adsorption on the inside of the nanotube (HCN perpendicular and parallel to the z axis of the nanotube) have been considered. After structural optimizations, re-orientation of the molecule has been predicted in some configurations, and finally, stable configurations are obtained. The initial and final optimized geometry of the HCN/BeONT complexes is depicted in Fig. 1.

Fig. 1
figure 1figure 1

Initial and optimized structures for different configurations

Inspection of the results shows that the most stable configuration (N-side) is configuration 1 which in this configuration, the N atom of the HCN molecule prefers to attach to Be atom of the nanotube by a distance of 1.852 Å. The adsorbed HCN causes the Be1–O2 bond length increases from 1.551 of the free nanotube to 1.601 Å in the HCN adsorbed form because the absorption of HCN on the BeONT causes the SP2 hybridization of the Be atom in the Be1–O2 bond change to the SP3 hybridization and hence the Be1–O2 bond length increases. As known, the isolated HCN molecule is planar molecule with the H–C–N angle of 180°. When the HCN molecule adsorbs on the exterior surface of the nanotube, the HCN angle does not considerably change. Also, the C≡N bond length in the configuration 1 is about 1.150 Å, which slightly is shorter than that in the free molecule. Here, it should be stated that the stretching mode of C≡N bond in the configuration 1 (2263.16 cm−1) occurs at larger frequencies compared to that of the free molecule (2214.86 cm−1), indicating that the length of C≡N bond should be decreased upon the HCN adsorption process. The calculated E ad value is about −14.02 kJ/mol for the most stable configuration that exhibiting a physisorption characteristic. Also, the negative E ad value confirms that this process energetically is favorable and exothermic. It can be seen from Table 1, the nanotube···molecule distance in the configuration 1 is shorter than that the other configurations. This can be attributed to stronger interaction in this configuration.

The most stable configuration for HCN adsorption in H-down orientation is configuration 8. In this configuration, HCN preferentially interacts via its H atom with O atom in the nanotube (see Fig. 1). The calculations show that the adsorption energy for this configuration is about −0.23 kJ/mol with equilibrium distance 2.30 Å. Analysis of the structural parameters indicates that the C≡N and Be–O bonds length are remained nearly constant. These results confirm that the interaction in this configuration is from type of weak interactions. From the adsorption energies presented in Table 1, it can be seen that the adsorption energies depend on the locations and orientations of HCN molecule. On the other hand, calculated adsorption energy for the configurations which in those the HCN adsorbed on the BeONT via its N atom is more notable than that adsorption via its H atom. Therefore, it is worth mentioning that HCN interaction via N atom is stronger than the other configurations.

In the configuration in which the HCN molecule adsorbs from the N-side, the computed C≡N equilibrium bond distance of absorbed molecule is shorter than its corresponding bond length in the isolated HCN molecule, 1.157 Å. This fact indicates the CN bond in adsorbed models becomes strong by interacting with the BeONT. Our theoretical results show that the adsorption energy of the HCN molecule on the internal surface is positive which indicate the addition reaction is endothermic and the formed complexes are unstable.

The obtained deformation energy values for the investigated configurations vary from 1 to 30.81 kJ/mol, which indicates that no significant curvature in the geometry of these nanotubes is occurred when HCN adsorbs onto the surface of BeONT. On the other hand, the contribution of the interaction energies for the studied configurations (see Table 1) confirms that HCN molecule could be physisorbed onto the BeONT surface. Also, structural parameters and deformation energy indicate that the deformation degree in configurations in which HCN adsorbs on the BeONT via the N atom is more than the other configurations.

In order to determine the direction of electron transfer when two species (nanotube and HCN molecule) form complex, we calculate ΔN, ΔE B (A) and ΔE A (B). Our theoretical results indicate that ΔN and ΔE B (A) (B = nanotube and A = HCN) are positive and ΔE A (B) is negative (ΔN = 0. 375, ΔE B (A) = 1.782 and ΔE A (B) = −1.366). Therefore, electron flow is spontaneous from nanotube to HCN molecule.

Investigation of the theoretical results reveals that there is a good correlation between nanotube···HCN bond length versus the adsorption energy with a correlation coefficient about 0.99 and linear regression is given by equation presented below:

$$Y \, = \, 34.918 \, x \, {-}79.783$$
(16)

where Y corresponds to adsorption energy and x corresponds to the nanotube···HCN bond length. These imply that the nanotube···HCN bond length can be very useful to estimate the adsorption energy.

Aim analysis

In order to obtain the deeper insight into the nature and strength of the nanotube-molecule interaction in considered systems, the analysis of electron density has been carried out. The ρ BCP, ∇2 ρ BCP and the G BCP, V BCP and H BCP energy component values for all of the models examined in this work are shown in Table 2.

Table 2 Topological properties (in au) of different configurations calculated at the B3LYP/6-31G* level

Analysis of topological parameters for the studied configurations shown in Table 2 reveals that the BCPs (bond critical point) corresponding to the YX (Y = Be or O of the nanotube and X = H or N atom of the HCN) contact have positive HBCP and ∇2 ρ BCP values. Their values are in the range of 0.0408–0.2633 au for ∇2 ρ BCP which indicates that the interaction in the analyzed systems may be classified as electrostatic interactions.

Inspection of the topological parameters confirms that in the most stable configuration, in comparison with pristine BeONT, the electron density at the BCP of Be1–O2 bond decreases. This result is supported by an increase in the Be1-O2 bond length. Also, the C≡N electron density is enhanced from 0.466 to 0.468 a.u after the adsorption process which is consistent with the shortening of the C≡N bond length. In addition, in the most stable configuration, the electron density at the BCP of the nanotube···HCN contact is higher than that of the other configurations which can be attributed to stronger interaction in this configuration. Therefore, analysis of the electron density for the studied complexes indicates that the electron density at the BCP of nanotube···HCN contact becomes more as the interaction energy becomes larger. Furthermore, it can be seen from Table 2, the increase in ρ results in the decrease in the distance between HCN and nanotube. The electron densities of the nanotube···NHCN contact is more than the corresponding value for nanotube···HHCN contact, showing the more effective interaction in the former case. In addition, in the configurations 10,12, because of the weak interaction between HCN molecule and nanotubes, the values of ρ(r) at BCPs of Be–O bonds in the complexes around the adsorbing area almost did not undergo noticeable changes in comparison with the pristine nanotube (see Table 2).

The nature of the binding between BeONT and HCN molecule has been analyzed from the calculated total electron density maps. The isosurface maps for the HCN adsorption are shown in Fig. 2. In configuration 1, the HCN molecule remains far from the cage having almost no effect on the electronic charge distribution of atoms of the nanotube. Therefore, no significant charge transfer is occurred which is in agreement with low adsorption energies of this complex.

Fig. 2
figure 2

Isosurfaces of the total electron density for the HCN adsorption on BeONT in configuration 1

We can find (see Fig. 3) a weak overlap of the electron densities between HCN and BeONT, which means that HCN molecule is physically adsorbed on the nanotube surface.

Fig. 3
figure 3

The contour map of configuration 1 obtained from the DFT calculation

Natural bond orbital analyses (NBO)

The NBO analysis is employed to study the intermolecular orbital interaction in the complexes. The results of our NBO analysis for studied configurations are provided in Table 3.

Table 3 E (2) (Kcal/mol) corresponds to charge transfer, WBI and the G BCP, V BCP and H BCP energy component values computed at the B3LYP/6-31G* level of theory

The theoretical results indicate that due to the positive charge accumulated on the Be atom and the negative charge on the N atom of the HCN, we expect an attractive interaction between the nanotube and HCN molecule. A comparison between the electrical charge of the Be of the nanotube before (0.183 e) and after (0.293 e) adsorption indicates that the nanotube acts as an electron donor. According to NBO analysis, the most important donor–acceptor interaction in the most stable configuration is σ Be–N → σ*C–N interaction. Therefore, σ Be–N participates as donor and σ*C–N behaves as an acceptor in strong intermolecular charge transfer interactions with the energy value of 7.90 kcal/mol. Thus, the HCN molecule acts as an electron acceptor. Also, our theoretical results indicate that charge transfer occurs from σ Be–N to σ*CH. It is noteworthy that this is the primary effect which causes elongation of the C–H bond. The elongation induces structural reorganization of the HCN molecule including contraction of the CN bond.

On the other hand, the most important donor–acceptor interaction in the configuration 14 is LPO7 → σ*C–H interaction. Therefore, LPO7 (lone pair) plays the role of a donor, while σ*C–H behaves as an acceptor in the intermolecular charge transfer interactions with the energy value of 3.6 kcal/mol. Also, when HCN adsorbs on the exterior and interior surface, HCN acts as an electron acceptor and BeONT acts as an electron donor.

The influence of adsorption process on the occupation numbers of σ*C–N has also investigated. In the most stable configuration, HCN adsorption on the nanotube surface results in an increase of the occupation number of the σ*C–N. These results confirm that the lost charge from the nanotube is shifted to σ*C–N upon the adsorption process.

Analysis of NBO indicates that by adsorption of the HCN molecule on the nanotube surface in the most stable configuration, the p’ character of Be1 atom in the Be1–O2 bond of the nanotube is changed from 67.91 to 73.47 %, indicating the elongation of Be1–O2 bond after adsorption of the HCN molecule, which is in accordance with previous results in this work. Also, the influence of HCN-nanotube interaction on the bond order has investigated in this study. The smaller WBI implies to weaker covalent character. The analysis of WBI illustrates that in the configuration 1, the adsorption of HCN on the exterior surface of the BeONT leads to decrease in the WBI of Be1-O2 from 0.1508 to 0.1229. These results are in agreement with obtained structural parameters for this configuration.

It can be seen from Table 3, E (2) value for the different configurations varies from 0.28 to 9.29 kcal/mol. It is well known that the larger is the E (2), the stronger is the interaction between HCN and nanotube and the greater the tendency that nanotube provide electron to HCN molecule, means more charge transferred. Therefore, there is stronger interaction in the configurations which in those the HCN adsorbs on the BeONT via the N atom in comparison with the configurations which the HCN interacts with the BeONT via its H atom, because of more total charge transfer energy associated with the intermolecular interaction.

Thermodynamic parameters

The calculated thermodynamic properties of the investigated systems are shown in Table 4. The complexes with lower relative standard Gibbs energy of formation are relatively more stable, whereas those with the higher relatively standard energy of formation are more unstable. The negative standard enthalpy change demonstrates that the formation of complexes is enthalpically favored. The values of the TΔ\(S_{ 2 9 8}^{0}\) imply the large entropy changes during the formation of complexes. In the investigated complexes, the high negative values of the TΔ\(S_{298}^{0}\) determine the positive values of \(\Delta G_{ 2 9 8}^{0}\). Thus, the formation of complexes is thermodynamically disfavored \(\left. {(\Delta G_{ 2 9 8}^{0} } \right\rangle 0)\).

Table 4 Changes in thermodynamic functions (kJ mol−1) upon complex formation, energy of the highest occupied molecular orbital (E HOMO), energy of the lowest unoccupied molecular orbital (E LUMO), the molecular orbital energy gap, Eg, Chemical hardness (η) and chemical potential (μ) and work function (Φ) in terms of ev

HOMO and LUMO analysis

LUMO and HOMO profiles of the HCN molecule, pristine BeONT and configurations 1 and 8 have been shown in Fig. 4. It can be seen that the HOMO of HCN molecule is positioned on whole of the molecule and LUMO is located on the N atom and C-H bond. Molecular orbital plots for HOMO and LUMO levels of pristine BeONT show the HOMO positions at the two ends of the nanotube, which suggests that the ends of the nanotube are more reactive compared to the side wall.

Fig. 4
figure 4

Orbital depiction of HOMO and LUMO in a HCN molecule b BeONT c Configuration 8

The molecular orbital plots of configuration 8 indicate that after HCN adsorption, the LUMO is localized on the HCN and inside of the nanotube and the HOMO is placed at the two ends of the nanotube, indicating that electrons transfer from BeONT to HCN molecule.

It can be seen from Table 4 that HCN adsorption on the nanotube surface leads to decrease in the Eg and hardness, while the softness will be increased (see Table 4). Our computations also demonstrate that a charge transfer to take place between HCN and the outer surface of the nanotube, which shows that the stability between HCN and nanotube is lowered and their reactivity increased. Thus, when HCN approaches to the nanotube, electrons are transferred from the higher chemical potential to the lower chemical potential, until the electronic chemical potentials become identical. Hence, electrons will flow from a definite occupied orbital in BeONT and will go into a definite empty orbital in a single HCN. In addition, the electric conductivity of the BeONT will considerably change in the presence of HCN, which can be explained according to the following equation

$$\alpha { \exp }\left( { - {\text{Eg}}/ 2 {\text{KT}}} \right)$$
(17)

where σ is the electrical conductivity and K is the Boltzmann’s constant. According to this equation, smaller Eg values lead to the higher conductance at a given temperature.

We find that adsorption of HCN on the nanotube surface leads to reduce E LUMO and increase E HOMO for studied complexes. Inspection of the theoretical results indicates that the value of Eg in configuration 1 is lower than the other configurations which confirm its more reactivity in comparison with the other configurations. Therefore, it is energetically favorable to add electrons to a high-lying LUMO and to extract electrons from a low-lying HOMO. The maximum and minimum values of Eg correspond to the configurations 8 and 1, respectively (see Table 4).

In order to investigate the influence of HCN adsorption on the electronic properties of the nanotube, total electronic densities of states (DOSs) for all of studied systems have been calculated. Comparison of the DOS for configuration 1 with that of pristine type shows that after HCN adsorption, peaks appeared near the valence and conduction level of the nanotube (see Fig. 5), reducing the Eg of nanotube from 7.38 in free form to 5.87 eV in adsorbed form. Therefore, the DOS of nanotube shows the changes due to HCN adsorption in the gap regions of the DOS plot. This phenomenon induces a conductance change of nanotube, suggesting that BeONT would be promising candidates for serving as effective sensors to detect the presence of HCN molecule.

Fig. 5
figure 5

The DOS of a the configuration 1, b BeONT

In recent years, the field emission properties of nanotube have acquired great importance. The field emission property is significantly determined by the work function. The HCN adsorption changes the work function of the BeONT and modifies its field emission properties. The emitted electron current densities are defined by the following equation:

$$J = AT^{2} \exp \, ( - \varPhi / \, KT)$$
(18)

where A is the Richardson constant (A/m2), T is the temperature (K) and Φ is the material’s work function. For the configuration 1, adsorption of HCN on the nanotube surface caused an enhancement in the Fermi level. This phenomenon leads to a decrease in the work function. The decrement in the work function shows that the field emission properties of the BeONT are facilitated upon the HCN adsorption. Therefore, this results in a reduced potential barrier of the electron emission of the nanotube, facilitating the electron emission from the BeONT surface.

One of the most important characteristics of the gas sensors is their recovery time. The desorption of the gas becomes more difficult, if interaction becomes stronger. Thus, the sensor may suffer from long recovery time. Shorter recovery time is expected, if the adsorption energy is significantly decreased. The recovery time, τ, can be expressed as

$$\tau = \, (\upsilon_{0}^{ - 1} { \exp }\left( { - E_{\text{ad}} /kT} \right)$$
(19)

where T is the temperature, k is Boltzmann’s constant and ν 0 is the attempt frequency. The adsorption energies of HCN are not large enough to hinder the recovery of BeONT. Therefore, recovery time may be short, according Eq. 19.

Molecular electrostatic potential

The molecular electrostatic potential surfaces (MEP) have been established as a guide to the prediction of molecular behavior. It is a useful tool in studying both electrophilic and nucleophilic processes. The MEP plot of the nanotube shows that the Be atoms are positively charged, while the O atoms are negatively charged in Be-O bonds of the nanotube surface (see Fig. 6). It indicates that the charge is transferred from Be atoms to O atoms resulting in an ionic bonding in the nanotube surface. Also, it can be seen from Fig. 6 that the nanotube atoms in around of the adsorption site in the adsorbed form are more positive as compared to the free nanotube, indicating a charge transfer from nanotube to HCN.

Fig. 6
figure 6

Molecular electrostatic plots for a BeONT, b HCN molecule and c Configuration 8

NQR parameters

The NQR parameters at the sites of various 9Be and 17O atoms for the optimized structures of (5,5) BeONT/HCN complexes and pristine BeONT are shown in Table 5. There are 35 Be and 35 O atoms in the studied (5, 5) nanotube, and the NQR parameters are divided into two layers based on the similarity of the calculated electric field gradient (EFG) tensors in each layer. Therefore, the electrostatic environment of the BeONT is not similar into two layers. In the pristine BeONT, the values of CQ (9Be) and CQ (17O) parameters at the ends of the nanotube are larger than that in the other layer. Also, the O atoms at each end of the nanotube have the largest CQ values, which mean that the nuclei at the ends of the BeONT are more active than those located in the other positions of the nanotube. Therefore, the atoms placed at the edge of the nanotube play important roles in determining its electronic behavior. For pristine BeONT, going to the second layer, the values of C Q (9Be) are decreased by the magnitude of 0.086 MHz. Reduction is also observed for η Q (9B). It should be mentioned that the magnitudes of changes of C Q (9Be) are larger than those of the 17O atoms. The difference between NQR parameters in the first layer and the other layers is due to the change of the geometrical parameters.

Table 5 Some NMR data (ppm) and EFG parameters computed at the B3LYP/6-31G* level of theory

In the most stable configuration, Be1 directly binds to HCN molecule, and its C Q is decreased by 0.8 MHz with respect to the pristine BeONT, while its η Q is increased. Also, for O atoms located in the neighborhood of Be1, C Q is decreased upon adsorption process.

NMR analysis

To study the effect of HCN adsorption on electronic structure properties of the nanotube, the chemical shielding (CS) tensors at the sites of various Be and O atoms for different configurations are calculated and shown in Table 5.

In the pristine BeONT, the calculated Be and O chemical shielding values are smaller at the ends of tube, compared to the center, while situation is vice versa for Δσ. It is worth mentioning that in the middle of tube the values of chemical shielding for O atoms approach to at about 248.6 ppm. According to our theoretical calculations, the Be and O chemical shielding values at the ends of nanotube deviates slightly from their values at the middle of tube.

Our theoretical results indicate that HCN adsorption on the nanotube surface has a considerable influence on Be and O NMR tensors. According to GIAO calculations performed after adsorption of the HCN molecule on the nanotube, for the most stable configuration, the isotropy value of Be and O NMR shielding tensor increases, at the Be and O site. This can be explained by higher electronic density at the site of this nucleus. It is worth mentioning that just the electrostatic properties of these nuclei are mainly dependent on electronic density around the atoms. Therefore, by HCN adsorption, the electronic densities of nuclei Be and O and the CS parameters undergo changes.

Conclusion

In this work, we present a theoretical study on the adsorption of the HCN molecule onto the interior and exterior surfaces of BeONT. We find that the adsorption energy for some of studied configurations is negative, showing that the adsorption process is exothermic and configurations are stable. Also, the value of the adsorption energies indicates the HCN molecule can be physically adsorbed on the nanotube surface. The electron density (ρ) and Laplacian (∇2 ρ) properties, estimated by AIM calculations, indicate that the BeONT–HCN interactions possess low ρ and positive ∇2 ρ. These values indicate that the interaction in the mentioned systems may be classified as weak interactions. NBO analysis indicates that the nanotube acts as an electron donor and HCN molecule acts as an electron acceptor for HCN adsorption on the BeONT surface. In addition, the occupation number of the σ*C–N increases upon adsorption process. The obtained value of the deformation energy shows that the structure of the HCN and nanotube does not considerable change by HCN adsorption on the nanotube surface. The results of calculations show that adsorption of the HCN molecule on the nanotube surface results in a decrease Eg. Thus, the reactivity and electrical conductivity increases upon adsorption process. Therefore, BeONT can be a promising candidate in gas sensor devices for detecting the HCN molecule.