Introduction

Anilides accompanied by the carboxylic acid and their derivatives denote significant class of important organic compounds. Currently, these versatile compounds have attracted substantial attention due to their interesting pharmacological medications including treatment of tuberculosis (Mycobacterium tuberculosis and tubercle bacillus that are accountable for the leading cause of death worldwide), cancer and ulcer [1,2,3]. It is important to mention that, an extreme decline has been observed in the number of TB cases, courtesy to the discovery of effective anti-mycobacterial agents including isoniazid, ethambutol, rifampicin, pyrazinamide, and streptomycin. Functionalized anilide such as NAOB having the nitro group and carboxylic acid functionality could be interesting chemical architecture as the presence of many hetero atoms might be responsible for non-covalent interactions and could also be used as potential ligand in coordination chemistry for the production of metal–organic framework (MOFs) [4,5,6]. For instance, the similar structural pattern can be found in many important biologically active compounds having potential activities like anticancer and antidepressant [7, 8], antimicrobial and analgesic. Similarly, carboxamides and analogs having structural similarity to the NAOB, could be used as activators of caspases and inducers of apoptosis [9]. Similar structural sequence could also be observed in the anti-inflammatory and antioxidant agents. Some of the chemical structures with potential anti-HIV-I activity has also a similar structural format (Fig. 1) [10].

Fig. 1
figure 1

NAOB resembled structures with their biological potential

The Hirshfeld surface analysis is an important tool that is used for the crystalline compounds to find the van der Waals interactions and hydrogen bonding [11,12,13,14,15]. These non-covalent interactions are considered to play the major role in the crystal packing [16,17,18,19]. Herein, we are presenting our findings regarding crystal structure, the supramolecular assembly exploration by Hirshfeld surface analysis and DFT inspection of the functionalized crystalline anilide (NAOB).

Experimental

Chemicals and instrumentation

The acetic acid and other chemical used for the synthesis and purification used were of highest grade and used as received without any further purification.

Synthetic procedure of NAOB

The compound NAOB (2E)-4-[((2-nitrophenyl)amino)]-4-oxobutanoic acid) was prepared using the general procedure of the literature [20]. Accordingly, equivalent molar quantities of 2-nitroaniline, i.e., C6H6N2O2 (1 mmol, 138 mg) and succinic anhydride, i.e., (CH2CO)2O (1 mmol, 100 mg) in 10 mL of glacial acetic acid was stirred at room temperature for 30 min. The solid form was separated out from the reaction mixture via filtration, washed with hexane and dried. The crude product was recrystallized using methanol (Scheme 1).

Scheme 1
scheme 1

Synthesis of NAOB using 2-nitroaniline and succinic anhydride in acidic medium

Single Crystal XRD analysis details of NAOB

The single crystal XRD data of NAOB is collected on Bruker Kappa Apex-II diffractometer with APEX-II software for data collection. The absorption correction is performed on SADABS software. The SHELXT-2014 [21] and SHELXL 2019/2 [22] software are employed for structure solution and refinement, respectively. Anisotropic displacement parameters are assigned to all non-hydrogen atoms whereas isotopic displacement parameters are assigned to H-atoms. H-atoms are placed at the calculated positions by using riding model. ORTEP-3 [23] PLATON [24] and Mercury 4.0 [25] are used for the graphical representation of SC-XRD results.

Computational methodology

Density function theory (DFT) method was used to obtain the HOMO–LUMO energy values, using B3LYP method with the 6–311 +  + G(d,p) basis set in Gaussian 16 and GaussView 6 software programs [26, 27]. First, after importing the experimental geometry, Gaussian optimization algorithm was used to obtain optimized geometry [28]. Next, Gaussian energy calculation algorithm was implemented to compute energy values for the frontier molecular orbitals, energy values of the whole structures, values of the dipole moment and visualization of the frontier molecular orbitals. Studies of the conceptual density functional theory (CDFT) were performed by using Multiwfn version 3.7 [29].

Result and discussion

The Cambridge structure database conformed that the crystal structure of NAOB is novel. The details related to single crystal X-Ray diffraction (SC-XRD) are listed in Table 1 whereas the important bond lengths and bond angles are listed in Table 2.

Table 1 Experimental details related to SC-XRD for NAOB
Table 2 Selected bond lengths (Å) and bond angles (°) of NAOB

SC-XRD description of the crystal structure of NAOB.

In NAOB (Fig. 2, Table 1) the (Z)-4-amino-4-oxobut-2-enoic acid group A (C1-C4/N1/O1-O3) and phenyl ring B (C5-C10) are planar with root mean square (r.m.s.) deviation of 0.0639 and 0.0056 Å, respectively, with dihedral angle A/B of 38.8 (6)°. The nitro group C (N2/O4/O5) is oriented at the dihedral angle of 42.8 (2)º relative to its parent group A. The deviation of O1-atom from plane of group A is larger than other atoms in the plane and deviation for O1-atom is 0.1157 (2) Å. The selected bond lengths and bond angles are listed in Table 2. The O1-C1and O2-C1 bond lengths are 1.304 (3) and 1.204 (3) Å, respectively, which showed there is single bond between O1 and C1 atoms and double bond between O2 and C1 atoms. The one of the O-atom of carboxylate group and one of O-atom of nitro group act as H-bond acceptor for NH group to form S (7) and S (6) H-bonded loops [30]. These intramolecular H-bonding are the main aspect of the molecular configuration for NAOB. The molecules are interlinked in the form of dimers through the combination of O–H \(\cdots\) O and C–H \(\cdots\) O bonding to form \({\mathrm{R}}_{2}^{2}(8)\) loop [31] (Fig. 3, Table 3). C7 and C5 infinite chains are formed by O–H \(\cdots\) O and C-H \(\cdots\) O bonding, respectively. The one-dimensional chain network of molecules is formed with base vector [10 \(\overline{1 }\)]. The crystal packing is further stabilized by the presence of off-set π \(\cdots\) π stacking interaction [32] between phenyl rings of symmetry related molecules. The inter-centroid separation between interacting rings is 3.751 (2) Å and ring off-set is 1.315 Å. Infinite chain of molecules is formed due to off-set π \(\cdots\) π stacking interaction that runs along a-axis (Fig. 4).

Fig. 2
figure 2

ORTEP diagram of NAOB that is drawn at probability level of 50%. H-atoms are shown by small circles of arbitrary radii

Fig. 3
figure 3

Packing diagram of NAOB. Selected H-atoms are shown for clarity

Table 3 Hydrogen-bond geometry (Å, º) of NAOB
Fig. 4
figure 4

Graphical representation of off-set π \(\cdots\) π stacking interaction in NAOB. H-atoms are not shown for clarity. Distances are measured in Å

It is possible to recognize the atom or a group of atoms of a molecule to be involved in intermolecular interactions. For the said purpose, we calculate the full interaction map. The main focus behind the full interaction map calculations is to visualize H-bond donors, H-bond acceptors, and the interactions that involve aromatic ring. The result of the full interaction map is shown in Fig. 5. The dark red region around the hydroxyl group indicates that it acts as a strong H-bond donor whereas the red region around NH group is light red indicates that it is a weak H-bond donor. It is evident from Table 3 that NH group is not engaged in any convection H-bonding, but it is involved in N–H \(\cdots\) π interaction which is comparatively weaker than the convectional H-bonding. H-bond acceptors are indicted by blue regions around them. A pair light red region around aromatic ring indicated the involvement of the ring in π \(\cdots\) π stacking interactions. The simulated powder X-ray diffraction (PXRD) pattern of NAOB is formed which inferred that there are three most intense peaks at positions 10.8°, 25.1° and 26.1° and labeled with corresponding hkl values (02 \(\overline{1 }\)), (12 \(\overline{1 }\))and (11 \(\overline{2 }\)), respectively (Fig. S1). These sharp peaks of NAOB indicate the high crystallinity of as prepared single crystal compound with no other impurities. The cambridge structure database [33] search inferred that the crystal structures with reference code JAYGEW [34] and MNPMAL01 [35] that have close similarity with the crystal structure of NAOB. The crystal structure of JAYGEW and MNPMAL01 have nitro group at the para position of the phenyl ring and both have one molecule in the asymmetric unit, crystallized in same crystal system and space group. The crystal structure with reference code JAYGEW and MNPMAL01 looks similar at first look. Both were crystallized in the same crystal system and space group but these structures are polymorphous. The crystal packing of JAYGEW and MNPMAL01 was different from one another. The molecules of JAYGEW were connected by N–H \(\cdots\) O and C-H \(\cdots\) O bonding in the form of chains of rings whereas the molecules of MNPMAL01 were interlinked by same H-bonding in the form sheets parallel to (\(\overline{1 }\) 01) plane.

Fig. 5
figure 5

Full interaction map of NAOB

Symmetry codes: (i) x + 1/2, − y + 1/2, z − 1/2; (ii) x − 1/2, − y + 1/2, z + 1/2.

Hirshfeld Surface Analysis

The intermolecular interactions in a single crystal of molecule were studied by Hirshfeld surface analysis on Crystal explorer 21.5 [36]. The concept of Hirshfeld surface (HS) arose when the researchers were trying to dissociate the crystal electron density into molecular fragments. Figure 6a is the Hirshfeld surface plotted over dnorm on which the red spots are the representatives of short contacts. White spots stand for the contacts for which the distance between the interacting atoms is equal to the sum of the Van der Waal radii of atoms whereas blue spots stand for the longer contacts [37,38,39]. Figure 6b, c shows the HS of NAOB along with de and di. Where de and di shows the distance from the Hirshfeld surface (HS) to the nearest nucleus external and internal to the surface, respectively. In order to visualize the π \(\cdots\) π stacking interactions in NAOB, HS is plotted over curvedness (Fig. 6d) shape index (Fig. 6e). The large flat green region around the aromatic ring on the HS plotted over curvedness indicates the involvement of the aromatic ring in π \(\cdots\) π stacking interactions. The presence of consecutive red and blue triangular regions around the aromatic ring also indicates the involvement of the aromatic ring in π \(\cdots\) π stacking interactions. Close contacts with neighbor atoms from inside to outside O \(\cdots\) H and H \(\cdots\) O are represented in Fig. 6f on which the red color circles revealed the hydrogen bonding contacts and blue regions show the longer contacts on the HS surface.

Fig. 6
figure 6

Hirshfeld surface map of NAOB: a dnorm, b de, c di, d shape index, e curvedness and f interactions with neighbor molecules H \(\cdots\) O and O \(\cdots\) H positions

The 2D fingerprint plots (Fig. 7) were provided for additional information about the intermolecular interactions. It provides direct insight of the supramolecular assembly in the single crystals [40,41,42]. The analysis inferred that H \(\cdots\) O, H \(\cdots\) H and C \(\cdots\) C as major contributors for the crystal packing. The highest contribution was found 48.5% for H \(\cdots\) O to the crystal packing and 20.7% for H \(\cdots\) H followed by C \(\cdots\) C 9.9%. Other contacts or interactions were negligible and are given in supporting information.

Fig. 7
figure 7

Fingerprint plots of NAOB, b all atoms, d H \(\cdots\) O (48.5%), f H \(\cdots\) H (20.7%), h C \(\cdots\) C (9.9%). Exact Position of interaction represented by a, c, e, g

Molecular Electrostatic Potential (MEP)

MEP is the method to visualize relative polarity and active sites of crystal structure, this is effective way to investigate reactivity and the relative polarity of molecule [43,44,45]. Figure 8 shows the 3D MEP maps of NAOB, the negative potential represented by red regions are mainly localized over the terminal oxygen atoms of NAOB anion. So red regions are most suitable positions for electrophilic attack in the NAOB. The blue region represents the positive potential region of NAOB that indicates possible sites for nucleophilic attack.

Fig. 8
figure 8

Molecular electrostatic potential (MEP) of NAOB, a The MEP on the HS with the property cloned to its nearest neighbors to identify the potential acceptor and donor sites, b The color range was chosen to be the − 0.008 to + 0.008 a.u

Void Analysis

Promolecular surfaces were used to visualize the size, shape and the space belong to molecule in crystal. Similarly, these surfaces can also be used to identify the region or space not related with a molecule or with molecules in a crystal. So, crystal voids can be visualized by simply building an isosurface of the procrystal electron density. Figure 9 demonstrates the correlation between isosurface of the procrystal electron density and 0.002 au promolecule isosurfaces for NAOB. All the atoms are assumed to be spherically symmetric and electron density of all the atoms are added up in order to find voids [46,47,48]. We found the void surface with volume of 79.77 Å3 per unit cell and total cell volume was found 999.4 Å3 which inferred that the molecules are strongly packed as the void occupy just 7.98% of the space of the unit cell. The promolecule isosurface for individual volume of NAOB was calculated 221.45 Å3 (Fig. 9a). Figure 9b shows the electron densities overlap in the procrystal, the sum of their individual volumes for two molecules per unit cell was found 442.90 Å3.

Fig. 9
figure 9

Unit cell packing diagram for NAOB a with 0.002 au void surface b with combination with individual promolecule surfaces at 0.002 au

Interaction energy and energy frameworks

Interaction energies of NAOB were calculated with model B3LYP/6-31G(d,p)by using Crystal explorer version 21.5. The interaction energy is the sum of four kinds of energies named as electrostatic, dispersion, polarization and repulsion [49,50,51]. The interaction energy is calculated for the cluster of molecules that lie within 3.8 Å3 volume of the reference molecule (Fig. 10a). The interaction energy calculations inferred that the interaction energy is greatest for the pair of molecules that are connected by symmetry (x + 1/2, -y + 1/2, z + 1/2) (Fig. 10e). Energy frameworks represents the strength of a particular kind of energy. The thickness of the cylinders is directly proportional to the strength of the particular kind of energy. The energy framework calculations inferred that the dispersion energy has greater contribution as compared to the coulomb energy in defining the total interaction energy (Fig. 10b, c, d).

Fig. 10
figure 10

a Interaction energies between the molecular pairs that lie within 3.8Å3 of the reference molecule. Energy frameworks for b coulomb energy, c dispersion energy, d total energy. e Graphical view of the values of the various kind of interaction energies

Computational results

DFT inspection

The application of density functional theory (DFT) delivers an extensive foundation that can be used to characterize various properties of the compound, including physical and chemical properties that can be used to predict how the single crystal structure will behave [52]. We can achieve that by determining the energies associated with molecular orbitals and the energy gaps between them. Energy gap, i.e., a minimum required energy for an electron to reach an excited state, ΔE (ELUMO–EHOMO), represents the reactive ability of molecules to interact with other molecules, (electrophiles or nucleophiles). A hard, less polarizable, and less reactive molecule has larger energy gap, when a soft, highly polarizable and higher chemically reactive molecule has smaller energy gap.

As a first step of the DFT analysis, geometry optimization to minimum energy state was performed for the title compound by applying B3LYP/6–311 +  + G(d,p) method (Fig. 11). DFT calculations were performed on both experimentally obtained from X-Ray geometry and optimized geometry. Energy values for the multiple molecular orbitals from the HOMO to the fourth HOMO (HOMO – HOMO-3) and from the LUMO to the fourth LUMO (LUMO – LUMO + 3) were evaluated (Tables 4 and 5).

Fig. 11
figure 11

Molecular orbitals diagrams for the experimental X-Ray obtained geometry (A) and DFT-optimized geometry of the title compound (values in eV)

Table 4 Calculated energy values (in eV) for HOMO-3, HOMO-2, HOMO-1, HOMO, LUMO, LUMO + 1, LUMO + 2 and LUMO + 3 molecular orbitals for the title compound
Table 5 Energy gaps (in eV), electronic energy (in eV) and dipole moment (in Debye) between calculated molecular orbitals for title compound

The analysis of the energy gaps between molecular orbitals (Table 5) revealed higher energy gaps for experimentally obtained crystal structure of the title compound comparing to the DFT-optimized geometry. This finding suggests that the experimental geometry of the compound has restricted mobility of the electrons and is less reactive. Overall low values of the dipole moment (Table 5) represent the nearly symmetrical charge distribution, when at the same time experimentally obtained structure possesses a slightly asymmetrical distribution of charges.

Last, the conceptual density functional theory (CDFT) was used to calculate the chemical reactivity descriptors that were originally introduced by Robert Parr [53,54,55], to provide a quantitative analysis of the investigated compound, and to provide an intrinsic understanding of the chemical and biological activities. Previously derived computational data for the HOMO and LUMO energy levels were utilized to find the global chemical reactivity descriptors, such as ionization potential (IP), electron affinity (EA), electronegativity (χ), chemical potential (µ), global hardness (η), global softness (σ), electrophilicity index (ω) and nucleophilicity index (N) (Table 6). The title compound possesses high ionization potential, electronegativity, and global hardness and nucleophilicity index values, thus representing strong nucleophilic structure, that at the same time does not favor the change in the electron distribution. Supporting that, low escaping tendency of electrons is represented by low chemical potential value. In comparison with theoretically optimized geometry of the title compound, the experimentally obtained structure has slightly stronger pronounced properties of nucleophilic structure.

Table 6 Ionization potential (IP), electron affinity (EA), electronegativity (χ), chemical potential (µ), global hardness (η), global softness (σ), electrophilicity index (ω) and nucleophilicity index (N) for the title compound

Conclusion

The crystalline anilide, i.e., (Z)-4-((2-nitrophenyl)amino)-4-oxobut-2-enoic acid (NAOB) was synthesized by using the reported method and experimental and theoretical investigation were performed. The structure of NAOB was unambiguously confirmed by the SC-XRD technique which showed that the molecular configuration was stabilized by intramolecular N–H \(\cdots\) O bonding. The crystal packing was stabilized by O–H \(\cdots\) O, C–H \(\cdots\) O and off-set π \(\cdots\) π stacking interactions. Hirshfeld surface analysis inferred that O \(\cdots\) H contact was the most significant contributor of the crystal packing. The crystal packing environment was further explored by the interaction energy between the molecular pairs which showed that the dispersion energy played dominant role for the stabilization of solid-state assembly. The DFT calculations performed to analyze the chemical and physical properties of the NAOB demonstrated the comparable energy states of the experimentally obtained crystal structure and the computationally optimized structure, but increased energy gaps between LUMO and HOMO molecular orbitals for the experimentally obtained crystal structure, revealing the lower mobility of the electrons and insignificant asymmetrical distribution of charges. The chemical reactivity descriptors obtained upon quantification analysis of the energy gaps between molecular orbitals demonstrated that NAOB possesses strong nucleophilic properties that are even stronger pronounced than those for the theoretically optimized structure.