1 Introduction

Consumption of materials causes enormous misfortunes in the economy of numerous nations because of the colossal measure of assets expected to lessen it. The corrosion inhibition of metals, particularly of CS, has gotten some consideration as a result of its astounding mechanical properties, minimal effort and far reaching use in the business, for example, substance handling, oil generation, refining, transportation, pipelines, mining, development industry, marine applications, hence, looks into in the field of consumption restraint of steel is important. Seawater contains the remaining parts of dead life forms, coral reefs, ships, and pontoons which all are decay and prompt acceleration of gases, for example, H2S and Na2S and different gases respond with chlorine and hydrogen deliver contaminated NaCl. Among the few strategies for consumption, control is the utilization of inhibitors. The investigations of plant extracts as consumption inhibitors are of awesome enthusiasm from an ecological point of view and are drawing in a huge level of consideration [1,2,3]. The well-being and ecological issues of corrosion inhibitors emerged in businesses has dependably been a worldwide concern. Plant extract is minimal effort and natural safe, so the primary favorable circumstances of utilizing plant removes as corrosion inhibitors are financial and safe condition. A few examinations have been completed on the security of corrosion of metals and compounds by plant extracts [4,5,6,7,8,9,10,11,12,13,14,15]. Nonetheless, there is as yet a requirement for look into on different plants can be utilized as inhibitors in mechanical applications. This present investigation looks to discuss the AOE as green inhibitor for protecting CS from corrosion in polluted NaCl.

2 Material and Solutions

2.1 Materials

Tests were undergone on rectangular examples with dimensions 2 × 2 × 0.1 cm of CS with the following chemical composition in wt%: C 0.200, Mn 0.350, P 0.024, Si 0.003, and Fe balance. CS samples (2 × 2 × 0.2 cm) automatically skinned with totally different grades (22–1200) of sandpaper and polished by 0.25 µm aluminum oxide powder to approach the mirror surface, then degreased, hand washed with bidistilled water and rinsed with ethanol, and finally used in weight loss tests.

2.2 Solution Preparation

The polluted sodium chloride (3.5% NaCl + 16 ppm Na2S) solution was prepared from NaCl and Na2S and bidistilled water. The concentration range of AOE varied from 50 to 300 ppm and the electrolyte used was 100 ml for each experiment.

2.3 Plant Extraction

The powered stembark of Adenium obesum (500 g) was packed into a thimble and placed inside a Soxhlet extractor and extracted exhaustively and, respectively, with petroleum spirit (60–80 °C) and methanol (1 l each). The extracts were concentrated in vacuum at 40 °C using rotary evaporator, after which the crude extracts were obtained from the solvents [16]. 1 g of this crude extract was dissolved in little amount of dimethyl formamide (DMF) and completed to 1 l by ethanol to prepare stock solution (1000 ppm). The concentrations were obtained by dilution by bidistilled water.

2.4 Phytochemical Screening

The petroleum and methanolic extracts of the stembark of A. obesum were subjected to preliminary phytochemical tests to detect the presence of alkaloids, steroids, saponins, glycosides, anthraquinones, tannins, terpenoids, coumarins, carbohydrates, and flavonoids [17] using standard techniques.

Phytochemical constituents of Adenium obesum (stembark) extract.

figure a

2.5 Methods

2.5.1 Weight Loss (WL) Technique

The coins were dipping in 100 ml of polluted NaCl and existence of the various contents of AOE is set in water thermostat. After 3 h, the samples were removed, rinsed, dried, and weighed again. The % IE and the θ were founded from Eq. (1)

$$\% \;{\text{IE}} = \theta \times 100 = \left[ {\left( {W_{{\text{o}}} - W} \right){/}W_{{\text{o}}} } \right] \times 100,$$
(1)

where Wo and W are the weights of nonexistence and occurrence of AOE, individually.

2.5.2 Open-Circuit Potential (EOC) Method

The working electrode was immersed in polluted NaCl (100 ml) for 20 min to establish a steady-state EOCP.

2.5.3 Potentiodynamic Polarization Technique

This technique was done in a typical three compartment glass cell. The potential range was (− 1.0 to − 0.6 V vs. SCE) at OCP with a scan rate 1 mV s−1.

2.5.4 EIS Technique

This technique was done by AC signs of 5 mV peak-to-peak amplitude and at frequency range of 107 Hz to 0.1 Hz. The (% IE) and θ were found from Eq. (2) [18]:

$$\% \;{\text{IE}} = 100 \times \theta = 100 \times \left[ {\left( {R_{{{\text{ct}}}} {-}R_{{{\text{ct}}}}^{{\text{o}}} } \right)/R_{{{\text{ct}}}} } \right],$$
(2)

where Rcto and Rct are the charge transfer resistances without and with AOE, individually.

2.5.5 EFM Test

This technique used two frequencies of range 2 and 5 Hz depended on three conditions [19]. The icorr, βc, and βa and CF-2, CF-3 (causality factors) were measured by the greater two peaks [20].

2.5.6 Surface Examination

Al alloy pieces were dipped in testing solutions for 1 day. Then, they were polished, dried, and analyzed by SEM, FT-IR, and AFM.

3 Results and Discussion

3.1 Weight Loss (WL) Tests

WL–time curves of CS in polluted NaCl have been determined in existence and nonexistence of various AOE doses, which have been shown in Fig. 1. The gained corrosion parameters data have been reported in Table 1, from which we have been finding that % IE raises with rising AOE doses and raises with rising temperature. Lowering in corrosion rate (CR) by rising AOE doses is as a result of the fact that the metal surface coverage (θ) becomes larger via the adsorption of inhibitor molecules [21]. The reduction in CR possibly with rising in temperature via adsorption rate of AOE on the CS surface has been raised at higher temperatures [22].

Fig. 1
figure 1

Corrosion of C-steel in polluted NaCl in the absence and presence of different concentrations of AOE at 30 °C

Table 1 Variation of surface coverage (θ), degree of efficiency (% IE), and corrosion rate (kcorr) of AOE at 120 min immersion in polluted NaCl at different temperatures

3.2 Adsorption Isotherms

AOE is adsorbed on the CS surface due to that the interaction energy among the CS surface and the extract is more than that between H2O molecules and metal [23, 24]. From the data, the Temkin model adsorption isotherms fit in the excellent manner (Fig. 2). The Temkin adsorption isotherm may be expressed by:

$$a\theta = \ln K_{{{\text{ads}}}} C,$$
(3)

where C is concentration of the extract.

Fig. 2
figure 2

Temkin adsorption isotherm plotted as θ vs. log C of AOE for corrosion of C-steel in polluted NaCl solution from weight loss method at different temperatures

3.3 Thermodynamic Parameters

The thermodynamic activation energy (\(E_{{\text{a}}}^{*}\)) was calculated [25] from the corrosion rate data obtained from weight loss experiments using the Eq. 4 and are listed in the Table 2. \(E_{{\text{a}}}^{*}\) was estimated from Arrhenius equation:

$$\Delta G_{{{\text{ads}}}}^{{\text{o}}} = \Delta H_{{{\text{ads}}}}^{{\text{o}}} - T\Delta S_{{{\text{ads}}}}^{{\text{o}}} ,$$
(4)
$$K_{{{\text{ads}}}} = \left( {1/55.5} \right)\exp \left( { - \Delta G_{{{\text{ads}}}}^{{\text{o}}} /RT} \right),$$
(5)
$$k_{{{\text{corr}}}} = A\exp \left( { - E_{{\text{a}}}^{*} /RT} \right),$$
(6)

where “A = Arrhenius constant, R = gas constant and k = rate of corrosion.” Figure 3 is plotted between log kcorr vs. 1/T for various concentration of A. obesum extract. From the figure, the \(E_{{\text{a}}}^{*}\) value can be calculated from the slope of the line. The ΔH* and the ΔS* can be computed using another formula of transition state expression [26,27,28]

Table 2 Adsorption parameters for AOE in polluted NaCl obtained from Temkin adsorption isotherm at different temperatures
$$k_{{{\text{corr}}}} = \left( {RT/Nh} \right)\exp \left( {\Delta S^{*} /R} \right)\exp \left( {\Delta H^{*} /RT} \right),$$
(7)

where “h = Planck’s constant and N = Avogadro’s number.” The data of ΔH* and ΔS* can be measured by plotting log (kcorr/T) vs. 1/T (Fig. 4). The data of \(E_{{\text{a}}}^{*} ,\) ΔS* and ΔH* are shown in Table 3.

Fig. 3
figure 3

Arrhenius plots for C-steel corrosion rates (kcorr) after 120 min of immersion in polluted NaCl in the absence and presence of various concentrations of AOE

Fig. 4
figure 4

Transition state for C-steel corrosion rates (kcorr/T) in polluted NaCl in the absence and presence of various concentrations of AOE

Table 3 Activation parameters for C-steel corrosion in the absence and presence of various concentrations of AOE in polluted NaCl

3.4 Potentiodynamic Polarization Measurements

The potentiodynamic polarization curves for CS in the numerous concentrations of AOE at 25 °C are shown in Fig. 5. From the figure, one can noted that both (discharge hydrogen) cathodic and (CS dissolution) anodic reactions were inhibited by adding various concentration of AOE. Both βa and βc were raped to positive and negative directions, respectively. The chemical science parameters, Ecorr, βa and βc, θ, % IE and icorr were measured and given in Table 4. Data shows that by addition of extract the values of icorr were lowered whereas the values of Ecorr and βa and βc had no vital modification. So, the AOE performance as mixed type inhibitor.

Fig. 5
figure 5

Potentiodynamic polarization curves for the dissolution of C-steel in polluted NaCl in absence and presence of different concentrations of AOE at 25 °C

Table 4 Effect of concentration of AOE on the electrochemical parameters calculated using potentiodynamic polarization technique for the corrosion of C-steel in polluted NaCl at 25 °C

3.5 EFM Tests

The data obtained from EFM for CS in 0.5 M H2SO4 at various concentration of AOE at 25 °C were measured and are listed in Table 5. The data observed that the corrosion current densities decrease by increasing the concentration obesum extract while the inhibition efficiency (% IE) increases. The causality factors are close to their theoretical values. From EFM measurements, the values of icorr are often obtained directly and freelance of the information about Tafel constants. The % IE is often calculated as in Eq. 4. The intermodulation spectra obtained from EFM in absence and presence of different concentration of AOE are shown in Fig. 6

Table 5 Electrochemical kinetic parameters obtained by EFM technique for dissolution of C-steel in polluted NaCl in absence and presence of different concentrations of AOE at 25 °C
Fig. 6
figure 6

Intermodulation spectrums for dissolution of C-steel in polluted NaCl in absence and presence of different concentrations of AOE at 25 °C

3.6 EIS Measurements

The EIS of C-steel in the various concentration of AOE is shown in Fig. 7a, b where Fig. 7a is Nyquist plot and Fig. 7b is Bode plot. The curves show that there are gradual increases in the shape of each semicircle of the Nyquist curves by increasing the concentration of the extract. The obtained EIS parameters (Rct), the double layer capacitance, (Cdl) and the (% IE) are listed in Table 6. These knowledge shows that there is a rise in (Rct) whereas the (Cdl) declined. Due to electrode surface homogeneities and the roughness, the curves obtained from the Nyquist plots are not perfect semicircle.

Fig. 7
figure 7

a Nyquist plots recorded for dissolution of C-steel in polluted NaCl in the absence and presence of different concentrations of AOE at 25 °C. b Bode plots recorded for dissolution of C-steel in polluted NaCl in absence and presence of different concentrations of AOE at 25 °C

Table 6 Electrochemical kinetic parameters obtained from EIS technique for dissolution of C-steel in polluted NaCl in absence and presence of different concentrations of AOE at 25 °C

3.7 SEM Examination

Figure 8 demonstrates the micrograph given for C-steel sheets in the absence and utilizing 300 ppm of AOE after dipping for just 1 day

Fig. 8
figure 8

a SEM of metal, b SEM of metal + polluted NaCl, metal and c SEM of metal + polluted NaCl + 300 ppm of AOE

3.8 Atomic Force Microscope (AFM) Analysis

AFM may be a new technique to review the influence of extract on the generation and also the progress of corrosion at the metal surface. The main advantage of this methodology is that the roughness of the surface may be determined. Figure 9a demonstrates AFM picture of CS example before submersion in contaminated NaCl in 3D. Figure 9b is a picture for CS example after inundation in dirtied NaCl without removes in 3D. Figure 9c alludes to CS example after 24 h in drenching of contaminated NaCl + 300 ppm of AOE in 3D. As shown in Table 7, the lower roughness values in presence of extract, indicate the adsorption of extract molecules on CS surface. In this way, it restrains the corrosion of CS in dirtied NaCl, recommended that the concentrate goes about as great consumption inhibitor. The lower estimation of harshness within the sight of A. obesum proposed that A. obesum ensures the CS surface in contaminated NaCl.

Fig. 9
figure 9

AFM images of CS surface a before immersion in polluted NaCl, b after 24 h immersion in polluted NaCl and c after 24 h immersion in polluted NaCl + 300 ppm of AOE at 25 °C

Table 7 AFM parameters for CS (a) pure coin (b) with for 24 h (c) with corrosive medium containing 300 ppm AOE for 24 h

3.9 Fourier Transform Infrared Spectroscopy (FT-IR) Analysis

The FT-IR range is a ground-breaking instrument which used to research the compound utilitarian gatherings and their collaborations with the metal surface. Since natural mixes, for example, drugs are consumed on the metal surface which enhances opposition against consumption, and FT-IR can be utilized to break down the surface changes to demonstrate the idea of the synthetic segments which adsorbed on the surface [29].

Figure 10 shows that the intra-molecular hydrogen bonding of O–H stretching has shifted from 3477 to 3332 cm−1, the –C=C stretching frequency appears at 1635 cm−1 (multiple bands), the sharp one at 1019 cm−1 referring to –CO stretching, the frequency at 2870, 2948 cm−1 is due to –CH stretching, the frequency at 1245 cm−1 referred to –CN stretching frequency. These movements in IR spectra allude to the mix between AOE and C-steel happened by means of existing utilitarian gatherings in it. Other practical gatherings have been truant, prescribing that by means of the inhibitor adsorption on the CS surface may have happened through these truant groups [30].

Fig. 10
figure 10

FT-IR spectroscopy of (a) AOE and (b) the film formed on the CS surface after inundation in polluted NaCl + 300 ppm of AOE for 24 h at 25 °C

3.10 Antimicrobial Sensitive Test

The results showed that methanolic extract has effective on the antibacterial activity against Gram-positive bacteria and ineffective against Gram-negative bacteria as reported before [31]. The study suggests that leaves of A. obesum (Desert rose) plant can be used as an antimicrobial agent and expected that leaves of A. obesum may be used as therapeutic agents for various diseases.

figure b

Antibacterial activity against Escherichia coli, Bacillus amyloliquefaciens and Staphylococcus aureus. (A) Aqueous extract, (B) methanolic extract and (C and D) control.

3.11 Mechanism of Corrosion Inhibition

The adsorption might be explained through two fundamental processes: physisorption and chemisorption. For the most part, physisorption needs the presence of both charged species in extract and metal surface which electrically charged. The metal surface charge of the electric field exhibited in the metal/prearrangement interface. In opposition, a chemisorption process may incorporate charge exchange or charge sharing from the inhibitor particles to the metal surface to make a coordination bond. This has been accomplished on account of a positive as a negative charge on the metal surface. The CS has empty or low-energy electron orbitals (Fe2+ and Fe3+); on the other hand, components of AOE molecules having some electrons or heteroatom’s having lone pairs of electrons, which give to the d-vacant orbitals forming chemical bonds, this is responsible for the chemisorption process [32]. Ordinarily, there have been two categories of restraint components that have been recommended. One has been the formation of polymeric structures with (Fe3+) depending on the related conditions [33]; the other one has been the adsorption of AOE on the C-steel surface.

4 Conclusions

The AOE demonstrates the consumption hindrance for CS in polluted NaCl arrangement, where IE inhibition moved forward by ascent of compound fixation. The IE is diminishing with ascent of temperature coming about because of the destruction of the adsorbed AOE atoms exhibits on the CS surface. The nearness of AOE at first glance takes after Temkin condition. Tafel bends demonstrated that AOE is blended kind inhibitors. Cdl is decreased by rising the AOE doses, while Rct increases. The adsorbed inactive layer on the C-steel surface was demonstrated by AFM, SEM, and FT-IR examinations.