Abstract
Pharmaceutical contaminants such as aspirin (ASP), paracetamol (PAR), and ibuprofen (IBU) present increasing risks to environmental and human health, necessitating efficient detection and removal strategies. In this study, we performed a comprehensive first-principles investigation of their adsorption on a triquinoxalinylene and benzoquinone-based covalent organic framework (TQBQ-COF). The geometries were optimized and the adsorption complexes were characterized using density functional theory. The results reveal that all three drug molecules are effectively accommodated within the electron-rich central cavity of the COF, forming stable host–guest assemblies through van der Waals interactions while preserving the structural integrity of the framework. Frontier molecular orbital and global reactivity analyses indicate that drug adsorption, particularly for IBU, significantly reduces the HOMO–LUMO gap and chemical hardness, enhancing electronic sensitivity, reactivity, and charge-transfer capability. Electron density difference and non-covalent interaction analyses confirm directional electron flow from the drugs to the COF and identify stabilizing interactions governing adsorption. Simulated UV–Vis spectra show pronounced red-shifts upon drug adsorption, with the IBU@TQBQ-COF complex exhibiting the largest effect. Thermodynamic analyses further confirm spontaneous, exothermic adsorption dominated by enthalpy contributions. Collectively, these findings highlight TQBQ-COF as a highly sensitive and robust platform for drug detection and removal in aqueous and biologically relevant environments.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-025-25834-3.
Keywords: TQBQ-COF, Drug adsorption, First-principles, Removal
Subject terms: Chemistry, Materials science
Introduction
The growing presence of pharmaceutical contaminants in aquatic and terrestrial environments poses a significant threat to both ecosystems and human health1–3. Among these, widely used painkillers such as aspirin (ASP), paracetamol (PAR), and ibuprofen (IBU) are frequently detected in water bodies due to their extensive consumption and incomplete removal by conventional wastewater treatment processes4–6. These emerging contaminants are biologically active, often persistent, and capable of inducing toxicological effects even at trace concentrations. Consequently, there is an urgent need for the development of efficient and cost-effective adsorbent materials to capture and remove such pollutants from the environment.
A variety of materials, including carbon nanotubes (CNTs)7, metal–organic frameworks (MOFs)8, graphene-based materials9, and zeolites10, have been investigated for pharmaceutical adsorption. However, many of these materials suffer from drawbacks such as limited stability and high synthesis cost. CNTs often aggregate, which reduces their effective surface area, and they have limited chemical stability in aqueous solutions, along with high synthesis costs11. MOFs, while highly porous, can suffer from poor water stability, framework collapse, or leaching of metal ions, and require complex synthesis procedures12. Despite their high surface area, graphene-based materials generally exhibit low selectivity toward specific pharmaceutical compounds unless costly functionalization is applied13. Zeolites, although chemically stable and reusable, have relatively small pore sizes that limit the adsorption of larger molecules, and their surface chemistry often requires modification to enhance efficiency. In this regard, covalent organic frameworks (COFs) have emerged as a promising class of crystalline porous polymers composed of light elements (C, H, O, N, and B) linked through strong covalent bonds15–17. Owing to their high surface area, tunable pore size, structural regularity, and chemical robustness, COFs provide an excellent platform for capturing organic molecules, including pharmaceutical residues, with high efficiency.
Several experimental and computational studies have demonstrated the potential of COFs in molecular adsorption and sensing applications. Ghasemi et al.18, used molecular dynamics (MD) and density functional theory (DFT) to show that hydrogen bonding and van der Waals interactions dominate pharmaceutical adsorption, while pore-based COFs are less effective, confirming COFs’ efficiency and regenerability. Kaviani et al.19, showed that transition metal-doped oxo-triarylmethyl (TM@oxTAM), as a COF-inspired platform, strongly adsorbs ibuprofen with enhanced adsorption energies (− 1.20 to − 2.64 eV) and charge transfer through covalent and electrostatic interactions, highlighting its potential for removing pharmaceutical pollutants. Irshad et al.20, studied a thiazole-modified covalent triazine framework (S-CTF) for the adsorption of carcinogenic metabolites. They found that 2-amino-3-methylimidazo[4,5-f]quinoxaline (MEIQX) and 2-amino-1-methyl-6-phenylimidazo[4,5-b]pyridine (PhlP) exhibited the strongest interactions (− 24.58 kcal/mol), with efficient charge transfer. Zhuang et al.21, synthesized a TPB-DMTP covalent organic framework for sulfamerazine (SMT) removal from water. The COF exhibited high adsorption capacity (209 mg/g) and fast equilibrium (80 min), with SMT molecules primarily adsorbed via C–H··π interactions in the COF pores, as confirmed by DFT calculations.
There are a lot of COFs that have been developed for adsorption applications, including imine-, hydrazone-, and triazine-linked structures22–24. In 2020, Shi et al.25, designed a honeycomb-like covalent organic framework (TQBQ-COF) composed of triquinoxalinylene and benzoquinone units via the condensation reaction between tetraminophenone (TABQ) and cyclohexanehexaone (CHHO). This innovative TQBQ-COF contains multiple pyrazine and carbonyl groups, and both Fourier transform infrared (FTIR) spectroscopy and DFT calculations confirmed that the pyrazine (C = N) and carbonyl (C = O) moieties serve as the primary active sites of the framework. A DFT-based study by Mustafai et al.26, employed a theoretical approach to investigate the adsorption of toxic gases such as NH₃, HCN, H₂S, and PH₃ on TQBQ-COF, confirming its robustness and strong host–guest interactions, which further highlights its significance for adsorption and sensing applications. These unique structural and chemical features make TQBQ-COF highly promising candidates not only for environmental remediation but also for sensing of pharmaceutical and industrial pollutants in aqueous system.
In this work, we employ first-principles DFT calculations to investigate the adsorption of aspirin, paracetamol, and ibuprofen molecules onto TQBQ-COF. The chemical structures of the considered drugs are shown in Fig. 1. The adsorption behavior is examined through interaction energy analysis, electronic structure evaluation, and charge-transfer characterization, alongside detailed studies using natural bond orbital (NBO), frontier molecular orbital (FMO), electron density difference (EDD), and non-covalent interaction (NCI), analyses. These insights provide a fundamental understanding of the interaction mechanisms, offering guidance for the rational design of COF-based adsorbents for pharmaceutical pollutant mitigation.
Fig. 1.
Chemical structure of (a) aspirin (ASP), (b) paracetamol (PCR), and (c) ibuprofen (IBU).
Computational methods
Geometry optimization was carried out using the Gaussian 16 package27 at the B3LYP-D3/6-31G(d,p) level of theory, which has been widely reported as a reliable and computationally affordable level for predicting molecular geometries and energies of various adsorbent systems28–32. The inclusion of Grimme’s D3 dispersion correction has been widely reported to improve the reliability of calculations involving van der Waals (vdW) interactions33. All calculations were performed in water as the solvent using the polarizable continuum model (PCM)34,35, which efficiently captures the bulk polarization effects of the solvent by treating it as a continuous dielectric medium surrounding the solute. This approach provides a reliable description of solvent-induced stabilization of molecular orbitals and adsorption energies while maintaining computational efficiency36. Additionally, GaussView 6 was used to visualize and analyze the outputs from Gaussian calculations37. Vibrational frequency calculations confirmed that the optimized structures correspond to true minima on the potential energy surface. All systems were considered to be neutral, with a total charge of zero.
It is important to note that all computations in this study were performed using a molecular (cluster) approach rather than a fully periodic model. The COF was represented by a finite molecular fragment that captures the local adsorption environment. While this approach effectively describes local interactions and electronic structure changes upon drug interaction, it does not account for the long-range periodic effects inherent to extend the COF. Nonetheless, the molecular-level model provides valuable insights into the fundamental adsorption mechanisms and interaction characteristics that govern the overall interaction behavior of the COF.
The interaction energies of drug@TQBQ-COF systems were determined using the following expression:
![]() |
1 |
Here,
denotes the total energy of the complex, ETQBQ-COF corresponds to the energy of the isolated TQBQ-COF, and Edrug refers to the energy of the free drug. The interaction energies were corrected for basis set superposition error (BSSE) using the counterpoise (CP) method38–40, as expressed in the following equation,
![]() |
2 |
where Eint,cp represents the counterpoise-corrected interaction energy.
The thermodynamic stability of the systems was evaluated through the calculation of enthalpy change (ΔH), Gibbs free energy change (ΔG), and entropy change (ΔS), obtained from the following equations:
![]() |
3 |
![]() |
4 |
![]() |
5 |
Frontier molecular orbital (FMO) analysis was performed by calculating the energies of the highest occupied molecular orbital (EHOMO) and the lowest unoccupied molecular orbital (ELUMO), which allowed assessment of changes in the band gap. Additionally, Density of States (DOS) analysis was carried out using the GaussSum program41 to further investigate the electronic properties. Global reactivity descriptors derived from EHOMO and ELUMO, including chemical hardness (η), chemical potential (μ), electrophilicity index (ω), and total charge transfer (ΔN), were calculated using the following expression42:
![]() |
6 |
![]() |
7 |
![]() |
8 |
![]() |
9 |
The mechanism, strength, and nature of the interactions were further investigated through Non-covalent Interaction (NCI), and electron density difference (EDD), analyses. NCI–reduced density gradient (RDG) calculations were carried out using Multiwfn43, and the resulting isosurfaces were visualized with Visual Molecular Dynamics (VMD)44. The interaction strength between the analytes and the surface was evaluated based on electron density and RDG values45.
Time-dependent density functional theory (TD-DFT) calculations were carried out at CAM-B3LYP/6-31G(d,p) to simulate the UV–Vis absorption spectra of the TQBQ-COF both before and after interaction with the drugs. The analysis considered the first 30 lowest-energy electronic excitations. This procedure enabled assessment of the changes in electronic excitation energies and spectral characteristics resulting from adsorption, providing insights into how interactions with the drugs alter the optical properties of the adsorbent.
Results and discussion
Optimized structures
The optimized geometry of TQBQ-COF is illustrated in Fig. 2a and is composed of multiple fused pyrazine (C = N), benzoquinone (C = O), and benzene rings. The twelve sp2-hybridized nitrogen atoms of the pyrazine rings and the six oxygen atoms of the benzoquinone rings are oriented toward the central cavity, creating an electron-rich region on the COF surface that serves as an effective binding site for drug molecules. In contrast, the carbon atoms of the aromatic rings show negligible charge accumulation. The electron-rich nitrogen and oxygen atoms within the cavity can interact strongly with electron-deficient sites of adsorbed analytes, leading to significant perturbations in the electronic structure of the COF.
Fig. 2.
Optimized geometries of (a) pristine TQBQ-COF and its host–guest complexes with (b) aspirin (ASP), (c) paracetamol (PAR), and (d) ibuprofen (IBU).
The optimized geometries of TQBQ-COF and its complexes with the three drug molecules (ASP, PAR, and IBU) are shown in Fig. 2b–d, indicating that all drugs are accommodated within the central cavity of the COF. Upon adsorption, the drugs adopt stable orientations that maximize non-covalent interactions with the COF backbone. For clarity, lateral views of the drug@TQBQ-COF complexes are provided in the Supplementary Information (Fig. S1), showing the adsorption distances between the COF and the drug molecules. The measured distances are 2.65 Å (O103–H198), 2.67 Å (O79–H195), and 2.42 Å (O158–H209), with the strongest interaction observed for ibuprofen (IBU).
The COF framework maintains its overall structural integrity upon adsorption of the drug molecules, with no significant deviations observed. Among the studied drugs, IBU fits most snugly within the cavity, forming favorable interactions with the surrounding oxygen atoms of the COF, consistent with its stronger binding energy and greater electronic perturbation. These optimized structures highlight the ability of TQBQ-COF to effectively encapsulate drug molecules, providing a structural basis for enhanced electronic communication, efficient charge transfer, and improved sensing and adsorption capabilities.
Electronic propertie
The FMO analysis was performed to examine the sensitivity, electron distribution, and reactivity of the TQBQ-COF toward drug molecule detection. A key parameter in this analysis is the HOMO–LUMO energy gap (Eg), defined as the difference between the energies of the HOMO and the LUMO. Smaller variations in this gap can influence the electronic response of the material, affecting its sensitivity and conductivity. Consequently, a smaller HOMO–LUMO gap indicates higher sensitivity, enhanced reactivity, and improved conductivity. The percentage change in the energy gap (%ΔEg) upon interaction with target molecules is calculated using following equation:
![]() |
10 |
where Eg(drug@TQBQ-COF) and Eg(TQBQ-COF) represent the energy gaps of the complex and pristine COF, respectively. As shown in Table 1, the isolated TQBQ-COF exhibits an energy gap of 2.41 eV, which is significantly lower than the 7.13 eV reported by Mustafai et al26. In their work, they performed all calculations in the gas phase, obtaining HOMO and LUMO energies of − 9.60 eV and − 2.47 eV, respectively. In contrast, the present study incorporates solvent effects (PCM–water), yielding HOMO and LUMO values of − 7.37 eV and − 4.96 eV, respectively. The inclusion of a polar solvent significantly stabilizes the unoccupied orbitals (particularly the LUMO) through polarization and charge redistribution, while slightly destabilizing the occupied orbitals, resulting in a narrower HOMO–LUMO gap. Therefore, the observed reduction in energy gap primarily arises from solvent polarization effects, rather than any methodological inconsistency, and is consistent with the expected electronic behavior of COF systems in aqueous environments. This pronounced reduction in the HOMO–LUMO gap arises from strong solvation and polarization effects, where water stabilizes the LUMO through polarization while slightly destabilizing the HOMO via orbital reorganization and charge redistribution. The combined effect of these interactions significantly enhances the electronic conductivity and reactivity of TQBQ-COF, making it more responsive for sensing and adsorption applications in aqueous environments. Upon drug adsorption, the HOMO–LUMO gap of all drug@TQBQ-COF complexes decreases relative to the pristine TQBQ-COF, reflecting an enhancement in electronic response and sensing performance. For ASP@TQBQ-COF, the HOMO shifts upward to − 6.08 eV while the LUMO remains unchanged at − 4.96 eV, resulting in a much narrower energy gap of 1.12 eV. Similarly, in PAR@TQBQ-COF, the HOMO increases to − 6.10 eV and the LUMO to − 5.00 eV, yielding energy gap of 1.10 eV. The most dramatic effect is observed in IBU@TQBQ-COF, where the HOMO rises significantly to − 5.45 eV, with the LUMO remaining at − 4.96 eV, reducing the gap to only 0.49 eV. Among the studied systems, the most pronounced reduction is observed for the IBU@TQBQ-COF complex, with a %ΔEg of − 79.66% (Table 1). This considerable decrease demonstrates the strong electronic response of the COF toward IBU, arising from efficient charge transfer and strong binding affinity. Overall, these results confirm the outstanding sensing potential of TQBQ-COF, with the IBU complex standing out as the most effective candidate for drug detection and removal applications.
Table 1.
HOMO energy (EHOMO), LUMO energy (ELUMO), energy gap (Eg), and percentage change in energy gap (%ΔEg) for TQBQ-COF and drug@TQBQ-COF systems.
| Compound | EHOMO (eV) | ELUMO (eV) | Eg (eV) | %ΔEg |
|---|---|---|---|---|
| TQBQ-COF | − 7.37 | − 4.96 | 2.41 | – |
| ASP@TQBQ-COF | − 6.08 | − 4.96 | 1.12 | − 53.25 |
| PAR@ TQBQ-COF | − 6.10 | − 5.00 | 1.10 | − 54.35 |
| IBU@ TQBQ-COF | − 5.45 | − 4.96 | 0.49 | − 79.66 |
The density of states (DOS) analysis offers important insights into the electronic structure of TQBQ-COF and its interactions with various drug molecules, as illustrated in Fig. 3. For the pristine TQBQ-COF, the DOS profile displays a well-defined energy gap of 2.62 eV, reflecting moderate electronic conductivity and intrinsic stability. Upon adsorption of drug molecules, significant modifications occur in the DOS profiles of the resulting complexes, particularly near the Fermi level.
Fig. 3.
Graphical visualization of DOS spectra for (a) TQBQ-COF, (b) ASP@ TQBQ-COF, (c) PAR@ TQBQ-COF, and (d) IBU@ TQBQ-COF.
These changes indicate enhanced electronic interactions and charge redistribution between the TQBQ-COF and the adsorbed molecules. Specifically, drug adsorption leads to a shift of electronic states closer to the Fermi level, which facilitates electron mobility and increases conductivity. Among the studied drugs, IBU produces the most pronounced effect. The DOS shows a dramatic reduction in the energy gap, accompanied by a substantial increase in the density of states near the Fermi level. This observation signals strong electronic coupling and efficient charge transfer between IBU and TQBQ-COF. Overall, these DOS results corroborate the HOMO–LUMO analysis, confirming that TQBQ-COF exhibits high sensitivity toward drug adsorption, particularly for IBU. The pronounced electronic perturbations upon drug binding highlight the COF’s potential as a highly responsive platform for drug detection and removal, with enhanced conductivity facilitating rapid sensing and efficient charge transport.
Global reactivity descriptors
Global reactivity descriptors, including chemical potential, chemical hardness, and electrophilicity, were employed to investigate how drug molecules influence the reactivity of TQBQ-COF. The reactivity indices of the isolated drug molecules are listed in Table S1, whereas those for TQBQ-COF and its drug-loaded complexes are summarized in Table 2. As shown in Table 2, adsorption of IBU onto TQBQ-COF leads to a notable decrease in chemical hardness, indicating that the resulting complex is softer and more chemically reactive. This softening enhances the flexibility of the electronic structure, enabling the COF to respond effectively to external stimuli such as drug adsorption.
Table 2.
Chemical hardness (η), chemical potential (μ), electrophilicity (ω), and total amount of charge transfer (ΔN) for TQBQ-COF and drug@TQBQ-COF systems.
| Compound | η (eV) | μ (eV) | ω (eV) | ΔN |
|---|---|---|---|---|
| TQBQ-COF | 1.20 | − 6.16 | 15.81 | – |
| ASP@TQBQ-COF | 0.56 | − 5.52 | 27.20 | − 0.21 |
| PAR@ TQBQ-COF | 0.55 | − 5.55 | 28.00 | − 0.34 |
| IBU@ TQBQ-COF | 0.24 | − 5.20 | 56.33 | − 0.32 |
Additionally, the chemical potential values of all complexes remain consistently negative, confirming their thermodynamic stability after interaction with the drugs and supporting their potential for practical sensing applications. Charge transfer (ΔN) analysis reveals negative values for all complexes, indicating that electrons are donated from the drug molecules to TQBQ-COF. This establishes the COF as an electron acceptor and the drugs as electron donors, highlighting strong donor–acceptor interactions and efficient charge redistribution during adsorption. Among the studied drugs, IBU exhibits the largest charge transfer and the greatest reduction in hardness, emphasizing its strong electronic coupling with the COF. Collectively, these results demonstrate that TQBQ-COF exhibits high sensitivity, enhanced chemical reactivity, and robust thermodynamic stability toward the adsorbed drug molecules. The combination of significant charge transfer, reduced hardness, and stable chemical potential positions TQBQ-COF as a promising platform for developing highly sensitive and reusable drug sensors. Furthermore, the pronounced electronic adaptability and strong donor–acceptor interactions indicate that this material could be highly effective for drug detection and removal under diverse environmental conditions, including aqueous and biologically relevant media.
Adsorption energies and thermodynamic parameters
The adsorption energies and thermodynamic parameters for the drug@TQBQ-COF complexes are summarized in Table 3. In all cases, the calculated interaction energies (Eint) are negative, clearly confirming that the adsorption of drug molecules onto the COF surface is energetically favorable in both the aqueous phases. This finding demonstrates that the interactions occur spontaneously and are thermodynamically viable under the studied conditions. Among the three investigated drug molecules, the IBU@TQBQ-COF complex emerges as the most stable, with adsorption energy of − 1.22 eV, which is consistent with its shortest interaction distance of 2.42 Å. This relatively large stabilization energy reflects a strong affinity between the COF framework and ibuprofen, which can be attributed to its favorable molecular size and geometry that allow optimal accommodation within the central cavity. Multiple non-covalent interactions contacts with the pore walls, synergistically contribute to the enhanced stabilization of this complex. The pronounced stability of IBU encapsulation highlights the potential of TQBQ-COF as an appropriate host for ibuprofen detection and sensing applications. To ensure accuracy, the interaction energies were corrected for basis set superposition error (BSSE) using the counterpoise method. The calculated BSSE values for all drug@TQBQ-COF complexes range from 0.003 to 0.078 eV, which are typical for weak interactions computed with the 6-31G(d,p) basis set46,47.
Table 3.
Interaction energy (Eint), basis set superposition error (BSSE), counterpoise corrected interaction energy (Eint,cp), change in Gibbs free energy (ΔG), change in enthalpy (ΔH), and change in entropy (ΔS) for drug@TQBQ-COF complexes.
| Complex | Eint (eV) | BSSE (eV) | Eint,cp (eV) | ΔH (eV) | ΔG (eV) | ΔS (eV/K) |
|---|---|---|---|---|---|---|
| ASP@TQBQ-COF | − 0.88 | 0.003 | − 0.883 | − 0.88 | − 0.44 | − 0.0014 |
| PAR@ TQBQ-COF | − 0.91 | 0.078 | − 0.988 | − 0.90 | − 0.57 | − 0.0011 |
| IBU@ TQBQ-COF | − 1.14 | 0.078 | − 1.22 | − 1.13 | − 0.78 | − 0.0012 |
Thermodynamic parameters further support these observations. The negative values of Gibbs free energy (ΔG) for all complexes indicate that adsorption is a spontaneous process, consistent with the exothermic nature revealed by the negative enthalpy changes (ΔH). These results suggest that the driving force for adsorption arises primarily from enthalpy contributions, associated with strong host–guest interactions within the COF cavity. On the other hand, the entropy changes (ΔS) were consistently negative, which reflects the loss of degrees of freedom upon complex formation. This reduction in entropy is expected because free drug molecules in solution possess higher translational and rotational freedom compared to when confined within the rigid COF cavity. Interestingly, the magnitude of the enthalpy change is greater than that of the Gibbs free energy, indicating that enthalpy stabilization outweighs the unfavorable entropic contributions. Such a balance is typical for adsorption phenomena in porous frameworks, where the gain in interaction energy compensates for the ordering effect introduced by confinement.
Electron density difference analysis
The electron density difference (EDD) analysis provides a powerful visualization of how electronic charge redistributes when drug molecules interact with the TQBQ-COF framework. By comparing the total electron density of the drug–COF complex with the sum of the densities of the isolated components, detailed EDD maps can be generated (Fig. 4). These maps reveal distinct regions of charge redistribution, where red isosurfaces correspond to areas of electron accumulation and blue isosurfaces indicate electron depletion. Notably, the drug molecules are predominantly surrounded by blue regions, signifying that they act as electron donors, while the TQBQ-COF serves as an electron acceptor. This directional charge transfer highlights the strong electronic coupling between the adsorbates and the framework. Such behavior is consistent with the results of charge transfer calculations, where negative charge is observed to flow preferentially from the drug molecules toward the COF backbone. The simultaneous presence of electron-rich and electron-deficient regions suggests that orbital overlap and donor–acceptor interactions are central to stabilizing the complexes.
Fig. 4.
Electron density difference (EDD) maps of (a) ASP@TQBQ-COF, (b) PAR@TQBQ-COF, and (c) IBU@TQBQ-COF.
Overall, the EDD findings complement the energetic, electronic, and topological analyses, providing strong evidence for charge transfer as the dominant interaction mechanism. These insights not only validate the role of TQBQ-COF as a highly responsive material for detecting drug molecules but also emphasize its potential application in removal technologies, where efficient electron exchange plays a critical role in sensing performance.
QTAIM analysis
In the QTAIM analysis, several critical parameters were examined at the bond critical points (BCPs) to elucidate the nature of the intermolecular interactions. These included the electron density (ρ(r)), Laplacian of electron density (∇2ρ(r)), kinetic energy density (G(r)), potential energy density (V(r)), and total energy density (H(r)). The identified BCPs are depicted in the topological graphs in Fig. S2, and their corresponding parameters are summarized in Table S2.
The strength of the interactions can be inferred from the ρ(r) values. Typically, ρ(r) values above 0.1 a.u. indicate strong covalent bonds, while values below 0.1 a.u. correspond to weaker, non-covalent interactions36. As presented in Table S2, all complexes exhibit ρ(r) values in the range of 0.007–0.094 a.u., signifying the dominance of weak non-covalent interactions. Furthermore, the positive values of both ∇2ρ(r) and H(r) across all complexes confirm the presence of closed-shell (non-covalent) interactions. The ratio of –G(r)/V(r) provides additional insight into the bonding nature. According to the classification by Espinosa et al.48, a ratio greater than 1 denotes purely non-covalent interactions, values between 0.5 and 1 suggest electrostatic interactions with partial covalent character, and ratios below 0.5 correspond to covalent bonds. In all drug@ TQBQ-COF complexes, the –G(r)/V(r) ratios were consistently above 1, unequivocally confirming the non-covalent character of the adsorption. Overall, the QTAIM results align with the electronic structure and energy analyses, indicating that the interaction between the drug molecules and the TQBQ-COF framework is primarily governed by weak, non-covalent forces.
NCI analysis
Non-covalent interaction (NCI) analysis was performed to probe the closed-shell interactions governing the adsorption of drug molecules within the TQBQ-COF framework. The weak interactions were evaluated through reduced density gradient (RDG) analysis, combining 2D scatter plots with their corresponding 3D iso-surface visualizations, as presented in Fig. 5. In the RDG scatter maps, the sign of λ₂(r)ρ(r) serves as a descriptor of interaction type: blue regions (λ₂(r)ρ(r) < 0) indicate strong attractive forces such as hydrogen bonding; red regions (λ₂(r)ρ(r) > 0) correspond to steric clashes or repulsive interactions; and green regions (λ₂(r)ρ(r) ≈ 0) represent weak van der Waals interactions. For all the drug@TQBQ-COF complexes, the 2D RDG plots clearly exhibit pronounced green domains near λ₂(r)ρ(r) ≈ 0, confirming that van der Waals interactions dominate the adsorption process. These green regions correspond well to the extended green iso-surfaces in the 3D NCI visualizations, which are mainly located between the encapsulated drug molecules and the inner cavity walls of the COF framework. This correspondence between the 2D and 3D representations highlights the consistency and reliability of the observed non-covalent interactions.
Fig. 5.

3D isosurface map (left side) reduced density gradient (RDG) graph (right side) and for (a) ASP@TQBQ-COF, (b) PAR@ TQBQ-COF, and (c) IBU@TQBQ-COF.
Meanwhile, small red spikes in the RDG plots, localized within the λ₂ range of 0.01–0.05 a.u., correspond to red patches on the 3D iso-surfaces. These features are primarily situated within the aromatic regions of the TQBQ-COF, reflecting steric hindrance and repulsive effects inherent to the dense π-electron system of the benzene and pyrazine rings. Although these repulsive contributions exist, they are relatively minor compared to the stabilizing effects of the van der Waals forces that dominate the overall host–guest interaction.
UV–Vis analysis
To better understand the interaction mechanisms between drug molecules and the TQBQ-COF, we analyzed the UV–Vis absorption spectra of the pristine TQBQ-COF and its drug-adsorbed complexes (Fig. 6). This analysis provides insight into the optical and electronic modifications induced by drug adsorption. The main spectral parameters examined were the maximum absorption wavelength (λmax), excitation energy (Eexc), and oscillator strength (f), as summarized in Table 4. The pristine TQBQ-COF displays a dominant absorption peak at 518.76 nm, corresponding to excitation energy of 2.39 eV and oscillator strength of 0.0004, characteristic of its electronic transitions. After drug adsorption, clear spectral variations emerge, most notably red-shifts in the absorption peaks, which indicate lowered excitation energies and altered electronic structures. These shifts reflect enhanced charge-transfer interactions and narrowing of the HOMO–LUMO gap in the complexes. Among all systems, the IBU@TQBQ-COF complex exhibits the largest red-shift, with λmax shifting to 3173.38 nm and Eexc decreasing to 0.39 eV. This significant change highlights a strong interaction between IBU and the TQBQ-COF, likely driven by pronounced charge transfer and orbital overlap. The most intense excitation is attributed to the HOMO → L + 7 transition with a dominant contribution of 92%, further confirming the strong electronic coupling between IBU and the framework. Overall, the results confirm that the optical response of the TQBQ-COF is highly sensitive to drug adsorption, with IBU producing the most distinct effect. It should be emphasized that the observed red-shifts should be interpreted qualitatively, providing insight into relative interactions rather than absolute excitation energies49,50.
Fig. 6.
Graphical illustration of UV–Vis spectra for (a) TQBQ-COF, (b) ASP@TQBQ-COF, (c) PAR@ TQBQ-COF, and (d) IBU@ TQBQ-COF.
Table 4.
Maximum absorption wavelength (λmax), excitation energy (Eexc), oscillation strength (f), and main transitions for TQBQ-COF and drug@TQBQ-COF complexes.
| Compound | λmax (nm) | Eexc (eV) | f | Main transitions |
|---|---|---|---|---|
| TQBQ-COF | 518.76 | 2.39 | 0.0004 | H-17 → L + 8 (13%) |
| H-16 → L + 6 (11%) | ||||
| H-15 → L + 7 (11%) | ||||
| ASP@ TQBQ-COF | 1114.66 | 1.11 | 0.0014 | HOMO → LUMO (81%) |
| HOMO → L + 1 (15%) | ||||
| PAR@ TQBQ-COF | 1815.55 | 0.68 | 0.0026 | HOMO → L + 13 (85%) |
| HOMO → L + 12 (3%) | ||||
| IBU@ TQBQ-COF | 3173.38 | 0.39 | 0.027 | HOMO → L + 7 (92%) |
| HOMO → LUMO (3%) |
Conclusion
In this study, we systematically investigated the structural, electronic, and optical properties of triquinoxalinylene and benzoquinone-based covalent organic framework (TQBQ-COF) and its interactions with three drug molecules, including aspirin (ASP), paracetamol (PAR), and ibuprofen (IBU), using a DFT-based computational approach. The optimized geometries reveal that the drugs are efficiently accommodated within the electron-rich central cavity of the COF, forming stable host–guest assemblies through van der Waals interactions, while preserving the overall framework integrity. Frontier molecular orbital and global reactivity analyses indicate significant reductions in the HOMO–LUMO gap and chemical hardness, particularly for the IBU@TQBQ-COF complex, reflecting enhanced electronic sensitivity, reactivity, and efficient charge transfer. Electron density difference and non-covalent interaction analyses confirm directional electron flow from the drug molecules to the COF and highlight the key stabilizing interactions that govern adsorption. UV–Vis spectral simulations reveal pronounced red-shifts upon drug adsorption, with IBU inducing the largest effect. Thermodynamic analyses further support spontaneous, exothermic adsorption driven predominantly by enthalpy contributions. Collectively, these findings establish TQBQ-COF as a highly sensitive and robust platform for drug detection and removal, with potential applications in aqueous and biologically relevant environments.
Supplementary Information
Below is the link to the electronic supplementary material.
Author contributions
Sami Bawazeer conceptualized and designed the study, performed all computational simulations and data analyses, interpreted the results, and wrote the manuscript. The author has read and approved the final version of the manuscript.
Data availability
Data sets generated during the current study are available from the corresponding author (Sami Bawazeer) on reasonable request.
Declarations
Competing interests
The authors declare no competing interests. Acknowledgement: the authors greatly acknowledges the Department of Pharmaceutical Sciences, College of Pharmacy, Umm Al-Qura University, Makkah, for providing experimental facilities.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Flórez-Restrepo, M. A., López-Legarda, X. & Segura-Sánchez, F. Bioremediation of emerging pharmaceutical pollutants acetaminophen and ibuprofen by white-rot fungi—A review. Sci. Total Environ.977, 179379 (2025). [DOI] [PubMed] [Google Scholar]
- 2.Lunghi, C. et al. Call to action: Pharmaceutical residues in the environment: threats to ecosystems and human health. Drug Saf.48, 315–320 (2025). [DOI] [PubMed] [Google Scholar]
- 3.Zaidi, N., Mir, M. A., Chang, S. K., Abdelli, N., Hasnain, S. M. & Khan, M. A. A. Pharmaceuticals and personal care products as emerging contaminants: Environmental fate, detection, and mitigation strategies. Int. J. Environ. Anal. Chem. (2025).
- 4.Mazhandu, Z. & Mashifana, T. Active pharmaceutical contaminants in drinking water: Myth or fact?. DARU J. Pharm. Sci.32, 925–945 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Munzhelele, E. P., Mudzielwana, R., Ayinde, W. B. & Gitari, W. M. Pharmaceutical contaminants in wastewater and receiving water bodies of south Africa: A review of sources, pathways, occurrence, effects, and geographical distribution. Water16, 796 (2024). [Google Scholar]
- 6.Firmansyah, M. L., Alwan, Y. & Ullah, N. A comprehensive review on the adsorptive removal of pharmaceutical pollutants: occurrence, toxicology, molecular simulation and mechanistic insights. Talanta Open12, 100491 (2025). [Google Scholar]
- 7.Khazaie, A., Dolati, E. & Deng, S. Comparative study on the adsorption of tetracycline and amoxicillin on glycine and poly-pyrrole functionalized multiwalled carbon nanotubes. Surf. Interfaces69, 106693 (2025). [Google Scholar]
- 8.Islam, I. U. et al. MOF and MOF-based membranes: Promising solutions for pharmaceutical wastewater treatment. J. Mater. Sci.60, 3634–3662 (2025). [Google Scholar]
- 9.Kabir, L., Ji, Z. & Oh, W.-C. Comparative electrochemical biosensor with cost effective graphene-based metal oxide nanocomposites for various pharmaceutical antibiotics and biomedicines. J. Inorg. Organomet. Polym. Mater. (2025).
- 10.Hsu, C.-Y. et al. Optimization of pyrocatechol and p-cresol adsorption onto a composite of chitosan and polyacrylamide incorporated with zeolitic imidazolate framework-8. Sci. Rep.15, 22298 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Darvishi, P., Mousavi, S. A., Mahmoudi, A. & Nayeri, D. A comprehensive review on the removal of antibiotics from water and wastewater using carbon nanotubes: Synthesis, performance, and future challenges. Environ. Sci. Water Res. Technol.9, 11–37 (2023). [Google Scholar]
- 12.An, Y. et al. The stability of MOFs in aqueous solutions—Research progress and prospects. Green Chem. Eng.5, 187–204 (2024). [Google Scholar]
- 13.Gostaviceanu, A., Gavrilaş, S., Copolovici, L. & Copolovici, D. M. Graphene-oxide peptide-containing materials for biomedical applications. Int. J. Mol. Sci.25, 10174 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Bahmanzadegan, F. & Ghaemi, A. A comprehensive review on novel zeolite-based adsorbents for environmental pollutants. J. Hazard. Mater. Adv.17, 100617 (2025). [Google Scholar]
- 15.Akinnawo, S. O. Covalent organic frameworks: Design, synthesis, characterization, and applications. ChemPhysMater3, 36–63 (2024). [Google Scholar]
- 16.Patra, K., Dey, S., Solanki, C., Sengupta, A. & Mittal, V. K. Harnessing advanced porous materials, covalent organic frameworks, and porous organic polymers as next-generation porous frameworks for targeted removal of emerging water contaminants. ACS Appl. Eng. Mater.3, 1130–1165 (2025). [Google Scholar]
- 17.Xiao, M. et al. Recent progress in covalent organic framework-based membranes: Design, synthesis, and applications in the fields of energy and the environment. ACS Macro Lett.14, 1201–1220 (2025). [DOI] [PubMed] [Google Scholar]
- 18.Ghasemi, M. et al. Removal of pharmaceutical pollutants from wastewater using 2D covalent organic frameworks (COFs): An in silico engineering study. Ind. Eng. Chem. Res.61(25), 8809–8820 (2022). [Google Scholar]
- 19.Kaviani, S., Khajavian, M., Piyanzina, I., Nedopekin, O. V. & Tayurskii, D. A. Theoretical design of transition metal-doped oxo-triarylmethyl as a disposable platform for adsorption of ibuprofen. J. Mol. Graph. Model.126, 108647 (2024). [DOI] [PubMed] [Google Scholar]
- 20.Irshad, H., Azhar, M. A. & Qvortrup, K. Thiazole modified covalent triazine framework as carcinogenic metabolites adsorbent: A DFT insight. J. Mol. Graph. Model.137, 109009 (2025). [DOI] [PubMed] [Google Scholar]
- 21.Zhuang, S., Liu, Y. & Wang, J. Covalent organic frameworks as efficient adsorbent for sulfamerazine removal from aqueous solution. J. Hazard. Mater.383, 121126 (2020). [DOI] [PubMed] [Google Scholar]
- 22.Lebar, G., Khojastehnezhad, A., Peng, Z., Moeinpour, F. & Siaj, M. Impact of imine-linked covalent organic framework structures on their adsorption performance. Sep. Purif. Technol.363, 132305 (2025). [Google Scholar]
- 23.Peng, C., Pei, L., Chen, S., Song, Y. & Wang, L. A hydrazone-linked covalent organic framework with abundant N and O atoms for detecting heavy metal ions. J. Electroanal. Chem.934, 117307 (2023). [Google Scholar]
- 24.Zhou, X., Lai, X. & Hu, K. Covalent organic frameworks with nitrogen-rich triazine units and suitable pore size for highly efficient adsorption and sensitive detection of bisphenols in water. J. Chromatogr. A1743, 465681 (2025). [DOI] [PubMed] [Google Scholar]
- 25.Shi, R. et al. Nitrogen-rich covalent organic frameworks with multiple carbonyls for high-performance sodium batteries. Nat. Commun.11, 178 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Mustafai, A. et al. Triquinoxalinylene and benzoquinone based covalent organic framework as robust material for mitigation of environmental pollutants—A theoretical approach. J. Mol. Liq.391, 123304 (2023). [Google Scholar]
- 27.Frisch, M. J. et al. Gaussian 16, Revision C.01 (Gaussian Inc., Wallingford, 2016). [Google Scholar]
- 28.Darvish Ganji, M. et al. Unravelling performance of honeycomb structures as drug delivery systems for the isoniazid drug using DFT-D3 correction dispersion and molecular dynamic simulations. Phys. Chem. Chem. Phys.26, 14018–14036 (2024). [DOI] [PubMed] [Google Scholar]
- 29.Rizwana, H. A., Khan, M. U., Anwar, A., Alharthi, S. & Amin, M. A. First theoretical framework of Al₉N₉ and B₉N₉ nanorings for unveiling their unique detection and sensing potential for SF₆ decomposition gases (H₂S, SO₂, SOF₂, and SO₂F₂): Toward real-time gas sensing in high-voltage power systems. RSC Adv.15, 20020–20039 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Farahani, R., Madrakian, T., Sarvestani, M. J. & Afkhami, A. Rapid and highly efficient removal of tetracycline by a melamine-based covalent organic framework: Comprehensive density functional theory and experimental studies. J. Anal. Chem.79, 379–388 (2024). [Google Scholar]
- 31.Rizwan, H. A., Khan, M. U., Janjua, M. R. S., Anwar, A., Idrees, M. & Siddiqui, N. A. The dual role of C₆O₆Li₆ nanomaterial in sensing and drug delivery of nitrosourea: A DFT perspective. J. Inorg. Organomet. Polym. Mater. (2025).
- 32.Liaqat, M. et al. Advanced detection and electrochemical sensing of hazardous short-branched phthalate plasticizers using novel Ga₁₂N₁₂ nanomaterials: A DFT study. J. Inorg. Organomet. Polym. Mater.35, 1219–1239 (2025). [Google Scholar]
- 33.Grimme, S., Antony, J., Ehrlich, S. & Krieg, H. A consistent and accurate ab initio parametrization of density functional dispersion correction (DFT-D) for the 94 elements H-Pu. J. Chem. Phys.132, 154104 (2010). [DOI] [PubMed] [Google Scholar]
- 34.Barone, V. & Cossi, M. Quantum calculation of molecular energies and energy gradients in solution by a conductor solvent model. J. Phys. Chem. A102, 1995–2001 (1998). [Google Scholar]
- 35.Cossi, M., Barone, V., Mennucci, B. & Tomasi, J. Ab initio study of ionic solutions by a polarizable continuum dielectric model. Chem. Phys. Lett.286, 253–260 (1998). [Google Scholar]
- 36.Guan, H., Sun, H. & Zhao, X. Application of density functional theory to molecular engineering of pharmaceutical formulations. Int. J. Mol. Sci.26(7), 3262 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Dennington, R., Keith, T. A. & Millam, J. M. GaussView Version 6 (Semichem Inc., 2016). [Google Scholar]
- 38.Boys, S. F. & Bernardi, F. The calculation of small molecular interactions by the differences of separate total energies. Some procedures with reduced errors. Mol. Phys.19, 553–566 (1970). [Google Scholar]
- 39.Galano, A. & Alvarez-Idaboy, J. R. A new approach to counterpoise correction to BSSE. J. Comput. Chem.27(11), 1203–1210 (2006). [DOI] [PubMed] [Google Scholar]
- 40.Salvador, P., Paizs, B., Duran, M. & Suhai, S. On the effect of the BSSE on intermolecular potential energy surfaces: Comparison of a priori and a posteriori BSSE correction schemes. J. Comput. Chem.22(7), 765–786 (2001). [Google Scholar]
- 41.O’Boyle, N. M., Tenderholt, A. L. & Langner, K. M. CCLib: a library for package-independent computational chemistry algorithms. J. Comput. Chem.29, 839–845 (2008). [DOI] [PubMed] [Google Scholar]
- 42.Naseem, N. et al. Sensing ability of carbon nitride (C₆N₈) for the detection of carbon monoxide (CO) and carbon dioxide (CO₂). Sens. Actuators A Phys.366, 114947 (2024). [Google Scholar]
- 43.Lu, T. & Chen, F. Multiwfn: A multifunctional wavefunction analyzer. J. Comput. Chem.33, 580–592 (2012). [DOI] [PubMed] [Google Scholar]
- 44.Humphrey, W., Dalke, A. & Schulten, K. VMD: Visual molecular dynamics. J. Mol. Graph.14, 33–38 (1996). [DOI] [PubMed] [Google Scholar]
- 45.Quantum computational investigation into structural. spectroscopic, topological and electronic properties of L-histidinium-L-tartrate hemihydrate: Nonlinear optical organic single crystal. Heliyon9, e14879 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Dinadayalane, C. T., Hassan, A. & Leszczynski, J. A theoretical study of cation–π interactions: Li⁺, Na⁺, K⁺, Be2⁺, Mg2⁺ and Ca2⁺ complexation with mono- and bicyclic ring-fused benzene derivatives. Theor. Chem. Acc.131(3), 1131 (2012). [Google Scholar]
- 47.Algreiby, A. A. & Abdelrazik, S. A. A. Adsorption and gas sensing performances of pristine and Ni-decorated fullerene/inorganic fullerene-like nanocages X₁₂Y₁₂ (X = Al, B; Y = N, P) toward CO and NO gases: DFT investigations. Struct. Chem.36, 1801–1827 (2025). [Google Scholar]
- 48.Jiang, D. et al. Semiconducting covalent organic frameworks. Chem. Rev.125(13), 6203–6308 (2025). [DOI] [PubMed] [Google Scholar]
- 49.Rizwan, H. A. et al. Deciphering the adsorption and sensing performance of Al₂₄N₂₄ and B₂₄N₂₄ nanoclusters as a drug delivery system for nitrosourea anticancer drug: A DFT insight. Surf. Interfaces51, 104779 (2024). [Google Scholar]
- 50.Doust Mohammadi, M. et al. Gas-phase interaction of CO, CO₂, H₂S, NH₃, NO, NO₂, and SO₂ with Zn₁₂O₁₂ and Zn₂₄ atomic clusters. ACS Omega8, 20621–20633 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data sets generated during the current study are available from the corresponding author (Sami Bawazeer) on reasonable request.
















