Introduction

Superexcellent properties of boron nanostructures have been led these wonder materials in the center of attention [1,2,3,4,5]. Boron nanostructures have the same merit as carbon nanomaterials such as lightweight, extreme hardness, and porous [6, 7]. Recently, a new two-dimensional boron sheet, borophene, has been synthesized on the Ag(111) substrates [8]. The exploration of borophene offers a broad perspective in medicine, material research, catalysis, and photonic devices [9]. Furthermore, the quasi-planar structure, low atomic weight, and high stability of borophene make it an attractive potential choice for the energy storage and conversion systems [10,11,12,13]. Over the past decade, combined experimental and theoretical studies have led to a systematic understanding of the structural and bonding properties of small boron clusters [14, 15]. Recently, a quasi-planar boron cluster, B36, with a central hexagonal vacancy and sixfold symmetry has been synthesized by Piazza and coworkers [16]. This B36 cluster represents a record size for freestanding quasi-planar atomic clusters and is an embryo for the formation of extended two-dimensional boron sheets [6, 7, 17]. The unique structure of B36 with a natural hole is capable of lots of applications. For example, Rastgu et al. [18] investigated the reactivity and electronic sensitivity of B36 borophene toward four nucleobases of adenine, guanine, thymine, and cytosine. Their results suggest a new method for determination of DNA sequencing by use of B36. In a recent study, the potential application of B36 as a sensor for detecting toxic gases such as formaldehyde has been demonstrated [19]. Increasing research interests in B36 have encouraged scientists to explore further beneficial methods for energy generation prospects [20,21,22,23,24,25]. It is known that metallization of nanostructures is an efficient and industrial way to develop forefront of energy-related materials. Although alkali metals [26, 27], alkaline earth metals [28, 29], and transition metals [30, 31] are extensively investigated in this case, lighter metal adatoms can help to achieve higher gravimetric density [32]. On the other side, there are many literature studies indicating that B doping on carbon nanostructure can enhance storage capacity in metal ion batteries, decreases diffusion barrier, and raises metal reversible storage [33, 34]. Therefore, it is expected that pure boron or boron-rich materials achieve great performance as an electrode in rechargeable ion batteries. The adsorption and diffusion of commercial metal ions on freestanding borophene have received great research interest in recent years [35]. Experimental and theoretical studies indicate that borophene can serve as an ideal electrode material with high electrochemical performance for both Li-ion and Na-ion batteries [22, 24].

The advantage of borophene over carbon nanostructures and the experimental observation of B36 give us an impetus to examine it as a possible hydrogen storage material. Liu et al. [6] showed that Li adsorbed on neutral and anionic B36 can serve as reversible hydrogen storage media. Nonetheless, for efficient and economic H2 operation (adsorption/desorption) the optimal binding energy between hydrogen molecule and the host should be 0.1–0.3 eV/H2 [36]. To cover downside of the weak interaction between H2 molecules and the host, chemical modifications and decoration with foreign metal are successful techniques [37]. Accordingly, in the current contribution, we study the effect of local nitrogen doping on the structure, electronic, and adsorption properties of B36 and its anion. Our main concerns are as follows: (1) How does the local position of dopant affect the structure and the curvature of the B36 cluster? (2) How do the electronic structures of pristine and doped B36 change after decoration with light alkali metals (Li, Na, K). Does the binding strength between metal and the B36 clusters depend on the concentration and location of nitrogen dopant? (3) How do the B/N content and the metal affect the adsorption behaviors of metallized N-doped B36 toward H2 molecule?

Computational methods

All structures were fully relaxed by density functional theory (DFT) calculations at PBE0/6-31G* level. The PBE0 was lately benchmarked as a reliable DFT method for the boron system [17, 38, 39]. Further, Romanescu et al. [40] performed an UV–IR double-resonance experiment to obtain absorption spectra of boron clusters. They also calculated IR spectra of the three low-lying isomers of B11, B16, and B17 in the wavelength range of 650–1550 cm−1 using different DFT methods. The best agreement between experimental IR spectrum and calculated IR was observed for PBE0 method. Accordingly, all structural optimization and electronic surfaces analyses in the present study were accomplished by PBE0 as implemented in GAUSSIAN 09 package [41].

In order to have criteria for structural stability of the clusters, the formation energy is calculated as follows:

$$ E_{\text{form}} = (E_{\text{cluster}} - n_{\text{N}} E_{\text{N}} - n_{\text{B}} E_{\text{B}} )/n_{\text{tot}} $$
(1)

where \( E_{\text{cluster}} \) is the total energy of the cluster, \( E_{\text{N}} \) is the energy of a nitrogen atom in \( {\text{N}}_{2} \) molecule, \( E_{\text{B}} \) is the energy of an isolated boron atom, and \( n_{\text{N}} \), \( n_{\text{B}} \), and \( n_{\text{tot}} \) represent the number of nitrogen, boron, and total atoms in the cluster, respectively.

The binding strength between metal (M = Li, Na, and K) and boron cluster is obtained from the expression, \( E_{\text{b}} = E_{\text{M/cluster }} - E_{\text{M}} - E_{\text{cluster}} \), in terms of the energy of an isolated metal \( E_{\text{M}} \), and the energy of boron cluster with and without metal adatom (\( E_{\text{M/cluster}} \) and \( E_{\text{cluster}} \)). Also to evaluate adsorption behavior of metallized substrates toward single hydrogen molecule, the adsorption energy is calculated by:

$$ E_{\text{ads}} = E_{{{\text{H}}_{2} - {\text{M/cluster}}}} - E_{\text{M/cluster }} - E_{{{\text{H}}_{2} }} $$
(2)

\( E_{{{\text{H}}_{2} - {\text{M}}/{\text{cluster}}}} \) denotes the total energy of a hydrogen molecule adsorbed on metallized substrate and \( E_{{{\text{H}}_{2} }} \) is the energy of an isolated hydrogen molecule. Apart from energetic criteria, for all systems under our consideration, including pristine, metallized, and hydrogen adsorbing systems, the harmonic vibrational frequencies were calculated to affirm that the obtained structures are true minima. Bonding analyses were performed using the adaptive natural density partitioning (AdNDP) approach [42]. The AdNDP patterns, the deformation maps of electron density, and the topological analysis of the electron localization function (ELF) were performed with MultiWFN program [43, 44].

Results and discussion

Nitrogen doping

Structure and energetics of N-doped borophene

Both B36 and its anion are quasi-planar with the shape of a bowl having a central hexagonal vacancy [16]. B36 encircles three different sizes of rings as shown in Fig. 1. Inner, middle, and outer rings each contain 6, 12, and 18 boron atoms, respectively. The N-doped analogous of the B36 cluster can be designed by replacing B–B unit by B–N in each ring. We consider three doped clusters by introducing three, six, or nine nitrogen atoms into the inner, middle, and outer rings of B36 resulting into formation of B33N3, B30N6, and B27N9 clusters (Fig. 1). All the atomic coordinates of doped clusters were fully relaxed during the geometry optimization without symmetry constraints. To screen the perturbation effect of N-doping on the structure and curvature of B36, we consider three structural parameters including the height of bowl, the length of the cluster, and the diameter of a sphere fitted inside of cluster cavity. The detailed structural information is given in Table S1 in Supplementary Material. As shown in Fig. 1, doping at the inner ring has little effect on the cluster geometry and B33N3 retains its bowl shape. The bowl height becomes (1.56 Å) which is larger than that of B36 (1.17 Å), but the cluster length remains almost unchanged. On the contrary, B36 undergoes great structural deformation upon N-doping at the middle and outer rings. In B30N6, substitution six boron atoms at the middle ring with six nitrogens result in a cone-like structure with the height of 3.65 Å. Also in B27N9 the bowl transfigures to a disordered geometry having the height and the length of 4.01 Å and 7.33 Å, respectively. The bond length between B and N is 1.28–1.50 Å which is smaller than the distance between two B atoms (1.58–1.74 Å). Consequently, the cluster undergoes compression upon N-doping. In B33N3, the core cavity becomes slightly smaller than that of all-boron B36. Moreover, B33N3 has six additional pentagonal vacancies around the central pore. In the case of B30N6, some boron atoms move above the nominal ring and some move below that caused buckling. Deformation around the inner and middle rings shrinks the central cavity and produces several larger vacancies at the bottom of the cone. In B27N9, the nitrogen dopants have farther distance from the central vacancy and the compression occurs mostly at the cluster length. Thus, B27N9 has the largest central cavity that may be helpful for its application as an adsorbent. It should also be noted that the structures of N-doped B36 clusters are similar to those of neutral B36 with small geometry change (see Supplementary Material for detailed structural parameters).

Figure 1
figure 1

Illustration of three concentric rings in B36: inner ring (green), middle ring (black), and outer ring (red). Top and side views of a B36, b B33N3, c B30N6, d B27N9. The height, the length, and the cavity size are also shown in B36

In addition to the structure, the thermodynamic and kinetic stability of the doped systems is also crucial for application purpose. The feasibility of N-substitutions in the borophene is assessed through the formation energy using Eq. (1). The negative values of formation energies indicate that the N-doped borophenes are energetically stable although their surfaces are no longer quasi-planar and prefer to buckle. The variation of formation energies is presented in Fig. 2. For both neutral and anion, the formation energy decreases by increasing the impurity concentration, indicating a decrease in the thermodynamic stability of the N-doped clusters as compared to the all-boron structure. On the other hand, a standard way of evaluating the stability of such molecular systems is to study the energy separation between the highest occupied molecular orbital (HOMO) and lowest unoccupied molecular orbital (LUMO). The higher HOMO–LUMO gap (E g) is an indicator of a more stable system with less chemical reactivity. The HOMO–LUMO gaps of B36 and B36 are 1.22 and 1.18 eV. Interestingly, we see an opposite trend for the variation of E g in the neutral and anionic clusters (Fig. 3). The N-doping at the inner and middle rings of the neutral B36 lowers the HOMO–LUMO gap, while doping at the outer ring raises the E g. In the case of anionic clusters, the trend is quietly reversed. However, it is worthy to note that in all N-doped B36 clusters, the gaps are greater than that of the pure undoped cluster.

Figure 2
figure 2

Formation energy of pristine and N-doped B36 clusters

Figure 3
figure 3

The energy gaps of pristine and N-doped B36 clusters

To identify the effect of N-doping on the electronic structure of boron clusters, we have plotted total density of states (TDOS) for considered systems (Fig. 4). Comparing the TDOS of the original B36 cluster (solid line) with N-doped clusters (dashed line) reveals the appearance of new peaks in the vicinity of Fermi energy which in turn implies the strong hybridization between nitrogen and boron atoms. The N-doping at the inner and middle rings shifts the Fermi level to lower energies and induces the p-type behavior. Moreover, we also present the spin-polarized DOS plots of anionic clusters in Fig. S1 in Supplementary Material. The asymmetric behaviors of up and down spins near the Fermi level result in a nonzero magnetization in B36 and its N-doped structures.

Figure 4
figure 4

TDOS plots of pristine and N-doped B36 clusters. Fermi energies are shown by vertical lines

Chemical bonding analysis: adaptive natural density partitioning

To understand more details on the bonding properties of considered doped systems, we performed AdNDP analysis. AdNDP has been introduced as a bridge between canonical molecular orbitals (CMOs) and natural bond orbitals (NBOs). CMOs are highly delocalized; meanwhile, NBOs are appreciably localized. AdNDP is an extension of NBO analysis featuring both localized and delocalized bonding without invoking the concept of resonance. In AdNDP analysis, density matrix has been localized by n-center two electron orbitals (nc-2e) with n spanning the interval from one to the total number of atoms in the system. However, there is no unique rule on how to search orbitals and pick out candidate orbitals as AdNDP orbitals. Actually, some molecules may have more than one reasonable AdNDP patterns. In this context, different AdNDP patterns have already been proposed for B36 [16, 45]. Herein, we just focus on the AdNDP results for the π bonding frameworks. To be specific, comparisons of the π orbitals between the inner rings of B36 and B33N3 (6c-2e), the middle rings of B36 and B30N6 (12c-2e), and the outer rings of B36 and B27N9 (18c-2e) are made (Figs. 5, 6, 7). Earlier studies indicate that B36 and B36 are all-boron analogs of coronene (C24H12) featuring concentric dual π aromaticity [45, 46]. Accordingly, we also performed AdNDP analysis for coronene and its doped derivatives (C21N3H12 and C15N9H6) resulted from nitrogen substitution at the inner and outer ring, respectively. The AdNDP patterns of π bonding in the inner rings of B36 and B33N3, as well as C24H12 and C21N3H12, are presented in Fig. 5a–d. Interestingly, similar bonding patterns are observed not only for B36 and C24H12 but also for the doped structures B33N3 and C21N3H12, demonstrating the close analogy between the π bonds in the B33N3 and C21N3H12. In Figs. 6 and 7, we proposed two new optimal π orbitals in middle and outer rings with acceptable occupation numbers (ON). In a previous study, Chen et al. [45] demonstrated a one-to-one correspondence between 2c-2e, 4c-2e, and 6c-2e π bonds of B36 with those of C24H12. Here, such correspondence has also been observed for 6c-2e and 18c-2e π orbitals of borophene and coronene. More interestingly, our AdNDP analysis for the doped clusters indicates the same analogy between π bonding patterns of N-doped coronene and N-doped borophene.

Figure 5
figure 5

π bonding analysis using the AdNDP method for inner ring in a B36, b B33N3, c C24H12, d C21N3H12. The occupation numbers (ONs) are indicated

Figure 6
figure 6

π bonding analysis using the AdNDP method for middle ring in a B36 and b B30N6

Figure 7
figure 7

π bonding analysis using the AdNDP method for outer ring in a B36, b B27N9, c C24H12, d C15N9H6

Electron density deformation upon N-doping

To achieve a deep insight into the redistribution of electron density upon N-doping, the electron density deformation is adapted. Deformation densities can be generated to visualize the difference between the total electron density of the molecule and the superimposed densities of the constituent non-interacting atoms. Graphical representation of the deformation density maps is shown in Fig. 8. The blue and red lines represent the positive and negative density differences which arise from charge density accumulation and depletion, respectively. Evidently, in B36 regions of positive deformation density indicate the formation of covalent bonds between boron atoms of an individual ring and boron atoms belonging to two neighboring rings (Fig. 8a). N-doping at the inner ring does not lead to significant change into the distribution of electron density around the middle and outer rings (Fig. 8b). Nonetheless, the map shows that extra electrons of the N-dopant stay locally on nitrogen and weaken the bonds in the inner ring. In the nitrogen-rich structures, the symmetric bonding pattern is lost (Fig. 8c, d) and the depletion of electron density leads to an anisotropic distribution of electron density over the whole B30N6 and B27N9 clusters. Thus, although B36 itself is a highly stable cluster, however, it cannot bear introducing the dopant.

Figure 8
figure 8

Contour maps of deformation electron density for a B36, b B33N3, c B30N6, d B27N9. Positive and negative contours are represented by blue and red lines, respectively

Metallization

To understand the effect of N-doping and charge state of the substrate on the alkali metal binding properties, we first calculate the binding energy between Li atom and B36 cluster. Different initial adsorption sites of Li on B36 are considered, including above the convex and concave sides of the central hexagonal cavity, triangle hollow site, and above the B–B bonds of the inner, middle, and outer rings. After structural relaxation, we found that the Li atom preferably is adsorbed above the central hexagonal vacancy at a distance of 1.60 Å with the maximum binding energy of E b = 1.88 eV. The binding of Li to B36 is about 0.2 eV stronger. We further examined whether the Li binding energy changes on the N-doped clusters. When compared to the case of pristine B36, the binding energy is significantly enhanced by ~ 1.2–2.15 eV. As shown in Fig. 9, the maximum enhancement is observed in the case of Li adsorption on B33N3. A similar trend has also been obtained for Li adsorption on anionic B36 . This finding suggests that different values of binding energies can be achieved by changing the charge state and introducing nitrogen into the B36 cluster. Moreover, the calculated binding energies are high enough to hinder clustering of alkali metals [47].

Figure 9
figure 9

Binding energy variation of adsorbed metal on neutral (up) and anionic (down) substrates

We also considered similar configuration for the adsorption of Na and K on the neutral and anionic B36 as well as their N-doped analogous. The trends in the binding energies are supported by the adsorption distance and the charge transfer between metal and substrates. The collected data in Table S2 show that the size of metal adatom and the dimension of the cavity on the boron cluster are two influential factors that determine the adsorption distance. In fact, the optimal distance (dM-substrate) is determined by the repulsive forces between metal and the cluster. Hence, the largest distance belongs to the adsorption of K atom on B30N6 (having the smallest cavity size). Similar to the bonding mechanism of alkali metals on carbon surfaces [48], the adsorption of alkali metals on considered boron clusters is along with the electron transfer from metal to the cluster. The calculated natural charges of the metal center (QM) are summarized in Table S2. As might be anticipated, the magnitudes of charge transfer between alkali metals and B33N3 cluster are remarkably higher than those of other complexes.

This binding mechanism has also been confirmed by conducting the ELF analysis. The ELF theory is an important tool to study electronic structure and chemical bond analysis. Generally, a high value of ELF at a certain point is an indicator of the localized electrons therein. ELF is a dimensionless quantity that varies between 0 and 1. ELF = 0 corresponds to a completely delocalized situation, and ELF = 1 shows perfect localization; Fig. 10 presents the two-dimensional color-filled maps of Li adsorption on neutral B36 and three N-doped clusters. The left panel shows the ELF maps of bare clusters. In B36, the high value of ELF (red color) in the outer ring indicates that the electrons are more likely confined in that region. Introducing nitrogen impurity reduces the degree of localization. In the case of B27N9, the map dominantly shows regions with ELF less than 0.4 implying delocalized features. In the adsorption systems (right panel) the quite low ELF, the blue area between Li and boron atoms of inner ring suggest weak interaction with electrostatic nature. It is interesting to note that the higher stability of Li/B33N3, as showed above by the binding energy, can also be demonstrated by the ELF map of the interacting system. The ELF in Fig. 10b indicates the large degree of localization between boron atoms of the outer ring which is extended toward the middle ring in some region. In addition, the weak interaction between Li and boron atoms of the inner ring is also observed.

Figure 10
figure 10

Color-filled maps of the ELF for the adsorption of Li on a B36, b B33N3, c B30 N6, and d B27N9. Left panel shows the bare clusters before Li adsorption. The values 0 (dark blue) and 1 (red color) correspond to a completely delocalized and perfect localized region, respectively

H2 adsorption

We next study the adsorption of single hydrogen molecule on pristine and metallized substrates. Several initial configurations of the H2 molecule including parallel and perpendicular to the hexagonal and triangle hollow sites as well as above the metal are examined. Upon relaxation, the hydrogen molecule prefers to locate above the central hexagonal hollow site in pristine and to tilt toward the metal in metallized substrates. The optimized structures of the hydrogen adsorption on the bare and metallized substrates are shown in Fig. 11, and the corresponding adsorption energies are presented in Fig. 12. The H2 adsorption energy for pristine B36 is − 0.119 eV, and the adsorption distance is 3.50 Å. In the case of metallized B36, the hydrogen molecule prefers to tilt toward alkali metal atoms so that one of the two H atoms becomes relatively closer to the metal atom. A summary of geometries related to the adsorption of H2 on alkali metal decorated neutral and anionic B36 is given in Tables S3 and S4 in Supplementary Material. As shown in Fig. 12, metallization of B36 enhances the H2 adsorption energies by 28–82%. The increase in the binding strength is in parallel with the decrease in the adsorption distance between metal and H2. A similar trend has also been observed for the anionic B36 cluster.

Figure 11
figure 11

Optimized structure of hydrogen adsorption on bare (left) and metallized (right) substrates; a B36, b B33N3, c B30 N6, and d B27N9

Figure 12
figure 12

Adsorption energy of single hydrogen on bare and metallized substrates

Previous studies have demonstrated that N-doping decreases the adsorption energies of H2 in carbon nanostructures [49, 50]. It is of our interest to know the effect of N-doping on the hydrogen adsorption behavior of B36. Accordingly, we have systematically studied the adsorption behaviors of hydrogen molecules on N-doped B36. For the sake of comparison, we considered similar adsorption configuration for N-doped clusters and their alkali metal coated forms. Inspection of Fig. 12 reveals that for B33N3, the H2 adsorption energy slightly increases as compared to B36. At higher dopant concentration, a decrease in adsorption energy is observed. This result is in line with earlier reports for hydrogen adsorption of N-doped carbon materials. To obtain further understanding of H2 adsorption mechanism, we have compared PDOS of an isolated hydrogen molecule with those of adsorbed H2 on B33N3 and Li/B33N3 (Fig. 13). Isolated hydrogen molecule has two symmetric peaks at − 8 and 8 eV. After adsorption on B33N3, the PDOS of H2 remains almost intact and a weak hybridization between H2 and PDOS of nitrogen atoms is observed far below the Fermi level at − 9 to − 8 eV. In the case of Li/B33N3, the PDOS clearly reveals the charge transfer mechanism due to polarization interaction between H2 and Li. The great contribution of metal upon the H2 adsorption is reflected by the obvious orbital interaction above the Fermi level at the region between 7 and 9 eV.

Figure 13
figure 13

PDOS analysis of a an isolated hydrogen molecule, b H2 adsorbed on B33N3, and c H2 adsorbed on Li/B33N3

Conclusions

In conclusion, we have investigated the effect of nitrogen doping on the electronic structure and hydrogen adsorption properties of metallized B36 and B36 clusters. Three N-doped configurations resulted from N-doping at the inner, middle, and outer rings of B36 were considered. The structural features such as cluster curvature and size of the central hollow site have been systematically analyzed. Chemical bonding analysis of the doped clusters indicates the same analogy between concentric π bonding patterns of N-doped coronene and N-doped borophene. On the other hand, analysis of deformation electron density reveals that in the nitrogen-rich structures (B30N6 and B27N9 clusters), depletion of electron density results in the anisotropic distribution of electron density and cluster buckling.

We have also studied the adsorption of alkali metals on pristine and N-doped neutral and anionic B36 clusters. The binding energies of alkali metals depend on the curvature and nitrogen content of the substrate. Maximum binding strength is observed in the case of metallized B33N3. Further, we have reported the effect of N-doping on the hydrogen adsorption behavior of B36. We showed that in B33N3, the H2 adsorption energy slightly increases as compared to B36, but at the higher level of dopant a decrease in adsorption energy is observed. However, depending on the type of metal and the nitrogen content, the H2 adsorption energies vary in the range between − 0.11 and − 0.21 eV which lie in desirable range for reversible desorption near room temperature. We hope that our theoretical results will provide a useful guide for designing and synthesis of efficient hydrogen storage media.