Introduction

Copper corrosion is a serious challenge faced in the industry because of the broad applications of this metal and its alloys. Despite the corrosion resistance property of this metal in the atmosphere and some chemical environments, the pitting corrosion may occur on copper surface in the presence of oxygen and some aggressive anions, especially in acidic media1. However, this kind of corrosion is challenging and difficult to predict, detect, and protect against2. Therefore, and regarding the widespread use of copper in different industries, copper's corrosion protection issue has attracted much attention resulting in many conducted and ongoing studies3. The employment of corrosion inhibitors is the most efficient and less expensive approach to control the copper corrosion in acidic media. Chromates, molybdates, and tetraborates were the choice corrosion inhibitors for copper, but unfortunately, their use was accompanied by some challenges represented in toxicity, low efficiency and instability of the protective layer4. In contrast, organic adsorption inhibitors such as imidazolines and their derivatives were more efficient in protecting copper because of their high corrosion inhibition. The presence of heteroatoms like N, O, P, and S in these corrosion inhibitors' molecular structure serves as adsorption centers and facilitates adsorption on the copper surface. In recent years, some nucleoside-based molecules have been reported as a new class of corrosion inhibitors in acidic media5,6,7,8,9,10.

Nucleosides are the building blocks of nucleic acids consisting of nitrogen-rich heterocyclic linked sugar moieties via a N-glycosidic linkage. These platform molecules are of great importance to all living beings and determine the inherited features of every Life as they are considered subunits of nucleic acids11. However, most of the nucleoside analogs exhibit antiviral activities and also are shown to possess fungicidal and antitumor applications12,13,14. The art of modifications of nucleosides5,6 has gained great attention as a promising area of developing antiviral agents such as anti-HIV drugs, e.g. the heterocyclic ring replacement of the nucleoside sugar moieties has lead to a potent anti-HIV drug, 3TC7,8.

The combination of pyrazole and nucleoside moieties has been extensively explored to develop bioactive compounds against many diseases, but their side-effects still pose major problems in developing them for clinical uses. Indeed, the employment of pyrazolylnucleosides14,15,16 compounds in several applications has gained success by dint of their chemical and structural property. The novel pyrazolylnucleosides is pinning as an axis of further study and application in a relevant field to the metallic surface treatment to protect them against corrosion in a corrosive medium. The inhibition efficiency of pyrazolylnucleosides is undoubtedly due to the adsorption of their active sites, which are nitrogen and oxygen atoms. Otherwise, Several studies have shown that the novel pyrazolylnucleosides were devoid of any significant toxicity properties17,18,19,20,21.

In this work, five novel synthetic pyrazolylnucleosides, which showed potential anticancer activities have been theoretically studied for the first time as suitable effective corrosion inhibitors on copper surface Cu(111) in acidic medium2,22,23,24,25,26,27,28,29. In this regard, various theoretical methods such as density functional theory (DFT) calculations, dynamic molecular simulations (MD) and Monte Carlo (MC) techniques were carried out to study the intrinsic properties of the studied inhibitors to support this theoretical study30,31,32.

Computational details

DFT calculations

DFT calculations were conducted using the Dmol3 software (Biovia). Geometry optimization was completed via the use of the double numerical polarization basis set (DND)33 in combination with the M-11L functional within GGA34,35,36. Water was used as a solvent in DFT calculations in the Conductor-like Screening Model (COSMO)37,38.

Monte Carlo simulations and molecular dynamics

For the Monte Carlo (MC) and Molecular dynamic (MD) simulations, the interaction of the copper surface and the inhibitor molecules in the simulated corrosion media was performed via the Cu(111) model (under Periodic Boundary Condition) employing the size of 30.672 Å × 30.672 Å × 8.477 Å with the inclusion of a 30 Å vacuum layer at C axis including 600 water molecules/one inhibitor molecule/15 hydronium + 15 chloride ions. MC calculations were realized by applying five cycles (2000 steps in each cycle) of simulated annealing. The lowest potential energy configurations were sampled at the steps of low temperatures. MD was obtained using an NVT canonical ensemble at 298 K and simulation time of 300 ps (1 fs time step)39,40,41,42,43. Temperature control was achieved via the use of the Berendsen thermostat 19. A frequently employed COMPASSII force field44 was used for the simulations39,40,43,45,46. For the computation of the Radial Distribution Function (RDF), the total trajectory was used43,45,47,48.

Results and discussion

DFT results

The synthesis of the novel pyrazolylnucleosides 5ae used in the present study has been reported earlier by our Groups17. The inhibitory efficiency of the pyrazolylnucleosides 5ae (Fig. 1) has been studied by finding out the local parameters and quantifying the global parameters such as chemical hardness (η), softness (σ), electronegativity (χ), electrophilicity (ω) and nucleophilicity (ε). The protection abilities of these inhibitors have been evaluated based on the understanding of the distinctive and determining factors involved in their inhibitory capacities. The optimized structures of the pyrazolylnucleosides are presented in Fig. 2. Figure S1 illustrates the labeled model. Using density functional theory (DFT) calculations, these geometric structures were established using the Dmol3 software (Biovia). Optimization of the structure is a specific preliminary procedure that allows for a complete study of the reactivity of the inhibitors to interpret their effectiveness. In our approach, the optimized structures of the pyrazolylnucleosides 5ae were achieved by using the double numerical polarization basis set (DND) in combination with the M-11L functions within GGA.

Figure 1
figure 1

Structures of the pyrazolylnucleosides 5ae.

Figure 2
figure 2

Optimized structures of the pyrazolylnucleosides 5ae.

Optimized structures were further subjected to the quantum chemical calculations in order to describe local properties such as the frontier molecular orbital (FMO) density distributions, i.e., the HOMO and the LUMO which, as presented in the discussion to follow, allowed us to determine the global parameters49. These studies collectively helped us to obtain insight into the inhibition mechanisms of these pyrazolylnucleosides towards the Cu(111) surface by examining the structure–reactivity correlation49.

Figures 3 and 4 show, respectively, the density distributions in frontier molecular orbitals, i.e. the HOMO and the LUMO; both HOMOs and LUMOs distributions are marked by inequality in all of the molecules. These results indicate that the pyrazolylnucleoside molecules possess active sites through which they can react with the metallic surface50. This finding could be explained by the fact that HOMOs are often associated with the ability to give electrons by inhibitor molecules to a suitable acceptor such as surface atoms to be protected from corrosion51,52, this could be explained later by the high values of EHOMO energies which are indicative of the tendency of the molecule to donate an electron. Further, we have noticed that HOMOs and LUMOs distributions of these five pyrazolylnucleosides were concentrated preferentially within the structure around nitrogen (N) atoms and with a similar degree also around the oxygen (O) atoms despite their presence in several sites. This finding indicates that the reactions of these molecules with the surface Cu(111) will presumably take place through the parts of the pyrazolylcucleoside structure containing nitrogen and oxygen atoms such as [(N–N, C=N and C–N) and (C–O, O)]. These results have shed light on sites through which the inhibitors could interact with the studied surface53,54. Donor sites, as we reported previously, are the suitable sites for molecules preferentially bonded with positively polarized anodic reaction sites as with copper surface Cu(111) in acid media55,56,57, thereby reducing the migration of corrosive species onto the copper surface, which reflects a decreased rate of anodic copper dissolution reaction58. LUMO distribution depicts acceptor parts of the molecules59; this could explain the possibility of an interaction (adsorption) of the inhibitor molecules through its acceptor atoms on the metallic surface, often having a positive charge as mentioned previously55,56,57.

Figure 3
figure 3

HOMO representations of the pyrazolylnucleosides 5ae.

Figure 4
figure 4

LUMO representations of the pyrazolylnucleosides 5ae.

Electrostatic potential maps (ESP)

By convention, the ESP map is related to nucleophilic and electrophilic activity sites in molecules; the red refers to the negative region while the green and blue ones refer to the positive region. As evidenced in Fig. 5, all of the red to yellow regions were distributed in negatively charged groups with heteroatoms, such as O, N atoms and around a few carbon atoms on their side or O-heterocyclic and N-heterocyclic rings60,61. The ESP maps reveal the reactive sites of inhibitors; in the case of pyrazolylnucleosides, oxygen and nitrogen atoms are shown to be the main adsorption sites. Therefore, it makes reasonable sense to consider that the pyrazolylnucleosides inhibitors contain several adsorption sites which are distinguished from each other predominantly by the N, O atoms.

Figure 5
figure 5

ESP graphic maps of the pyrazolylnucleosides 5ae.

Mulliken charges

Table 1 lists the charges of C, Br, N, O, F, Cl atoms of the five studied pyrazolylnucleosides inhibitors. Many studies indicate a correlation between the corrosion inhibition efficiency of an inhibitor and its Mulliken charges48,60,62,63,64. It has been previously shown that atoms bearing most negative charges will share electrons more easily with the unoccupied orbital of the metal surface atoms with which they react65. Besides, such studies have indicated that the reactivity of these atom sites increases as the absolute value of charge density increases66,67,68. Consequently, the atoms that carry a pronounced negative charge in the pyrazolylnucleosides 5ae act probably as the active sites, through which these inhibitors adsorb onto the metallic surface Cu(111), the surface under studies in the present work. Indeed, the obtained results conclusively show that the negative charges concentrated on atoms like O, N, F, Br and Cl are the active sites in the five pyrazolylnucleosides as highlighted in Fig. 5 showing the charge distribution over the entire structures of the inhibitors under study.

Table 1 Mulliken atomic charges of the pyrazolylnucleosides 5ae inhibitors in their protonated forms.

Vibrational spectroscopy

Figure 6 shows the vibrational spectra using an FT-IR spectrometer for the compounds 5ae. As shown in Fig. 6, the appearance of the characteristic bands of the base molecules was observed69,70 which confirmed their structures.

Figure 6
figure 6

FTIR spectra of the pyrazolylnucleosides 5ae.

Monte Carlo simulations

In the present study, the pyrazolylnucleosides 5ae are present in the protonated forms in the aqueous acidic media, the visual top and side surface configurations of the optimized inhibitors/Cu(111) are presented in Figs. 7 and 8, respectively. The closer positioning of the inhibitor molecules to the Cu(111) surface helps in the equilibrium adsorption configuration of the pyrazolylnucleosides to help them act as the corrosion inhibitors on the Cu(111) surface. It is clear from the side view pictures in Fig. 8 that all the pyrazolylnucleoside molecules are almost parallel to the Cu(111) surface, and all the five inhibitor molecules appear laying flat on the Cu(111) surface in the top view as seen in Fig. 7. Further, in the side view pictures shown in Fig. 8, the pyrazolylnucleosides 5a, 5c and 5e look parallel to the Cu(111) surface and the pyrazolylnucleosides 5b and 5d are seen as quasi-parallel to the metal surface. This may be due to the differences between the sizes and the extents of their −I or +I effects of the five substituents (CH3, OCH3, F, Cl and Br)71,72,73,74. These MC simulations, as seen in the later discussion are quite useful in understanding the detailed mechanism of adsorption behavior of these inhibitors on the Cu(111) surface.

Figure 7
figure 7

Top view of adsorption configurations of 5ae on Cu(111) in aqueous phase.

Figure 8
figure 8

Side view of adsorption configurations of 5ae on Cu(111) in aqueous phase.

In order to demonstrate and confirm the equilibration of the systems, the correlation between the stable mean values of temperature and energy fluctuation was studied43. Figure 9 shows thermal fluctuations of the pyrazolylnucleosides 5ae, according to simulation time.

Figure 9
figure 9

Energy fluctuation curves obtained from MC simulations for 5ae.

Molecular dynamics (MD) calculations

To explain the interactions between the studied surface of copper and the active sites of the pyrazolylnucleosides 5ae, we launched the MD simulations in a system containing 600 water molecules and one molecule of each of the five inhibitors on the Cu(111) surface43,75; the visual simulations showed the corresponding adsorption mechanism of the pyrazolylnucleoside derivatives on the copper surface to gain a deeper understanding of the interaction between each inhibitor and Cu(111) surface. The results presented in Figs. 10 and 11 show, respectively, the top and side views of the realistic simulations76,77 of the pyrazolylnucleosides 5ae on the studied copper surface Cu(111) at equilibrium in the aqueous phase. All of the novel five inhibitors 5ae adsorb tightly onto the copper surface with a parallel orientation, more particularly the inhibitor 5e, which appears close and parallel with the Cu(111) surface. It is entirely consistent with the previous results shown earlier by Monte Carlo simulations. This positioning is facilitated by the formation of bonds between the inhibitor and copper surface, formed through the sharing of p electrons from the active donor sites of the inhibitor pyrazolylnucleosides to the vacant orbitals of the positively charged copper surface78.

Figure 10
figure 10

Lowest energy MD top view of 5ae onto Cu(111) surface.

Figure 11
figure 11

Lowest energy MD side view of 5ae onto Cu(111) surface.

The adsorption of the inhibitor by adopting parallel placement of the inhibitor molecule and the Cu(111) surface explains how an inhibitor can minimize the contact area between corrosive elements and surface of Cu(111) in a corrosive environment79, in addition to the distinction between studied inhibitors according to the predictive efficacy. The different energies of the studied inhibitor molecules 5ae and Cu(111) substrate have been calculated and are summarized in the Tables S1, S2, S3, S4 and S5 (supporting informations). We have taken into account other corrosive species such as H3O+, Cl and H2O present in the environment in these calculations80,81. The output data determined via this simulation method gives the total energy (symbolized as Etot), which equals the sum of the internal and the adsorption energies of the inhibitor as an adsorbate on the metallic surface82. The total energy can be envisaged to correlate the reactivity of the inhibitor and we noticed that the pyrazolylnucleosides 5ae are quite stable since their energies are small, not exceeding − 7.21 E+03. The average of all the total energies calculated was found to be − 7.23 E+03. Adsorption energy (Eads) is the energy released when an inhibitor molecule (adsorbate) attaches to the metal surface Cu(111) (substrate), and includes the rigid adsorption energy and the deformation energy83. The adsorption energy refers to the energy released during the adsorption of the inhibitor on the Cu(111) surface in its stable state (also called the geometric optimization step), and the deformation energy is that released when the adsorbed inhibitor is released from the Cu(111) surface. It can be seen from the results tabulated in Tables S1, S2, S3, S4 and S5 that the pyrazolylnucleosides 5ae adsorb spontaneously on the Cu(111) surface as the values of the adsorption energies are negative84,85. The results also show that despite the presence of the corrosive elements such as H2O, H3O+ and Cl, the inhibitors 5ae adsorb preferentially on the Cu(111) surface without significant competition because the adsorption of the pyrazolylnucleosides requires less energy. The adsorption energy (Eads) of the pyrazolylnucleoside 5e was − 1.96 × 104, while the average Eads values of the other four pyrazolylnucleosides 5ad were − 1.93 × 104. Also the desorption energy (dEads/dNi) for the pyrazolylnucleoside 5e was the lowest viz. − 438.8210 as compared to those of − 147.9912 for 5b, − 146.7689 for 5a, − 144.7019 for 5c and − 137.7662 for 5d. This indicates that 5e requires slightly less energy for adhesion (adsorption) to the Cu(111) surface compared to the other inhibitors 5ad, which require more energy (Eads) for adsorption. On the other hand, the pyrazolylnucleoside 5e can be released from the Cu(111) surface requiring much less desorption energy (dEads/dNi) as compared to the other four inhibitors 5ad that need more desorption energy. From this study, an important result could be drawn viz. it is not possible to predict the inhibitory power of a molecule accurately from its adsorption energy alone; other elements also contribute in determining the effectiveness of an inhibitor, one of them being the desorption energy (dEads/dNi). These results can help in picking efficient inhibitors against corrosion of any metallic surface in a corrosive environment combining the two factors viz. the adsorption energy and the desorption energy. Also, one can predict the inhibitory efficacy of the inhibitors as these studies help in classifying them according to their effectiveness against corrosion of Cu(111) surface; we conclude from these results that the effectiveness of the pyrazolylnucleoside inhibitors under study follows the order: 5e > 5b > 5a > 5c > 5d.

To further confirm our results, we have performed the energy fluctuation curves as obtained from MD simulations; the equilibration of the system is confirmed by the stable mean values of energy fluctuations, as shown in Fig. 12.

Figure 12
figure 12

Temperature equilibrium curves obtained from MD simulations for 5ae.

The pair correlation function quantifies how other particles surround the particle of interest (or the targeted atom); based on this, we have used the radial distribution function (RDF) to estimate the length of the bond g(r)86,87,88. Knowing that the peak between 1 and 3.5 Å corresponds to chemisorption and that physisorption is associated with peaks greater than 3.5Å24, we have carried out RDF calculations as shown in Fig. 13a,b, respectively, for the RDF O and RDF N. The optimal short distances between the probable active sites of the studied inhibitors 5ae and the copper(111) surface atoms were: length of the bond of Cu\\O (2.85 to 3.36 Å) and Cu\\N (3.16 to 3.40 Å) which are less than 3.5 Å. The obtained RDF results show that the five pyrazolylnucleoside inhibitors have a great capacity to adsorb on Cu(111) surface, and subsequently protect it from dissolution89,90.

Figure 13
figure 13

RDF O (a) and RDF N (b) of the pyrazolylnucleosides 5ae on the Cu(111) surface in solution.

Mechanism of adsorption and inhibition

We have worked out a simple approach to explain the reaction of the inhibitor molecules 5ae and the surface of copper, which is positively charged; interactions of organic inhibitors with metal surfaces involve donor–acceptor interactions91,92,93. Figure 14 illustrates the adsorption mechanism of the organic corrosion inhibitors 5ae on the copper metal surface in the acidic medium (1 M HCl). The metallic element Cu undergoes rapid oxidation due to the aggressive environment that makes the metal surface positively charged, which in turn favors the fixation of negatively charged counter chloride ions resulting in a negative metallic surface. As shown in Fig. 14, neutral nitrogen atoms of the five-membered pyrazole rings of the inhibitor molecules 5ae get protonated in the acidic solution according to the following reaction:

$$\left[ {{\text{Inh}}} \right]\, + \,{\text{xH}}^{ + } \leftrightarrow \left[ {{\text{Inh}}_{{\text{x}}} } \right]^{{{\text{x}} + }}$$
Figure 14
figure 14

Schematic illustration of the adsorption mechanism of organic corrosion inhibitors 5ae on the surface of copper in a 1 M HCl solution.

The protonated inhibitor molecules bind to the negatively charged metal surface through attractive electrostatic forces. In parallel, the lone pair electrons of the –CN moiety, the non-protonated pyrazole ring nitrogen atom and the oxygen atom of the sugar moiety of the inhibitor molecules, as well as the π-electrons of the benzene ring, could supply electrons to the vacant d-orbitals of the Cu atoms which leads to the phenomenon of chemisorption and retro-donation, respectively94,95. However, this type of electron transfer causes electrons to accumulate in the d-orbitals of the metal atoms resulting in inter-electron repulsions. In order to avoid this repulsion phenomenon, a reverse transfer of electrons takes place from the d-orbitals of the surface metal atoms to the unoccupied molecular orbitals of the inhibitor molecules (retro-donation), thus reinforcing the adsorption of the inhibitor molecules on the metal surface.

Consequently, it can be expected that the adsorption of different inhibitor molecules on the metal surface of copper in an aggressive acidic solution (1 M HCl) happens by three types of phenomena: physisorption, chemisorption and retro-donation. Furthermore, theoretical studies presented here show a good correlation with electrochemical studies, which show that these inhibitors have high metal corrosion inhibition performance. The presence of electron-donating mesomeric substituents –OCH3, Cl, Br and F further enhances the inhibitory efficacy of the pyrazolylnucleosides 5ae against copper corrosion.

Conclusion

The inhibitory effects of five novel pyrazolylnucleosides have been evaluated theoretically against corrosion of copper surface in an acidic environment. Density functional theory (DFT) calculations were carried out to exhibit their intrinsic properties and reactivities. We used molecular dynamics simulation to describe the different probable interactions such as van der Waals and electrostatic interactions between the inhibitors 5ae and Cu(111) surface. The following conclusions can be drawn from the results:

  1. 1.

    Molecular dynamic simulations show that the inhibitor pyrazolylnucleosides 5ae have strong interactions with Cu(111) surface.

  2. 2.

    Molecular quantum chemical calculations showed that the reactive sites in the inhibitors 5ae are mainly the N-atoms and O-atoms.

  3. 3.

    Based on the analysis of the different outputs, we have suggested a probable reaction mechanism for the binding of the pyrazolylnucleosides 5ae at the Cu(111) surface.

  4. 4.

    A combination of adsorption energy (Eads) and the desorption energy (dEads/dNi) values helps in determining the effectiveness of the pyrazolylnucleosides 5ae against corrosion of Cu(111) surface.

  5. 5.

    Molecular dynamic simulations reveal that the effectiveness of these inhibitors follows the order: 5e > 5b > 5a > 5c > 5d.