1 Introduction

Acid solutions are commonly used for removal of undesirable scale and rust in the metal working, cleaning of boilers and heat exchangers.[1] As acidic medium, the use of hydrochloric acid in pickling of metals, acidization of oil wells and in cleaning of scales is more economical, efficient and trouble-free, compared to other mineral acids. Due to general aggression of acid solutions, inhibitors are commonly used to reduce the corrosive attack on metallic materials.[2] The corrosion protection using inhibitors is mainly based on the modification of the metal surface through the adsorption of inhibitor molecules and the subsequent formation of a protective blocking layer.[3,4]

The efficiency of an organic compound as a successful inhibitor mainly depends on its ability to adsorb on the metal surface. Most organic inhibitors adsorb on the metal surface by displacing water molecules on the surface and forming a compact barrier. Heteroatoms, such as sulphur, phosphorus, nitrogen and oxygen, together with aromatic rings in inhibitor structure can act as adsorption centres that could adsorb on the metal surface and form barrier film. The planarity and the lone electron pairs in the heteroatom’s are also important features that determine the adsorption behaviour of molecules on the metallic surface.[59]

Unfortunately most of the organic inhibitors are toxic and environmentally unfriendly. Thus, in recent years the development of the novel corrosion inhibitors of natural source and non-toxic type has been considered to be more important and desirable. Due to non-toxic characteristics and negligible negative impacts on the aquatic environment, drugs (chemical medicines) seem to be ideal candidates to replace traditional toxic corrosion inhibitors.[1012]

Quantum-chemistry calculations have been widely used to study the reaction mechanisms and to interpret the experimental results as well as to solve chemical ambiguities. Theoretical investigations based on quantum chemical calculations have been proposed as a powerful tool for predicting a number of molecular parameters directly related to the corrosion inhibiting property of any chemical compound.[13,14]

According to literature, triazole derivatives have shown good corrosion inhibition efficiency in acidic medium.[1416] Obot et al[10] showed that fluconazole (FLU) (figure 1), as a triazole derivative, is an effective corrosion inhibitor for aluminium in acidic medium.[17,18] This substance is a pharmaceutical drug, which can be classified as an antifungal drug.

Figure 1
figure 1

The chemical structure of fluconazole.

The present work is aimed to determine the corrosion inhibition effectiveness and adsorption behaviour of FLU for steel in hydrochloric acid solution by gravimetric method and atomic force microscope (AFM) techniques at different temperatures. Density functional theory (DFT) was also used to calculate electronic properties relevant to the inhibiting action in order to explain inhibition efficiency.

2 Experimental

2.1 Materials

FLU was obtained from Parsdarou Pharmaceutical Co. Steel panels were prepared from FooladMobarake Co. The elemental composition of the steel is presented in table 1.

Table 1 Composition of steel panels.

2.2 Gravimetric measurements

The gravimetric method (weight loss) is probably the most widely used method of inhibition assessment. The simplicity and reliability of the measurement offered by this method means that the technique forms the baseline method of measurement in many corrosion monitoring programs.[19] Weight loss measurements were conducted in the test solutions for 24 h at different temperatures (296–316 K). In each experiment, the pre-cleaned and weighed specimens suspended with the aid of plastic rod in a beaker containing 160 ml 1 M HCl solution. All tests were carried out in aerated solutions and were run in triplicate to guarantee the reliability of the results. The mean value of the weight loss was reported. To determine weight loss, the specimens were retrieved from test solutions, scrubbed with bristle brush under running water in order to remove the corrosion product, dried with hot air stream and re-weighed accurately. The weight loss was taken as the difference between the weight at a given time and the initial weight of the test coupon, determined using digital balance with sensitivity of ±1 mg.

Specimens used in the weight loss experiment were mechanically cut into 5.0×4.0 ×0.15 cm dimensions. Specimens were mechanically ground with 320 and 600 grades of emery paper, then degreased with acetone and dried. Distilled water was used for preparing test solutions for weight loss measurements. HCl (1 M) solutions containing different concentrations of FLU, 5, 10, 25, 50, 100 and 200 p.p.m., were prepared.

2.3 AFM analysis

Surface morphologies of the steel panels exposed to the acidic medium were studied by Ambios Technologies USPM instrument in tapping mode.

2.4 Quantum chemical calculation

The quantum chemical calculation was performed using Spartan’ 08V1.2.0 program. A restricted Hartree-Fock SCF calculation performed using Pulay DIIS with Geometric Direct Mini mization Geometry optimization was carried out by DFT level with the B3LYP functional at the basis set 6-31G* and water as solvent. This approach (B3LYP functional at the basis set 6-31G*) has shown to be adequate for predicting molecular properties and has yielded favourable geometries for a wide variety of systems.[20,21] Another reason for choosing this approach was that according to Spartan program manual Hartree-Fock and MP2 models with 6-31G* and larger basis sets and density functional models, all generally pro vide good descriptions of conformational energy differences in organic compounds. The manual also state that MP2 and B3LYP density functional models are the most reliable models.

3 Result and discussion

3.1 Influence of inhibitor concentration on the corrosion rate

Figure 2 shows the variation of inhibition efficiency of 200 p.p.m. of FLU in 1 M HCl as a function of immersion time. It is evident from the figure that inhibitor efficiency increases with increasing of immersion time and it stabilizes at the value of 94% after 24 h. The increase of inhibitor efficiency with time may be attributed to the formation of a barrier film, which prevents the attack of the metal surface by acid.

Figure 2
figure 2

Variation of the inhibition efficiency with immersion time of 200 p.p.m. FLU in 1 M HCl at 296 K.

The values of corrosion rates (ν), inhibition efficiencies (IE%) and the degrees of surface coverage (𝜃) were obtained from weight loss measurements for different concentrations of FLU in 1 M HCl after 24 h immersion at different temperatures (table 2).

Table 2 Corrosion rates, inhibition efficiencies (IE%) and the degrees of surface for FLU in 1 M HCl after 24 h immersion at 296–326 K.

The corrosion rate (ν) was calculated from the following equation:[22]

$$ \nu =3.45\times 10^{6}\times (m_{1}-m_{2})/ATD, $$
(1)

where m 1 and m 2 are the masses of the steel coupon before and after immersion (mg), respectively, A the total area of the steel coupon (cm2), T the corrosion time (h), D the density of the steel specimen (g cm −3) and ν the corrosion rate (mpy). The percentage of inhibition efficiency (%IE) was calculated using the following equation:[23]

$$ {\%}\text{IE}= (\nu_{0}-\nu)/\nu_{0}\times 100, $$
(2)

where ν 0 and ν are the corrosion rates of the steel coupon in HCl solution in the absence and presence of FLU, respectively.

The results showed that FLU actually inhibited the corrosion of steel in 1 M HCl solution. The corrosion rate was found to be dependent on the concentration of the inhibitor. From table 2, it is obvious that increasing the concentration of FLU at different temperatures increased the inhibition efficiency (IE%) up to relatively 95%.

The inhibitory action of an organic inhibitor like FLU against steel corrosion can be attributed to the adsorption of inhibitor molecules on the steel surface. The degree of surface coverage of inhibitor on steel surface increased with the increase of inhibitor concentrations, which means that steel surface was separated from the corrosive medium by the inhibitor adsorption film. In fact the film formed on surface could limit the dissolution of the steel by blocking its corrosion sites.[18,24]

3.2 Adsorption isotherm and thermodynamic parameters

The metal surface in aqueous solution is always covered with adsorbed water dipoles. Therefore, the adsorption of an organic molecule on the surface of steel electrode is considered as a substitution of corrosion inhibitor (I) with water molecules adsorbed on the steel surface:[25]

$$ \mathrm{M} (n\mathrm{H}_{2}\mathrm{O})_{\mathrm{(ads)}}+{I} < => \mathrm{M}I_{\text{ads}}+{n}\mathrm{H}_{2}\mathrm{O}_{\mathrm{(sol)}}, $$
(3)

where I represents the corrosion inhibitor molecules, which displace n water molecules initially adsorbed on the metal surface (M).

It is well known that the degree of surface coverage of corrosion inhibitor on metal surface (𝜃) is the most useful parameter for studying the adsorption behaviour of the inhibitors, which can be calculated as 𝜃 = IE/100. Basic information regarding the interaction between the inhibitors and the steel surface can be provided by the adsorption isotherm.[26] The most frequently used adsorption isotherms are Langmuir, Temkin, Frumkin and Freundluich.[25] Attempts were made to fit 𝜃-values to these isotherms. The best fit was obtained with Langmuir isotherm according to the following equation:[25]

$$ \theta / {\left( {1-\theta} \right)}=K_{\text{ads}} C $$
(4)

Rearranging equation 4 gives:

$$ C/\theta =1/K_{\text{ads}} +C, $$
(5)

where K ads is the equilibrium constant of adsorption reaction. The Langmuir isotherm is based on the assumption that each site of metal surface holds one adsorbed species; therefore, one adsorbed H 2O molecule is replaced by one organic molecule on the steel surface. This kind of isotherm assumes that the adsorption of organic molecules occurs as a monolayer over the metallic surface without any interactions with other molecules adsorbed.[27,28]

C/𝜃 against C was plotted, which gave a straight line close to unit slope (figure 3). This indicates that the adsorption of FLU on the steel surface in 1 M HCl solution follows the Langmuir adsorption isotherm. The relationship between C/𝜃 and C at different temperatures can be expressed by equations (68):

$$ \mathrm{C}/\theta =1.066C+0.000003\;\;(R^{2}=1,T=296\,\mathrm{K}) $$
(6)
$$ \mathrm{C}/\theta =1.052C+0.000008\;\;(R^{2}=1,T=306\,\mathrm{K}) $$
(7)
$$ \mathrm{C}/\theta =1.037C+0.00001\; \left({R^{2}=1,\;T=316\; \text{K}}\right)\!, $$
(8)

where C is the concentration of FLU in mol l −1. By making comparison between equations (5) and (68), K ads can be calculated. The constant K ads is related to the standard-free energy of adsorption \({\Delta } G_{\text {ads}}^{\circ } \) by following equation:

$$ K_{\text{ads}} =\frac{1}{55.5}\exp \left( {\frac{\Delta G_{\text{ads}}^{\circ} } {\text{RT}}}\right)\!, $$
(9)

where R is universal gas constant, 8.3144 J K −1 mol −1, T is the temperature in K. The value of 55.5 is the concentration of water in solution, expressed in moles per litre. The values of K ads and \({\Delta } G_{\text {ads}}^{\circ } \) were calculated (table 3).

Figure 3
figure 3

Langmuir adsorption plot as C/𝜃 against C for FLU at 296 K.

Table 3 Thermodynamic parameters.

The negative values of \({\Delta } G_{\text {ads}}^{\circ } \) ensure the spontaneity of the adsorption process and stability of the adsorbed layer on the steel surface. Two main types of interaction can describe the adsorption of an organic inhibitor on the metal surface: physisorption and chemisorption. Generally, values of \(-{\Delta } G_{\text {ads}}^{\circ } \) up to 20 kJ mol −1 are consistent with electrostatic interactions between the charged molecules and charged metal (physisorption), while those around 40 kJ mol −1 or higher are associated with chemisorption as a result of sharing or transfer of electrons from organic molecules to the metal surface to form a coordinate type of bond.[29,30] The obtained values of \(-{\Delta } G_{\text {ads}}^{\circ } \) were above 40 kJ mol −1. Therefore, FLU molecules adsorbed on the steel surface predominately by a chemisorption method.

Langmuir equation can be written in another form:[31]

$$ \theta /(1-\theta )=AC\exp \left( {{-{\Delta} H_{\text{ads}}^{\circ} } / {RT}} \right)\!, $$
(10)

where T is the temperature, A is an independent constant, C is the inhibitor concentration, R is the gas constant, \({\Delta } H_{\text {ads}}^{\circ } \) is the standard heat of adsorption and 𝜃 the surface coverage by the inhibitor molecules. In order to calculate \({\Delta } H_{\text {ads}}^{\circ }\), the function of \(\ln [\theta /(1-\theta )]\) vs. 1/T at the optimum concentration of inhibitor (200 p.p.m.) was plotted (figure 4). The slope of the linear part of the curve is equal to \({\Delta H_{\text {ads}}^{\circ } } / R\), from which the average heat of adsorption \(\left ({\Delta H_{\text {ads}}^{\circ } } \right )\) can be calculated as 14.08 kJ mol −1.

Figure 4
figure 4

\(\ln [\theta /(1-\theta )]\) vs. 1/T for the optimum concentration of FLU.

The positive value of \({\Delta } H_{\text {ads}}^{\circ } \) shows that the adsorption of inhibitor is an endothermic process, which indicates that IE values increase with increasing the temperature. Generally, an endothermic process is attributable unequivocally to chemisorption process, while exothermic process signifies either physi- or chemisorption.[32] In our work, \({\Delta } {H}_{\text {ads}}^{\circ }\) was 14.08 kJ mol −1, which suggests that FLU is adsorbed on the steel surface predominately by chemisorption method. This confirms the result obtained from the values of \({\Delta } G_{\text {ads}}^{\circ }\).

The entropy of adsorption \(\left ({\Delta S_{\text {ads}}^{\circ } } \right )\) can be calculated using the following equation:[31]

$$ {\Delta} G_{\text{ads}}^{\circ} ={\Delta} H_{\text{ads}}^{\circ} -T{\Delta} S_{\text{ads}}^{\circ}. $$
(11)

By using equation 11 for all temperatures, average \({\Delta } S_{\text {ads}}^{\circ } \) was found to be 179 J mol −1 K −1. The positive sign of the entropy indicates that an increase in disordering takes places in going from reactants to the metal adsorbed species reaction complex.[33]

3.3 The effect of temperature

It is well known that the effect of temperature on the inhibited acid–metal reaction is highly complex, because many changes occur on the metal surface such as rapid etching and desorption of inhibitor and the inhibitor itself may undergo decomposition or rearrangement.[34]

The effect of temperature on the corrosion rate of steel in 1 M HCl solution in the absence and presence of 200 p.p.m. of FLU was studied at different temperatures (296–316 K) by weight loss measurements. The data of table 2 show that at low concentration IE% decreases as the temperature rises, but at higher concentrations the trend is opposite.

In acidic solution, the natural logarithm of the corrosion rate (ν corr) is a linear function with 1/T (Arrhenius equation):[35]

$$ \ln(\nu_{\text{corr}} )=\ln A-{E_{\mathrm{a}}^{\ast} } / {RT}, $$
(12)

where ν corr is the corrosion rate determined from the weight loss measurement, \(E_{\mathrm {a}}^{\ast } \) is the apparent activation energy, A is the Arrhenius constant, R is the molar gas constant and T the absolute temperature. The apparent activation energy was determined at optimum concentration of FLU (200 p.p.m.) from the slopes of ln ν corr vs. 1/T graph, depicted in figure 5. The obtained values of \(E_{\mathrm {a}}^{\ast } \) are listed in table 4.

Figure 5
figure 5

ln(ν corr)vs. 1/T for the optimum concentration of FLU.

Table 4 Values of apparent activation energy for steel in 1 M HCl in the absence and presence of 200 p.p.m. of FLU.

The obtained \(E_{\mathrm {a}}^{\ast } \) for FLU shows that in the presence of inhibitor the apparent activation energy reduced. This reduction indicates that the adsorption of FLU on the surface of the steel occurred via chemisorption mechanism.[36]

3.4 Open circuit potential studies

Open circuit potentials (OCPs) for steel in blank acid and with different concentrations of FLU were measured after 30 min immersion and are shown in table 5.

Table 5 Values of OCP for steel in 1 M HCl solution in the absence and presence of different concentration of FLU after 30 min immersion.

The classification of a compound as an anodic or cathodic inhibitor is feasible when the OCP displacement is at least 85 mV in relation to the one measured for the blank solution.[37,38] In our study, the maximum displacement was 18 mV for 10 p.p.m. of FLU. This indicates that FLU is a mixed type inhibitor. It means that the inhibitor reduced the corrosion rate without causing considerable change in the corrosion mechanism. It also shows that the addition of this inhibitor to the solution reduced the anodic dissolution and retarded the cathodic hydrogen evolution reaction.[39]

3.5 Corrosion inhibition mechanism

The adsorption process of inhibitor is influenced by the nature of the metal surface, the chemical structure of the organic inhibitor, the distribution of charge in the molecule, the type of aggressive electrolyte and the type of interaction between organic molecules and the metallic surface.[40] From the structure of the FLU, it is apparent that it can exist in the form of either neutral or cationic molecules in the acidic medium. In the form of cationic molecules, the adsorption could be related to the electrostatic interaction between the protonated compounds and steel surface, negatively charged by the specific adsorption of Cl ions, and in the form of neutral molecules corrosion inhibition can be attributed to chemisorption. Notably, it is generally accepted that physisorption is preceding stage of chemisorption of inhibitor on metal surface. In other words, chemisorption is always accompanied by physisorption.[41,42] Therefore, the adsorption of this compound involves two modes of interaction, but mainly chemisorption. This is confirmed by the values of free energy of adsorption, which were around −40 kJ mol −1.

The possible mechanism for chemisorption can be attributed to the donation of π-electrons by aromatic systems and nonbonding electron pairs of the heteroatoms (N, O) to form a bond with the vacant d-orbitals of the iron atom on the metal surface, which act as a Lewis acid, leading to the formation of a protective chemisorbed layer.

In hydrochloric acid solution the inhibitor molecules exist as protonated species, which can physically adsorb on the steel surface. The physical adsorption of FLU in hydrochloric acid solution can be explained in the following way:

The charge of the metal surface (Φ) can be determined by the following equation:[43]

$$ {\Phi} =E_{\text{corr}} -E_{\mathrm{q}=0} , $$
(13)

where E q=0 is the potential of zero charge (PZC). Values of E corr for steel in 1 M HCl solution in the absence and presence of different concentration of FLU are shown in table 5.

Values obtained for E corr in 1 M HCl solution ranged from –443 to –461 mV vs. Ag/AgCl. The PZC of steel in 1 M HCl solution is –560 mV vs. SCE (–516 mV vs. saturated Ag/AgCl);[44] therefore, Φ has positive value and the steel surface becomes positively charged. On the other hand, the value of pH iep, which is defined as the pH of isoelectric point, is around 4 for steel,[45] so steel surface is positively charged at pH 0, which is the pH value of 1 M HCl.

It is assumed that in hydrochloric solution, chloride ions first adsorb on the steel/solution interface, through electrostatic attraction forces between these anions and the excess of positive charges at the steel surface. This effect leads to a change on the solution side of the interface, which becomes negatively charged. Thus, protonated FLU molecules are able to adsorb electrostatically on the steel surface previously covered with adsorbed chloride ions. At this point of view, the adsorption of the cationic forms of FLU molecules would be limited by the concentration of the Cl ions on the metal surface.[46]

3.6 Atomic force microscopy

AFM is a powerful tool to investigate the surface morphology and it is very useful to determine the film formation on metal surface in corrosion inhibition studies. The average roughness of polished steel before and after immersion in 1 M HCl solution without the presence of corrosion inhibitor was calculated as 46 and 352 nm, respectively (figure 6a and b). In the presence of 200 p.p.m. of FLU, the average roughness of steel was reduced to 119 nm (figure 6c).

Figure 6
figure 6

AFM images of the steel surface: (a) before immersion, (b) after 24 h immersion at 296 K in 1 M HCl and (c) after 24 h immersion at 296 K in 1 M HCl + 200 p.p.m. FLU.

The lower surface roughness value of the sample immersed in HCl solution containing FLU compared with the one immersed in HCl solution in the absence of FLU, confirmed the film formation of the inhibitor over the steel surface, which resulted in reduced corrosion rate and surface degradation of steel surface.

3.7 Quantum chemical studies

Quantum chemical calculations have proved to be a very powerful tool for studying corrosion inhibition mechanism. Recently, there has been increasing use of DFT method as a theoretical tool for better understanding the mechanism of corrosion inhibition of organic compounds by several researchers.[47,48] Thus, a theoretical study was undertaken using DFT method in order to investigate the relation between the inhibitor quantum chemical parameters and its inhibition mechanism.

FLU has a great tendency to get protonated in acidic medium due to the presence of oxygen and nitrogen atoms in its structure. This is can be confirmed by the calculations that show the stability of protonated inhibitor. In order to detect the most favourable active centre for being protonated, optimization of possible structures with different protonated active centres was carried out and it was found that the most probable active centre with lowest energy upon protonation is N6 atom.

The optimized geometry of neutral and protonated form of FLU molecule is shown in figure 7. Bond lengths and bond angles were calculated from optimized geometry and are listed in tables 6 and 7.

Figure 7
figure 7

The optimized geometry of (a) neutral and (b) protonated forms of FLU molecule.

Table 6 Bond lengths for neutral and protonated forms of FLU molecule.
Table 7 Bond angles for neutral and protonated forms of FLU molecule.

Comparing bond length values in neutral and protonated forms showed that protonation did not change the bond lengths drastically. The most changes upon protonation were observed for N5–N4, N4–C10, C10–N6 and C11–N5 bonds. The bond length differences for these bonds were + 0.007, −0.018, + 0.007 and −0.013 Å, respectively. It is obvious that C10–N6 bond became slightly longer after protonation, which means that the ability of this group as an active centre of adsorption got improved upon protonation.[49] Comparing bond angle values in neutral and protonated forms showed that highest bond angle changes were attributed to C11–N6–C10, N5–C11–N6, N6–C10–N4, C2–C3–C7, N4–N5–C11, C10–N4–C13 and C7–C13–N4. Bond angle differences for these bonds were + 5.47 , −4.87 , −4.54 , + 2.31 , + 2.05 , −1.16 and −1.05 , respectively. The results showed that protonation of N6 did not have significant effect on bond angles of FLU molecule and it just affected the bond angles of the triazole ring that contain the N6 atom.

The quantum chemical parameters for neutral and protonated forms of FLU molecule were calculated and are listed in table 8.

Table 8 Quantum chemical parameters for neutral and protonated forms of FLU molecule.

According to the frontier molecular orbital (FMO) theory, the chemical reactivity is the function of interaction between HOMO and LUMO levels of the reacting species. E HOMO is a quantum chemical parameter, which is often associated with the electron donating ability of the molecule. High value of E HOMO (less negative value) shows the tendency of the molecule to donate electrons to appropriate acceptor molecule with low-molecular orbital energy. Good corrosion inhibitors are usually those organic compounds which not only offer electrons to unoccupied orbital of the metal, but also accept free electrons from the metal. The lower the LUMO energy, the easier the acceptance of electrons from metal surface, which result in decreasing the LUMO–HOMO energy gap and improving efficiency of inhibitor.[5052]

ΔE (energy gap) is an important parameter as a function of reactivity of the inhibitor molecule towards the adsorption of inhibitor on the metallic surface. As ΔE decreases (most especially for the cationic species), the reactivity of the molecule increases and as a result the inhibition efficiency of the molecule increases. A molecule with a low energy gap is more polarizable and is generally associated with the high chemical activity and low kinetic stability and is termed as a soft molecule.[53] Quantum chemical parameters listed in table 8 reveal that neutral form of FLU has relatively low energy gap. Comparing protonated and neutral forms of FLU shows that FLU molecule in protonated form has lower energy gap (ΔE) compared to neutral form, which means that in protonated form the inhibitor has higher reactivity towards the steel surface.

Physical adsorption of the organic inhibitor on the metal surface rises as a result of electrostatic attraction between the organic dipole and the charged surface of the metal; therefore, high dipole moment of the molecules favour adsorption ability.[54] Comparing dipole moments shows that in protonated form dipole moment has increased significantly, so it can be concluded that in protonated form FLU molecule can physically get adsorbed on steel surface.

According to Pearson,[55] when two systems including metal (Fe) and inhibitor are brought together, electrons will flow from lower χ (inhibitor) to higher χ (Fe) until the chemical potentials become equal. As a first approximation, the fraction of electron transferred, ΔN is given by the following equation:

$$ {\Delta} N=\left( {\chi_{\text{Fe}} -\chi_{\text{inh}}} \right)/2(\eta_{\text{Fe}} +\eta_{\text{inh}} ), $$
(14)

where χ Fe and χ inh denote the absolute electronegativity of iron and the inhibitor molecule, respectively. η Fe and η inh denote the absolute hardness of iron and the inhibitor molecule, respectively. These quantities are related to electron affinity (A) and ionization potential (I), which are useful for predicting chemical behaviour.[56]

$$ \chi =\left( {I+A} \right)/2 $$
(15)
$$ \eta =\left( {I-A} \right)/2 $$
(16)

I and A are related to E HOMO and E LUMO by following the equations:

$$ I=-E_{\text{Homo}} $$
(17)
$$ A=-E_{\text{Lumo}} $$
(18)

Values of χ inh and η inh were calculated by using the values of I and A obtained from quantum chemical calculation. The theoretical values of χ Fe=7.0 eV and η Fe=0 were used according to Pearson’s electronegativity scale, assuming that for a metallic bulk I=A, because they are softer than neutral metallic atoms.[55,57]

ΔN values, which are the fraction of electrons transferred from inhibitor to the steel surface, were calculated for both neutral and protonated forms (table 8). Values of ΔN show that inhibition effect resulted from electron donation. According to Lukovits et al,[58] if ΔN<3.6, the inhibition efficiency increases with increasing electron donating ability at the metal surface. In this study, FLU was the donor of electrons, and the steel surface was the acceptor. This result supports the assertion that the adsorption of inhibitor on the metal surface could occur by donor–acceptor interactions of the π-electrons and nonbonding electron pairs of the heteroatoms (N, O) with the vacant d-orbitals of the iron atom on the metal surface.

The Mulliken charge distribution and the HOMO distribution can be used to predict the possible adsorption centres of the inhibitors. Generally, the more negatively charged heteroatom is, the greater is its ability to donate electrons. The more negatively charged regions with major distribution of the HOMO are the most probable adsorption centres.[59,60] The Mulliken charges for all atoms of neutral and protonated forms of FLU are listed in table 9 and the density distribution of FMOs (HOMO and LUMO) are shown in figures 8 and 9.

Table 9 Mulliken charges for all atoms of neutral and protonated forms of FLU molecule.
Figure 8
figure 8

The HOMO density distribution of (a) neutral and (b) protonated forms of FLU molecule.

Figure 9
figure 9

The LUMO density distribution of (a) neutral and (b) protonated forms of FLU molecule.

From values listed in table 9, it can be seen that the most favourable sites for the interaction between both neutral and protonated molecules of FLU and the metal surface are the following atoms: O, N3 and N6, because these atoms have a larger negative charge, suggesting that these active centres with excess charges can act as a nucleophilic reagent. Generally, heteroatoms with larger negative charge have better electron donor ability.[60] Analysing the HOMO density distributions for both neutral and protonated forms of FLU (figure 8) show that the highest occupied molecule orbital (HOMO) is mostly distributed around benzene ring, this makes it the preferred zone for donating electron and forming a bond with vacant d-orbitals of the iron through its π-electrons. Overall, HOMO density distribution and Mulliken charges show that O, N3, N6 and benzene ring can act as the adsorption centres of the inhibitors, but as the molecule is not planer there is a little chance for N3 to act as an adsorption centre and participate in this process.

X-ray photoelectron spectroscopy (XPS) is one of the tests that can give some information about composition of the organic film formed on the surface. Reviewing the literature shows that some researches have been done on trizaole derivatives in hydrochloric solution by XPS test. These researches have proved that triazole derivatives can chemically interact with steel surface and form a chemisorbed film.[61,62] They have also shown that N–Fe bond may be formed during such adsorption.[63] These results may support the assertion that adsorption of FLU occurs through π-electrons, O and N atoms.

The LUMO orbital has the most contribution corresponding to anti-bonding characteristic on the ring moiety, which probably facilitates the back donation from the metal surface to the anti-bonding orbitals of the inhibitor.[49] As shown in figure 9, for neutral form of FLU the LUMO orbitals are mainly distributed on the benzene group, which means that this group besides donating electron to metal surface also facilitates the back donation from the metal surface to the anti-bonding orbitals of the inhibitor. For protonated form, the LUMO orbitals are mainly distributed on one of the triazole rings, which indicate that this ring facilitates the back donation from the metal surface to the anti-bonding orbital’s of the inhibitor.

4 Conclusion

  • Results obtained from the experimental data showed that FLU can act as an effective inhibitor for the corrosion of steel in 1 M HCl at different temperatures.

  • The adsorption of FLU on steel surface in HCl solution was mainly due to chemisorption at steel/HCl acid interface and obeyed the Langmuir adsorption.

  • The values of average surface roughness derived from AFM images supported the barrier film formation on steel surface.

  • Quantum chemical calculations showed that in adsorption process of FLU molecules, nitrogen and oxygen atoms and benzene ring act as active centres.

  • The results obtained in this study indicated that in acidic medium, both neutral and protonated forms of molecule can give better insight into finding the correlation between inhibition effect and molecular structure of an inhibitor.