1 Introduction

Due to their environmental threat, the utilized of toxic materials as inhibitors has been restricted, so there is good interest in changing harmful inhibitors with impact non-hazardous substitutes [1,2,3,4,5,6,7,8,9]. In several industries corrosion inhibitors have been broadly research to minimize the dissolution rate of metal products in contact with destructive environment [10,11,12,13,14]. The high efficiency of corrosion inhibitors was correlated with their capability to adsorb on surface of metal [15]. Adsorption will also be based on the theoretical contact of the inhibitor's π-orbitals with the surface atoms orbitals. This interaction causes greater adsorption on the C-steel surface, resulting in film-protective corrosion [16]. Organic compounds containing N, O, S heteroatoms and π electrons in their molecules are extensively used in the protection of metals and alloys [17, 18] and are considered as effective corrosion inhibitors [19, 20]. It is noteworthy that a vast majority of these compounds e.g. pyridines, furans, imidazoles, thiophenes, isoxazoles, etc. have considerable similarity with the substructures of many of the commonly used drugs. This feature has prompted scientists across the globe to investigate the applicability of drugs as corrosion inhibitors. Bearing non-toxic characteristics and negligible negative environmental impact, drugs (chemical medicines) have emerged as suitable candidates to replace the conventionally used toxic corrosion inhibitors [21] (Table 1).

Table 1 Chemical structures, names, nature of metals and electrolytes, and maximum inhibition efficiencies of the drugs used as corrosion inhibitors for mild steel in acid solution

So, the goal of this study is to learn how these amide compounds (drugs) often influence corrosion protection of C-steel through data obtained from electrochemical and mass reduction tests, in addition to analyze the metal surface by several techniques (SEM, EDX and AFM).

2 Expermintal

2.1 Composition of carbon steel samples

We used: a—Working electrode manually made from cylindrical steel material (Table 2).

Table 2 Chemical conformation of C-steel

b—Carbon steel pieces: which have a rectangular design with an area 1 cm2.

2.2 Chemicals

a—HCl (BDH grade) b—amide derivatives recorded in Table 3

Table 3 Chemical structure of amide compounds [35, 36] which utilized as inhibitors

b—The inhibitors utilized with different doses ranged from 10 to 50 uM. 1000 uM stock solutions from the utilized inhibitors were prepared by dissolving the convenient weights (1 g) of used amides in bidistilled water, the other doses of amides (10–50 µM) were prepared by dilution with bidistilled water. All the materials utilized were of AR grade and used as received. The structure formulas of the examined inhibitors were given in Table 3.

2.3 Structure confirmation of amide compounds by Fourier transfer infrared spectroscopy (FTIR)

The confirmation and approval of the chemical composition for the amide compounds was performed by utilizing FTIR spectroscopy which taken by utilized Thermo Fisher Nicolet IS10, in the attendance of (KBr).

2.4 Mass reduction (MR) test

The standard method for assessing the rate of corrosion and inhibition efficiency (% IE) is a method of mass reduction in which the piece of metal with a scale of 2 cm2. “The samples are cut and polished as before, then we wash the samples with double distilled water, dried, and weighed, and put them in solutions prepared from different concentrations of amide compounds from 10 to 50 µM in a baker containing 1.0 M HCl and changing quantities of amide compounds for 3 h. This occurs in the attendance of 1.0 M HCl to compare with a sample that was placed in a solution of 1.0 M hydrochloric acid without added amide compounds. The samples are weighed, and then placed again in their solutions, then samples were taken away and handled following the process cleared in ASTM term G1-90 [37]. The temperature ranges from 30 to 500 C”. Shined well and was inserted in a baker containing 1.0 M HCl and changing quantities of amide compound inhibitors for 3 h).

2.5 Electrochemical tests

2.5.1 Potentiodynamic polarization (PP) measurements

The measurements shifted automatically of PP from − 700 to + 700 mV vsc. (Eocp). The measurement has been checked at a scan rate of 1 mVs − 1.

2.5.2 Electrochemical impedance spectroscopy (EIS) tests

All open-circuit tests with EIS performed the experiment by using AC signals ranging from 100 k Hz to 0.1 Hz with an amplitude of peaks 10 mV at OCP.

2.5.3 Electrochemical frequency modulation (EFM) tests

EFM experiment utilized the signal with a capacity of 10 mV through two sinus waves from 2 to 5 Hz, and the choice depends on three arguments. This technology is fast and not destructive. Corrosion current density (icorr), causal factors CF2 and CF3, and Tafel slopes (βa and βc) were determined through the higher peaks [38]. In electrochemical tests, the device utilized in the EFM methods was Gamry Potentiostat/Galvanostat/ZRA (PCI4-G750). Gamry includes DC105 DC corrosion program and EIS300 EIS program, the EFM140 for EFM program, as well as a computer for data collection. Echem Analyst version 5.5 was utilized to plot, calculate data.

2.6 Surface morphology

2.6.1 Fourier transfer infrared (FTIR) spectroscopy

FTIR utilized for determination the functional groups present in amide compounds after adding it at a higher concentration of 50 µM and after adding it in a solution of 1.0 M hydrochloric acid with C-steel metal coupon three hours, a FTIR analysis used through (FT/IR-4100typeASerial B117761016).

2.6.2 SEM–EDX analysis

the morphology of C-steel metal samples was tested before and after being dipping in 1.0 M hydrochloric acid in the existence and non-existence of amide compounds (50 uM) for 3 hours using Cu-tube (Cu Kal,1 = 1,54,051 Ao) with a Philips X-ray diffract meter (pw-1390). SEM, JOEL, JSM-T20, Japan.

2.6.3 Atomic force microscopy (AFM) analysis

AFM, technique was studied to obtain the morphological properties of the C-steel surface. This exam occurs in 1.0 M of HCl acid in the lack of amide compound drugs and in the existence of the maximum dose of amide compound drugs. AFM was carried out in contact mode utilizing fractions of a nanometer, more than 1000 times excellent than the optical diffraction limit.

2.7 Quantum calculations

Gaussian version 4.4.0 used density functional theory (DFT) [39] to measure the quantum chemical parameters and indexes.

2.8 Monte Carlo (MC) Simulation

MC simulations were achieved using Materials Studio 7.0 (Accelrys Inc., San Diego, “CA, USA) in a simulation box with periodic boundary conditions. A pure iron crystal was introduced and cleaved along the most stable (less energy) plane (110) constructing a 30 Å vacuum slab. The plane surface of Fe (110) has been relaxed by decreasing its energy; this step has been followed by extending the surface of Fe (110) to a super cell (10/10). The simulation analysis was performed in a test box containing the simulated corrosive species and one molecule of each inhibitor using the Monte Carlo quest and assigning the COMPASS force field known as a high-quality force field to combine parameters of inorganic and organic materials” [40].

3 Results data and discussion

3.1 MR test

The MR which calculated from Eq. 1 is as follows:

$$\Delta W = \frac{{W_{1} - W_{2} }}{a}$$
(1)

where W1, W2 the weights of the C-steel specimens earlier and later reaction with solution, respectively. The IE% was measured using Eq. 2:

$${\text{IE}}\% = \left[ {1{-}{\text{CR}}_{{{\text{inh}}}} ./{\text{CR}}_{{{\text{free}}}} } \right] \times 100$$
(2)

where CRfree and CRinh are the corrosion rates without and with inhibitors, respectively.

Figure 1 shows the calculated MR for C-steel in the attendance and absence of altered doses ranging from 10 to 50 uM for compound 1, similar curves gotten from other compound (not display). By increasing the temperature, the IE% was lowered, while corrosion rate (C.R) increased (Fig. 1) for amide compound (1) which is the best effect. The increased IE% with raised dose of amide compounds can be qualified to the creation of a layer of the inhibitors on the C-steel surface by adsorption. This layer is formed by the pairs of free electrons present on the oxygen and nitrogen atoms in the amide compound molecules as well as the π-electrons of the aromatic rings”[17]. Decrease in the IE% with a higher temperature (Table 4) may likely be due to increased rate of desorption meaning that is physical adsorption, the order of IE% was as follows: 1 > 2.

Fig.1
figure 1

Time-MR curves of C-steel in hydrochloric solution existence and absence of various doses of compound (1) at 30 °C

Table 4 (IE %) at various doses of amide compounds of C-steel at 30-50 oC temperature range for 180 min. immersion from MR test

3.2 Temperature influence on corrosion process

The important factor that determine the rate of reaction and the type of adsorption is activation energy E*a which can be calculated from Eq. (3):

$$Log\;C.R = logA - E_{a}^{ * } /2.303RT$$
(3)

where A Arrhenius constant. Arrhenius plots are illustrated in Fig. 2 [log (C.R) against 1/T], in which the energy of the activation is derived from the slopes of straight lines [ − E*a/2.303R]. “The analysis of the results was obtained in Table 5, it implies surface reaction dominates the overall activity, since the corrosion process (E*a) is over (20 kJ mol-1) and increase in the activation energy by increasing the dose of amide compounds. This increase is due to the adsorption nature of amide compounds on the C-steel and corresponds to the physical adsorption of the amide compound drugs [41]. Using the transitional state equation, the changes in entropy and enthalpy were calculated. The increase in activation enthalpy (ΔH*) and the increase in entropy (ΔS*) for C-steel corrosion in 1.0 M HCl were calculated using the following equation from the theory of transition state [42].

$${\text{Log}}\left( {{\text{C}}.{\text{R}}./{\text{T}}} \right) = [{\text{log}}\left( {{\text{R}}/{\text{Nh}}} \right) + {\text{DS}}_{a}^{*} /2.303{\text{R}}] - {\text{DH}}_{a}^{*} /2.303{\text{RT}}$$
(4)

where symbol "h" equal Planck's constant. Graph of log (C.R/T) versus (1/T) for unprotected C-steel at 1.0 M HCl and in the existence of amide compound inhibitors Fig. 3 includes straight lines with slope equal (− ΔH*/2.303R) and an intercept equal (log R/Nh—∆S*/2.303R) from which ΔH* and ΔS* data were calculated and defined in Table 6). Negative data of (ΔH*) on the C-steel surface, which in turn indicates that the reaction that occur in the dissolution process is exothermic and it is known that they can be applied to chemical adsorption and physical adsorption [43,44,45,46,47,48]. The mean values (ΔS*)” are high and negative; this implies that the activated complex is an interaction rather than a dissociation phase in the rate-determining stage.

Fig.2
figure 2

Log C.R versus 1/T of investigated amide inhibitors with concentration 50 µM and free sample at temperature range 30–50 °C

Table 5 Corrosion rate of investigated compounds and free sample at 180 min
Fig. 3
figure 3

Log (C.R/T) versus 1/T of investigated amide compound inhibitors with concentration 50 µM and free sample at temperature range 30–50 °C

Table 6 C-steel dissolution parameters when 50 µM of investigated amide compound inhibitors at 30–50 °C are absent and present

3.2.1 Adsorption isotherm behavior

Figure 4 shows the Cinh/θ relationship dependency for compound 1, as a result of the doses of amide inhibitors (Cinh) obeying Langmuir isotherm adsorption.

$${\text{C}}/{\text{q}} = 1/{\text{K}}_{{{\text{ads}}}} + {\text{C}}$$
(5)

where Kads is the equilibrium adsorption constant intricate in chemical reaction

$${\text{K}}_{{{\text{ads}}}} = \left( {1/55.5} \right) \times \exp \left( { - \Delta G_{{{\text{ads}}}}^{{\text{o}}} /{\text{RT}}} \right)$$
(6)
Fig. 4
figure 4

Langmuir isotherm adsorption of compound 1 at various temperatures on a C-steel at 1 M HCl

In which − ΔGoads the regular free adsorbent, 55.5 dosage of molar water in solution. Data pattern showed that the negative sign of ΔGoads owing to the spontaneous adsorption on the metal surface [49]

Table 7 shows the adsorption parameters for the obtained amide inhibitors. the results obtained from free energy confirm that the type of adsorption incident is physical and chemical adsorption as it is known that negative values when they are higher than 20 kJ/mol and lower than 40 kJ/mol, using the next equation, the determined (− ΔH0ads) and (− ΔS0ads):

$$\Delta {\text{G}}^{0}_{{{\text{ads}}}} = \, \Delta {\text{H}}^{0}_{{{\text{ads}}}} - {\text{T}}\Delta {\text{S}}^{0}_{{{\text{ads}}}} .$$
(7)
Table 7 Kinetic parameters of investigated compounds as a function of temperature for C- steel dissolution at 1 M HCl

and this by plotting ΔG0ads against T to find these data [(− ΔH0ads) and (− ΔS0ads)] Fig. 5. The value of enthalpy is negative, which means that adsorption molecules are exothermic [50]. The values ΔH0ads are less than 100 kJ/mol, representative that the physisorption.

Fig. 5
figure 5

ΔGoads versus T diagrams obtain from Langmuir

3.3 Electrochemical measurements

3.3.1 PP measurement

The influence of investigated compounds on the corrosion and inhibition of carbon steel in 1 M HCl solutions was studied. Figures 6 and 7 show the PP curves of carbon steel in uninhibited and inhibited solutions by various doses of the used amide compounds. The various electrochemical corrosion parameters and the IE% estimated using Eq. (7). Values of polarization parameters; corrosion potential Ecorr, Tafel slopes, βc, βa, (are measure of the symmetry of the activation barrier for the cathodic and anodic reaction) and corrosion current density (Icorr) as well as IE%, θ are listed in Table 8. The shape of the cathodic and anodic curves did not change much with the addition of these compounds, but βc is slightly higher than βa, and this suggests that the used inhibitors affect both cathodic and anodic processes (mixed one), with predominant cathodic effect. Ecorr values showed a slight shift towards cathodic regions with the addition of the various doses of amides, suggesting that the effect of amides is more pronounced on the cathodic process. In the previous studies [51, 52] if the minimum shift in Ecorr was ± 85 mV, the inhibitor is considered as cathodic or anodic type. In the present study, the maximum shift was 50–62 mV for the two compounds, indicating that the utilized amide compounds are mixed-type inhibitors. The cathodic curves are almost having parallel Tafel lines. This indicates that in the presence of these compounds there is no modification in the mechanism of H2 evolution, and the inhibitor molecules only block the active sites of hydrogen evolution by adsorption on steel surface. In the case of anodic parts of the curves, the anodic reaction of corrosion is markedly suppressed in the presence of inhibitors, but there is stronger inhibitive effect on the cathodic reaction (Table 8) than on the anodic one. The data in Table 8 indicate that the Icorr is reduced as the inhibitor does increase and hence, IE% increased and show reasonable agreement with the results obtained by other techniques.

Fig. 6
figure 6

Polarization curves for the dissolution of C-steel in 1.0 M HCl in the presence and absence of various doses of compound (1)

Fig. 7
figure 7

PP diagrams for the dissolution of C-steel in 1.0 M HCl where various amounts of compound 2 are absent and present

Table 8 Effect of compounds 1&2 doses on (Ecorr), (icorr), (βc, βa), (ϴ) and (IE %) of C-steel in 1 M of HCl at 30 oC

3.3.2 Electrochemical impedance spectroscopy (EIS) tests


Figures 8 and 9 show C-steel Nyquist and Bode diagrams, given at OCP both existence and nonexistence of altered doses of amide compound (1) at 30 °C, respectively. Similar curves for amide compound (2), not displayed. “The impedance spectra show that the diameter increases as the dose of amide studied rises. The interfacial capacitance Cdl values can be estimated from CPE parameter (Y0 and n) is defined in Eq. 8:

$$C_{dl} = Y_{0} \left( {\omega_{max} } \right)^{n - 1}$$
(8)

where Y0 is a proportional factor while n is the CPE exponent which can be explained as a degree of surface inhomogeneity (− 1 < n < 1). When n = 0, CPE represents a resistance, when n = 1 a capacitance, when n = − 1, an inductance and when n = 0.5, a Warburg impedance. In our study, values of n with and without amides range from 0.836 to 0.798. The deviation from unity (ideal capacitive behavior) is due to the presence of surface inhomogeneity and surface roughness [53]. Using Eq. 8. “The obtained diagrams for different inhibited solutions by amide compounds are very similar for that recorded in the absence of amide, this indicates that the interface mechanism is no modified [43, 54, 55]. They present a single depressed capacitive semi-circle. The impedance parameters obtained by fitting the EIS data Fig. 10 by equivalent circuit using Zview software, containing the electrolyte resistance (Rs), the charge transfer resistance (Rct) and the constant phase element (CPE). Table 9 lists the values of parameters like Rs, Rct, n, Yo by EIS fitting as well as the derived parameters Cdl and IE%. The data of Table 9 demonstrate the data of Rct increase with raising the dose of the amide compounds and this pointed to the rise in IE%”. This might be because of the rise of the thickness of the adsorbed layer by raising the amide compound doses, indicating that the recovery of the metal surface is performed by the adsorption of amide molecules. The increased surface smoothness in presence of amides can also be supported by Bode plots. One can see from Bode plots with and without inhibitor that the deviation from ideal capacitive behavior is more effective in the absence of inhibitor. The slope of the phase angle values increased significantly in presence of inhibitor owing to the formation of a protective film. Moreover, the increased values of phase angles are more effective at high inhibitor dose. The decrease in Cdl with rise of amide dose, this behavior can be due to a rise in the thickness of the double layer and/or a diminution in local dielectric constant, this variation explained the inhibitor molecule function by adsorption at electrode/solution interface [44]. The % IE and the (θ) from the impedance tests were obtained by:

$$\% IE = \theta \times 100 = \left[ { 1 - \frac{{R_{p}^{o} }}{{R_{p} }}} \right] \times 100$$
(9)
Fig. 8
figure 8

The Nyquist diagrams for the dissolution of C-steel in 1 M HCl in the presence and absence of altered doses of amide compound (1) at 30 °C

Fig. 9
figure 9

The Bode diagrams for the dissolution of C-steel in 1 M HCl in the presence and absence of altered doses of amide compound (1) at 30 °C

Fig. 10
figure 10

Equivalent circuit model represents the metal /solution interface

Table 9 EIS parameters for the for the dissolution of C-steel in 1 M HCl in the attendee and lack of altered dosage of investigated amide compound drug at 30 °C

where R°p and Rp are the resistances unprotected and protected amide, individually.

It is observed that in the Bode plots in the presence of compound (1) there is an increase in the low frequency impedance modulus, which indicates the adsorption of compound (1) and improving corrosion resistance of C-steel. The increase of phase angle in the presence of compound (1) i.e. approaching towards -90o indicates that there is only one-time constant and is related to electrical double layer formation at surface/solution interface [45].

3.3.3 Electrochemical frequency modulation (EFM) measurements

The tests of the EFM procedure demonstrated good agreement with the Tafel system of extrapolation for the rate of corrosion achieved [46]. “Fig. 11, indicates the EFM of C-steel in 1 M HCl solution and altered dose of amide (1). Similar spectra for amide (2), not display. The EFM parameters such as (CF-2 and CF-3), (βc and βa) and (icorr) can be measured from the higher current peaks. Table 10 describes the measured parameters of kinetic corrosion at various dose of the studied amide compound drugs at 1 M HCl at 30 °C. The current corrosion densities reduction by raising the dose of the investigated amide drugs, as well as increasing the inhibition efficiency”. Using this technique, the following was extracted: With an increased concentration of amide compound drugs, there is a noticeable lowered in the intensity of the corrosion current and a clear increase in the %IE.

Fig. 11
figure 11

EFM diagrams for the dissolution of C-steel in 1 M HCl in the attendee and absence of altered doses of amide compound (1) at 30 °C

Table 10 EFM data for the corrosion of C-steel in 1 M HCl in the attendee and absence of altered doses of amide compound (1) at 30 °C

3.4 Scanning electron microscope (SEM) analysis

SEM micrographs obtained for C-steel samples with and without 50 µM of investigated compounds are shown in Fig. 12.The blank image reveals a very rough and highly corroded surface in the absence of investigated compounds [47]. As can see from images in presence of compounds 1 and 2, the damage of the steel surface has diminished in the presence of inhibitors and rough, corroded steel surface displaces to much smooth.

Fig. 12
figure 12

Micrographs of samples with and without inhibitors

3.5 Energy dispersion spectroscopy (EDX) analysis

The EDX were utilized to test the elements existence on the surface of C-steel with and without the 50 µM amide compounds shown in Fig. 13. In the blank diagram, the absence of oxygen peak, which reveals the dissolution of oxide layer. But in the presence of inhibitors an additional peak of oxygen from the inhibitors is observed, which confirms there is adsorption.

Fig. 13
figure 13

EDX spectra of c-steel samples without and with inhibitors

3.6 AFM tests

AFM in Fig. 14 measured the surface roughness of C-steel in 1.0 M HCl, attendance and absence of 50 µM. Where, (a) blank, (b) C-steel with compound (1) 50 uM and compound (2) 50 µM C-steel [47]. The degree of roughness was shown in Table 11. As shown from the Table the surface became more smoother in presence of the extract than in its absence, due to the formation of a protective layer on metal surface and compound (1) became more smoother than compound (2).

Fig. 14
figure 14

3D AFM images of C-steel samples surface with and without inhibitors

Table 11 AFM data for C-steel in 1.0 M HCl and with 50 uM of compound 1 and 2

3.7 FT-IR analysis

Figure 15 represents the FTIR of pure Niclosamide and Dichlorphenamide compounds. The frequency worth of C=O stretch at 1789 cm-1. “The band at 1634 like C=C stretch. The band at 1556 is like N–H bend for amide. The band at 1391 cm-1 is like –CH (CH3)2 for Alkyls [1]. The band at 1426 cm-1 is like =C–O–C sym. for Alkyls [1]. The band at 1145 cm-1 is like C–O stretch [1]. The band at 365 cm-1 is like C–Cl stretch [1]. Figure 16 shows the FT–IR spectra of pure Dichlorphenamide compound. The stretching –OH– frequency appears at 3435 cm-1, the stretching C=O frequencies appear at 1690”, the bending –(CH3)3 frequency appears at 1350 cm-1, the bending C–O frequency appears at 1178 cm-1 and 1114 cm-1, the stretching S=O frequencies appear at 1038, the bending C–Cl frequency appears at 897 cm-1, the bending ≡C–H bend frequency appears at 650.

Fig. 15
figure 15

FT-IR spectrum of compound (1)

Fig. 16
figure 16

FT-IR spectrum of compound (2)

3.8 Quantum chemical calculations

Figure 17 represents the frontier molecular orbital density distribution for compound (1) and compound (2) (HOMO and LUMO). From density functional theory, the energy of EHOMO and ELUMO has important roles in predicting the adsorption centers in inhibitor molecules, as EHOMO values increase as electron donation of inhibitor molecules to empty metal d-orbitals and adsorption increases, but the lower values of ELUMO the easier to inhibitor to accept an electron from a metal surface. The gap in the energy band (ΔE = ELUMO − EHOMO), which is the energy to eliminate an electron from the last orbital occupied, influence the efficiency of inhibition. The higher ΔE values of an inhibitor, the lower its efficiency because the ionization potential will be high, and the energy required to eliminate an electron from the outer occupied orbital will be high [56]. EHOMO values are in the order compound (1) > compound (2) which suggest the electron donation of compound (1) is the highest and so adsorb on CS surface to great extent, but ELUMO values are in reverse order. When the global hardness increases, the reactivity increases and so decreases the inhibition ability inhibitor. The results show that the compound (1) has lower value of the hardness (ƞ) value. On the other hand, X values will decrease when increasing the inhibition effectiveness. The values of (X) and (σ) softness of the inhibitor are recorded in Table 12. It is well-known that hard compounds possess a large HOMO–LUMO gap [57] and metals and it’s alloys are known as soft acids so effective metal inhibitors should be as soft bases. So, compound (1) which possess the lowest ∆E (highest softness) possess the highest value of inhibition efficiency [58, 59]. The (μ) calculated the polarity with the covalent bond between the compounds studied. It is accepted that the high μ values improve the adsorption tendency on metal surface of the compounds tested, so, compound (1) > compound (2) (Table 12).

Fig. 17
figure 17

The frontier molecular orbital density distribution for LMAEO-30 and LMAEO-9 investigated surfactants (HOMO and LUMO)

Table 12 Quantum parameters for the studied comp. (1) and comp. (2)

3.9 Monte Carlo (MC) simulation

The side and top observations of the most suitable adsorption formations for the amide unprotonated compounds and protonated tested on the C-steel surface obtained from the adsorption locator module are thus shown in Figs. 18 and 19 respectively. Adsorption energy is characterized as declining energy, when two materials are mixed during the adsorption process in which an electron, ion or molecule (adsorbent) is bound to the solid surface. As seen in Tables 13 and 14 compound (1) has higher energy for adsorption relative to compound (2), which predicts the heavy adsorption of compound (1) Niclosamide on the hardened surface of C-steel creating adsorbed stable layers which protecting the C-steel from corrosion. Compound (1) > compound (2).

Fig. 18
figure 18

The most appropriate conformation for adsorption of the compound (1) Niclosamide and compound (2) Dichlorphenamide molecules on Fe (110)

Fig. 19
figure 19

The most appropriate conformation for adsorption of the protonated comp. (1) Niclosamide and comp. (2) Dichlorphenamide molecules on Fe (110)

Table 13 Results and descriptors measured by the Monte Carlo simulation for adsorption of amide compounds molecules on iron (110)
Table 14 Results and descriptors measured by the Monte Carlo simulation for adsorption of protonated amide compound molecules on iron (110)

3.9.1 Mechanism of corrosion inhibition

Inhibition of C-steel corrosion by investigated compounds is mainly due to its adsorption physically or chemically on the metal surface by replacing H2O molecules from the steel surface and creating a compact barrier film [60]. In case of physical adsorption, electrostatic interaction occurs between charges metal surface and charged inhibitor molecules. While in chemical adsorption, pair electron on the heteroatoms (N, O), π-electron of multiple bonds as well as phenyl group with vacant d-orbitals of iron [61, 62]. As in present case the values of ΔGoads are ranging between 25.6 and 27.2 kJ mol-1, which indicates that investigated compound molecules are adsorbed by combination of both physical and chemical. It is known experimentally that steel surface is positively charged in acidic solutions, so, initially Cl– ions may get adsorbed on positively charged steel surface (Fig. 20), and then adsorption of the protonated inhibitor molecules occurs via electrostatic attraction (physical adsorption). But at the same time lone pair of electrons on heteroatoms, π-electron of benzene ring are donated to 3d-orbitals of iron atoms. (Chemical adsorption). Also, the filled 4S-orbitals can give their electrons to LUMO of the inhibitor’s molecules via reterodonation. Niclosamide (comp. 1) > Dichlorphenamide (comp.2) in inhibition efficiency as recorded in all test methods and in the theoretical calculations also, this due to: a) larger molecular size which cover more surface area 2) It contains two benzene rings.

Fig. 20
figure 20

Mechanism of corrosion inhibition

4 Conclusions

The amide compounds investigated have a high inhibition efficiency ranging from 96 and 97% at 50 µM based on measurements of MR as it gives linear variation of MR over time. %IE increased with amide compounds dose. PP measurements show that these investigated compounds inhibited the corrosion process by means of mixed-type inhibition, affecting both hydrogen evolution and metal dissolution. EIS revealed that these compounds inhibited the corrosion process by adsorption on the metal/solution interface. The investigated compounds adsorbed mainly physically on C-steel surface and obeyed Langmuir isotherm. DFT-based quantum chemical computation of parameters of investigated compounds confirmed their inhibiting potential, which was further corroborated by molecular dynamic modeling of these compounds onto the metal surface.