Introduction

Phosgene (COCl2) is a colorless gas with high toxicity, utilized in many industrial applications [1]. It is important in the production of isocyanates, pesticides, pharmaceuticals, engineering plastics, polyurethane materials and military agents, and was used as a chemical weapon in World War I. Phosgene is also used for the production of dimethyl diphenyl urea as a protective gas in the defense industry. Because of its high toxicity, high volatility and low boiling point, the utilization, transportation and storage of phosgene is very dangerous [2]. There have been several theoretical investigations concerning the effective adsorption and detection of phosgene gas, using for example Al12N12 [3], Sc-doped BN nanotubes [4], a TiO2 surface [5], polyaniline nanofiber composites with amines [6] and Al- or Ga-doped B12N12 and B16N16 nanocages [7]. Elevated concentrations of phosgene in the air can cause pulmonary edema [8]. However, the detection and removal of phosgene molecules using accurate methods and appropriate compounds is a significant new approach.

Due to their high surface-to-volume ratio and spongy surface, nanostructured materials are very appropriate as sensors [9,10,11,12,13,14]. Also, since the production of fullerenes [15], many researchers have investigated the formation of fullerene and fullerene-related cages as sensors [16, 17]. During the last 20 years, because of their special physical and chemical behaviors and properties and large HOMO–LUMO gap, fullerene-like materials have attracted much attention [18,19,20]. In computational investigations, scientists examined several types of (XY)n (X = Al, B, … and Y = N, P, …) clusters, and predicted that the fullerene-like cages X12Y12 were the most stable [21, 22]. This can be demonstrated in reality: when n = 12 the fullerene-like cage (XY)n may be a favorable cluster and has special intrinsic consistency.

The adsorption properties of various compounds on the outer surfaces of Al12N12, Al12P12, B12N12, and B12P12 [23,24,25,26,27,28,29,30,31,32,33,34,35,36,37] have been investigated in previous studies. For example, Shokuhi Rad et al. studied the adsorption of guanine molecules on the outer surface of four nanocages, utilizing the B3LYP/6-31G(d,p) level of DFT calculations [23]. Even though the adsorption of guanine on Al12N12 has the largest adsorption energy, B12N12 and B12P12 demonstrate more alteration in electronic properties during adsorption of guanine on the nanocages. Also, the interaction of nickel and the surfaces of Al12P12 [24] and Al12N12 [25] has been investigated. The nickel atom was adsorbed on the outer surface of Al12P12 and Al12N12 nanoclusters in four different adsorption locations.

Beheshtian et al. investigated the adsorption of CO on the surface of a B12N12 nanocage [26]. The adsorption of pyrrole on the surfaces of four X12Y12 nanoclusters (Al12N12, Al12P12, B12N12, and B12P12) was investigated through density functional theory (DFT) calculations at the B3LYP/6-31G(d,p) level of theory [27].

In this regard, our group explored the interaction of the drug 4-aminopyridine on the outer surface of the above-mentioned semiconductors utilizing the M062x/6-311g(d,p) level of theory [28].

In the present study, our original purpose is to investigate the interaction of phosgene with the outer surface of four pure X12Y12 nanoclusters (where X = Al, B, and Y = N, P), using M062x/6-311g(d,p) density functional calculations. Also, structural and electronic properties of the relaxed and complexed nanoclusters of all structures were determined to provide useful information for the outline design of new gas sensors and nanoelectronic apparatus.

Computational Details

In the present work, all nanoclusters contain 24 atoms (donator and acceptor). The initial structures in the presence and absence of phosgene gas were fully optimized using density function theory (DFT). It is significant that the adsorption of phosgene gas on the outer surface of all relaxed nanoclusters is studied with the M06-2X, B3LYP and B97D methods and 6-311g(d,p) basis set. The M06-2X method considers the dispersion forces [38, 39]. Indeed, we use the same computational level of theory for the natural bond orbital (NBO) analysis of all systems. Also, we used the frequency calculations test, at the B3LYP method and 6-311g(d,p) basis set, on the optimized structures to determine the presence of a local minimum on potential energy surface. Here, some of the quantum molecular descriptors [40] such as the ionization potential (I = − EHOMO), the electron affinity of the molecule (A = − ELUMO), the chemical potential of the system (µ = − (I + A)/2), hardness (η = (I − A)/2), softness (S = 1/2η), the electrophilicity index (ω = μ2/2η) and the Fermi level (EF) [28] are investigated.

The adsorption energies of the gas on the pristine nanoclusters are calculated via the following equation:

$${\text{E}}_{\text{ads}} = {\text{E}}_{\text{phosgene/nanocluster}} - {\text{E}}_{\text{nanocluster}} - {\text{E}}_{\text{phosgene}}$$
(1)

where Ephosgene/nanocluster, Enanocluster and Ephosgene are respectively the total energy of the adsorbed phosgene on the relaxed nanocluster, the total energy of the pure nanocluster and the total energy of the phosgene molecule. To achieve the density of states (DOSs) plot we used the GaussSum program [40]. It should be noted that all theoretical calculations were carried out with the Gaussian 09 program suite [41].

Results and Discussion

Characteristics of Al12N12, Al12P12, B12N12, B12P12 and Phosgene

The optimized structure of all pristine nanoclusters (absorbents) and their HOMO and LUMO distributions are presented in Fig. 1. All nanoclusters are built with 6 tetragons and 8 hexagons with two types of X–Y bond among all 36 X–Y bonds; one of them is shared between two hexagons and the other is shared by a hexagon and a tetragon. The X atoms are aluminum and boron and the Y atoms are nitrogen and phosphorus in all nanoclusters. The most important geometric parameters, such as Al–N, Al–P, B–N and B–P bond sizes for all pristine nanoclusters, are shown in this figure. However, to obtain the stability of all structures, the harmonic frequencies for the configurations are performed. Forasmuch as all of the vibrational frequency modes of the configurations are positive (see Table 3), we could conclude that all configurations is optimized on some local minimum.

Fig. 1
figure 1figure 1

Relaxed structures of Al12N12, Al12P12, B12N12, B12P12 and phosgene and their HOMO and LUMO distributions. Distances are in Å

Our research team calculated the following bond sizes [28]: 1.78 and 1.85 Å (for Al12N12), 2.27 and 2.32 (for Al12P12), 1.44 and 1.48 (for B12N12) and 1.90 and 1.92 (for B12P12), for the hexagonal and tetragonal rings respectively, at the M06-2X/6-311g(d,p) level of theory. These are similar to the results reported in [42,43,44,45,46,47]. The greater strain in the tetragonal rings compared with the hexagonal rings caused the length of the bonds in the tetragonal rings to be greater.

As shown in Table 1, the calculated energies of the HOMO and LUMO levels of Al12N12 (and Al12P12) and B12N12 (and B12P12) nanoclusters are − 8.02, − 1.71 (− 7.81, − 3.02) and − 9.44, − 0.01 (− 8.05, − 2.50) eV respectively.

Table 1 HOMO–LUMO gap (Eg) of the Al12N12, Al12P12, B12N12 and B12P12 nanocages and phosgene gas calculated using the various level of theory

From Table 1, it is quite clear that the energies of the HOMO orbitals of all pure nanoclusters differ significantly from the energies of their LUMO orbitals.

Figure 1 also shows that the HOMO and LUMO profiles are mainly localized on the Y (N and P) atoms and X (Al and B) atoms respectively. Also, the Fermi level energies for Al12N12 (and Al12P12) and B12N12 (and B12P12) nanoclusters are − 4.86 (− 5.41) and − 5.32 (− 4.73) eV, and the band gaps are 6.31 (4.79) and 9.43 (5.50) eV respectively.

To calculate Eg (gap energy) for all studied nanoclusters, we used the M06-2X method and the 6-311g(d,p) basis set.

In Table 1, it is shown that the order of the magnitudes of gap energies for all pristine nanoclusters is as follows: B12P12 ≫ Al12N12 > B12N12 > Al12P12.

The Al12P12 and B12P12 nanoclusters have respectively the smallest and largest magnitudes of Eg. Hence these are respectively the most and the least electrically conductive nanoclusters. In other words, this means that the B12P12 nanocluster behaves more like an insulator than the other nanoclusters. Also, Eg is an indicator of kinetic consistency, and its values show that Al12P12 has lower kinetic consistency than the remaining nanoclusters, and thus higher reactivity.

The HOMO and LUMO orbital energies for the phosgene gas are − 10.81 and − 0.56 eV respectively. The Eg value for this molecule is 10.15 eV at M06-2X method. In Tables 1 and 2, it should be noted that this calculated Eg value depends severely on the density functional applied. For instance, using the identical basis set, the B3LYP and B97D functionals give a smaller HOMO–LUMO energy gap than that calculated using the M06-2X method. By comparing the results of various methods in Table 1, we conclude that the results of M06-2X function are better and precise than the other two functions (B3LYP and B97D). This is most likely due to the relatively large contribution of Hartree–Fock exchange energy in the latter density functional, which tends to greatly stabilize the HOMO state [48].

Table 2 Ionization potential, electronegativity, electron affinity, chemical potential, softness, hardness, Fermi level, HOMO–LUMO energy gap and electrophilicities of all nanocage/COCl2 complexes

As we expected, the HOMO and LUMO distributions for the phosgene molecule are located in the O, Cl and C atoms respectively. Also, the HOMO distribution in all relaxed nanoclusters is largely located on N and P atoms, while the LUMO distribution is uniformly focused on Al and B atoms. The other important parameters for all pure nanoclusters and phosgene are reported in Table 1.

Adsorption of Phosgene on Al12N12, Al12P12, B12N12 and B12P12

Figure 2 illustrates the adsorption of phosgene gas on the outer surface of relaxed Al12N12, Al12P12, B12N12 and B12P12 nanoclusters (Cartesian coordinate of all structures provided in supplementary data file). As can be seen in Fig. 2, when the phosgene gas comes near to the outer surface of any pristine nanocluster, it is adsorbed on the Al atom (for Al12N12 and Al12P12) or B atom (for B12N12 and B12P12) of the nanocluster. Upon adsorption of phosgene gas, many significant changes are observed in all nanoclusters. According to the natural bond orbitals (NBOs) analysis, the charge density on Al atoms in Al12N12 (and Al12P12) nanoclusters which react with one, two and three phosgene molecules are 1.840,1.841 and 1.835e (and 0.921, 0.918, 0.922e), while the charge densities on B atoms in B12N12 (and B12P12) nanoclusters are 1.230, 1.231, 1.230e (and − 0.131, − 0.141, − 0.131 e), respectively. Also, the distribution of charge density on an oxygen atom, in one, two and three phosgene molecule which reacts with Al12N12, (Al12P12), and B12N12 (B12P12) nanoclusters is equal to − 0.564, − 0.561, − 0.557e, (− 0.469, − 0.523, − 0.567e), and − 0.470, − 0.468, − 0.467e, (− 0.490, − 0.489, − 0.476e), respectively. From these numbers, we concluded that with increasing the concentration of phosgene molecule the distribution of charge density do not changed a lot. The higher charge transfer of nitrogen-containing nanocages points towards the higher alters in their electronic structure that is significant for designing a sensor. Comparing pure nanoclusters and nanocluster/phosgene complexes, it is seen that the Al–P, Al–N, B–N and B–P bond sizes change significantly following adsorption. Upon absorption of phosgene gas on the outer surface of all relaxed nanoclusters, all of the bond sizes and angles changed. These variations in the electronic properties generate an electrochemical sensor.

Fig. 2
figure 2

Optimized structures of phosgene-adsorbed Al12N12, Al12P12, B12N12 and B12P12 complexes. Distances are in Å

To investigate the ability of all relaxed nanoclusters to sense phosgene gas, some quantum chemical parameters, such as the ionization potential, electronegativity, electron affinity, chemical potential, softness, hardness, Fermi level, HOMO–LUMO energy gap and electrophilicity of all nanocluster/phosgene molecule complexes at different methods are listed in Table 2 and compared with relaxed nanoclusters.

The amounts and separation of charges have a great effect on dipole moment. The adsorption of phosgene gas on the outer surface of relaxed Al12N12, Al12P12, B12N12 and B12P12 nanoclusters results in significant change in the dipole moment. For all pure nanoclusters, the dipole moments are essentially zero, whereas after adsorption the magnitudes of the dipole moments increase considerably.

As can be seen in Fig. 3, the magnitudes of the dipole moments of the Al12N12/phosgene, Al12P12/phosgene, B12N12/phosgene, and B12P12/phosgene complexes are 5.20, 1.14, 1.92 and 1.76 D, respectively. Finally, for all complexes of nanoclusters with phosgene gas, the dipole moment vectors are directed from the nanocluster towards the phosgene molecule.

Fig. 3
figure 3

The dipole moment of each system: Al12N12/phosgene, Al12P12/phosgene, B12N12/phosgene and B12P12/phosgene

The global indexes of reactivity, due to the reactivity and consistency of the phosgene molecules, pristine nanoclusters and complexes, are very important factors. The phosgene molecule is relatively harder (4.21 eV) than all of the studied nanoclusters/phosgene complexes and all relaxed nanoclusters. In other words, following the interaction of the phosgene gas with the exterior surface of all nanostructures, the hardness decreases (except in the case of Al12P12). For Al12N12 (and Al12P12) nanoclusters, the changes in hardness are ∆η = − 0.41 eV (and ∆η = 1.4 eV), while the changes for B12N12 (and B12P12) are ∆η = − 0.54 eV (and ∆η = − 0.0 eV). Softness and hardness are inverse properties; therefore, it is predicted that the softness for all complexes will increase. The changes in softness following the adsorption of phosgene gas on the exterior surface of Al12N12, Al12P12, B12N12 and B12P12 are 0.022, − 0.08, 0.01 and 0.001 eV, respectively.

Generally, complexation between nanoclusters and phosgene molecules raises the chemical potential, but here, for Al12N12, the chemical potential changed from − 4.86 to − 4.92 eV. The chemical potentials of Al12P12, B12N12 and B12P12 changed from − 5.41 eV, − 4.72 eV and − 5.27 eV to − 5.38 eV, − 5.13 eV and − 5.19 eV respectively. The greatest and least amounts of variation in chemical potential were obtained for B12N12 and Al12P12 respectively.

Tables 1 and 2 also give the values of the electrophilicity index ω for isolated nanoclusters and all nanocluster/phosgene complexes. The adsorption of phosgene gas on the outer surface of the nanoclusters led to higher electrophilic indexes for Al12N12 and B12N12, but lower electrophilic indexes for Al12P12 and B12P12 nanoclusters. This is due to the large distance of the phosgene molecule and the nanoclusters.

Figure 4 depicts the HOMO and LUMO distributions of nanocluster/phosgene complexes. Upon the adsorption of phosgene on the exterior surface of nanoclusters close to the Fermi level, there is seen to be significant change in the location of the HOMO and LUMO distribution in all nanoclusters. In spite of these changes in HOMO and LUMO profiles, the Eg values of terminal nanocluster complexes are not significantly altered. The main reason that the Eg values do not undergo significant changes is that there are similar shifts in the position of the HOMO and LUMO orbitals during adsorption.

Fig. 4
figure 4

HOMO and LUMO distributions of phosgene/nanoclusters

During the interaction of the phosgene molecule on the exterior surface of all relaxed nanoclusters, some slight alteration in the HOMO and LUMO profiles is observed. The energy of the HOMO and LUMO orbitals and the difference between the HOMO and LUMO orbitals (band gap) for Al12N12/phosgene (and Al12P12/phosgene) and B12N12/phosgene (and B12P12/phosgene) nanocluster/phosgene complexes are − 7.67, − 2.18, 5.49 (and − 7.77, − 3.00, 4.77) and − 9.30, − 0.96, 8.34 (− 7.96, − 2.43, 5.53) eV respectively.

With adsorption of phosgene molecules on the outer surface of all pristine nanoclusters, the Eg values of all systems changed significantly. The decrease in the Eg values of the nanocluster/phosgene complexes following complexation corresponds to an increase in conductivity, which is significant for the design of an electrochemical sensor.

The adsorption energies of phosgene molecules on the exterior surface of pure Al12N12, Al12P12, B12N12 and B12P12 nanoclusters are − 0.816, − 0.272, − 0.272 and − 0.272 eV, with optimum distances of 2.01, 3.77, 2.52 and 3.42 Å respectively. The adsorption of phosgene molecules on the outer surface of B12N12 nanocage performed by Shakerzadeh et al. [7], which fully matches with the results of our research team. They obtained the amount of absorption energy for this complex of − 0.27 eV that has an excellent correlation with our result. Also, Baei et al. [3] investigated the ability of Al12N12 nanocage as a potential sensor for phosgene detection using B3LYP functional and standard 6-31G* basis set, in which those results indicates there is a good correlation with our result.

The above results suggest that the adsorption of phosgene molecules on the Al12N12 nanocluster proceeds by way of chemisorption. On the other hand, the small adsorption energies of phosgene molecules on the outer surface of Al12P12, B12N12 and B12P12 pure nanoclusters suggest physisorption. The powerful adsorption of phosgene on the Al12N12 nanocluster depends on the greater charge density on the Al atom compared with the B atom. The adsorption energy is inversely proportional to the X12Y12–phosgene distance.

As well as, the basis set superposition error (BSSE) was calculated by counterpoise method to delete basis functions overlap effects [49]. As shown in Table 2, the EBSSE for Al12N12/phosgene (and Al12P12/phosgene) and B12N12/phosgene (and B12P12/phosgene) complexes are 0.195, (and 0.140) and 0.092 (and 0.110) eV, respectively. In Table 2, all methods (M06-2X, B97D and B3LYP) predict that the highest and smallest Eads is achieved for the Al12N12/phosgene complex (with a value of − 0.816, − 0.680, − 0.540 eV) and B12P12/phosgene complex (with a value of − 0.272, − 0.190, − 0.060), respectively. And the Eg of B12N12/phosgene complex is higher than other complexes in all methods (Eg,M06−2X = 8.34, Eg,B97D = 3.72 and Eg,B3LYP = 5.54). In the other word, in comparison with the M06-2X function, the B97D and B3LYP methods underestimate the adsorption energies. This is because of the great displacement of the LUMO state to lower (more negative) energies, so the Eg of the B12N12/phosgene nanocluster is increased considerably. It can be concluded that the electronic properties of the B12N12 nanocluster are sensitive to the adsorption of phosgene gas. In addition, the B97D and B3LYP methods shown that the binding distance between the adsorbent molecule and the nanoclusters is more than M06-2X. The highest deviation between M06-2X–B97D and M06-2X–B3LYP adsorption energies are 3.11 kcal/mol and 6.37 kcal/mol in the Al12N12/phosgene complex, respectively.

Figure 5 shows the electronic density of states (DOSs) of phosgene gas, relaxed nanoclusters and the most stable nanocluster/phosgene complex. Upon the adsorption of phosgene gas on the outer surface of relaxed nanoclusters, the DOSs of all structures is changed. Upon the adsorption of phosgene molecules on all structures, significant changes can be seen in the location of not only HOMO but also LUMO atomic orbitals, near to the Fermi level, which demonstrate a strong interaction between them. In this work, in spite of the change in location of HOMO and LUMO orbitals, because of the closely similar alterations in the location of HOMO and LUMO orbitals of nanoclusters during interaction with phosgene molecules, the Eg values of all analyzed complexes do not change significantly. Also, during the decoration of Al12N12 nanocluster with phosgene, the HOMO orbital moves to larger energy levels, but the LUMO orbital moves to lower energies and is divided into two orbitals. Hence the Eg of this nanocluster increases. In addition, upon interaction of the Al12P12 nanocluster with phosgene molecules, the energies of the HOMO and LUMO orbitals are not significantly altered. During the interaction of the B12N12 nanocluster with phosgene gas, since the HOMO orbital moves toward higher energy levels and the LUMO orbital moves to lower energies, the Eg of this nanocluster increases. Finally, the occupied and unoccupied states of the B12P12 nanocluster do not show a significant change.

Fig. 5
figure 5figure 5

DOSs of pure and phosgene-adsorbed nanocages

Eventually, to obtain the thermodynamic parameters of all Al12N12/phosgene, Al12P12/phosgene, B12N12/phosgene and B12P12/phosgene complexes, the alters of \(\Delta H\), \(\Delta G\), and \(\Delta S\) of the structures at 298.15 K and 1 atm are calculated and depicted in Table 3. As is shown in Table 3, the calculated value of \(\Delta G\) for configuration Al12P12/phosgene is negative (− 55.75 kJ mol−1), whereas the \(\Delta G\) value for Al12N12/phosgene, B12N12/phosgene and B12P12/phosgene are 92.45, 241.52 and 57.21 kJ mol−1, respectively. The results indicate that complex Al12P12/phosgene is very more stable than others. Also, the \(\Delta H\) value for the all complexes is positive, demonstrating that the process is endothermic and the process may occur nonspontaneous at room temperature and 1 atm.

Table 3 Calculated thermodynamic data, minimum and maximum vibrational frequencies

Effect of Concentration

At the end of this study, we investigated the effect of the concentration of phosgene gas on the adsorption energy, interaction energy and the sensitivity of the Al12N12, Al12P12, B12N12, and B12P12 nanoclusters. To achieve this objective, 2 and 3 phosgene molecules were adsorbed on the outer surface of all nanoclusters, as shown in Fig. 6.

Fig. 6
figure 6figure 6

Optimized structures of 2 and 3 phosgene molecules adsorbed on the Al12N12, Al12P12, B12N12 and B12P12 nanoclusters. Distances are in Å

The results (Table 4) show that by increasing the quantity of COCl2 gas the adsorption energy per gas molecule is made less negative (except in the case of Al12P12). This may be due to the steric effect, that is, by increasing the coverage of COCl2 around the nanoclusters, its tendency to accept another molecule is reduced. Interestingly, with an increase in the number of COCl2 molecules on the outer surface of the nanoclusters, the electronic properties of the clusters change significantly. As shown in Table 4, the HOMO and LUMO values of all structures changed in the same direction (moved to higher energies). For all systems, on an increase in the number of COCl2 molecules, the HOMO–LUMO gap decreased (except in the case of Al12P12). This demonstrates that the electrical conductivity of the nanoclusters is increased much more under high gas pressure, and a larger electronic signal can be achieved.

Table 4 Energies of HOMO and LUMO and HOMO–LUMO gap (Eg) in eV, and change of Eg upon adsorption of 1, 2, and 3 COCl2 molecules on Al12N12, Al12P12, B12N12 and B12P12 nanocages

Conclusions

The interaction and electronic properties of COCl2 on relaxed Al12N12, Al12P12, B12N12 and B12P12 nanoclusters were examined using DFT calculations with the M06-2X method and the 6-31G(d,p) level of theory. It was found that when a phosgene molecule comes near to the outer surface of all pure nanoclusters, it is adsorbed on the Al atom (for Al12N12 and Al12P12) or B atom (for B12N12 and B12P12) of the nanocluster. The results show that the interaction of Al12N12 and COCl2 (Eads = − 0.816) is stronger than for other nanoclusters (Eads = − 0.272). During the adsorption of COCl2 molecules on the pure nanostructures, the HOMO–LUMO energy gap of all nanocluster complexes is decreased, showing that they can generate an electronic signal in the presence of this gas and can be applied in chemical sensors. In addition, the electronic properties are dependent on the number of COCl2 molecules. The results show that with an increase in the concentration of COCl2 gas the adsorption energy is reduced (except in the case of Al12P12).