Introduction

Mild steel is widely used in many areas as structural material, in the automotive industry, in pipes, and in the chemical industries [1,2,3,4,5]. But this steel undergoes severe corrosion when pickling with hydrochloric acid and/or sulfuric acid, hence the necessity of protecting it against this phenomenon using an inhibitor in order to reduce this degradation [6,7,8]. It is demonstrated that molecules containing heteroatoms such as oxygen, nitrogen, sulphur, or π-conjugated bonds have a corrosion-proofing efficiency in an acid medium [9,10,11]. Several synthetic compounds have shown good corrosion inhibition, but most of them are toxic to humans and the environment [12, 13], hence the expansion in recent years of the use of plant extracts in the field of corrosion thanks to the global awareness of the protection of the environment [14,15,16]. These extracts do not present a great danger to the fauna and the flora and can lead to protection against corrosion quite effective [17,18,19]. They have advantages over chemicals because of their natural state, their low cost, their accessibility, and most importantly they are quite biodegradable. There are many studies on extracts used as corrosion inhibitors [20, 21].

According to Fennane and Rejdali [22] and Tagnaout et al [23] plants of the genus Origanum are widely used in the field of medicine, cosmetics and culinary uses, plants of the Lamiacea family are composed of flavonoids, tannins and polyphenols which are essentially composed of aromatic rings and oxygen atoms that can adsorb to the metal surface and thus inhibit corrosion.

The Origanum elongatum Emb. and Maire (F/ Lamiacea) was harvested in "Targuist" in the Rif in the north of Morocco (34°57' North 4°18' West), The composition of the essential oil of the same Origanum was inspected by Oualili et al [24] where they found a composition of 3 main compounds: carvacrol , para-cymene , and γ-terpinene.

The O. elongatum has been studied by some authors, A. Amakran et al studied the effect of essential oil from the aerial parts of O. elongatum for in vitro anti-Candida, anti-Aspergillus and anti-Rhizopus activities [25], Ramzi et al [26] conducted a study of the essential oil of O. elongatum on the acaricidal activity against Varroa destructor, In our latest work [27], we investigated the corrosion inhibitory effect of the same extract (OEE) in a 1N H2SO4 medium, which showed an inhibitory efficiency of about 77.44% at a concentration of 1 g/L.

The aim of this work is to test the inhibitory capacity against corrosion extract of O. elongatum Emb. and Maire in HCl (1N), and this by the use of three different methods: Weight loss measurements, impedance spectroscopy and linear polarization; then a fractionation was carried out, leading to three separate fractions which were themselves tested against corrosion by the weight loss measurements.

Experimental

Extraction and Fractionation Method

Crude Extract

After harvesting, the plant (leaves and flowers) was dried at room temperature and then ground, the powder obtained was then macerated in a mixture of solvent MeOH/CHCl3 (2/1, v/v) for 24 hours, the residue underwent a second maceration under the same conditions as the first, the filtrates were pooled and concentrated by evaporation of the solvents and freeze drying. The OEE was kept in a desiccator. The OEE was diluted in 1N HCl and diluted to the desired concentrations.

Subfractions

Thin layer chromatography was performed on the OEE extract in order to group fractions with the same chromatographic profile using a silica gel plate (pre-coated TLC plate, type SIL G 25 UV 254, size 20x20 cm), The elution was performed with three successive solvents: 1) CHCl3/MeOH/H2O (60.79/32.35/6.86; v/v/v), 2) CHCl3/MeOH/H2O (60.79/32.35/6.86; v/v/v)/ 70% EtOH (50/50; v/v), 3) 70% EtOH, the visualisation was carried out by spraying with a mixture containing H2SO4/MeOH (50/50, v/v) followed by steaming at 110 °C for 10 min.

Three large fractions were found which were then pooled and freeze-dried.

Weight Loss Measurements

Carbon steel specimens of the following chemical composition (wt.%) were used in the experiment: 0.38 per cent (C), 0.23 per cent (Si), 0,68 per cent (Mn), 0,01 per cent (P), 0,02 per cent (S) and the remainder iron, were used in the studies. Gravimetric method is the simplest and reliable method for the determination of inhibition efficiency. The mild steel sheets of 4cm×1cm×0,1cm were polished with a series of abrasive paper (quality 320-500-800) and cleaned with triple distilled water, leached with acetone, and then dried at room temperature. After accurate weighing, the samples were placed in a flask containing 30 ml of 1N hydrochloric acid with and without different concentrations of extract. After 6h at different temperatures, the samples were removed. To eliminate the corrosion product in an efficient way, a mechanical cleaning was carried out on the samples, based on ASTM-G1-90 (Standard Practice for Preparing, Cleaning, and Evaluation Corrosion Test Specimens), by brushing the specimens with a non-metallic bristle brush, then washed, dried, and weighed accurately using a digital balance (accuracy ± 0.1 mg), the experiments were performed three times. The average weight loss of three samples was used for the following calculations. The same procedure has been used for tests carried out at different temperatures and 1N HCl concentration and mass loss was expressed in gram and corrosion rate in g.cm-2.h-1. The corrosion rate Cr (g.cm-2.h-1) is calculated from [28]:

$$ C_{r} = \frac{{W_{0} - W}}{S \times t} $$
(1)

where \(W0\) is the initial weight before immersion, and \(W\) the final weight after the corrosion test, respectively, S is the total exposed surface of the specimens, t is exposure time. The percentage protection efficiency (%E) of extract was calculated by applying the following relation [29]:

$$ \% E = (1 - \frac{{C_{r} }}{{C_{r}^{0} }}) \times 100 $$
(2)

where \(C_{r}^{0}\) and \(C_{r}\) are the values of corrosion rate without and with inhibitor, respectively.

Electrochemical Measurements

A three-electrode cell was used with a carbon steel (WE) working electrode, a platinum counter electrode (CE) and a saturated calomel reference electrode (SCE). The working electrode (WE) was coated with an epoxy resin to expose a sample surface area of 1 cm2. The equipment used is EC-Lab SP200 Research Grad model/galvanostat/FRA. The data were analysed using the EC-Lab software. The polarization curves were recorded using a three-electrode system. Firstly, the working electrode is introduced into the test solution to establish the open circuit potential (Eocp) for 30 minutes. After measuring the open circuit potential, potentiodynamic polarization curves were obtained with a sweep rate of 1 mV.s-1 in the potential range between ±10 V and Eocp. The density of the corrosion current (jcorr) was obtained by extrapolation of the anodic and cathodic Tafel to the corrosion potential. Inhibition Efficiency %E is defined as follows [30]:

$$ \% E = (1 - \frac{{j_{corr} }}{{j_{corr}^{0} }}) \times 100 $$
(3)

where: \(j_{corr}\) and \(j_{corr}^{0}\) represent respectively the corrosion current density with and without the inhibitor.

Electrochemical impedance spectroscopy (EIS) was performed at open-circuit potential (Eocp) in a frequency range from 100 kHz to 10 mHz, with a signal amplitude perturbation of 10 mV. The inhibition efficiency %E is estimated using the following relationship [31]:

$$ \% E = (1 - \frac{{R_{corr}^{0} }}{{R_{corr} }}) \times 100 $$
(4)

where: \(R_{corr}^{0}\) and \(R_{corr}\), respectively represent the charge transfer resistance without and with the inhibitor.

Cyclic voltammograms (CV) were obtained by automatically changing the electrode potential from -1.2 to 1.2 V relative to the potential of the reference electrode (EECS) at a rate of potential scanning of 50 mV.s-1.

Fourier-Transform Infrared Spectroscopy (FTIR)

The FTIR fractions of the Crude extract and fractions were performed using a SHIMADZU FT-IR 8400S spectrometer with a Smart iTR Attachment and diamond attenuated Total Reflectance (ATR) crystal in range 500–4000 cm−1.

Results and Discussion

Weight Loss Studies

The values of the corrosion rate Cr (g.cm-2.h-1), the corrosion rate Cr and the efficiency of the %E inhibition obtained by the mass loss method are shown in the Table 1, where θ is the area coverage rate [32].

Table 1 Corrosion parameters obtained of mild steel C38 in 1 N HCl solutions with and without addition of various concentrations of OEE

Figure 1a shows the graphical representation of corrosion rate versus OEE concentration, noting that the corrosion rate decreases as the concentration of the inhibitor is increased, however the rate decreases as the temperature increases, this is also reflected in Fig. 1b since the efficiency increases with increasing extract concentration, while it decreases with increasing temperature.

Fig. 1
figure 1

a Plot of corrosion rate as a function of the concentration of O. elongatum extract at different temperatures. b Inhibition efficiency as a function of OEE concentration at different temperatures

From Table 1 it is observed that this compound inhibits the corrosion of mild steel. The inhibition efficiency increases by increasing the concentration of the extract. The increase in the concentration of the extract results in an increase in the part of the metal surface covered by the inhibitory molecules and this leads to an increase in the inhibition efficiency.

Thus, these results reveal the ability of the OEE to act as a protective layer of corrosion on the mild steel and its thickness significantly affects the corrosion protection properties. It is observed that for a concentration of 1 g/L of the extract, the efficiency is about 77.50% at 298 K, compared with the work of Faustin et al [33] which tested the alkaloid extract of Geissospermum laeve under the same conditions as ours and which found an efficiency of 92% for a concentration of 100 mg/L at a temperature of 25 °C. The increase in temperature leads to a decrease in corrosion efficiency, which can be explained by the breakdown of physical interactions at high temperature between the adsorbed molecules of the extract and the metal surface. Generally, this type of interaction is fast but sensitive at high temperatures.

Electrochemical Measurements

Figure 3a show the Nyquist plot of absence and presence of different concentration of OEE at room temperature, Table 2 present different parameters such as Rs (solution resistance), Rct (charge transfer resistance), n (the phase shift), Qdl (constant phase element) and Cdl (double layer capacitance), slope (S), phase angle (Φ). The bode diagram was plotted for the C38 working electrode in 1 N HCl medium, in absence and in the presence of the extract at different concentrations, is shown in Fig. 3b, Table 2 presents the different parameters when it is possible to extract from the bode diagram such as slope (S) and phase angle (Φ).

Table 2 Electrochemical parameters deduced by EIS method (Nyquist and Bode representation) for mild steel C38 in 1 N HCl in the absence and presence of various concentrations of OEE

According to Fig. 3a, the semicircles are not perfect; this behaviour can be attributed to the frequency dispersion. For the analysis of the impedance spectra containing a capacitive loop, a simple equivalent circuit consisting of a parallel combination of a constant phase CPE element shown in Fig. 2, it is used in place of the double layer capacitance Cdl to represent the capacitive behaviour not conforming to the double layer [34].

Fig. 2
figure 2

Equivalent circuit model used CPE

This circuit makes it possible to identify the Rs, and the load (Cdl) is affected by imperfections of the surface and that this effect is simulated by a constant phase element (Qdl) and the coefficient phase shift (n), the phase shift (-1≤ n ≤1), when n = 0, the CPE represents pure resistor, if n = +1, the CPE represents pure capacitor, and if n = -1, the CPE represents inductor. To have the capacity of the double layer Cdl, the following formula [35]:

$$ C_{dl} = Q_{dl} \times \left( {2\pi \times f_{\max } } \right)^{n - 1} $$
(5)

where fmax represents the frequency at which the imaginary value reaches its maximum in the representation of Nyquist,

For the calculation of the efficiency %E, Eq. 4 is used, the electrochemical parameters of Rct, Cdl, Qdl, n, and Rs are calculated by the EC-Lab software and shown in Table 2, the inhibitory efficiency increases with increasing concentration of the extract in the 1 N HCl solution. The impedance data shown in Table 2 indicates that the Rct and %E values increase by increasing the concentration, while the Cdl values decrease. The inhibition efficiency values determined using the polarization curves are different from those determined by the EIS experiments, this difference is probably due to the shorter immersion time in the case of the polarization measurements. The decrease in Cdl can be explained by a decrease in the local dielectric constant and / or an increase in the thickness of the electric double layer [36], In addition, better protection provided by an inhibitor is associated with decreased Cdl [37]. The adsorption of the inhibitor on the surface of the mild steel decreases its electrical capacity because it moves the molecules of water and other ions originally adsorbed on the surface [38], the decrease in this capacity with an increase in the concentration of inhibitors is often attributed to the increase in the thickness of the protective layer on the surface of the electrode this can be explained by the Helmholtz formula [39]:

$$ C_{dl} = \frac{{\varepsilon \times \varepsilon_{0} \times A}}{d} $$
(6)

where d is the thickness of the protective layer, \(\varepsilon\) the dielectric constant of the medium, \(\varepsilon_{0}\) the vacuum permittivity and A is the effective surface area of the electrode.

The charge transfer resistance Rct optimum’s is reached at a concentration of 1 g/L which is 114.40 Ω for an efficiency of 77.83%. the increase in the value of the load transfer resistance after the increasing addition of the OEE concentration is synonymous with the formation of a protective layer on the surface of the carbon steel [40], It can be seen that the value of n increases with respect to that of blank (0.846) by increasing the concentration of the inhibitor to an optimum value of (0.895) at a concentration of the extract 1 g/L, this can be explained as the surface of the electrode tends to behave as a perfect capacitor [41].

The linear region of the Bode representation (log (f) vs log (|Z|)) should have a slope (-S) of 1 and phase shift (-Φ) of 90° for an ideal capacitor. The experimental S values are calculated and given in Table 2, it is found that the -S values decrease compared to blank (0.585) with increasing the extract concentration for the OEE to reach a maximum value of (0.788) at a concentration of 1 g/L, it can also be seen that the phase shift (-Φ) increases by increasing the concentration of the inhibitor and then passes from 49.58° for the blank to 68.94° for a concentration of 1 g/L. We can deduce that our system tends to behave like a pure capacity [42].

The cyclic voltammogram of C38 in 1 N HCl solutions without and containing different concentrations of OEE was recorded and is shown in Fig. 3. The potential was initiated at −1200 mV at a scan rate of 50 mV.s-1.

Fig. 3
figure 3

a EIS b and c bode diagrams for mild steel C38 in 1 N HCl with different concentrations of OEE at 298 K

On this voltagram the anodic and cathodic branches show narrow regions with no dissolution peaks, on closer inspection the anodic current region increases until the potential is reversed for all the solutions studied, the Fig. 4. also shows that the cathodic current decreases more significantly than the anodic current as the OEE concentration increases.

Fig. 4
figure 4

Cyclic voltammetry of C38 in 1 N HCl solution free and inhibited by different concentrations of O. elongatum extract. Scanning rate 50 mV.s-1

Finally, it can be deduced that these results confirm the results found in the linear polarization part that the inhibitor acts as a mixed inhibitor and acts on both the anodic and cathodic reaction with a cathodic preference, and that the adsorbed species adsorb physically on the metal surface [43].

Figure 5. illustrates typical anodic and cathodic potentiodynamic polarization curves for carbon steel in 1N HCl in the absence and presence of various concentrations (from 0.1 to 1g/L) of the extract ambient temperature. The corrosion current density (jcorr) was calculated from the intersection of the Tafel cathode and anode lines.

Fig. 5
figure 5

Cathodic and anodic potentiodynamique polarization curves of mild steel C38 in 1 N HCl and different concentration of extract

The efficiency %E was calculated from Eqm 3 and shown in Table 3, it’s found that the addition of the extract implies an increase in the inhibition against corrosion which reaches a maximum value of 74.14% at 298 K at a concentration of 1 g/L of the extract.

Table 3 Electrochemical data from Tafel curves carried out in 1 N HCl in absence and presence of Origanum elongatum extract

The values of the electrochemical parameters such as corrosion potential (Ecorr), corrosion current density (jcorr), Tafel slopes (βc and βa) and inhibition efficiency %E were calculated from these curves and given in Table 3, according to Benabbouha et al [44], the Ecorr does not vary beyond ±85 mV this indicates that the OEE acts as a mixed inhibitor in 1 N HCl medium with a slight displacement of the cathodic side [45], and that the cathodic and anodic slopes (βc and βa) for the inhibitor under study remain almost constant, which means that the mechanism of the electrode reactions is not changed [46].

In addition, the polarization curve in 1 g/L of inhibitor is characterized by the presence of an anode breakdown potential Eb, the presence of such a potential is characteristic of the formation of an anodic protective layer on the metal surface [46]32. From the Fig. 5, a clear distinction can be made between a decrease in anode and cathode currents as the OEE concentration increases, the curves obtained from the Tafel polarization studies showed that the values of jcorr increased from 240.28 μA.cm-2 of blank to 62.13 μA.cm-2 for a concentration of 1 g/L.

Adsorption Isotherms

It has been shown that the type of adsorption depends on the structure of the inhibitor molecule and/or the charge on the metal surface [47]. The use of adsorption isotherms therefore gives indications on the interactions between the inhibitor molecules but also indications on the interactions between the metal surface and these molecules, the adsorption results of our extract obey the modified Langmuir isotherm after testing several isotherms such as Frumkin, Temkin, θ El-Awady and Freundlich [48,49,50,51]; The values of the different parameters of the isotherms used in this study are shown in Table 4:

$$ {\text{Modified Langmuir}}:\frac{C}{\theta } = nC + \frac{n}{{K_{ads} }} $$
(7)
$$ {\text{Temkin}}:\theta = \frac{{ - 2303\log K_{ads} }}{2a} - \frac{2303\log C}{{2a}} $$
(8)
$$ {\text{El-Awady}}:\log \left( {\frac{\theta }{1 - \theta }} \right) = \log K + y\log C $$
(9)
$$ {\text{Freundlich}}:\log \theta = \log K_{ads} + n\log C $$
(10)

where C is the OEE concentration used, is the metal surface coverage rate and Kads is the adsorption equilibrium constant, n in the Langmuir isotherm represents the number of active molecules adsorbed per active site on the metal surface [52], the parameter a in the Temkin isotherm gives an idea of the interaction inside the adsorbed layer [35], the value of 1/y represents the number of active sites on the metal surface that will be occupied by a single active molecule [53], n of the Freundlich isotherm describes the ease with which the active species adsorb on the surface of the metal, it is generally known that an value between 0 and 1 adsorption is easy while an n ≥ 1 adsorption is moderate or difficult [48].

Table 4 Adsorption parameters of OEE on C38 steel by different adsorption isotherms

The Fig. 6. shows representative graphs of the relationship between C and θ at different temperatures ranging from 298K to 318K for the five isotherms,

Fig. 6
figure 6

Adsorption isotherms of OEE, a Langmuir modified isotherm, b Frumkin isotherm, c El-Awady isotherm and d Freundlich isotherm

The parameter n of the modified Langmuir isotherm which is greater than the unit ( 1,24, 1,39 and 1,41) in our study makes it possible to say that one or more adsorbed active species occupy more than one active site [48], the positive value of Frumkin's parameter a ( 3,14, 3,81 and 2,98) suggests that there is attraction within the layer of adsorbed molecules [54], The value lower than the unit of 1/y (0,39, 0,30 and 0,41) implies that the active molecules will occupy more than one active site and this is in accordance with the interpretation of parameter n of the Langmuir isotherm [55], it can also be noted that a value of 1/y less than unity suggests that a multilayer of active molecules will be adsorbed on the metal surface [56], the interaction parameter of the Freundlich isotherm n is between 0 and 1 which indicates that the adsorption of the active molecules on the metal surface is easily achieved [57].

To choose the isotherm best adapted to our study, the authors often base themselves on the correlation coefficient R2 which must be as close as possible to 1, for us the modified Langmuir isotherm represents the best values of R2 (0.9855, 0.9961 and 0.9896) compared to the other isotherms used in this study. Therefore the adsorption of OEE obeys the modified Langmuir isotherm [58], Table 5 represents the values of the correlation coefficient R2, the ΔHads, ΔSads and the free adsorption standard energy ΔGads calculated from the following equation [57]:

$$ \Delta G_{ads} = - RT\ln (C_{{H_{2} O}} \times K_{ads} ) $$
(11)

where \(C_{{H_{2} O}}\) in g/L and Kads in L/g, the negative ΔGads values suggest that the adsorption process of active molecules is spontaneous, if we look closely at the Table 5 we can see that ΔGads values vary between −23.32 and −24.94 kJ/mol, and it is recognized that absolute ΔGads values between 20 and 40 kJ/mol define a mixed adsorption process mixed between physisorption and chemisorption [59], The values ΔHads and ΔSads were calculated from the following equation [60]:

$$ \Delta G_{ads} = \Delta H_{ads} - \left( {T \times \Delta S_{ads} } \right) $$
(12)
Table 5 Adsorption thermodynamics constant and entropy energy of adsorption of the Origanum elongatum extract for carbon mild steel in 1 N HCl in different temperature

The negative value of ΔHads indicates an exothermic process which is related to the two types of adsorption-physisorption and chemisorption, while an endothermic process is related to chemisorption, in our study the negative value shows that we have an exothermic process, and since the absolute value of ΔHads (8,04 kJ/mol) is less than 40kJ/mol therefore we can conclude that we have a physisorption during the adsorption of the active molecules of the OEE on the metal surface [29, 61].

The positive ΔSads value is the result of the desorption of the water molecules adsorbed on the metal surface and their replacement by the active molecules of the OEE, resulting in an increase in the entropy of the solvent during the adsorption process [28].

Activation Parameters and Temperature Effect

The kinetic parameters were calculated using the following formula [62]:

$$ Log(C_{r} ) = Log(A) - \frac{{E_{a}^{*} }}{2303 \times R \times T} $$
(13)

where Ea*is the apparent activation energy, R is the universal gas constant, A is the Arrhenius pre-exponential constant, T is the absolute temperature, Fig. 7a shows Arrhenius plots for corrosion rate of mild steel C38, the values of Ea* are given in Table 6.

Fig. 7
figure 7

Arrhenius plots of a log (Cr) versus 1/T, and P b log (Cr/T) versus 1/T in the absence and presence of different concentrations of Origanum elongatum extract

Table 6 Activation parameters, Ea*, ΔHa*, ΔSa*, and Pre-exponential factor (A), of the dissolution of C38 in 1 N HCl in the absence and presence of various concentrations of OEE

According to Table 6, the values of Ea* are determined by the slope of the graphs log (Cr) vs 1/T, according to the according to the Fig. 7a and Table 6, we clearly notice the increase in the value of activation energy of different solution compared to the blank, this increase is attributed to a significant decrease in the species adsorbed on the metal surface as the temperature rises. It can then be suggested that the increase in temperature has more of an effect in favouring desorption than adsorption of OEE molecules, which causes a greater surface area of the steel to come into contact with the corrosive medium, thus explaining the increase in Cr when the temperature rises [57, 25].

$$ Log\left(\frac{{C_{r} }}{T}\right) = Log\left(\frac{R}{h \times N}\right) + \frac{{\Delta {\text{S}}_{a}^{*} }}{2303 \times R} - \frac{{\Delta H_{a}^{*} }}{2303 \times R \times T} $$
(14)

where h is plank’s constant, N is Avogadro’s number, ΔSa* and ΔHa* are the entropy and enthalpy of activation, respectively [63]. Figure 7b shows the plot of log (Cr/T) vs 1/T. ΔHa* and ΔSa* are obtained with the slope and intercept respectively. All kinetic parameters are shown in Table 6, it can be seen that ΔHa* is positive which allows to say, according to Gowraraju et al [64], that the endothermic nature of the steel dissolution process, the ΔSa* values of solutions containing OEE are generally more positive than those of the solution containing HCl alone, suggesting an increase in disorder when switching from reagents to activated complexes [28].

The difference between Ea* and ΔHa* remains practically unchanged, which makes it possible to verify equation (15) between these two parameters representing the concept of the ransition states theory [65, 66].

$$ E_{a}^{*} - \Delta H_{a}^{*} = R \times T $$
(15)

Fractionation and Grouping of Fractions

After fractionation on a silica gel column of type G60 (70–230 mesh), to group the fractions containing the same type of molecules a thin layer chromatography with a mobile phase S1 is performed, the figure shows the different fractions and their grouping.

According to the results of the thin film separation, three large fractions were found which were then pooled and freeze-dried. Gravimetric tests were then carried out on these fractions and the results are shown in the Table 7, also Fig. 8a shows the corrosion rate of the three fractions H1, H2 and H3 as a function of concentration, while Fig. 8b shows the graphical representation of the efficiency of the fractions as a function of concentration.

Table 7 Results of fractions weigh loss tests in 1N HCl at 298 K
Fig. 8
figure 8

(a) Plot of corrosion rate as a function of the concentration of fractions H1, H2 and H3 (b) Inhibition efficiency as a function of fractions H1, H2 and H3 concentration

According to the Table 7, it can also be seen that the three fractions have an inhibiting effect against corrosion, which implies the existence of several active molecules containing different functions that can adsorb on the metal surface. The results of the fraction mass loss tests on C38 steel fractions in 1N HCl show that the H1 fraction represents a higher inhibition efficiency followed by the second H2 fraction and then the third fraction H3, based on the increasing polarity of the solutions S1, S2 and S3 (S1> S2> S3) it can be said that the polarity of the H1, H2 and H3 fractions also increases (H1>H2>H3).

FTIR Spectroscopy

Huda Jasim Al-Tameme et al. [67] who gave the chemical composition of the methane extract of a species of Origanum which contains mainly alkaloids, flavonoids contain mostly C=O, C=C aromatic functions and OH, which are capable of acting against corrosion.

According to the IR graphs in Fig. 9, our extract is made up of different types of molecules, the most interesting are those which contain functions with which the molecules are capable of adsorbing on the metal surface (aromatic C=C, OH; or C=O...), so the study opens the door to several perspectives we are looking for the natural molecule(s) from plant matter capable of inhibiting the corrosion of C38 steel in an acidic environment.

Fig. 9
figure 9

FTIR spectroscopy of the OEE and the different fractions H1, H2 and H3

Proposed Adsorption Mechanism

It is recognized that the adsorption phenomenon is influenced by the nature of the metal, the corrosive environment and the nature of the inhibiting molecule(s) [36], The inhibitor molecule(s) may also adsorb to the steel surface based on donor-acceptor interactions between the π-electrons of the heterocyclic nucleus and the empty d-orbital of the surface iron, but also adsorption can take place through the interaction between the free electron pairs of oxygen or other heteroatoms existing within the extract of the inhibitor and d-orbital vacant iron atoms on the surface.

Conclusions

  • The OEE shows a moderate efficiency in 1 N HCl, it increases when increasing the concentration of the extract.

  • The linear polarization curves indicate that the extract blocks both types of reactions (anodic and cathodic), hence its nature as a mixed inhibitor.

  • Impedance spectroscopy shows an increase in charge transfer resistance (Rct) and a decrease in double layer capacitance (Cdl), which shows that the inhibition is by adsorption.

  • The adsorption of the molecules of the extract on the metal surface obeys the modified Langmuir isotherm, the values of ΔGads shows that it is a physisorption, while the value of ΔHads shows that the adsorption of the molecules on the surface is an exothermic process.

  • The fraction has led to three different fractions that represent efficiencies that decrease when the polarity decreases, this opens doors to search for or active molecules in the H1 fraction but also the polarity-corrosion inhibition relationship.

  • We plan to redo the fractionation with solutions that are still selectively folded and focus on the first fraction to find the molecule(s) responsible for the corrosion-inhibiting effect.