1 Introduction

In recent decades, organic materials usage in nonlinear optical applications is increased by compared with inorganic counterparts. This was due to their advantages of the π-conjugated molecular system, large resistance damage, and high electro-optics co-efficient, structural flexibility, and excellent nonlinear optical efficiency [1,2,3,4]. Hence now it has much attention in the field of optical oriented power limiting, 3-dimensional memory devices, and optical switching applications, laser moderation, optical computing, optical communications, and sensing [5,6,7,8]. Hence, the researchers are focused to develop the organic single crystal growth for technological applications [9]. The organic molecules possess hydrogen donor and acceptor groups as conjugated structures. Thus groups are lead to the various approach of hydrogen bonding through acid and base groups in organic structures that gives the nonlinearity due to their molecule charges become asymmetry [10]. Hence the material’s nonlinearity was considerably improved by the strong donor to acceptor electronic transition in delocalized electrons also the ππ stacking, hydrogen bonding, and intramolecular charge transfer [11, 12] are the most important factors in increasing a molecule’s nonlinear activity [13, 14]. Pyridine derivatives are an example of an organic substance that easily forms stable complexes with a suitable donor. This impact has also been reported previously using a variety of organic compounds, such as carboxylic acid and other acids derivatives. Among the organic materials, the presence of nitrogen in the pyridine ring is also known to enhance the creation of salts during interaction with certain organic acids which could exhibit efficient second and third-order nonlinearity [15, 16]. Pyridine compounds are also important in biology because they have a variety of biological effects, including anticancer, antibiotic, psychotropic, anti-inflammatory, and antihistaminic capabilities [17]. Furthermore, pyridine compounds show promise in organic semiconductors, optoelectronics, photophysical, catalysis, in addition to electrochemical applications [18,19,20]. Benzoic acid derivatives are an important part of the vitamin B complex. Benzoic acid, like vitamin B-complex, is found widely in plant and animal tissues and is employed in miticides, Cholocystographic examinations, contrast media in urology, and pharmaceuticals manufacture [21]. p-, m-, and o-chlorobenzoic acid’s IR and Raman spectra were previously examined in solid form and in various solutions. The vibrational assignments of chlorobenzoic acids have been postulated based on group frequency, band shape, intensity, and some internal consistency. Chlorobenzoic acids exist as hydrogen bond dimers in solids and monomeric acids in organic solvents such as chloroform, diethyl ether, ethanol, according to studies of carboxylic acid and carboxylate vibrations whereas in sodium hydroxide solutions as carboxylate ions. In the case of halogens, the inductive effect dominates over the resonance effect. As a result of the Cl on the para position, p-chlorobenzoic acid should be more acidic than benzoic acid due to the l effect [22]. The ICT transfer of pyridine to benzoic acid derives single crystals such as 2-amino 4-picolinium 4-aminobenzoate [23], 2-amino-6-methylpyridinium 3,4-dimethoxybenzoate [24], 2-aminopyridinium 2-chloro 4-nitro benzoate [25], and 2-amino-6-methylpyridinium 4-nitrobenzoate [26] exhibited the second and third-order nonlinearity. Hence we have selected the parent compound of 2-amino-methylpyridine, p-chlorobenzoic acid in this series to grow the 2-amino-6-methylpyridinium p-chlorobenzoate dihydrate organic single crystal. The grown 2A6MP crystal physicochemical properties such as structural, functional, optical, thermal, mechanical, and third-order nonlinear responses are analyzed. 2A6MP crystal is a good candidate for practical NLO device applications particularly for optoelectronic devices. DFT analysis on the grown single crystal supports ICT interactions between the hydrogen donor and acceptor molecular groups which induce the nonlinearity and the detailed discussions are presented in this article.

2 Experimental section

2.1 Material synthesis and crystal growth

As shown in the synthesis scheme of Fig. 1a, the organic 2-amino-6-methylpyridinium p-chlorobenzoate dihydrate single crystal was generated from the parent compound of 2-amino-6-methylpyridine (2A6M) and p-chlorobenzoic acid (P) in an equimolar ratio of 1:1. Initially, 2.4 g of p-chlorobenzoic acid was dissolved in 50 ml of ethanol. Subsequently, 2.8 g of 2-amino-6-methylpyridine was added into the p-chlorobenzoic acid solution. Then the mixed solution (2A6MP) was stirred well to get the homogeneous mixture. After that the attained 2A6MP solution was allowed to the solution crystal growth technique by the slow evaporation method. The recrystallization process was repeated three times to get the pure crystal. The slow evaporation yields the 2A6MP crystal with the size of about 20 × 10 × 10 mm3 within 3–4 weeks as shown in Fig. 1b.

Fig. 1
figure 1

a A synthesis scheme and b Photograph of as-grown 2A6MP single crystal

2.2 Solubility study

The solubility study was carried out for the prepared compound of 2A6MP in ethanol at different temperatures. The solvent selection and the suitable temperature are the most important pre-requisite for obtaining bulk size single crystals. First the less amount of 2A6MP sample “solute” was added slowly into the 100 ml of ethanol solvent at 30 °C. The saturation of the solute represents the maximum solute at the taken 100 ml solvent was found and noted. The same procedure was applied to the remaining planned temperatures of 35 °C, 40 °C, 45 °C, and 50 °C. The entire solubility test results are plotted as the graph and shown in Fig. 2. The results reveal the amount of solute was increased with respect to the temperature represent the positive solubility behavior.

Fig. 2
figure 2

Solubility curve of 2A6MP

3 Results and discussion

3.1 Single crystal XRD analysis

The physicochemical properties of the grown crystals are strongly depending on the crystal structure, symmetry, and lattice parameters. These materials properties are analyzed by single crystal X-ray diffractometer of Brukker Kappa APEX II. The results of crystal structure, bond lengths, bond angles, and tetrahedral parameters were estimated to the grown single crystals of 2A6MP. The entire structural reports were deposited to Cambridge Crystallographic Data Centre (CCDC) and the filed number is 2091828. The obtained results represented that the grown crystal was in monoclinic crystal structure with the centrosymmetric space group of P121/c1. The lattice parameters of 2A6MP crystal was, a = 16.44(2) Å, b = 4.17(5) Å, c = 23.10(3) Å, α = γ = 90°, β = 107.84(4)°, and the unit cell volume of V = 1508.7(3) Å3. The refined crystal structure data for 2A6MP are presented in Tables 1 and 2. The entire refinement data of 2A6MP crystal are given away in Supp. Tables 1–6. The thermal ellipsoid diagram of 2A6MP is presented in Fig. 3a which contains the asymmetric unit. It has mono p-chlorobenzoate anion, 2-amino-6-methylpyridinium cation with two water molecules. Also, the 2-amino-6-methylpyridium cation and p-chlorobenzoate anion are linked through N–H…O hydrogen bond which the anion was connected through water molecule of O–H…O hydrogen bond. Further, this water molecule was connected by another water molecule in the crystal structure through O–H…O hydrogen bond. It has been observed from the singe crystal structural analyses, the three-dimensional structure of 2A6MP crystal was formed by the weak π–π interactions.

Table 1 Crystal data for 2A6MP
Table 2 Data collection and structure refinement for 2A6MP
Fig. 3
figure 3

a Thermal ellipsoid plot of 2A6MP crystal and b Molecular geometry of 2A6MP crystal

3.2 Molecular geometry

In molecular structural design, the hydrogen bond interactions are playing a major role. In this study, 2-amino-6-methylpyridine can act as a hydrogen acceptor moiety that easily bonds through p-chlorobenzoic hydrogen donor moiety. It can happen through N10–H12…O29 interactions which could imply the charge transfer between these moieties. The optimization of 2A6MP crystal structure was carried out from the single crystal XRD ortep diagram is shown in Fig. 3b. The bond lengths and bond angles were calculated from the density functional theory (DFT) that values are compared with the experimental single crystal XRD data. The comparison is shown in Table 3. The theoretical values are slightly changed with the experimental values due to DFT estimations being made in the gaseous state while the experimental results were made in solid state. Hence, there shall be a minor deviation and could be observed as expected. The intermolecular interactions of 2A6MP crystal are indicated by dashed lines in Fig. 3b which corresponds to the stabilization of the grown three-dimensional crystal system. It represents the electrons flow that happens from 2-amino-6-methylpyridinium (hydrogen acceptor) cation to p-chlorobenzoate anion. This charge transfer mechanism leads to the nonlinearity of the grown crystal. The N–C–N bond angle value is about 120° which correlates the positive charge displacement of a nitrogen atom to a carbon atom. Overall, the carbon atom acquired the positive charge that gives rise to the 2-amino-6-methylpyridinium cation to form the stable crystal structure.

Table 3 Experimental and optimized geometry parameters of 2A6MP crystal computed by B3LYP/6–311 +  + G (d, p) basis set

3.3 Powder XRD analysis

The Powder X-pert pro diffractometer with CuKα radiation was utilized to record powder X-ray diffraction patterns of the crystals powder sample. It provides information about crystallinity and phase purity of the grown 2A6MP crystal. The diffraction pattern was strongly dependent on the scattering intensity which includes scattering angle, energy, and polarization of the 2A6MP powder sample. Figure 4a revealed those high intense nature peaks which were occurred due to the high crystallinity of the organic 2A6MP powder material. The peaks were indexed using the PowderX program. The lattice parameters are calculated from this analysis and it is compared with the single crystal XRD data and it is shown in Table 4. It is approximately equal to each other.

Fig. 4
figure 4

a Powder X-ray diffraction pattern, b FTIR spectrum, and c NMR spectrum of 2A6MP crystal

Table 4 Comparison the lattice parameters of powder XRD with single crystal XRD

3.4 FT-IR spectral analysis

FT-IR spectroscopy was utilized to determine the various functional groups in the chemical structure. They deliberated the large number of vibrational bands which represent each functional group of the molecule. The FT-IR spectra of grown 2A6MP crystals were obtained using a Kimaya Engineers FT-IR spectrometer with the KBr pellet technique, as shown in Fig. 4b. In general, the hydrogen bond interaction was occurred between the acid and base groups. The vibrational band at 3311 cm−1 was attributed to the N–H symmetric stretching which represents the nitrogen protonation of the pyridinium moiety [27]. The asymmetric and symmetric stretching vibrations are occurred at 2919, 2840 cm−1. The C–H stretching of methyl (CH3) group in pyridinium moiety was confirmed by the vibrational band at 2724 cm−1. The bands are broadly in the region of 2500–3500 cm−1 is due to the O–H stretching vibration. The C-H stretching for the benzene ring was associated with the bands at 2396, 1991 cm−1. The bands are at 1664, 1389 cm−1 was ascribed to the asymmetric, symmetric COO stretching vibrational frequency of the carboxylic group in the p-chlorobenzoate anion. The C=C stretching vibration occurred at 1533 cm−1. The vibrational band at 1076 cm−1 corresponds to the O–H in-plane bending vibration [28]. C–N–O in-plane bending, C–N–C out of plane bending are assigned to the vibrational bands at 828, 553 cm−1, respectively. The band occurred at 762 cm−1 was due to the C–Cl vibrational stretching frequency of the p-chlorobenzoate anion [29]. The hydrogen bond interactions were confirmed by the N–H and O–H stretching vibrations. The assigned complete vibrational bands are presented in Table 5.

Table 5 FT-IR spectral vibrational assignments of 2A6MP compound

3.5 1H NMR spectral analysis

The Bruker Avance III HD Nano Bay 400 MHz FT-NMR spectrometer was used to analyze the 1H NMR spectrum of 2A6MP crystal at room temperature using the standard reference of deuterated solvent DMSO4, and the spectrum was displayed in Fig. 4c. The CH3 proton of pyridinium moiety was confirmed through the sharp singlet peaks at δ = 2.22 and 2.51 ppm. The singlet proton signal was seen at δ = 3.57 ppm which indicates the NH2 proton of pyridinium moiety. The doublet of doublet proton signals occurred in the range of 6.24–6.35 ppm and the triplet proton signals from 7.25 to 7.29 ppm which corresponded to the two-hydrogen benzene ring in pyridinium moiety. The presence of proton signal at 5.90 ppm was due to the CH proton of benzoate anion moiety. The doublet proton signal exhibited at δ = 7.58 and 7.56 ppm were represented the two hydrogens of benzene ring in benzoate moiety. Also, the doublet of doublet signals was viewed in the NMR spectrum at 7.94 and 7.96 ppm which were pointed out the two protons of the benzene ring in benzoate moiety [30].

3.6 UV–Vis spectral analysis

UV–Vis spectral analysis recognizes the cut-off wavelength and optical transparency of the grown 2A6MP crystal using Ocean Optics HR 2000 spectrometer. These parameters are important to the parametric oscillations and nonlinear optical applications etc. [31]. UV–Vis transmission, absorption spectral analyses were revealed in Fig. 5a, b. It elaborately gives the 2A6MP electronic transitions. When the UV region absorbs the light, the electrons are moving from the lower (ground) to the upper states in the orbitals of σ and π. The grown crystal attained the lower cut-off at 349 nm (UV region) and good optical transparency in the visible region of 66% as revealed in Fig. 5a ensured the grown crystal nonlinearity. Also, the light absorbance does not happen between 400 and 1100 nm and it indicates that the grown crystals are defects free. The bandgap was estimated from Tauc’s plot which correlates the optical absorption coefficient (α) and (photon energy). These parameters are calculated from the optical absorption spectra (Fig. 5b). The ‘α’ was calculated by the following relation,

Fig. 5
figure 5

a, b UV–Vis transmittance and absorbance spectrum, c Tauc’s plot, d Photoluminescence spectrum, and e TG-DSC curve of 2A6MP

$$h\nu \alpha = A {(h\nu -{E}_{g})}^{1/2},$$
(1)

Eg’ represents the bandgap, ‘A’ indicates an invariable. The graph is plotted between the value of (αhν)2 vs. and denoted as Tauc’s plot. The linear part of this plot is to identify the band gap of the grown crystal as shown in Fig. 5c and the band gap was found to be about 3.19 eV. The significant transmittance in the visible range is confirmed by the 2A6MP crystal’s wide band gap, and defect concentration is lower in the grown crystal. The pyridinium derivative single crystals attained the wide bandgap [26, 32, 33] are compared with the present work and it is shown in Table 6. The lower cut-off and wide band gap ensured the grown 2A6MP crystal can be used for optoelectronic applications.

Table 6 Comparison of pyridinium derivative crystals band gap with the present work

3.7 PL spectral analysis

PL spectral study is one of the most fascinating methods to find out the luminescence behavior such as excitation and emission spectrum of grown organic crystals. The Varian Cary Eclipse photoluminescence spectrometer was used for the experiment. Hence, a high emission peak in the fluorescence represents the grown material is imperative in the field of optoelectronic applications [34, 35]. The PL spectrum was recorded for the grown 2A6MP material in the wavelength range from 300 to 600 nm as shown in Fig. 5d. The high intense broadening peak was occurred at 378 nm in the violet region because of their 2-amino-6-methylpyridinium cation ions are excited into the first electronic excited state (higher vibrational) subsequently to the lowest single excited state with the excitation wavelength at 348 nm. At the particular state, the electrons are released to the ground state with luminescence emission simultaneously. The intense peak regarding the proton interchanges between 2-amino-6-methylpyridinium and p-chlorobenzoate ions. The low intensity peaks at 440 and 488 nm are attributed to the hydrogen bond in the crystal lattice. It indicates that a 2A6MP crystal has a blue light emission. This results show that 2A6MP crystal may have suitable application in the violet and blue emit diodes.

3.8 TG-DSC analysis

Thermogravimetric (TG) and differential scanning calorimetric (DSC) analysis were performed on 1.5 mg mass of powdered 2A6MP crystal sample and was taken over the alumina crucible, when the temperature varied from 30 to 500 °C at the heating rate of 10 °C/min in the nitrogen atmosphere to investigate the melting point, thermal stability, and decomposition point of the grown crystal by using DSC-SDT-Q600. Thermal stability is one of the important characteristics to find out the fabrication of device oriented applications [36]. TG-DSC curve for the grown 2A6MP crystal is shown in Fig. 5e. From the TG curve, weight loss has occurred when the temperature reached to 106.9 °C and the material was stable below this temperature. After that, the heavy weight loss was observed at the temperature of 192.8 °C indicates most of the volatile substances are released from the grown crystal. The DSC curve exhibits the first endothermic peak at 106.9 °C which represents the dehydration of the 2A6MP crystal and the second endothermic peak of the DSC curve at the temperature of 193.87 °C indicates the decomposition of the grown crystal. From this analysis, the 2A6MP crystal was found to be a useful candidate for the NLO and laser applications up to the temperature rate at 106.8 °C.

3.9 Microhardness analysis

Microhardness analysis, which is the characteristic of mechanical properties of any grown crystal, that is related to the properties of physical and chemical directly related to the device fabrication applications [37]. 2A6MP crystal hardness measurement was done by Vickers’s micro hardness tester. When the load was applied from 5 to 100 g on the grown 2A6MP crystal, the hardness number was calculated by using this relation [38],

$${H}_{v}=1.8544\times \frac{P}{{d}^{2}}\rm { kg}/{\rm {mm}}^{2},$$
(2)

where ‘Hv’ represents the hardness number, ‘P’ denotes the functional load in kg, ‘d’ is diagonal length of the indenter in mm, 1.8544 is a geometrical constant factor. When the load was applied to the 2A6MP crystal up to 50 g the hardness number was increased, and it is shown in Fig. 6a after that the cracks were induced. At the higher loads, the indentation stress was released to the material. As it follows the material undergoes elastic recovery. Figure 6b revealed the plotted graph between the functional loads versus diagonal length indentations. The increasing of hardness number with respect to the load denotes the reverse indentation size effect (RISE) [39]. Functional load and intender diagonal length are interconnected by Meyer’s law as follows [40],

Fig. 6
figure 6

Plot of a Hardness number (Hv) vs. load (P), b Hv vs. diagonal (d) and c log P vs. log d

$$P=A{d}^{n},$$
(3)

here ‘n’ refers the work hardening co-efficient or Meyer’s index of the grown crystal. With the result of Onitsch [41], the Meyer’s index range was about 1 to 1.6 for harder materials and above 1.6 identical into the soft material family. The graph is drawn between log P vs. log d as shown in Fig. 6(c) to find the value of ‘n’. From this graph, the value of Meyer’s index was found to be about 2.84 hence the grown crystal was classified into the soft material category. If n < 2 indicates normal ISE behavior, n > 2 reveals the behavior of reverse ISE. Thus, the grown 2A6MP crystal belongs to reverse ISE behavior. The important parameters of Yield strength [42] and Stiffness constant [43] of 2A6MP crystal were calculated from the following empirical formula,

$${\upsigma }_{y}=\frac{{H}_{v}}{ 2.9}[1-\left(n-2\right){\left[\frac{12.5\left(n-2\right)}{1-\left(n-2\right)}\right]}^{n-2},$$
(4)
$$ C_{{11}} = H_{v}^{{({7 \mathord{\left/ {\vphantom {7 4}} \right. \kern-\nulldelimiterspace} 4})}} .$$
(5)

The plot is drawn between identical load (P) and Yield strength of 2A6MP crystal as revealed in Fig. 7a. The identical load vs. stiffness constant was plotted and shown in Fig. 7b. The values of Stiffness constant and Yield strength were increased with respect to the identical loads. These are the essential key factors for the materials structure as well as bonding [44] of crystal structure that was used for materials science engineering. The high magnitude of hardness number, Yield strength, and Stiffness constants were shown in Table 7 that strongly evidenced for 2A6MP crystal to be used as NLO material. Compared with the other pyridinium derivative single crystal, the grown crystal exhibits the good mechanical strength [26, 32, 33].

Fig. 7
figure 7

Plot of a Yield strength (σy) vs. load P and b Stiffness constant (C11) vs. load P

Table 7 Microhardness (Hv), Yield strength (σy), Stiffness Constant (C11) for different loads

3.10 Frontier molecular orbital (HOMO –LUMO) analyses

Frontier molecular orbital includes both HOMO (highest occupied molecular orbital) and LUMO (lowest unoccupied molecular orbital). The excitation of electrons from HOMO–LUMO orbitals describes the transition of electrons that commence from the ground state (electronic absorption) toward first excited state (electronic transition) [45]. HOMO represents an electron donor and LUMO indicates an electron acceptor which implies that electron density is transferred between these orbitals. In this grown crystal structure, HOMO of 2A6MP is delocalized over the p-chlorobenzoate anion, LUMO is spread over the 2-amino-6-methylpyidinium cation as shown in Fig. 8 which is responsible for the electron density transfer from anion to cation. As of Fig. 8, the red color covered the positive region, and the green color occupied the negative region of 2A6MP. The HOMO, LUMO energies are calculated with the same level of theory. The difference between HOMO and LUMO energy gives the band gap, which is the crucial part of the 2A6MP crystal. It gives electrical properties, stabilization of the entire crystal structure also evidenced for charge transfer occurred between these molecules. Using the HOMO, LUMO energies, the following factors are calculated and the values are revealed in Table 8.

$$ {\text{Ionization potential }}\left( I \right) = - {\text{Homo energy}}, $$
(6)
$$ {\text{Electron affinity }}\left( A \right) = - {\text{Lumo energy}}, $$
(7)
$$ {\text{Chemical hardness }}\left( \eta \right) = \left( {I - A/{2}} \right), $$
(8)
$$ {\text{Global softness}} \left( S \right) = {1}/\left( \eta \right), $$
(9)
$$ {\text{Chemical potential }}\left( \mu \right) = - \, \left( {I + A/{2}} \right), $$
(10)
$$ {\text{Electro negativity}} \left( \chi \right) = \left( {I + A/{2}} \right), $$
(11)
$$ {\text{Electrophilicity}} \left( \omega \right) = \mu^{{2}} /{2}\eta . $$
(12)
Fig. 8
figure 8

Molecular orbitals of HOMO and LUMO

Table 8 HOMO–LUMO energy gap and their related molecular properties of 2A6MP molecule

HOMO energies are directly connected with ionization potential and the LUMO energies are linked with electron affinity [46]. Chemical hardness and softness are related to the material stability of the 2A6MP crystal. Sharing of electrons was focused by the electrons represented the electro negativity and the electrons are recognized from the donor group assigned to an electron affinity. The energy gap of 2A6MP crystal is about 3.21 eV.

3.11 Molecular electrostatic potential

Molecular electrostatic potential (MEP) mapping is an essential technique to provide information about atomic, molecular properties also net electrostatic effect produced by the overall charge distribution of the entire molecule at a space point. The 2A6MP molecules nucleophilic and electrophilic reaction sites are represented by the various colors in the order of red < orange < yellow < green < blue. The electrostatic potential map closed and open curvature shown in Fig. 9a, b was derived from the optimization of the 2A6MP crystal structure using the same B3LYP theory, which also aids in the analysis of 2A6MP intermolecular interactions. The electrophilic site is susceptible to electron withdrawing with MEP minima and the nucleophilic site predicts the electron deficient with high MEP. The electrostatic negative potential region is presented in the carboxyl oxygen group of benzoate anion as revealed in yellow color indicates that the oxygen atoms can act as an electrophilic site which are highly surrounded by the positive charge. The electrostatic positive potential region marked by the blue color, which is located at the hydrogen atom of nitrogen, amino group pyridinium cation represented the nucleophilic site. Hence the intermolecular interactions are formed between these molecules by N–H…O hydrogen bond interaction. It includes both theoretical and experimental single crystal data analysis on the N–H…O hydrogen bond interactions inside the 2A6MP molecule. As a result, the charge transfer that happens within the 2A6MP molecule between the anion and cation molecule demonstrated good NLO response.

Fig. 9
figure 9

Plot of a closed b opened molecular electrostatic potential and c Mulliken analysis of 2A6MP crystal

3.12 Mulliken charge analysis

Mulliken charge distribution analysis manipulates the polarizability, and the dipole moment changes between the chemical bonds. The amount of charge distribution in the 2A6MP crystal structure was calculated and its graphical visualization of atomic charges is given in Fig. 9c. The highest negative charge exhibits the oxygen of O29, O30 carboxyl groups of benzoate moiety and the significant positive charge over the hydrogen atom of H12, H32, H33, and H36 of pyridinium moiety compared with other hydrogen atoms of benzene ring that strong evidence for the N–H…O intermolecular interactions of hydrogen bond between the benzoate and pyridinium moiety. Compared with all other carbon atoms, C19 possessed a maximum positive charge due to the occurrence of electronegative atoms. The electronegative atoms such as nitrogen, oxygen possessed a negative charge. This analysis also supports the claim of electrophilic and nucleophilic sites as well as MEP. The charge transfer between the anion and the cation within the 2A6MP molecule was also confirmed which resulted in nonlinearity.

3.13 NBO

The existence of inter and intramolecular hydrogen bond interactions of 2A6MP was analyzed from NBO analysis [47]. It helps to understand the possible hydrogen interactions between Lewis (filled) and non-Lewis (unfilled) molecular systems with detail to the hydrogen donor and an acceptor. Second order Fock matrix calculations were tabulated in Supp. Table 7. The lone pair oxygen atom in the bonding orbital was strongly hydrogen bonded into the anti-bonding N–H through N10-H11…O29 and N10-H12…O29 interactions, due to these interactions the transportation of charges from bonding to anti-bonding existence of the hydrogen donors through the stabilization energies 0.08 and 27.77 kcal/mol, respectively. The electron density was enhanced by 0.01 in these interactions strongly denoted that both bonds are weakening. It is revealed that the strong hydrogen bond interactions of N–H…O into the oxygen atom of benzoate yielded the molecular stability of the 2A6MP molecule. Pyridinium acted as a hydrogen bond acceptor that easily bonded through the oxygen atom of benzoate representing the charge transfer between these molecules. This process leads to be, the molecule has exceedingly polarized. Hence the 2A6MP shall be responsible for the enhanced NLO properties.

3.14 Z-scan

One of the most important technological experimental approaches is the phenomenon of four waves mixing, which symbolizes third-order nonlinearity. It is related to the intensity dependent refraction and absorption which are used in the field of photonic devices development such as optical signal processing applications. Therefore, the third-order nonlinearity measurement was of vital importance. Z-scan method using He–Ne laser source is the simple implemented technique used a single beam and gives the information about the nonlinear susceptibility of both real and imaginary parts as well as nonlinearity. The open aperture measurement mode detailed the nonlinear absorption co-efficient and the closed aperture gives us information about nonlinear refractive index [48] of grown 2A6MP crystal.

The closed aperture curve is shown in Fig. 10a and revealed the transmittance of peaks are lowered to valley indicated the self-defocusing nature, i.e., nonlinear refractive index [49] attained the negative sign. The variation of refractive index with respect to the temperature is called self-defocusing. The nonlinearity sign is essential parameter of optical signal applications. Figure 10b depicts the open aperture curve for 2A6MP crystal that exhibits the high intensity near the focus named saturable absorption. The phenomenon of saturable absorption is when the excited molecules directly decay back to the ground state due to the high transmittance and the reduction of focal points [50]. The nonlinear absorption co-efficient \((\beta \)) was intended by the following equation,

Fig. 10
figure 10

a closed b opened aperture Z-scan analysis of 2A6MP crystal

$$\beta =\frac{2\sqrt{2\Delta T}}{{I}_{o}{L}_{eff}}(\rm {m}/\rm {W}),$$
(13)

where \(\rm {\Delta T}\)- peak value from the OA curve. Io represents the input intensity. Leff indicates the thickness of the crystal sample; Leff can be deliberated by the following relation,

$$ L_{{eff}} = 1 - e^{{{{ - \alpha L} \mathord{\left/ {\vphantom {{ - \alpha L} \alpha }} \right. \kern-\nulldelimiterspace} \alpha }}} ,$$
(14)

where ‘α’ and ‘L’ denotes the linear absorption coefficient and sample thickness of the grown 2A6MP crystal. The value of n2 was calculated by using the below relation,

$${n}_{2}=\frac{\Delta \varnothing }{K{I}_{o}{L}_{eff}},$$
(15)

here \(\Delta \varnothing \) represents the phase shift axis at the focus and it was calculated by the following relation,

$$ \Delta \emptyset = \frac{{\Delta {\text{T}}_{p - v} }}{{0.406{ }\left( {1 - S} \right)^{0.25} }}, $$
(16)

S’ indicates the linear transmittance, which was deliberated by the following equation,

$$S=1-\rm {exp}\frac{{-2\rm {r}}_{a}^{2}}{{\rm {w}}_{a}^{2}},$$
(17)

here the value of ‘ra’ is (radius of aperture) = 1.25 mm; and ‘wa’ (beam radius) is = 3.25 mm. The real part of 2A6MP crystal third-order nonlinear optical susceptibility (χ3) was calculated by

$${R}_{e}{\chi }^{\left(3\right)}=\frac{{10}^{-4}{\varepsilon }_{o}{C}^{2}{n}_{2}{n}_{o}^{2}}{\pi },$$
(18)

and.

The Imaginary part was estimated by

$${\rm { I}}_{m}{\chi }^{\left(3\right)}= \frac{{10}^{-2}{\varepsilon }_{o}{\rm {C}}^{2}{\lambda \beta n}_{o}^{2}}{4{\uppi }^{2}}.$$
(19)

The χ(3) of 2A6MP crystal was calculated by using Eq. (18) & (19)

$${\chi }^{\left(3\right)}=\sqrt{{\left\{{\rm {R}}_{e} \left({\chi }^{\left(3\right)}\right)+{\rm {I}}_{m}\left({\chi }^{\left(3\right)}\right)\right\}}^{2}}.$$
(20)

The value of nonlinear refractive index (n2) and nonlinear absorption coefficient (β) is found to be − 4.25 × 10–09 m2/W and 3.16 × 10–04 m/W from the closed and open aperture curve, respectively. The third-order susceptibility (χ3) was calculated using these parameters and found to be 4.95 × 10–06 esu. The high magnitude of third-order susceptibility represented that the intermolecular interactions of the grown crystal due to the polarization of the molecular system. The grown crystal attained the self-defocusing behavior and has good agreement results which can have NLO applications. The other familiar NLO crystals nonlinear refractive index, nonlinear absorption co-efficient, and third-order susceptibility are compared [51,52,53,54,55] with the present work as shown in Table 9. Compared with the other NLO crystals the grown 2A6MP crystal exhibits high third-order nonlinear response.

Table 9 Comparison of some familiar NLO crystals nonlinear refractive index, nonlinear absorption co-efficient, and third-order susceptibility

4 Conclusion

The organic single crystal of 2-amino-6-methylpyridinium p-chlorobenzoate dihydrate (2A6MP) was grown by solution growth technique of slow evaporation method. Single crystal XRD analysis was revealed the structural parameters that evidenced the ICT mechanism of 2A6MP molecular system. The presence of NH and OH groups were observed from FT-IR confirmed the ICT mechanism of 2A6MP crystal. The UV–Vis optical studies of 2A6MP crystal revealed the cut-off wavelength of 349 nm in the UV region and good transmittance of about 66% in the visible region. Thermal analysis showed that the grown 2A6MP crystal was thermally stable up to the temperature rate of 106.8 °C. Vickers’s hardness analysis identifies that the grown crystal goes into the soft material category with a high value of hardness, Yield strength, and Stiffness constant ensured the grown crystal which is suitable for NLO applications. Z-scan analysis revealed that third-order nonlinear response of the grown crystal such as nonlinear susceptibility χ3 = 4.95 × 10–06 esu. DFT studies were also confirmed that the 2A6MP crystal has an ICT transfer mechanism that induced the nonlinear property theoretically. Overall the title crystal is well suitable for optoelectronic applications.