Introduction

Many metals and alloys used in different human activities are susceptible to corrosion due to their exposure to different corrosive media. Among these, mild steel is very important since it is widely employed in industry because of its low cost and availability. Corrosion problems are usually connected with operating problems and equipment maintenance and failure resulting in severe economic losses. Corrosion of metals costs the U.S. economy almost $276 billion on an annual basis.

Although phosphoric acid (H3PO4) is classified as a medium-strong acid, it causes severe damage to ferrous alloys [1]. The protection of metals against corrosion by H3PO4 has been the subject of much study since it is widely used in the production of fertilizers. Ammonium phosphate fertilizers usually formed in a reaction between phosphoric acid and ammonia. Other fertilizer, namely, urea pellets was prepared by the addition of 0.45% methylurea or 2.44% thiourea + 13% asphalt-microcrystalline wax blend usually used for improving efficiency of urea fertilizers by inhibition of soil urease activity [2, 3]. H3PO4 is also used in surface treatment of steels such as chemical and electrolytic polishing or etching, chemical coloring, removal of oxide films, phosphating, passivating, and surface cleaning [4,5,6]. The use of inhibitors is one of the most practical methods of preventing corrosion, especially in acidic media [7]. Since the degree of protection of a metal is a function of adsorption, the investigation of the relation between corrosion inhibition and adsorption is of great importance [8]. The adsorption behavior of inhibitor molecules on metal surfaces would be affected by their molecular structure, surface state and surface excess charge of metal [9]. Most of the well-known acid inhibitors are organic compounds containing heteroatoms such as nitrogen, sulfur and oxygen atoms which act as better corrosion inhibitors [10]. Many studies have been carried out to examine the effect of thiourea and methylthiourea on the corrosion of mild steel in sulfuric [11,12,13,14,15,16]), hydrochloric [17, 18] and nitric [19] acid solutions since phosphoric acid is used for the synthesis of phosphate fertilizers. In addition, urea pellets fertilizers include thiourea (TU) and methylthiourea (MTU) as raw materials. Therefore, it is worth to investigate the effect of TU and MTU on the corrosion of mild steel in 0.5 M H3PO4.

Experimental

Solution Preparation

0.5 M H3PO4 solutions were prepared by the dilution of concentrated acids, purchased from Sigma-Aldrich, with distilled water. The inhibitors used were thiourea (TU) and N-methylthiourea (MTU) in the concentration range 8 × 10−5 to 1 × 10−3 M, Fig. 1.

Fig. 1
figure 1

The chemical structure of (a) thiourea (TU) and (b) methylthiourea (MTU)

Electrochemical Studies

Electrochemical impedance spectroscopy (EIS) and potentiodynamic polarization curve measurements were achieved using a frequency response analyzer/potentiostat supplied from ACM Instruments (UK). The material used for constructing the working electrode was mild steel of the following composition (wt.%) C: 0.164, N: 0.019, Si: 0.260, S: 0.0005, Ni: 0.123, Cu: 0.173, Al: 0.116, Co: 0.012, Sn: 0.043, Zn: 0.024, Fe: 96.2. Details of the used experimental techniques were identical to those described previously [19].

Quantum Chemical Calculations

Quantum chemical calculation was utilized to investigate the corrosion inhibition mechanism using semi-empirical method PM3 within ‘‘Molecular Orbital Package’’ (MOPAC) program. The calculations were carried out by using CS ChemOffice 2004, CHEM 3D Ultra-Molecular modeling and analysis-Cambridge soft-version 8, supplied by Cambridge Software Company.

Results and Discussion

Potentiodynamic Polarization Data Measurements

Figure 2 shows that MTU behaves as a mixed type inhibitor since it shifts the anodic and cathodic parts of the polarization curves to a lower current values. Similar observations were recorded for TU.

Fig. 2
figure 2

Potentiodynamic polarization curves of mild steel in 0.5 M H3PO4 in the absence and the presence of different concentrations of MTU

The potentiodynamic polarization parameters together with the inhibition efficiency (%η) are presented in Table 1. %η was calculated using the relation:

$$ \% \eta = \left[ {{{\left( {i_{\text{o}} {-}i_{\text{inh}} } \right)} \mathord{\left/ {\vphantom {{\left( {i_{\text{o}} {-}i_{\text{inh}} } \right)} {i_{\text{o}} }}} \right. \kern-0pt} {i_{\text{o}} }}} \right] \times 100 $$

where io and iinh represent the corrosion current density values in the absence and the presence of the inhibitor, respectively.

Table 1 The electrochemical polarization parameters for the corrosion of mild steel in 0.5 M H3PO4 solutions in the absence and the presence of different concentrations of TU and MTU at 30 °C

Table 1 illustrates that %η increases with increasing TU or MTU concentrations. Moreover, the %η of MTU is higher that of TU, reaching 91 and 72% at 1 × 10−3 M of MTU and TU, respectively. The cathodic and anodic Tafel lines slope, βa and βc, show slight variations confirming that the inhibition occurs by simple geometric blocking of the active sites, and the anodic and cathodic reaction mechanisms are not affected [20, 21].

Electrochemical Impedance Spectroscopy Results

Figure 3 shows that the impedance response consisted of depressed capacitive semicircles indicating that the corrosion process occurs under activation control [22]. The depression of the semicircles is attributed to the roughness and inhomogeneous nature of the electrode surface [23].

Fig. 3
figure 3

Nyquist plots for mild steel in 0.5 M H3PO4 in the absence and presence of different concentrations of MTU at 30 °C

The diameter of the capacitive loop increases with increasing MTU concentrations, indicating that MTU is adsorbed on the electrode surface and thereby produces a barrier, which inhibits corrosion [24].

The analysis of the impedance plots was made by fitting to the equivalent circuit shown in Fig. 4. The constant phase element, CPE, is composed of a non-ideal double layer capacitance component Qdl and a coefficient “n”. The parameter “n” quantifies different physical phenomena like surface inhomogeneity resulting from surface roughness [25].

Fig. 4
figure 4

Equivalent circuit used to fit the capacitive loop

The electrochemical impedance parameters of Rs, Rct, Qdl together with %η were obtained and are presented in Table 2. The inhibition efficiency (%η) was calculated using the relation:

$$ \% \eta = \left[ {{{\left( {R_{\text{ct}} {-}R_{\text{cto}} } \right)} \mathord{\left/ {\vphantom {{\left( {R_{\text{ct}} {-}R_{\text{cto}} } \right)} {R_{\text{ct}} }}} \right. \kern-0pt} {R_{\text{ct}} }}} \right] \times 100 $$

where Rcto and Rct represent the charge transfer resistance in the absence and the presence of inhibitor, respectively.

Table 2 Electrochemical impedance parameters for the corrosion of mild steel in 0.5 M H3PO4 solutions containing different concentrations of TU and MTU at 30 °C

Table 2 shows that the values of Rct increase, while the Qdl values decrease with increasing the concentration of TU and MTU. The decrease in Qdl values is due to the decrease in the local dielectric constant or an increase in the thickness of the electrical double layer, indicating that inhibitor molecules act by adsorption at the solution interface [26]. The high value of the solution resistance, Rs, is due to the formation of iron phosphate film. The %η values are in good agreement with that obtained from polarization curve measurements.

Adsorption Considerations

To discuss adsorption isotherms, the degrees of surface coverage values were obtained from AC impedance measurements using equation (θ = %η/100). Langmuir, Kinetic-Thermodynamic model, Florry–Huggins, and Temkin isotherms were used to test the adsorption behavior of TU and MTU [27,28,29]. The parameters obtained from the fitting are depicted in Table 3.

Table 3 Linear fitting parameters of the TU and MTU inhibitors, according to above-mentioned models in 0.5 M H3PO4 at 30 °C

It was found that for TU, the experimental data do not fit the Langmuir adsorption isotherm. Such observation indicates the non-ideal adsorption behavior of TU at mild steel surface. However, the experimental data for MTU fit all the applied isotherms.

The values of correlation coefficient (R2) were used to judge the best-fit isotherm. In the present study, the strong correlation (R2 > 0.98) suggests that the adsorption of TU and MTU obeyed kinetic-thermodynamic model, Florry–Huggins, and Temkin isotherm.

Different information is obtained from each isotherm. In the case of MTU, the number of active sites occupied by a single inhibitor molecule, 1/y, was nearly equal to the size parameter x, number of absorbed water molecules substituted by a given MTU molecule. This indicates that the MTU inhibitor and water molecules are of similar size [30]. However, TU with 1/y < 1 indicating that TU does not occupy a complete active site. It is also evident from the Temkin isotherm that positive values of the adsorption parameter (f) suggest the occurrence of mutual repulsion of molecules [31, 32]. This is confirmed by the values of attractive parameter (a) of Temkin which are negative in both inhibitors, indicating that repulsion exists in the adsorption layers [33]. The larger magnitude of binding constant K for MTU (obtained from the three models) indicates a stronger interaction between the metal surface and MTU in phosphoric acid media than that of TU [30]. Such improvement of K value of MTU compared to that of TU is attributed to its molecular structure and geometry.

Thermodynamics and Activation Parameters

The thermodynamic parameters for dissolution of mild steel in 0.5 M H3PO4 in the absence and presence of 1 × 10−3 M of TU and MTU were obtained from the Arrhenius equation and the transition state equation [34]. The corrosion rates were taken as the corrosion currents (icorr) which were obtained from the potentiodynamic polarization curves of steel in 0.5 M phosphoric acid at different temperatures. Figure 5 indicates that increasing temperature affects both cathodic and anodic parts of the polarization curves in 0.5 M H3PO4 in the presence of MTU.

Fig. 5
figure 5

Potentiodynamic polarization curves for mild steel in 0.5 M H3PO4 in the presence of 1 × 10−3M MTU at different temperatures

The activation parameters were calculated and presented in Table 4. The change in the free energy of activation (ΔG*) of the corrosion process is calculated at 303 K by applying the equation:

$$ \Delta G^* = \Delta H^* - T\Delta S^*. $$
Table 4 Kinetic and adsorption parameters of mild steel in 0.5 M H3PO4 in the presence and absence of 1 × 10−3 M TU and MTU at 30 °C

The binding constant of adsorption, K, is related to the free energy of adsorption (ΔGads), with the following equation [31]:

$$ K = 1/55.5{\text{ e}}^{{\left( { - \Delta G_{{\rm ads}}/RT} \right)}} $$

where R is the molar gas constant, T is the absolute temperature in Kelvin, and 55.5 is the concentration of water at the metal/solution interface expressed in molar. ΔGads values were obtained by using the values of K obtained from the kinetic—thermodynamic model.

Table 4 illustrates that the values of apparent activation energy, Ea, enthalpy of activation, ΔH*, and ΔG* for MTU are larger than that of TU. The positive values of ΔH* indicate that the formation of the activated complex is an endothermic process. The negative value of ΔS* implies that the activated complex represents an association rather than a dissociation step. However, the values of ΔS* were found to decrease upon the addition of the TU or MTU. This means that an increase in disordering takes place on going from reactants to the activated complex in the presence of the inhibitor [35,36,37]. The negative values of the ΔGads reflect the spontaneity of the adsorption process of both TU and MTU and the stability of the adsorbed layer on the mild steel surface.

Generally, values of ΔGads up to − 20 kJ mol−1 are consistent with electrostatic interactions between the charged molecules and the metal (physisorption), while those around − 40 kJ mol−1 or higher are associated with chemisorption [38]. The ΔGads value of TU is − 40 kJ mol−1 indicates chemisorption as a result of sharing or transfer of electron pair or π electrons from TU molecules to the metal surface to form a coordinate type of bond (chemisorption) The ΔGads value of MTU is − 34 kJ mol−1 indicates that the adsorption is not merely physisorption or chemisorption but obeying a comprehensive adsorption mechanism (physicochemical adsorption).

Chemical Quantum Studies

Quantum chemical calculations have been proven to be useful in studying the relationship between the molecular structure of the corrosion inhibitor and its inhibition effect. The chemical quantum parameters of TU and MTU were calculated and are given in Table 5 [39, 40].

Table 5 Chemical quantum parameters of TU and MTU

The absolute electronegativities (χ) of TU and MTU are lower than that obtained from Lukovits’s study for iron (7 eV) [41]. Therefore, electrons move from the TU or MTU toward the steel surface until the equilibrium in chemical potential is obtained. This favors chemical adsorption of the inhibitors on the electrode surface.

The ionization potential (I) and energy of higher occupied molecular orbital, EHOMO is often associated with the capacity of a molecule to donate electrons (I = − EHOMO). High values of (I) indicate a tendency of the molecule to donate electrons to appropriate acceptor molecules with low energy unoccupied molecular orbital, ELUMO [42, 43]. The value of ΔE provides a measure for the stability of the formed complex on the metal surface [44]. The lower ΔE value of MTU than that of TU indicates that MTU is more stable than TU since it adsorbed through physicochemical mechanism, whereas TU adsorbed via a chemical mechanism only.

Conclusion

TU and MTU inhibit the corrosion of the mild steel in 0.5 M H3PO4. The efficiencies of the inhibitors in phosphoric acid are dependent on the concentration of the inhibitors and temperature. With the same concentration of the inhibitors, MTU was found to be more efficient than TU, showing 95% at 1 × 10−3 M. The success of MTU as inhibitor in similar industrial applications, and its cost, safety, and environmental advantages could be a subject of a further study.