Introduction

Thermodynamic forces leading to the formation of crystalline solids are interactions between basic chemical entities such as atoms, molecules, ions or molecular ions. Knowledge of such interactions is thus crucial for understanding crystallization phenomena and the secrets of crystal engineering. Non-specific interactions between chemical entities are common in any crystalline solid. In ionic solids, however, long-range electrostatic interactions also occur, which substantially stabilize the crystal lattice. Determining the energy of both these interactions, henceforth referred to as global interactions, as well as the energy of local interactions occurring between specific sites of molecules, thus provides an opportunity to assess the extent to which they contribute to the formation and stabilization of crystalline solid phases. This is the important issue that we are addressing in this work.

The compound used in our explorations of these various types of interactions was crystalline 7-(diethylamino)-2-(2-oxo-2H-chromen-3-yl)chromenium perchlorate (1). We synthesized this molecular ionic substance in view of the widespread occurrence of 2H-chromen-2-one (coumarin) derivatives in living matter [1] and their interesting spectral features [2, 3], which can be put to use in analytics [4, 5]. By combining coumarin and chromenium moieties of well-known absorption and fluorescent abilities [3, 68] in one molecule and supplementing the latter moiety with a medium-sensitive amino group, we expected to obtain an efficient spectral probe of the acidic/basic or electrophilic/nucleophilic properties of an environment.

This paper reports briefly on the synthesis, identification and crystal structure determination of 1. Furthermore, intra- and intermolecular interactions within the crystal (such as C–H···O, [9] C–H···π [10, 11] and π···π [1214]) are localized and described. Calculations were then performed to find out how the energy and Gibbs free energy of the isolated cation of 1 changes during the rotation of chromenium relative to 2H-chromen-2-one and diethylamino relative to chromenium fragments and whether its structure in the crystalline solid phase corresponds to the lowest energy one. The energies and Gibbs free energies of intramolecular and selected intermolecular interactions within the isolated cation and the molecular assemblies revealed in crystalline 1 were calculated and used to explore how far they contribute to crystal packing. Next, the Gibbs free energy changes (relevant to the formation of selected molecular assemblies revealed in crystalline 1) in several liquid phases were calculated in order to obtain some idea of how the medium affects the compound’s crystallization. Then, the energy and entropy contributions to the Gibbs free energy of crystalline 1 were evaluated so as to get an idea of the extent to which they influence the compound’s thermodynamic stability. Finally, preliminary investigations of the spectral features of 1, important from the point of view of its potential applications, were undertaken.

Materials and methods

Synthesis

Compound (1) was synthesized using a modified version of the procedure described in the literature [15]. A mixture of 4-(diethylamino)-2-hydroxybenzaldehyde and 3-acetyl-2H-chromen-2-one in glacial acetic acid was stirred until complete dissolution of the latter compound. Then, a 65 % solution of perchloric acid in water was added and the reactant mixture boiled for ½ h. After cooling, a small portion of diethyl ether was added; this caused the product to precipitate. The identity of the compound was confirmed from the MS [m/z = 346 [M+] (FAB)] and 1H NMR spectra (Table 1S in the Supplementary data) of the cation of 1 (Fig. 1). Dark red crystals suitable for X-ray investigations were grown from propan-2-ol/acetonitrile (4/1 v/v) solution (m.p. 502–503 K).

Fig. 1
figure 1

Canonical structure of the cation of 1

X-ray crystallography

Crystallographic data were collected on an Oxford Diffraction Gemini R Ultra Ruby CCD diffractometer with graphite-monochromatic Mo-Kα radiation (λ = 0.71073 Å) at 295 K. Crystal data and details concerning the structural refinement are given in the Supplementary data, Tables 2S and 3S and CCDC 916451.

ORTEP-3 [16] software was used to prepare the molecular graphics, and the PLATON [17] and CrystalExplorer [18] programs to reveal and analyse the molecular interactions.

Spectroscopic measurements

The liquid and solid state absorption spectra were recorded on a Hitachi U3210 spectrophotometer.

Doubly distilled water and spectral grade solvents were used throughout. Analar grade NaOH and HCl were used to record spectra in alkalinated or acidified water media, respectively.

Computations

Unconstrained geometry optimizations were carried out applying the Gaussian09 program package [19], either at the density functional theory (DFT) [20], dispersion-corrected density functional theory (DFT-D) [21] (in selected cases) or TD (time dependent) DFT [22] levels with the B3LYP functional [2325] using gradient techniques [26] and the 6-31G** basis set [27] or, in selected cases, at the MP2 level [28] using the cc-pVDZ basis set [29, 30] with and without (gaseous phase) the influence of the solvent; in the former case, the polarized continuum model (PCM) was applied (UHF radii were used to obtain the molecular cavity) [31, 32]. Harmonic vibrational frequencies (Hessian matrix) were computed to verify whether the optimized structures correspond to true stationary (minima or transition) states [27] and used to predict the zero-point energy, thermal energy (enthalpy) and entropy of gaseous entities [33]. 1H magnetic shielding tensors were obtained following the gauge-including atomic orbital (GIAO) approach [3436].

The energies of long-range electrostatic and short-range non-specific dispersive and repulsive contributions to the crystal lattice energy (calculated by combining the Coulomb and Buckingham equations), representing the energy of global interactions (occurring between many molecular ions and any adjacent atoms of such neighbouring ions (Fig. 1S in the Supplementary data)), were obtained using the General Utility Lattice Program (GULP) [37]. It was assumed that the relative charges of cations and anions were +1 and −1, respectively, and that the relative atomic partial charges necessary for calculating the energy of electrostatic interactions were those reproducing the molecular electrostatic potential (MEP) around these entities [38] at the level of the M062X [39, 40] functional and 6-31 ++G** basis set [41]. It was further assumed that the atomic parameters for calculating the energy of dispersive and repulsive pairwise interactions were those reported in the literature [42, 43].

Results and discussion

Crystal structure of 1 in the context of the mutual arrangement of ions and local and global interactions

The bond lengths (Table 3S in the Supplementary data), similar to those reported for the compounds containing chromenium [44, 45] and 2H-chromen-2-one [46, 47] moieties, confirm the molecular structure of 1.

The cation of 1 links the nearly planar chromenium and 2H-chromen-2-one moieties, which are twisted with respect to each other through an angle of 7.1(2)º in the crystalline solid phase (Table 4S in the Supplementary data). The almost planar 2-(2-oxo-2H-chromen-3-yl)chromenium core may be a consequence of the appearance of two intramolecular C–H···O interactions (Fig. 2), whose contribution to the structural stabilization of the cation of 1 will be considered in due course. The diethylamino group in the cation of 1 is almost planar within the C7/N21/C23/C24 atoms and coplanar with the chromenium skeleton (Table 4S in the Supplementary data).

Fig. 2
figure 2

Molecular structure of 1 (25 % probability level ellipsoids represent non-H atoms; small spheres of arbitrary radius represent H atoms) showing the labelling of atoms, the numbering of aromatic ring centroids (Cg1–Cg4) and C–H···O (dashed lines) interactions

The tetrahedral perchlorate anions, the counterparts of the cations described above, occupy two positions in the crystalline solid phase of 1, with occupancy factors of 0.764(10) and 0.236(10) for Cl27/O28-O31 and Cl27A/O28A-O31A, respectively (Fig. 2). This feature of the anion is not unique, since such disordered species have been found by ourselves [48] and others [49, 50].

The structural analysis revealed various types of intra- and intermolecular interactions in the crystal lattice of 1, considered subsequently as specific local interactions: these are listed in Tables 1, 2, 3 and illustrated in Figs. 3 and 4. The cations and anions, linked via three Cl–O···π contacts, are assembled in ion pairs. Inversely oriented ion pairs are arranged in corrugated layers in the ac plane (Fig. 5) in which cations are in contact via C–H···π and π···π interactions, and cations and anions via C–H···O(Cl) interactions. Inversely interrelated layers are in contact via C–H···O(C,Cl) interactions. The network of these specific local interactions, together with long-range electrostatic interactions between ions, predominant in crystalline ionic solids, and common non-specific dispersive and repulsive interactions stabilize the crystal lattice of 1, whose subtle column architecture is depicted in Fig. 2S in the Supplementary data.

Table 1 Hydrogen-bonding (C–H···O(C,Cl), C–H···π) interactions in 1
Table 2 Cl–O···π interactions in 1
Table 3 π···π interactions in 1
Fig. 3
figure 3

The arrangement of ions (non-H atoms are represented by 25 % probability level ellipsoids; H atoms not involved in interactions have been omitted, those involved in interactions are shown as small spheres of arbitrary radius) and C–H···O and C–H···π interactions (represented by dashed lines) in the crystal lattice of 1 (see Table 1 for details)

Fig. 4
figure 4

The arrangement of ions (non-H atoms are represented by 25 % probability level ellipsoids; H atoms have been omitted) and Cl–O···π and π···π interactions (represented by dotted lines) in the crystal structure of 1 (see Tables 2, 3 for details)

Fig. 5
figure 5

Projection of the crystal packing (H atoms have been omitted; non-H atoms are represented by 25 % probability level ellipsoids) on the ab plane in 1 (interactions are not indicated)

Thorough analysis of Hirshfeld surfaces (Figs. 6 and 3S in the Supplementary data) and the associated fingerprint plots [5157] (Figs. 7 and 4S in the Supplementary data) obtained using the CrystalExplorer program [18], carried out in accordance with the rules outlined in the literature and the examples described [5157], confirms the occurrence of the interactions which are listed in Tables 1, 2 and 3. All the anions in the vicinity of the cation strongly influence the Hirshfeld surfaces (contribution 35.5 %) through C–H···O(C,Cl) interactions (red/yellow spots in Figs. 6 and 3S(A) in the Supplementary data). Conspicuous are the C–H···π and π···π interactions involving benzene, and benzene and 2H-pyran-2-one rings, which contribute 15.7 and 10.1 %, respectively, to the total Hirshfeld surface (they are reflected by the light blue-yellowish area in Fig. 6, the red and blue triangles in Fig. 3S(C) in the Supplementary data and the flat regions in Fig. 3S(D) in the Supplementary data). The contribution of C···O contacts to the total Hirshfeld surface, tentatively ascribed to Cl–O···π contacts, is relatively small (3.5 %) for interactions between oppositely charged ions. On the other hand, the contribution of H···H contacts to the total Hirshfeld surface (33.5 %), common in organic molecular crystals, is quite high. C–H···O(C,Cl), C–H···π, Cl–O···π and π···π interactions are more or less localized, whereas H···H contacts are diffused throughout the molecule (Figs. 7 and 4S in the Supplementary data).

Fig. 6
figure 6

Hirshfeld surface [front (left) and reverse (right) views] of the cation of 1 reflecting the normalized contact distance (d norm) with surrounding ions supplemented with selected interactions listed in Tables 1, 2 and 3

Fig. 7
figure 7

Two-dimensional (d e/d i) fingerprint plots [full (upper left) and resolved into different interactions—see also Fig. 4S] representing the contributions (in per cent) of particular types of contacts to the total Hirshfeld surface area of the cation of 1

Knowledge of the contributions of various interactions to the thermodynamic stabilization of the crystal lattice is crucial for understanding the fates of entities following the formation of crystalline solid phases, as well as their mutual arrangement and behaviour in these phases. On account of this, the thermodynamics of the global and local specific interactions shown in Fig. 5S in the Supplementary data in the fragments of the crystal structure extracted from the crystal lattice of 1 is considered in the next section.

Thermodynamics of local and global interactions in the crystal lattice of 1 and of the process of its formation

To obtain information on the structure and stability of various entities and thermodynamics of molecular interactions, quantum chemistry calculations were always carried out at the less time-consuming DFT or DFT-D levels, but in certain cases also at the more advanced and time-consuming MP2 level. Such an approach enabled the calculations to be completed in a reasonable time with the expected comparability of results obtained on various levels. The extent to which the inclusion of dispersive interactions affects the energetics of π···π contacts was also verified [58, 59].

The first issue to be addressed was the stability of various structural/conformational forms of the cation of 1 resulting from the rotation of the chromenium relative to 2H-chromen-2-one moieties or the amino group relative to the chromenium moiety. It emerges from geometry optimizations at both levels that the lowest energy structure of the cation of 1 shown in Figs. 8 and 8S (Supplementary data) is closely related to the structure of this entity in the crystalline solid phase (Tables 3S, 4S in the Supplementary data). However, calculations predict the coplanarity of the chromenium and 2H-chromen-2-one moieties in the gaseous phase and various environments, while in the crystalline solid phase these moieties are twisted by an angle exceeding 7°. Further information is provided by two computational experiments.

Fig. 8
figure 8

Structures (MP2/cc-pVDZ level) together with relative values of energy (ΔE, first value), enthalpy (ΔH, second value), Gibbs free energy (ΔG, third value) (in kJ mol−1) and angle (fourth value) representing stationary [lowest energy (LE), intermediate (IS) and transition (TS) states] points following rotation of chromenium (Ch) relative to 2H-chromen-2-one (Ch-one) moieties (around C2–C13 bond) in the cation of 1 predicted at the MP2/cc-pVDZ (blue) and DFT/6-31G** (red) levels (Color figure online)

In the first one, the dihedral angle between the chromenium and 2H-chromen-2-one moieties was changed by 360°, starting from the lowest energy structure. Two transition states and one intermediate state were found on the rotation path (Fig. 8). The energy (Gibbs free energy) of intermediate state, 23.4 (23.6) kJ mol−1 (MP2 level), higher than the lowest energy state represents the structure without C–H···O interactions. This value can thus be tentatively regarded as the sum of the energies (Gibbs free energy) of the two intramolecular H-bonding interactions in the cation of 1. Transformation from the lowest energy state to the intermediate state requires energy (Gibbs free energy) activation barriers amounting to 31.5 (32.8) kJ mol−1 (MP2 level) to be overcome. In the second computational experiment, the dihedral angle between the chromenium moiety and the amino group in the cation of 1 was changed by 360°, starting from the lowest energy structure (Fig. 8; Table 4S in the Supplementary data). The results show that rotation by 180° leads to the lowest energy (Gibbs free energy) state, whereas rotation by ca. 90° or 270° leads to transition states with an activation energy (Gibbs free energy) barrier of 65.3 (70.5) or 62.8 (69.7) kJ mol−1 (MP2 level), respectively (Fig. 6S in the Supplementary data). The results of the above-mentioned calculations thus demonstrate that the lowest energy (Gibbs free energy) structure of the cation of 1 can be related to the structure of this entity in the crystalline solid phase. Further, they highlight the importance of intramolecular C–H···O bonding interactions in the stabilization of the structure of this ion. Finally, it is probable that the almost planar 2-(2-oxo-2H-chromen-3-yl)chromenium core facilitates the appearance of intermolecular π···π interactions involving chromenium and 2H-chromen-2-one moieties, and consequently the packing of the cations of 1 in the crystal.

Selected intermolecular interactions listed in Tables 1, 2 and 3 were considered by carrying out unconstrained geometry optimizations of two-component assemblies of ions in the lowest energy and transition (in the case of cation assemblies) stationary states and isolated ions, starting from the relevant structures of these entities in the crystalline solid phase (shown in Fig. 5S in the Supplementary data). Such an approach enabled individual consideration of all types of intermolecular interactions occurring in crystalline 1 and completion of calculations at the DFT or DFT-D levels within a reasonable time. The optimized lowest energy and transition state structures of two-component assemblies of ions together with the relative energies corresponding to their formation from relevant isolated entities are illustrated in Fig. 9, and the thermodynamic data obtained are listed in Table 4. It emerges from the thermodynamic data that only interactions between oppositely charged ions lead to stable ion pairs (a and c) in the gaseous and liquid diethyl ether phase (negative values of ΔE, ΔH and ΔG). When equally charged cations approach one another, there is a gradual increase in energy (Gibbs free energy). On the reaction pathway, however, there are always two stationary points: one corresponding to the energy minimum and the other to the transition state. This means that intermolecular C–H···O(C) (b), C–H···π (d) and π···π (e) interactions occur between equally charged cations, contributing to the local stabilization of the crystal lattice of 1. The energy (Gibbs free energy) of these interactions should at least be equal to the difference between the relevant quantities for the transition state and the local minimum. The energies of single C–H···O(C) (b), C–H···π (d) and π···π (e and f) interactions in the gaseous phase estimated on this basis would be 7.3 (b), 22.3 (d), 22.9 (e) and 24.5 (f) kJ mol−1 [the latter two values can be ascribed to one of two π···π interactions occurring between inversely oriented Cg3 (benzene) and Cg2 (2H-pyran-2-one) (e) and Cg4 (benzene) and Cg2 (2H-pyran-2-one) (f) rings in pairs of cations of 1 (Fig. 9)]. With these energy values, the above-mentioned local interactions between ions contribute appreciably to their mutual orientation and stabilization of the crystal lattice.

Fig. 9
figure 9

Optimized structures (DFT/6-31G** level) and relative energies (in kJ mol−1) representing stationary points [minima (min) and transition states (TS)] following the formation of assemblies of oppositely (ion pairs, a and c) or equally (dimers, b, d, e and f) charged ions in the gaseous phase (for further information see Table 4)

Table 4 Computationally predicted thermodynamic data (in kJ mol−1) for the formation of assemblies of oppositely (ion pairs, a and c) or equally (dimers, b, d, e and f) charged ions in the gaseous phase or liquid environments

Crystals of 1 should occur as a result of interactions lowering Gibbs free energy. In water, propan-2-ol and acetonitrile all the types of interactions considered, even between oppositely charged ions, bring about an increase in ΔG (Table 4). Only in diethyl ether do interactions between oppositely charged ions (represented by a and c) cause ΔG to decrease. In the presence of this solvent, therefore, conditions appear that are favourable to the precipitation of 1, which are made use of during the synthesis of the compound. As far as repulsive interactions between equally charged cations of 1 are concerned, they generally become weaker in various liquid phases (Table 4). As mentioned in the experimental section, crystals of the compound for X-ray investigations were grown from a propan-2-ol/acetonitrile = 4/1 mixture. It is not possible to carry out PCM calculations for such a phase. Nevertheless, those that were performed show that a liquid phase containing acetonitrile and propan-2-ol, weakening repulsive interactions between equally charged ions and maintaining such interactions between oppositely charged ions at a relatively low level, is a good experimental choice of a crystallization solvent.

Crystals of 1 are composed of formally singly charged molecular ions, namely organic cations (Fig. 1) and inorganic ClO4 anions. Such a charge distribution between ions roughly occurs in cation–anion pairs (Table 5S in the Supplementary data), which endorses the assumptions underlying the crystal lattice energy calculations. The crystal lattice energy (enthalpy), reflecting the energy released upon the formation of a solid phase from isolated gaseous ions, is predicted to be −590.8 (−595.8) kJ mol−1. A major contribution to this value amounting to −395.9 kJ mol−1 comes from Coulombic interactions. The combined contribution from dispersive and repulsive interactions is lower (−194.9 kJ mol−1). The crystal lattice energy representing global interactions in the solid phase can be compared with the energies of specific local interactions between the ions listed in Table 4. This comparison shows that the energy released following the formation of 1 mol of cation–anion pairs makes up more than half of the crystal lattice energy. Individual specific interactions contribute just a few per cent to the crystal lattice energy. Nevertheless, they do influence the mutual orientation of ions and together contribute to the stabilization of the solid phase.

The magnitude of the negative entropy term destabilizing the crystal lattice is difficult to assess because the relevant thermodynamic data are lacking and there is no way of predicting them (for solid 1). In the formation of 1 mol of cation–anion pairs (a in Table 4), −TΔS is equal to 40.8 kJ mol−1, i.e. makes up only 13.6 % of the lattice-stabilizing enthalpy term. For the formation of simple NaCl ionic crystals from gaseous ions, the entropy term (taken to be −TΔS) makes up 8.7 % of the crystal lattice enthalpy (on the basis of data reported in NIST [60] ). Assuming that the contribution to the entropy of crystalline 1 comes only from molecular vibrations of ions (identical to those in the gaseous phase) and not from lattice (neglected) and molecular vibrations, and taking the predicted (MP2 level) entropies of the ions making up the compound, the value of −TΔS would be 173.9 kJ mol−1, i.e. would reach at most 29.2 % of the above-mentioned crystal lattice enthalpy. This means that entropy term destabilizing the crystal lattice of 1 does not predominate at room temperature.

Molecular packing of 1 in the context of global and local interactions in the crystal lattice

The main forces leading to the formation of crystalline ionic substances such as 1 are electrostatic interactions between ions. These long-range interactions are globally attractive because oppositely charged ions are located closer to one another than equally charged ones, which gives rise to the strong energy decrease expressed by the Coulombic contribution to the crystal lattice energy. Crystals are, however, formed under certain experimental conditions, usually after dissolution of the compound in an appropriately selected liquid phase. In such a phase, interactions between oppositely charged ions leading to the formation of ion pairs should be attractive; otherwise, the ions would not approach one another. In the case of 1, crystals were grown from a 4/1 propan-2-ol/acetonitrile mixture. It is demonstrated that the formation of cation–anion pairs in propan-2-ol is possible since the Gibbs free energy of the process is equal to 2.8 kJ mol−1 (Table 4), which corresponds to an equilibrium constant of 0.32. Thus, a conspicuous number of such pairs should exist in the equilibrium state. If one assumes that cation–anion pair formation is the first step in the crystallization of 1, then the next steps would be the growth of the crystal by the incorporation of successive ion pairs. Crystal growth is followed by a decrease in energy since electrostatic interactions between ions are much stronger in the absence of a solvent (Table 4). The mutual arrangement of ions in a growing crystal lattice depends to some extent on non-specific dispersive and repulsive interactions (included in the calculated crystal lattice energy) but predominantly on identified specific local C–H···O(C), C–H···π and π···π interactions. Intramolecular C–H···O(C) interactions stabilize the almost planar structure of the cation core, and this may facilitate other interactions, e.g. of the π···π type. On the other hand, intermolecular C–H···O(C) and C–H···π interactions link cations of adjacent ion pairs and contribute to the stabilization of the whole crystal lattice.

Spectral features of 1 in solid phase and solutions

Compounds containing chromenium or 2H-chromen-2-one fragments in their structure efficiently absorb radiation from the visible region and emit it in this region [28]. Absorption of compound 1, in which the two above-mentioned fragments are combined, is red shifted (Fig. 7S in the Supplementary data), while its emission is very week. Furthermore, the spectral characteristics of 1 are markedly influenced by acidity/basicity as a result of the reversible protonation/deprotonation of the amino N atom or the non-reversible hydroxylation of the pyranium ring, most probably in the para position with respect to the endocyclic O atom (Fig. 7S in the Supplementary data), and the structural (Fig. 8S in the Supplementary data) and electron population changes accompanying these latter processes (Fig. 9S in the Supplementary data). The behaviour of compound 1 (its cation) outlined above makes it a promising spectral indicator of acidity or electrophilicity/nucleophilicity of an environment [6].

Conclusions

The existence of various specific interactions/contacts between certain sites of molecular ions constituting the crystal lattice of 1 confirm results the quantum chemistry calculations.

It emerges from these calculations that the energy of two intramolecular H-bonding interactions in the cation of 1, which form S(5) and S(6) H-bond synthons (Table 1; Fig. 2), is 23.4 kJ mol−1. This implies that they make a pronounced contribution to the maintenance of its planarity.

The energies of a single specific intra- and intermolecular C–H···O(C) contact, as well as of intermolecular C–H···π and π···π interactions, amounting to 9.5 (on average), 22.3 and 23.7 (on average), respectively, are significantly higher than those of the non-specific dispersive interactions (energy of the order of a few kJ mol−1) [10]. This provides sufficient motivation to include them in crystal structure analysis, crystal engineering and the design of new crystalline materials.

The main contribution to the stabilization of the crystal lattice of 1, which comes from long-range electrostatic interaction between ions, overlaps the common but less pronounced short-range non-specific dispersive and repulsive interactions between these entities.

Various specific local interactions play an important role in the mutual orientation of ions and their placement in the crystalline solid phase. The destabilizing crystal lattice entropy term is not dominant at room temperature.

Thermodynamic analysis of interactions between oppositely and equally charged ions explains their behaviour in various liquid environments and forms the basis for modelling conditions favourable to the crystallization of 1.

The absorption features of 1 are promising as regards its application as an indicator of the acidity or electrophilicity/nucleophilicity of a liquid environment.

Supplementary data

Supplementary data available: CCDC 916451 [crystallographic data (CIF) for compound 1] and details concerning: identification of the compound, X-ray measurements, structural features, intermolecular interactions and electronic absorption phenomena.