Introduction

Intermolecular interactions can significantly modify the properties of the investigated systems. Therefore, they continuously remain of interest for non-linear optics, nanoelectronics, biotechnology and many other fields of science. From the point of view of material science, interaction-induced electric properties for hydrogen-bonded systems could be of particular importance. However, systems that become relevant as novel materials are usually composed of more than several light atoms and therefore high-level calculations of their properties are prohibitively expensive. Thus, cheaper alternatives are sought. One of them appears to be the density functional theory (DFT). The great abundance of the various available DFT functionals allows to extend the investigations to the systems of hundreds of atoms and the wide range of analyzed properties.

It is known that the molecular electric properties can be reproduced by DFT methods with good accuracy [112]. However, one should bear in mind that for several classes of systems of importance to the non-linear optics, for instance long π-conjugated polymer chains as well as push-pull systems with significant charge transfer, such calculations lead to significant deterioration in the accuracy of the results [1315]. Still, not much care has been devoted to the interaction-induced increments to dipole moments and (hyper)polarizabilities calculated beyond the wave function theory. Sparse data regard mostly rare gas heterodiatoms [1619]. Only recently, various DFT functionals have been tested for the series of hydrogen-bonded dimers: water dimer, HF dimer and H2 CO…HF [20]. Although there is no unambiguous answer to the question which functional is best for interaction-induced electric properties, it is quite easy to reproduce the CCSD(T) results for investigated systems with DFT methods with satisfactory accuracy [20]. Regarding the gathered information, further studies seem necessary in order to generalize such an observation.

The aim of the present study is to verify the applicability of the DFT formalism also for the interaction-induced electric properties of the longer hydrogen-bonded chains. The HF linear chain, H2CO crystal structure and H3N…(HF)n complex are investigated up to five units in the system. The chosen structures were previously investigated at an angle of the many-body contributions to the (non)linear electric response with second order Møller-Plesset perturbation theory and the many-body interactions in these systems proved to be significant [21, 22].

The performance of the DFT functionals is tested against the CCSD(T) data that provide the reference level. In order to keep the consistency with the previous study [20], the same exchange-correlation functionals have been applied here: B3LYP [2326] and PBE0 [27] as conventional hybrids, LC-BLYP [28] as a long-range corrected functional and M06-2X hybrid meta functional [29]. Additionally, this set was appended by the B3LYP long-range corrected modification (CAM-B3LYP) [30] for which we expect to improve the accuracy of the results toward reference data.

Methodology

The subject of the present study are hydrogen-bonded complexes, namely: linear HF⋯(HF) n , crystalline H2CO⋯(H2CO) n and linear H3N⋯(HF) n , for which n = 1–4. The structures of linear HF⋯(HF) n [31] and H3N⋯(HF) n [21] chains have been obtained based on gas-phase monomer geometries optimized at the MP2/6-31G(d,p) level of theory. Moreover, the intermonomer distance which corresponds to the separation in the linear dimer has been optimized at the very same level of theory. On the other hand, the geometry of the H2CO⋯(H2CO)n chain refers to that found in the formaldehyde crystal [32]. The analyzed molecular complexes of maximal size are presented in Fig. 1.

All calculations of the static electric molecular properties were carried out at the SCF-HF, MP2, CCSD(T), B3LYP, PBE0, LC-BLYP, M06-2X and CAM-B3LYP level of theory. Values of the electric dipole (hyper)polarizability tensors have been obtained using the finite field (FF) method [33, 34] by numerical differentiation of energy with respect to external electric field (F). Relying on our previous research [21, 22] the electric field of the strength 0.001 a.u. has been chosen for further calculations to ensure the numerical stability of the FF procedure.

Interaction-induced properties ΔP for the investigated systems were obtained in a supermolecular manner:

$$ \Delta P = {{P}_{{{12} \ldots n}}} - \sum\limits_{{i = 1}}^n {P_i,} $$
(1)

where P 12…n and P i stands for the magnitude of the property for the n-body system and its constituents, respectively. In order to make the consistent comparison of electric properties for the whole set of studied systems, the following values of the electric properties are discussed:

$$ \left| \mu \right| = \sqrt {{\mu_x^2{ + }\mu_y^2{ + }\mu_z^2,}} $$
(2)
$$ {{\alpha }_0} = \frac{1}{3}\left( {{{\alpha }_{{xx}}} + {{\alpha }_{{yy}}} + {{\alpha }_{{zz}}}} \right), $$
(3)
$$ {{\beta }_{\mu }} = \frac{{{{\beta }_x}{{\mu }_x} + {{\beta }_y}{{\mu }_y} + {{\beta }_z}{{\mu }_z}}}{{\left| \mu \right|}}, $$
(4)

where

$$ \beta _{i} = \frac{3} {5} \cdot {\sum\limits_{j = x,y,z} {\beta _{{ijj}} } } $$
(5)

and the Kleinman symmetry is satisfied.

The values of static electric properties obtained within the supermolecular approach together with basis set of finite size might suffer from the basis set superposition error [35, 36]. Due to the fact that the first-order hyperpolarizability is the most sensitive to the choice of the basis set of all the properties analyzed here [35, 36], the correction for BSSE has been included according to the site-site function counterpoise scheme [37]. The total interaction-induced counterpoise-corrected electric property Δ total P CP has been decomposed into:

$$ {{\Delta }_{{total}}}{{P}^{{CP}}} = \sum\limits_{{i < j}} {{{\Delta }_{{ij}}}} P\left( {1 \ldots n} \right) + \sum\limits_{{i < j < k}} {{{\Delta }_{{ijk}}}} P\left( {1 \ldots n} \right) + \ldots + {{\Delta }_{{1 \ldots n}}}P\left( {1 \ldots n} \right), $$
(6)

where the first summation includes all the two-body terms Δ ij P(1…n), the second one - all the three-body terms Δ ijk P(1…n) and the last term Δ 1…n P(1…n) contains the n-body interaction contribution.

The relative error of the investigated properties in different methods has been estimated with respect to the CCSD(T) calculations via:

$$ \delta \left[ \% \right] = \frac{{\Delta {{P}^{{method}}} - \Delta {{P}^{{CCSD(T)}}}}}{{\Delta {{P}^{{CCSD(T)}}}}} \cdot 100\% . $$
(7)

Similarly, the relative error for the BSSE-uncorrected data has been predicted as:

$$ BSSE\left[ \% \right] = \frac{{\Delta {{P}^{{uncorr}}} - \Delta {{P}^{{corr}}}}}{{\Delta {{P}^{{corr}}}}} \cdot 100\%. $$
(8)

All calculations have been performed with Gamess-US [38] and Gaussian09 [39] program packages with the aug-cc-pVDZ basis set [40, 41].

Results and discussion

Tables 1, 2 and 3 present the values of the electric properties and their interaction-induced contributions for all the investigated systems in different approaches. The corresponding relative errors (δ[%]) for \( \Delta \left| \mu \right|(0) \), Δα0(0), and Δβ μ (0) are plotted in Figs. 2, 3 and 4, respectively. For comparison the electric properties of the isolated units (HF, H2CO and H3N) are also provided in Table 4.

Fig. 1
figure 1

Structure of investigated complexes of maximal length

Fig. 2
figure 2

The percentage relative errors of the approximation applied for estimation of the interaction-induced dipole moment with respect to the CCSD(T) results

Fig. 3
figure 3

The percentage relative errors of the approximation applied for estimation of the interaction-induced polarizability with respect to the CCSD(T) results

Fig. 4
figure 4

Structure of investigated complexes of maximal length

Table 1 The values of the electric properties and their counterpoise corrected interaction-induced counterparts [a.u.] for the hydrogen-bonded linear HF⋯(HF) n complexes. The subsequent columns contain the information about the chain length n, the absolute value of the static dipole moment for the whole chain |μ|(0), the total interaction-induced dipole moment Δ|μ|(0) and its contributions: two- and many-body, static polarizability α 0(0), the total interaction-induced polarizability Δα 0(0) and its two- and many-body components, first order hyperpolarizability β μ (0), the total interaction-induced hyperpolarizability Δβ μ (0) and its two- and many-body components
Table 2 The values of the electric properties and their counterpoise corrected interaction-induced counterparts [a.u.] for the hydrogen-bonded linear H3N···(HF) n complexes. The subsequent columns contain the information about the chain length n, the absolute value of the static dipole moment for the whole chain |μ|(0), the total interaction-induced dipole moment Δ|μ|(0) and its contributions: two- and many-body, static polarizability α 0(0), the total interaction-induced polarizability Δα 0(0) and its two- and many-body components, first order hyperpolarizability β μ (0), the total interaction-induced hyperpolarizability Δβ μ (0) and its two- and many-body components
Table 3 The values of the electric properties and their counterpoise corrected interaction-induced counterparts [a.u.] for the hydrogen-bonded crystalline H2CO⋯(H2CO) n complexes. The subsequent columns contain the information about the chain length n, the absolute value of the static dipole moment for the whole chain |μ|(0), the total interaction-induced dipole moment Δ|μ|(0) and its contributions: two- and many-body, static polarizability α 0(0), the total interaction-induced polarizability Δα 0(0) and its two- and many-body components, first order hyperpolarizability β μ (0), the total interaction-induced hyperpolarizability Δβ μ (0) and its two- and many-body components
Table 4 The values of the electric properties [a.u.] of analyzed monomers

Dipole moment

The careful analysis of the gathered data for the interaction-induced dipole moments reveals quite a good performance of the tested DFT functionals. For most cases, the DFT results are of better quality than SCF-HF data. However, the exceptions are observed for linear HF and H3N…(HF) n chains. In both cases LC-BLYP performs noticeably worse than SCF-HF approach with the relative error almost twice as large for the HF chain. Additionally, for the HF chain also the B3LYP functional and its long-range corrected version CAM-B3LYP demonstrate slight aggravation with respect to the SCF-HF approach. The relative error for the DFT calculations in all the investigated cases does not exceed 9%. The worst data are obtained with LC-BLYP, where the relative errors are between 7.5% and 8.5% and the best agreement with the CCSD(T) interaction-induced dipole moments is observed for the M06-2X functional (errors 1.5%-4%). It is worth mentioning that the relative error for the MP2 calculations does not surpass 1%.

The comparison of the data presented in Fig. 2 shows that the relative error of the interaction-induced dipole moment remains approximately constant with the chain elongation for the HF and H2CO complexes. On the other hand, the lengthening of the H3N…(HF) n system leads to the improvement of the M06-2X and PBE0 results - the errors decrease from 4% to 2% and from 6.5% to 5%, respectively. The opposite behavior is observed for the LC-BLYP data - the results worsen by more than 1% with increasing chain length.

The decomposition of the total interaction-induced dipole moment for the inspected complexes does not disclose any abrupt demeanor of the DFT results: The quality of the obtained two- and more-body components does not raise many reservations and therefore the DFT functionals tested in this study can be recommended for the many-body analysis of the interaction-induced dipole moment of the investigated complexes.

Polarizability

Due to the almost negligible non-additivity in the case of the polarizability of the analyzed molecular chains (interaction-induced polarizability less than 1 a.u. for linear chains and less than 2.5 a.u. for formaldehyde complex - below 2.8%) the detailed study of the obtained data is omitted. The relative errors for the interaction-induced polarizability are depicted in Fig. 3. For the HF chain the relative error decreases with chain elongation. The dramatic increase of the error for the longest H3N…(HF) n complex should not be taken into account, since the interaction-induced increment for the CCSD(T) calculations of the five-membered chain accounts for only 0.06% of the total polarizability value. Therefore, the interaction-induced polarizability within for instance PBE0 approach, that makes up 0.76% of the total PBE0 polarizability for the longest chain, appears to be in large error with respect to the CCSD(T) data; however this still gives a very good predictive power for the total polarizability values.

The contribution from many-body terms increases with the chain elongation and for long chains it may exceed the two-body terms [21]. In the case of the H3N…(HF) n complexes, where the two- and many-body terms have opposite signs, the expansion of the chain leads from the negative interaction-induced polarizability that weakens the total response of the system, to the positive Δα 0 for larger number of HF units, where the interaction-induced contribution additionally strengthens the total polarizability of the system. This tendency would be observed for all the investigated methods, however the applied DFT functionals predict the length of the chain for which Δα 0 changes sign as smaller than respective CCSD(T), MP2 or SCF calculations. In other words, DFT overestimates the many-body terms with respect to the two-body contributions. This is however not a general observation for DFT functionals, since for the HF chains the propensity is opposite: DFT seems to underestimate slightly the many-body terms in comparison to the two-body contributions, and in the case of the H2CO chains the agreement between all the applied methods for the ratio of the many-body to two-body contributions to interaction-induced polarizability is very good.

All the calculations lead to the conclusion that again the MP2 method gives good quality results. Additionally, the best-performing DFT functional is CAM-B3LYP.

Hyperpolarizability

According to the author’s expectations and experiences [20, 42] the analysis of the DFT functionals assesment appeared to be most complex.

Figure 4 depicts the relative error for the interaction-induced hyperpolarizability. The worst quality results have been obtained definitely with the SCF-HF approach - the errors ranging from 25% to 100%. For the formaldehyde complex the DFT functionals in general perform better than MP2 and the only exception is the PBE0 interaction-induced hyperpolarizability of the dimer. Taking MP2 approach as the suitable method for the incremental values estimation, one can treat its largest error (32% for the formaldehyde dimer) as an indicator for the satisfactory performance of the DFT functionals. For the linear HF chain all the investigated functionals achieve smaller errors than this limit. In the case of the formaldehyde complexes only PBE0 behaves worse for the dimer. Yet only two functionals lie in this range for the H3N…(HF) n system, namely M06-2X and CAM-B3LYP.

The addition of one unit to the investigated dimers has a significant influence on the quality of the obtained results. With the chain elongation for the HF complexes the relative errors of the DFT interaction-induced hyperpolarizability increase and in the case of PBE0 and B3LYP changes sign for trimer. Similar behavior might be expected for the M06-2X functional for chains longer than investigated. In other words, these functionals underestimate Δβ μ for HF dimer and overestimate it for longer chains. The opposite tendency is observed for the H3N…(HF) n complex. Here, the dramatic decrease of the relative error value is observed for the LC-BLYP, M06-2X and CAM-B3LYP functionals when going from H3N…HF to H3N…(HF)2. However, for longer complexes the error values stabilize. Thus, B3LYP, CAM-B3LYP and PBE0 give the overestimation of Δβ μ for all the analyzed lengths. LC-BLYP exhibits the underestimation of the Δβ μ value for the H3N…(HF)2 and its overestimation besides. Moreover, M06-2X for three of four investigated H3N…(HF) n complexes underestimates Δβ μ , however its relative errors could be expected to change sign again for the chains longer than investigated. Additionally the correct qualitative description of the total nonlinear response of the HF chain was achived by the DFT calculations, which is in contrary to the SCF-HF results (observe the increase of the β μ to the absolute value).

The decomposition of the interaction-induced hyperpolarizability into the two- and more-body components reveals imperfections of the commonly applied hybrid functionals: B3LYP and PBE0. For all the investigated systems the many-body component calculated with these functionals are of poor quality with respect to the CCSD(T) reference data. Additionally, for the H3N…(HF) n systems also the two-body terms are not reproduced well. On the other hand, DFT reproduces well the sign change of the two-body terms in the H3N…(HF) n chains with the system elongation. For the many-body terms DFT (and MP2) also predicts the change of sign going from n = 2 to n = 3, however this effect is not present in the CCSD(T) reference results, when all the many-body terms are positive.

Comparison of the ratio of the many-body to the two-body terms in the case of the interaction-induced hyperpolarizability indicates its overestimation for the HF and H2CO chains and good correspondence in the case of H3N…(HF) n complexes. Additionally, the mutual relations of the monomer properties and interaction-induced contributions causes the total hyperpolarizability β μ to change signs for shorter HF and H3N…(HF) n chains within the DFT approaches than within the CCSD(T) calculations. This observation is consistent with the previously performed analysis for long HF chains [21].

Basis set superposition error

The estimated BSSE values for the investigated complexes are summarized in Tables 5, 6 and 7. It should be repeated that all the calculations have been carried out with the aug-cc-pVDZ basis set of the medium size. The relative error (BSSE[%]) arising from the lack of the BSSE correction for the dipole moment is usually smaller than 1% and only in the case of the linear HF chain for the LC-BLYP functional it reaches 2%. On these basis one can conclude that the counterpoise procedure has a negligible influence on the quality and quantity of the obtained interaction-induced dipole moment values for the studied complexes.

Table 5 Interaction-induced electric properties for the hydrogen-bonded linear HF…(HF) n complexes with and without counterpoise correction and the basis set superposition error [%]
Table 6 Interaction-induced electric properties for the hydrogen-bonded H3N…(HF) n complexes with and without counterpoise correction and the basis set superposition error [%]
Table 7 Interaction-induced electric properties for the hydrogen-bonded crystalline H2CO…(H2CO)n complexes with and without counterpoise correction and the basis set superposition error [%]

The analysis of the relative BSSE for the linear HF and H3N…(HF) n complex is unreasonable due to the very small Δα 0 values. However, for the formaldehyde chains the obtained results become more stable owing to the larger interaction-induced polarizability values than in the case of the remaining systems. Here, the relative BSSE changes from above 40% for short chains to almost 20% for longer chains. Nevertheless, again the influence of the interaction-induced BSSE for the total value of the polarizability of the whole complex is negligible and the qualitative picture of the Δα 0 changes with the chain elongation remains the same with or without the counterpoise correction.

The changes of the relative BSSE for the interaction-induced hyperpolarizability are parallel to these observed for the dipole moment, however here the absolute values of the errors decrease from 60% to 20% for HF chains and from 20% to 2% for formaldehyde chains with the chain elongation. Again, similarly as in the case of dipole moment and polarizability, the counterpoise procedure does not affect much the total qualitative picture. However, it cannot be neglected for the correct quantitative description of the interaction-induced hyperpolarizability of the investigated systems [35, 36].

Conclusions

The investigation of the electric properties of the hydrogen-bonded dimers [20] has shown that the M06-2X functional performed worst mainly for hyperpolarizability (compare HF dimer). However in the case of longer chains, it presents a serious advantage over any other tested functionals. Therefore, M06-2X appears to be the best for the description of the influence of the mutual interaction on the electric properties in the hydrogen-bonded chains. Similar performance can also be observed for the CAM-B3LYP functional. Although these conclusions were verified in the present contribution only for one basis set of the medium size (aug-cc-pVDZ), they should not differ dramatically for other basis set choices. The ordering of the functionals may vary, however the main conclusion of this work remain unchanged: DFT functionals can be applied succesfully for the investigation of the interaction-induced electric properties. One should however keep in mind that the DFT functional performance can also significantly depend on the nature of the intermolecular interactions and the conventional functionals are known to fail for systems governed by dispersion interaction [4346].

It is also of importance for the complex systems, that the basis set superposition error in the case of interaction-induced dipole moment and polarizability is negligible. What is more for the first-order hyperpolarizability BSSE only has a noticable qualitative meaning, but the quantitative picture remains the same. This observation allows for instance to save a lot of effort in a rational design of novel materials. Further study on this topic is in progress.

The earlier studies suggest the possibility of estimating the electric properties for the large molecular aggregates based on the accurate description of molecular properties and approximate descripton of the interaction-induced contributions [21, 47]. Current findings allow to expect that calculations of molecular properties on high theory level (MP2 or CCSD(T)) supplemented by the interaction-induced increments accounted for in DFT could provide a relatively accurate and cheap alternative for regular post-Hartree-Fock predictions.