1 Introduction

Petrochemical wastewater (PCW) treatment is a challenge. Petrochemical wastewater is unavoidable and continuously generated in the petroleum refining and petrochemical processes such as liquid–liquid extraction, distillation, cooling systems and washing operations where the use of water is intensive, and this contains a large amount of highly suspended or dissolved toxic and poorly biodegradable organic matters and will result in serious environmental pollution (Mu et al. 2016; Chen et al. 2015; Azimi et al. 2017).

These wastewaters can contain significant amounts of organic and inorganic compounds such as phenols, aliphatic and polycyclic aromatic hydrocarbons (PAHs), oil, heavy metals and other chemicals commonly used in oil production (Cechinel et al. 2016). These are very toxic organisms that inhibit microbial activity and leads to a series of problems, such as poor wastewater quality and unstable performance (Guo et al. 2009). Petrochemical wastewater (PCW) discharge can cause important environmental pollutions and human health worries (Chen et al. 2007, 2015; Hansen et al. 2016; Mohammadi et al. 2005).

Regarding the undesirable effects of this wastewater, various methods for its purification are used: the use of hydrogen peroxide, permanganate, ozonation, chlorine, chlorine dioxide, UV, ozonation in the presence of UV, photo-catalyst method, electrochemical method, solvent extraction, activated carbon adsorption, membrane processes and biological treatment (Ma et al. 2009; Kujawski et al. 2004). Application of some of the purification processes of this industrial wastewater, due to the high cost of treatment, requiring of additional treatment, the formation of hazardous side products and low efficiency, sludge disposal and inefficiency in various concentrations of the pollutant, is limited; for example, its biological treatment is difficult at high concentrations (Bódalo et al. 2009; Bi et al. 2007). In recent years, advanced oxidation processes such as photo-catalyst oxidation, ozonation, ultrasound, Fenton oxidation and photo-Fenton have been proposed for the treatment of sewage containing non-biodegradable biomass or toxic substances and also in sewage with very high concentrations of pollutants (Liao et al. 2009; Palma et al. 2007).

Because advanced oxidation processes (AOPs) are capable of converting organic pollutants into harmless materials, recently they have emerged as powerful alternatives for the treatment of such sewage (Bedolla-Guzman et al. 2016). Generation of reactive oxygen species such as ·OH is the common feature of these methods, and because of hydroxyl radical high standard reduction potential (E° = 2.80 V/SHE), they can attack most organics and convert them into CO2 and inorganic ions. Electro-Fenton process is an AOP which includes the production of Fenton’s reagent in acidic environments (pH = 3), and one or both of the reagents Fe2+ and H2O2 are produced by electrochemical Fenton oxidation (Jaafarzadeh et al. 2017; Chmayssem et al. 2016; Flores et al. 2015; Rezakazemi et al. 2018).

The rapid production and use of nanoscale materials have increased concerns about the potential unwanted effects of nanoparticles (NPs) on the environment and human health (Zhang et al. 2017). Nanoparticles have a significant effect on the process of sewage treatment. The use of Fe3O4 and support of metal oxides such as CeO2, TiO2 and Al2O3 for the synthesis of Fenton such as heterogeneous catalyst have advantages including cost-effectiveness, high activity, simplicity and green perspective (Gogoi et al. 2016; Neyens and Baeyens 2003). In Patra et al.’s report, it is clear that c-Al2O3-a-Fe2O3–core–shell composite nanoparticles in the presence of H2O2 act as a heterogeneous Fenton catalyst to convert cyclohexanone into adipic acid in water, in one step with high catalytic activity (Li et al. 2014; Patra et al. 2013).

In the present study, the removal of COD using heterogeneous EF with nanoiron particles and nanoporous aluminum electrode as catalyst was carried out and the results were compared. The influences of the main operating parameters such as current density, the ratios of H2O2/Fe2+ and \(\frac{{{\text{ml}}\,{\text{H}}_{2} {\text{O}}_{2} }}{\text{Lit PW}}\), pH and reaction time on COD removal were studied.

2 Experimental Section

2.1 Materials and Chemicals

Reagent grade chemicals without further purification were used here. We chose Shanghai Chemical Reagents Company to prepare all the analytical grade chemicals such as ferric chloride, reduced iron powder, sodium borohydride, sulfuric acid and sodium sulfate anhydrous. A Millipore Milli-Q system with resistivity > 18 MX cm at 25 °C was used to obtain ultrapure water for preparing all the solutions. The Merck Company was chosen as a supplier for sulfuric acid and heptahydrated ferrous sulfate preparation for pH adjusting and as a catalyst, respectively. The applied petrochemical wastewater had COD 1400–1700 mg/l, color 100 color unit, BOD/COD 0.4–0.6 and pH 6–6.7.

2.2 Fe@Fe2O3 Preparation

A ferric solution was prepared by dissolving 0.3 g amount of FeCl3.6H2O in 100 mL of distilled water, and for NaBH4 solution 0.6 g amount of NaBH4 was dissolved in 40 mL of distilled water. To reduce the ferric ions into metallic iron, the NaBH4 solution was dropped to solution. Finally, the deionized water was washed thoroughly and then dried in nitrogen (FathinejadJirandehi and Mohebbizadeh 2016).

2.3 Preparation of the Nanoporous Anodic Aluminum Oxide (AAO)

The AAO films were fabricated using the two-step anodization of 6063 aluminum alloy sheets (1 mm thickness). The aluminum sheet was initially cut into 1 cm × 5 cm pieces and degreased in acetone, without further thermal treatment or chemical polishing. The first anodization step was then carried out on the aluminum specimen, suspended in the electrolyte as an anode, under a constant current density of 5 mA/cm2 for 10 h. Another aluminum specimen was used as a cathode. Sulfuric acid solution (0.4 M concentration) was used as electrolyte, and the electrolyte temperature was ambient. The formed AAO film was chemically removed by immersing the specimen in 0.4 M phosphoric acid solution for 1 h. The second anodization step was subsequently conducted under the same condition mentioned before for the first step, to produce the final AAO film with a regular nanopore array. Some final samples were immersed in 0.2 M phosphoric acid to widen the pores. Finally, deionized water was used to rinse the specimens several times and then they were dried in air (Moghadam et al. 2013).

2.4 Electro-Fenton Method

These experiments were carried out in a cylindrical electrochemical chamber of 6 cm diameter and a capacity of 400 ml, and a magnetic stirring was used to increase the mass transport toward the electrodes during the treatment. An acidic range was chosen for pH because a very high pH prevents the development of Fenton-based systems (FathinejadJirandehi and Mohebbizadeh 2016; Tsantaki et al. 2012). The pH was measured using a CyberScan pH 1500 pH meter from Eutech Instruments. A 250 ml of wastewater was used in a single run, and before starting the system certain amounts of hydrogen peroxide and iron (Fe2+) were added. Finally, placement of electrodes was done and the mixing of solutions was done at 350 rpm. Figure 1 shows the schematic of electro-Fenton setup. At the end of the run, the samples were allowed to stand for 30 min (for solids sedimentation) and the supernatant was then taken for wastewater quality measurements. The electrodes were washed thoroughly with water to remove any solid residues on the surfaces. COD was, respectively, measured at 475 nm and 605 nm wavelengths using a UV–Vis spectrophotometer.

Fig. 1
figure 1

Schematic of electro-Fenton setup

3 Results and Discussion

3.1 Electro-Fenton Effective Parameters

The simultaneous effect of five parameters such as volume fraction of H2O2 to petrochemical wastewater (ml/l), density, pH, time and H2O2/Fe2+ molar ratio on the electro-Fenton process in two separate experiments using nanoiron particles, as well as aluminum nanoporous electrodes, is shown in Figs. 1, 2, 3, 4 and 5, and their effects are compared. The effect of these parameters on the efficiency of COD removal is studied in all these cases. The blue line shows the effect of the iron nanoparticles, and the orange-colored line indicates the effect of the nanoporous aluminum electrode on the removal efficiency of COD. The effect of all parameters in the case of using iron nanoparticles is higher than nanoporous aluminum electrodes, and this effect is examined for each individual parameter. It is observed that the use of iron nanoparticles which simultaneously have the property of being nano and catalyst has a greater impact on the efficiency than that of the aluminum electrodes, which only have the nanoproperty.

Fig. 2
figure 2

Time efficiency on the COD removal

Fig. 3
figure 3

Density efficiency on the COD removal

Fig. 4
figure 4

pH efficiency on the COD removal

Fig. 5
figure 5

Volume fraction of H2O2 to petrochemical wastewater (\(\frac{{{\text{ml}}\,{\text{H}}_{2} {\text{O}}_{2} }}{\text{Lit PW}}\)) efficiency on the COD removal

In all charts, one peak is observed, where the degree of COD removal reaches its highest level, and then the elimination is reduced. In fact, it can be concluded that the purification operation is only useful to this point, and for the reasons that are described below for each individual parameter, the continuation of the operation is inappropriate and causes waste of energy, material and time, and the result is inverse.

The efficiency of time on the COD removal is shown in Fig. 2. In this diagram, the effect of the use of iron nanoparticles and aluminum nanoporous electrodes has been compared. As can be seen, the efficiency of the use of iron nanoparticles is higher than that of aluminum nanoporous electrodes, and this efficiency is more clearly defined at higher times. Over time, it seems that the impact of aluminum nanoporous will be reduced and this can be due to the reduction of the effective surface of electrodes over time due to corrosion; yet, the effect of the presence of nanoparticles is still high probably because the nanoparticles retain their catalytic role over time and keep the reaction yields high. The positive effect of reaction time on the electro-Fenton progress is clear. But its impact is reduced by the increase in the time so that after optimum time, the efficiency changes are not considerable. The approximately 2/3 of the total time is the optimum response time (Li et al. 2009). Over time, the amount of reactive substances in the reaction medium is reduced and it reduces the rate of removal of contaminants. This effect can be seen in the graphs of the interaction between time and mole ratio and volume ratio, and in low ratios, the increase in time does not have a specific performance improvement and only if the amount of the available materials for the production of antiseptics be sufficient this increasing will be effective. The system must also be given sufficient time to get the proper efficiency until OH ion can be produced sufficiently and purification of organic pollutants in the environment happens, and this is clearly evident in the interaction graphs, as the increase in molar and volume ratios without increasing time, it has a very small effect on the treatment of wastewater. As the time increases, the system appears to reach a chemical equilibrium and the maximum removal value occurs at the beginning of this equilibrium, and the passage of time does not have much effect on the improvement. Another reason for the reduction in the efficiency with the increase in time is the rising of solution temperature. It is noticeable that the increase in the temperature of the electrochemical cell will accelerate kinetic reactions, and as stated, reactants will be consumed more quickly; on the other hand, by increasing the temperature of the system to more than 25 °C, the occurrence of the H2O2 decomposition parasitic reaction according to reactions (1) and (2) to molecular oxygen and water will increase (Pereira and Zaiat 2009):

$${\text{H}}_{2} {\text{O}}_{2} + 2{\text{H}}^{ + } + 2{\text{e}}^{ - } \to 2{\text{H}}_{2} {\text{O}}$$
(1)
$$2{\text{H}}_{2} {\text{O}}_{2} \to {\text{O}}_{2} \left( {\text{g}} \right) + 2{\text{H}}_{2} {\text{O}}$$
(2)

Figure 3 shows the current density efficiency on COD removal. It is clear that, in general, the efficiency of nanoparticles is much higher than that of nanoporous aluminum electrodes. But, can be seen, at the beginning of the reaction, the use of aluminum nanoporous has higher efficiency, which can be due to the better reaction due to the higher conductivity of aluminum in low currents. It is observed that increase in the flow rate increases the nanoparticles’ efficiency, but this increasing has an optimum point and after passing through the optimum point, the current density increasing efficiency is reversed and the efficiency of the reaction is reduced and we only see the waste of energy and capital. It is also observed that the slope of the efficiency variation versus current density changes in the use of iron nanoparticles is more than the slope changes in aluminum electrodes and this represents a better performance of nanoparticles with current density changes and both of these factors have a direct impact on the H2O2 decomposition and the production of hydroxyl ions. After the optimum point, the process efficiency is reduced. Based on reactions 3 and 4, H2O2 decomposition can explain this phenomenon at high currents in the anode and also Brillas et al. and Zhang et al. reported that (Flox et al. 2006; Brillas et al. 1998)

$${\text{H}}_{2} {\text{O}}_{2} \to {\text{HO}}_{2} + {\text{H}}^{ + } + {\text{e}}^{ - }$$
(3)
$${\text{HO}}_{2} \to {\text{O}}_{2} + {\text{H}}^{ + } + {\text{e}}^{ - } .$$
(4)

In addition, according to reaction 5, the recovery of four electrons from the O2 molecule and the production of two molecules of water can be in competition with the H2O2 production (Özcan et al. 2008). As a result, less H2O2 will be produced and the oxidation of the substances in the wastewater will be reduced.

$${\text{O}}_{2} + 4{\text{e}}^{ - } + 4{\text{H}} + \to 2{\text{H}}_{2} {\text{O}}$$
(5)

Also, when the current density is zero, the degradation of organic materials is very low, which indicates the importance of the current density applying as an effective parameter in the electro-Fenton process.

Figure 4 shows the pH efficiency on the COD removal. As can be seen, the effect of the presence of iron nanoparticles is more than that of the presence of nanoporous aluminum electrodes. This effect is higher in acidic levels, and at the optimum response point, it reaches its highest level and as it approaches the basic range, this effect is reduced and the effect of the presence of iron nanoparticles and nanoporous electrodes will be approximately equal and their impact is reduced. Reducing the effect of iron nanoparticles occurs with increasing levels of alkalinity, and this indicates that the catalytic effect of nanoparticles is very high in acidic range and with decrease in acidity, this effect is also reduced. The highest removal efficiency is seen at pH = 3. At this pH, the best conditions for hydroxyl radical formation are available in the Fenton process. Also, in acidic conditions, according to reaction 6, hydrogen peroxide is well formed by cathodic rebound. With increase in pH to the neutral range, it is observed that the electro-Fenton process has less efficiency in COD removal which results from the formation of ferric species that reduces ferrous ion reproduction, thereby preventing the production of more hydroxyl radicals (Sheng et al. 2011; Flox et al. 2006).

$${\text{O}}_{2} + 2{\text{H}}^{ + } + 2{\text{e}}^{ - } \to {\text{H}}_{2} {\text{O}}_{2}$$
(6)

Figure 5 shows the volume fraction of H2O2 to petrochemical wastewater (\(\frac{{{\text{ml}}\,{\text{H}}_{2} {\text{O}}_{2} }}{\text{Lit PW}}\)) efficiency on the COD removal. As can be seen, the effect of iron nanoparticles is more than the nanoporous aluminum electrodes. This effect is low in both cases at low ratios, and the difference of these effects is approximately equal and as the ratio increases, the impact of these factors also increases and this increase continues to the optimum point, and then it will decrease and the most difference is observed at the optimum point of these two factors. Figure 6 shows the \(\frac{{{\text{mol}}\,{\text{H}}_{2} {\text{O}}_{2} }}{{{\text{mol}}\,{\text{Fe}}^{2 + } }}\) molar ratio efficiency on the COD removal. As can be seen, in this case, the effect of the presence of nanoparticles is more than that of the presence of nanoporous aluminum electrodes. And this effect is low at the beginning of the range and is almost equal in both cases, but as the ratio increases, the impact of the two factors increases and at the optimum point it reaches its maximum level and then it decreases. The slope of increasing and decreasing when using the iron nanoparticles is more than that when using the nanoporous aluminum electrodes, and this reflects the better reactivity of nanoparticles.

Fig. 6
figure 6

\(\frac{{{\text{mol}}\,{\text{H}}_{2} {\text{O}}_{2} }}{{{\text{mol}}\,{\text{Fe}}^{2 + } }}\) molar ratio efficiency on the COD removal

The \(\frac{{{\text{mol}}\,{\text{H}}_{2} {\text{O}}_{2} }}{{{\text{mol}}\,{\text{Fe}}^{2 + } }}\) and \(\frac{{{\text{ml}}\,{\text{H}}_{2} {\text{O}}_{2} }}{\text{Lit PW}}\) ratios are dependent on each other; therefore, the effects of both are considered together to study COD elimination. Increasing the \(\frac{{{\text{ml}}\,{\text{H}}_{2} {\text{O}}_{2} }}{\text{Lit PW}}\) ratio, due to the constant volume of wastewater, increases the amount of H2O2, and this increase leads to an increase in the ratio of \(\frac{{{\text{mol}}\,{\text{H}}_{2} {\text{O}}_{2} }}{{{\text{mol}}\,{\text{Fe}}^{2 + } }}\) and consequently an increase in reactive substances in the reaction medium.

As the graphs show, increasing the amount of reactant to the optimum point increases the amount of COD removal and when it passes through the optimum point, it wastes the reactants and also reduces the COD removal.

In general terms, the optimum point on the amount of reactants in the process can be explained by the fact that the excessive increase in ferrous ion can greatly reduce the process efficiency by using hydroxyl radicals. In addition, production of ferric ion can lead to the hydrogen peroxide decomposition in the reaction medium and the production of OOH˚ radical has a negative effect on the electro-Fenton progress (Pignatello et al. 2006; Bigda 1995; Casero et al. 1997; Tengrui et al. 2007).

$${\text{OH}}^{ \circ } + {\text{Fe}}^{2 + } \to {\text{Fe}}^{3 + } + {\text{OH}}^{ - }$$
(7)
$${\text{H}}_{2} {\text{O}}_{2} + {\text{Fe}}^{3} \to {\text{H}}^{ + } + {\text{OOH}}^{ \circ } + {\text{Fe}}^{2 + }$$
(8)

Also, excessive amounts of hydrogen peroxide in the wastewater lead to the absorption of active hydroxyl radicals and the production of OOH˚ radical. OOH˚ radical species is a much weaker oxidant compared to hydroxyl radical, whose production reduces the efficiency of the electro-Fenton process (Kim et al. 2004; Bigda 1995).

$${\text{H}}_{2} {\text{O}}_{2} + {\text{OH}}^{ \circ } \to {\text{OOH}}^{ \circ } + {\text{H}}_{2} {\text{O}}$$
(9)

Hydrogen peroxide produced cannot oxidize organic compounds that are resistant to decomposition alone, and the presence of ferrous ion in very low amounts leads to the formation of radical hydroxyl. Increasing the amount of ferrous ion to the optimum amount will increase the efficiency, but after this amount of process efficiency will be reduced; according to Haber and Weiss’s proposed reactions, it is hypothesized that according to reaction 10, the excessive ferrous ion reacts with hydroxyl radical, which is subsequently associated with the reduction of oxidation of organic compounds. Consequently, it can be said that controlling of the concentration of ferrous ion in the electro-Fenton reaction is very important (Zhang et al. 2008; Haber and Weiss 1934).

$${\text{Fe}}^{2 + } + {\text{OH}}^{0} \to {\text{Fe}}^{3 + } + {\text{OH}}^{ - }$$
(10)

4 Conclusions

In this work, the modified electro-Fenton process using the Fe@Fe2O3 and nanoporous anodic aluminum oxide (AAO) electrodes was applied to investigate the petrochemical wastewater COD removal. The efficiency of various parameters such as current density (25–80 mA/m2), pH (2–5) and reaction time (10–90 min) was investigated. 75.52% and 65.03% COD removal have been obtained during experiments. As can be seen, iron nanoparticles have a better impact on the reaction, and this is because nanoparticles provide more active surface for chemical reactants and also they can act as an auxiliary agent for iron catalyst.