1 Introduction

The impact of environmental issues on health has drawn attention from all across the world. Exposure to environmental pollution results in many human diseases. Inappropriate handling and disposal of industrial waste is the leading cause of environmental deterioration. According to World Bank estimates, textile wet processing treatments are responsible for 17–20% of water pollution (Zhou et al., 2010).

Colours are broadly utilised in numerous modern fields, for example, materials, plastics, textiles, and paper. It has been estimated that 10–15% of the colouring materials were wasted during the colouration of materials and discharged as waste (Al-Ghouti et al., 2003). The release of non-degradable synthetic colouring materials into water has caused worldwide concern due to ecological problems. These colours are mainly hard to degrade due to their intricate structure. The existence of these colours in wastewater is highly objectionable, even in meagre amounts. Many dyes are considered harmful and cancer-causing for humans and animals (Uddin et al., 2009). Therefore, the advancement of new methods to reduce the release of dyes into water is of extraordinary significance.

Several studies have been conducted for the elimination of colour from water through many techniques, such as adsorption (Mahanta et al., 2008; Rachiq et al., 2021), membrane filtration (Lee et al., 2006; Loukili et al., 2008), coagulation (Anouzla et al., 2009; Shi et al., 2007), and photocatalysis (Azarang et al., 2014, 2015; Fernandez et al., 2002; Moussadik et al., 2023; Yousefi et al., 2015). The importance of adsorption is significantly higher among all the techniques mentioned above as it provides high productivity, is easy-to-handle operation, and is more effective than other relevant methods. Different adsorbents, including polymeric materials (Yu et al., 2003), composite electro spun fibres (Zhao et al., 2017a, 2017b; Zhao et al., 2015), zeolites (Lee et al., 2007), clays (Espantaleon et al., 2003; Loukilia et al., 2021), and activated carbons (Al-Degs et al., 2000), have been exploited for the elimination of dyes from water. However, these materials have many shortcomings, such as low adsorption power and difficult recovery from the solution. Hence, new adsorbents with high adsorption power and easy recovery from the solution are essential in wastewater treatment.

Due to their attractive properties, iron-containing nanoparticles are being employed in several fields, such as medical treatment and diagnosis, magnetic storage devices, catalysis, environmental remediation processes, and sensors. The central fact behind the much attention focused on producing and characterising iron-containing nanoparticles is their extraordinary properties compared with their bulk material. Iron oxide nanoparticles with a superparamagnetic nature are mainly used in medicinal sciences, magnetic resonance imaging (MRI), and biosensors (Raming et al., 2002; Zhong et al., 2006).

For synthesising homogeneous iron oxide nanomaterials, many methods have been utilised, like co-precipitation, thermal decomposition, hydrothermal, sol–gel, and precursor (Cao et al., 2005; Chauhan et al., 1999; Ganguli & Ahmad, 2007; Hyeon et al., 2001; Morello III et al., 2007; Rockenberger et al., 1999; Sonavane et al., 2007). However, most of the described methods have some drawbacks, such as (i) difficult-to-handle reagents, (ii) metal complex precursors which are usually expensive and difficult to prepare, (iii) strong acids or alkalis, (iv) costly instruments, and (vi) formation of undesired products (Mendoza et al., 2005). Therefore, developing a facile process to prepare iron oxide nanoparticles of the desired phase is still challenging. This research work was carried out to address the shortcomings of conventional methods.

The most commonly used technique to manufacture iron oxide (Fe3O4 and γ-Fe2O3) nanoparticles is the co-precipitation technique through which ferric and ferrous ions are reacted at higher temperatures in an alkaline medium. The geometry of Fe2O3 NPs produced is influenced mainly by the ferrous and ferric ion ratios, the type of salt used in the production, the medium’s pH, the reaction’s temperature, and many other process variables like stirring and the addition rate of chemicals (Wu et al., 2008). This method has a critical influence on the synthesised Fe2O3 NPs. The saturation magnetisation values of nanomaterials are mainly observed to be smaller than their bulk-size materials (Binh et al., 1998).

The ultrasonic-assisted approach is an economical process for the production of nanomaterials. Compared to any other technique, this method is superior to all others in terms of its ability to regulate the size and crystallinity of the end product. This is due to the fact that, through the propagation of sound waves, the material undergoes physical and chemical changes as a result of ultrasonic energy. These waves cause a great number of bubbles, which ultimately explode to produce excessive heat energy, which can significantly increase the local temperature and pressure (Guo et al., 2011). The ultrasonic-assisted method has been used by many scientists for nanomaterial synthesis (Gedanken, 2004; Ghows & Entezari, 2010; Nguyen et al., 2023; Patil & Pandit, 2007; Zhang et al., 2023).

This work reports the ultrasonic-assisted synthesis of maghemite in pure form with a modified co-precipitation method. A comprehensive study of essential process variables such as pH of the medium, temperature of the reaction, and duration of the reaction process was done to develop the optimum process for synthesising pure iron oxide nanoparticles. The end products were confirmed with X-ray diffraction. Further, the synthesised nanoparticles were characterised with a scanning electron microscope (SEM), spectrophotometer, and vibrating sample magnetometer (VSM). The synthesised nanoparticles were employed for the adsorption of MB dye from the solution. The thermodynamics and adsorption kinetics of MB on maghemite nanoparticles were studied using various models. The main benefits of this procedure are that the process is quite simple, and raw materials used to synthesise nanoparticles are nontoxic and environmentally friendly. Also, this method does not need any complex purification or separation procedures, so the maghemite nanoparticles could be synthesised in a single step. Further, the synthesised nanoparticles can be easily recycled and reused for the elimination of dyes from the solution.

The objectives of this research work are to optimise the synthesis of maghemite nanoparticles by ultrasonic-assisted method to achieve the minimum size and efficient adsorption of dyes from water with synthesised nano-adsorbent. The experiments were planned with Box–Behnken statistical design. The results were analysed with response surface methodology using Design-Expert software.

2 Experimental

2.1 Materials

Chemical reagents, i.e. Fe(III) chloride hexahydrate, iron(II) sulphate heptahydrate, ammonium hydroxide, sodium hydroxide, hydrochloric acid, nitric acid, and methylene blue (MB) dye, were procured from Sigma Aldrich. The calibration spectra of MB were measured by spectrophotometer (Datacolor 850 Spectrophotometer, Datacolor, USA) to verify the actual concentration of dye in the prepared solutions.

2.2 Synthesis

The synthesis of maghemite nanoparticles was carried out with ultrasonic-assisted modified co-precipitation method. A mixture of ferrous sulphate heptahydrate (6.08 g, 200 mM) and ferric chloride hexahydrate (21.62 g, 400 mM) at a stoichiometric ratio of 1:2 was prepared in 200 mL of water. The whole solution was placed in an ultrasonic bath. A few drops of HCl were added to stabilise the anionic surface charges. Then, NH4OH was used dropwise to achieve the desired pH, resulting in the formation of a black precipitate. The process of synthesis was carried out at specific temperatures and times according to the experimental plan as given in Table 1 and Table 2. Then, 100-mL nitric acid was added for the oxidation of iron oxide. The precipitate turned dark brown, showing the formation of maghemite. Deionised water was used to wash the obtained nanoparticles. The resultant nanoparticles were separated with a magnet and dried.

Table 1 Selected factors with their levels for the synthesis of iron oxide nanomaterials
Table 2 Design of the experiment and resultant size of the maghemite nanoparticles

2.3 Design of Experiment

Box–Behnken design is the most widely used statistical design in the response surface methodology for process modelling and optimisation (Abrouki et al., 2021). Box–Behnken statistical design with a central point (0) and factorial points (± 1) was used for this research work. Box–Behnken design with three different input variables (pH, temperature, and time), their assigned symbols, and ranges is displayed in Table 1. The analysis of variance (ANOVA) test was utilised to evaluate the linear and quadratic effects of each variable and their interactions with the output response. A 95% confidence interval (p-value < 0.05) was taken into account. After the ANOVA test, the behaviour of input and output factors was evaluated by using response surface methodology (RSM). This method is useful for assessing response surfaces via quadratic model fitting (Anouzla et al., 2022). Design-Expert software by Stat-Ease Corporation was used for designing experiments and optimisation of independent factors. The experimental setup with different pH conditions, temperature, and time based on the Box–Behnken design along with the results of nanoparticle size is presented in Table 2. The quadratic Eq.(1) was used to adjust the impact of variables on results.

$$Y={b}_{0}+\sum {b}_{i}{X}_{i}+\sum {b}_{i.j}{X}_{i}{X}_{j}+\sum {b}_{i.i}{X}_{i}^{2} i\ge j i,j=\mathrm{1,2},3$$
(1)

where b0 represents the coefficient of the constant term in the equation, the coefficient bi of the linear term describes the influence of the variables, the coefficient of the quadratic term is denoted by bii, and the two-factor interaction coefficient is represented by bij (Noman et al., 2019).

2.4 Characterisation

To comprehend the system underlying the elimination of contaminants from water using adsorbents, it is imperious to investigate the adsorbents for different surface features (Imran et al., 2020; Iqbal et al., 2019; Naeem et al., 2019). The surface characteristics of the nanoparticles were measured with UHR FE-SEM (Carl Zeiss Meditec AG, Jena, Germany). PANalytical X-ray diffractometer (Netherlands) equipped with a scintillator detector was used to measure XRD patterns to detect the structure of prepared nanoparticles. The nanoparticle surface area was analysed with the help of the Autosorb iQ instrument from Anton Paar GmbH by the Brunauer–Emmett–Teller (BET) method. The UV–visible spectra of samples were acquired with a spectrophotometer (Datacolor 850 Spectrophotometer, Datacolor, USA). VSM (Lake Shore 7407) was employed to observe the magnetic characteristics of as-prepared nanoparticles.

2.5 Adsorption Experiments

Different trials were conducted to analyse the MB dye adsorption on maghemite nanoparticles. For the determination of optimum conditions for removal of MB by maghemite nanoparticles, experimental parameters were dye initial concentration (5 to 25 mg L−1), adsorbent dosage (4 to 20 mg L−1), pH (2 to 10), temperature (25 to 45 °C), and agitation speed (0 to 200 rpm). The solutions’ pH was maintained with HCl (0.1 mol L−1) or NaOH (0.1 mol L−1) solutions.

The proportion of the MB dye removal from solutions is measured with Eq. (2).

$$R(\%)= \frac{({C}_{o} -{C}_{t})}{{C}_{o}} \times 100$$
(2)

In Eq. (3), adsorption capacity at any given time t was determined.

$${q}_{t}= \frac{\left({C}_{o} -{C}_{t}\right)V}{m}$$
(3)

In the above equation, Co (mg L−1) expresses the initial dye concentration, while at any given time t (min), Ct (mg L−1) represents dye concentration, whereas m (g) represents the mass of nano-adsorbent and V (L) denotes the volume of solution.

3 Results and Discussion

The results of this work are presented here.

3.1 Size of the Nanoparticles

The measured size of the resultant maghemite nanoparticles in response to different processing conditions is presented in Table 2. For this study, a total of 17 samples were prepared with variations in pH, temperature, and time. The results indicate that the nanoparticles’ size increased after a certain time interval. The findings revealed an enhancement in the particle size from 34 to 80 nm, 45 to 70 nm, and 40 to 62 nm by varying the individual variables from their minimum to maximum levels. However, the best outcome with a 25-nm size was achieved for sample number 12 with optimum processing conditions at a pH level of 12, a temperature of 70 °C, and a time of 60 min.

A mathematical model was designed for the analysis and prediction of the size of nanoparticles as presented in Eq. (4). This model can predict the result at any given point in space.

$$\mathrm{Nanoparticle size}=117.6+5.06 \left({\text{pH}}\right)-0.52\left({\text{temperature}}\right)-2.71 \left({\text{time}}\right)-0.03\left({\text{pH}}\times {\text{temperature}}\right)-0.05\left({\text{pH}}\times {\text{time}}\right)+0.01\left({\text{temperature}}\times {\text{time}}\right)-0.16\times {\left({\text{pH}}\right)}^{2}-0.002{\left({\text{temperature}}\right)}^{2}+{\left({\text{time}}\right)}^{2}$$
(4)

The effect of selected factors on the outcomes is statistically evaluated by the ANOVA test. The results demonstrate the statistical significance of the established model for particle size at p-value < 0.0001 and F-value 53.78 as mentioned in Table 3. The statistical analysis shows that there is a 0.01% chance that an F-value of this magnitude could be caused by noise. The capability of the established model is acceptable, as p-values < 0.05 show the importance of the model terms. Therefore, the model terms A, B, C, BC, and C2 are significant. However, the model terms AB, AC, A2, and B2 showed non-significant effects.

Table 3 Analysis of variance (ANOVA) results regarding the size of nanoparticles

R2 = 0.9857, adjusted R2 = 0.9674.

The use of three-dimensional diagrams is an effective method for gaining a deeper understanding of the impact of various factors and for analysing their interrelationships. Response surface plots are utilised to demonstrate how inputs affect the final nanoparticles’ particle size. These plots are helpful for the visualisation of input variables’ effect on output responses. The interaction results for the influence of essential process variables on the synthesis of maghemite nanoparticles are presented in Fig. 1.

Fig. 1
figure 1

The 3D response surfaces and contour plots for nanoparticle size under the effect of a pH, temperature; b pH, time; and c temperature, time

According to the process modelling and experimental results, the process for the synthesis of nanoparticles was optimised to achieve the minimum size of the nanoparticles using Design-Expert software version 13. Among the available 100 solutions, the first solution was chosen with a desirability of 1.000 as presented in Fig. 2. Therefore, the optimum settings for the synthesis of maghemite nanoparticles were chosen as follows: pH level of 12, a temperature of 70 °C, and a time of 60 min.

Fig. 2
figure 2

Optimisation ramps for the process factors to achieve the minimum size of nanoparticles

3.2 XRD Analysis

The XRD spectra of as-synthesised maghemite nanoparticles are presented in Fig. 3.

Fig. 3
figure 3

XRD patterns of maghemite nanoparticles

The obtained peaks, i.e. 220, 311, 400, 422, 511, and 440 of the XRD diffraction pattern, represent the cubic spinel structure of the powder diffraction database with a card no. (JCPDS No. 39–1346) as shown in Fig. 3. These patterns confirm the pure crystals of maghemite iron oxide nanoparticles. These XRD findings are in agreement with other researchers (Guivar et al., 2014; Horner et al., 2009; Wu et al., 2010). The XRD peak at 311 shows a strong maghemite crystalline structure of nanoparticles (Hyeon et al., 2001). The synthesised nanoparticles’ average crystal size was 25 nm, as determined by the Scherer equation from the XRD study (Saravanan et al., 2013). The calculated lattice constant of prepared maghemite nanoparticles by diffraction data was 8.3491 ± 0.0005 Å, which is well in line with that of bulk maghemite (8.3505 Å) (Goss, 1988). The d-spacing values are presented in Table 4.

Table 4 d-Spacing of the as-synthesised maghemite nanoparticles

3.3 SEM Analysis

SEM images were captured at various magnifications to observe the surface of the synthesised nanoparticles of iron oxide. The samples were prepared with a gold coating using a plasma sputtering device for SEM analysis. Micrographs of as-synthesised iron oxide nanoparticles using high-resolution SEM are displayed in Fig. 4. It is obvious that the resultant nanoparticles were extremely small and smooth, with a spherical shape predominating in most cases. The average size of maghemite nanoparticles was determined to be 25 nm at optimum processing conditions at a pH level of 12, a temperature of 70 °C, and a time of 60 min.

Fig. 4
figure 4

SEM images of iron oxide nanoparticles

3.4 Surface Area Analysis

Maghemite nanoparticles’ surface area was measured using N2 adsorption/desorption with the BET method to assess the adsorption ability of synthesised nanoparticles. The BET plot is presented in Fig. 5. The BET technique has served as a prevailing tool for uncovering the secrets of the nanoscale world. This method is widely considered the gold standard for measuring the surface area of materials, particularly at the nanoscale. A linear BET multipoint plot of 1/[W(P/P0) − 1] vs P/P0 is presented in Fig. 5.

Fig. 5
figure 5

BET plot for maghemite nanoparticles

The surface area of maghemite nanoparticles prepared at optimum conditions (sample no. 12) was observed to be 190 m2 g−1. The high surface area of iron oxide nanoparticles contributes to the significantly higher adsorption capacity of these particles.

3.5 Optical Properties

The synthesised nanoparticles were dispersed in water and studied for their absorption spectra at room temperature. Maghemite nanoparticles demonstrated a sharp absorption peak around 315 nm, as shown in Fig. 6. It is observed that the colour of the maghemite nanoparticle solution is brownish, which also confirms the formation of maghemite.

Fig. 6
figure 6

a The absorbance spectra. (b) Digital image of solution of maghemite nanoparticles

3.6 Magnetic Properties

The magnetic hysteresis loop of maghemite nanoparticles is shown in Fig. 7. It was observed that the magnetic saturation of maghemite nanoparticles was 61 emu g−1 with a 7 emu g−1 remanent magnetisation. Maghemite nanoparticles showed typical ferromagnetic characteristics. The lower Ms of maghemite nanoparticles than their bulk may be due to surface spin effects (Morales et al., 1999), as described by other investigators (Jing, 2006; Woo et al., 2004).

Fig. 7
figure 7

Magnetisation hysteresis curves of synthesised maghemite nanoparticles

The magnetic properties of ferromagnetic material were considered to rely on the materials’ size, surface, and crystalline nature. Different magnetic characteristics of the developed nanoparticles are due to the surface morphology and crystal size. The higher magnetic saturation of maghemite nanoparticles may be due to shape anisotropy and magneto-static dipole interactions.

3.7 The Application of Maghemite Nanoparticles for the Adsorption of Methylene Blue

3.7.1 Effect of MB Dye Concentration on the Adsorption

The investigation of the effects of initial concentrations of dye is important for perspective uses of the adsorbent. The starting amount of the dye determines the saturation of the surface of the adsorbent. In the present study, at various initial dye concentrations, the quantity of dye removed by adsorption and the percent of dye adsorbed were measured under varying concentrations from 5 to 25 mg L−1 at 25 °C, pH 8, 200-rpm agitation speed, and adsorbent dosage of 20 mg L−1. Figure 8 shows that as the initial dye amount in the solution went up, the percentage of dye that was removed went down. This shows that there is a negative relationship between how much dye was in the solution at first and how much MB dye was taken out. Dye removal increases with the passage of time, as it took 90 min to reach equilibrium at the 5 mg L−1 initial dye concentration level, whereas 150-min time was taken for 25 mg L−1 dye to attain equilibrium. The relative availability of adsorption sites is higher at lower concentration levels, which enhances the dye removal in a lower time.

Fig. 8
figure 8

The impact of adsorption time and amount of MB on dye removal

The enhancement in adsorption capacity by a rise in the amount of dye was due to more dye particles available during the process. The findings of adsorption capacity are shown in Fig. 9. Previous researchers (Ferrero, 2015; Giri et al., 2011; Zhang et al., 2011) also had the same findings and reported a reduction in the proportion of dye removal.

Fig. 9
figure 9

The impact of adsorption time and amount of MB on the adsorption capacity of nanoparticles

3.7.2 Effect of pH

The environment’s pH has a major impact on the functional groups of dyes. By changing the pH of the solution, dye removal has also been changed. So, the pH has a substantial impact on the kinetics of MB adsorption by maghemite nanoparticles. Dye removal studies were conducted at various pH levels ranging from 2 to 10, and it was revealed that with an increase in the pH of the solution, both dye removal percentage and adsorption capacity increased, as presented in Fig. 10. It happens because the charge on the surface of nanoparticles has been changed by the variation in pH level of the medium. By changing the solution’s pH, the number of hydroxyl groups linked to the surface of maghemite nanoparticles varies.

Fig. 10
figure 10

The adsorption performance of maghemite adsorbent at different pH levels

At a pH of zero charge (pHpzc), there is a neutral surface charge for maghemite nanoparticles, as reported in the literature, which is around 6.6 (Garcell et al., 1998; Kosmulski, 2009; Vayssieres, 2009). Below this pH, the surface of the adsorbent is charged positively by the number of positive (H +) ions accumulated on it from the solution. Therefore, the removal of dye decreased below pHpzc as the electrostatic repulsive forces increased between positive molecules of dye and the adsorbent surface of maghemite, which is also positively charged, while on the other side, a pH higher than pHpzc gives a negatively charged surface to the adsorbent due to deprotonation, and dye removal increased as a result of electrostatic attractions between dye molecules of MB which have a positive charge and negatively charged surface of the maghemite adsorbent. The dye removal efficiency was highest at pH 8, so we determined that this was the best pH value to conduct adsorption experiments.

3.7.3 Effect of Temperature

Dye removal by maghemite nanoparticles was performed at three levels of temperature, i.e. 25 °C, 35 °C, and 45 °C, to investigate the influence of temperature with 5 mg L−1 MB initial concentration, 8 pH, 200-rpm stirring speed, and 20 mg L−1 adsorbent dosage. A small decline in dye removal was detected by increasing temperature, as illustrated in Fig. 11.

Fig. 11
figure 11

Dye removal percentage by maghemite nanoparticles at different temperature levels

3.7.4 Effect of the Dosage of Adsorbent

For practical uses and economic considerations, it is critical to determine the best amount of the dosage that can efficiently remove the pollutants from the water. The amount of the adsorbent material determines both the area and the quantity of sites that are accessible for adsorption (Iqbal et al., 2019). The investigations to study the effect of the adsorbent dosage were performed with a 200-rpm stirring speed, 5 mg L−1 MB initial concentration, pH 8, and 4–20 mg L−1 adsorbent amount. It is experienced that the degree of dye removal is enhanced by increasing the dosage of the adsorbent due to increased adsorption sites, but on the other side, adsorption capacity decreased progressively, as shown in Fig. 12. Dye removal was 75% at 4 mg L−1, which increased to 99% at 20 mg L−1 adsorbent dosage. Our findings were sufficiently supported by the report that an increased adsorbent dose subsequently resulted in the presence of additional active sites where contaminants can be adsorbed (Kumar & Kumaran, 2005).

Fig. 12
figure 12

The impact of the adsorbent amount on adsorption of MB

3.7.5 Effect of Agitation Speed

To investigate the impact of agitation speed on the adsorption of MB by maghemite nanoparticles, the following process parameters, e.g. agitation speed, initial concentration, pH, and adsorbent dosage, were varied from 50 to 200 rpm, 5 mg L−1, 8, and 20 mg L−1 respectively, and outcomes are illustrated in Fig. 13. We came to know that both dye removal percentage and adsorption capacity have been increased significantly by increasing stirring speed. This happened because as we increased the agitation speed, the interactions among adsorbent and dye molecules increased.

Fig. 13
figure 13

Impact of agitation speed on adsorption of MB

3.7.6 Adsorption Isotherms

Isotherms correlate the concentration of adsorbent in liquid and solid phases. The experiments were performed with 200-rpm stirring speed, 25 °C temperature, pH 8, and 20 mg L−1 adsorbent amount by using various concentrations of MB dye.

The adsorption for monolayers on a homogeneous surface of adsorbent is assumed by Langmuir isotherm, which is illustrated in its nonlinear form (Langmuir, 1916) in Eq. (5).

$${q}_{e}=\frac{{q}_{m}{K}_{L}{C}_{e}}{1+{K}_{L}{C}_{e}}$$
(5)

whereas Eq. (6) explains the linear form of Langmuir isotherm.

$$\frac{{C}_{e}}{{q}_{e}}=\frac{1}{{q}_{m}{K}_{L}}+\frac{{C}_{e}}{{q}_{m}}$$
(6)

In these equations, Ce represents the dye concentration (mg L−1) at the equilibrium point in solution, while qe is used for the adsorbed dye amount (mg g−1) at equilibrium, qm expresses the maximum adsorption capacity (mg g−1), and KL (L mg−1) is used for the Langmuir constant.

According to Freundlich isotherm, the distribution of functional groups is uneven. It assumes that the adsorption is multilayer with interactions between adsorbate and adsorbent molecules.

Freundlich isotherm (Freundlich, 1906) is presented in Eq. (7).

$${q}_{e}={K}_{F}{C}_{e}^{{~}^{1}\!\left/ \!{~}_{n}\right.}$$
(7)

The Freundlich model can be described in the linear form in Eq. (8).

$$log \left({q}_{e}\right)=log \left({K}_{F}\right)+\frac{1}{n}log \left({C}_{e}\right)$$
(8)

In the above equation, KF (mg1−1/n L1/n g−1) expresses the Freundlich constant, whereas 1/n is used to express the Freundlich constant indicating the strength of the adsorption.

The fittings of the experimental data to isotherm models for MB adsorption by using as-synthesised maghemite nanoparticles are presented in Fig. 14.

Fig. 14
figure 14

Adsorption isotherms models for maghemite nanoparticles: a linear Langmuir, b nonlinear Langmuir, c linear Freundlich, d nonlinear Freundlich

Table 5 displays the calculated parameters of adsorption isotherms. Maghemite nanoparticles showed 96.52 mg g−1 maximum adsorption capacity. Higher values of R2 showed better fitness of the experimental data of dye removal to the Freundlich isotherm model. This demonstrates the heterogeneous surface of the maghemite adsorbent.

Table 5 Adsorption isotherm parameters for methylene blue

Hall et al. (1966) described an important parameter separation factor, “RL”, established on the Langmuir model and is presented in Eq. (9).

$${R}_{L}= \frac{1}{1+{K}_{L}{C}_{o}}$$
(9)

In the above equation, Co expresses the amount of dye at the start of the experiment, and KL is used for the Langmuir constant.

RL explains the feasibility of the adsorption. The types of adsorption were determined by the value of RL as follows: linear (RL = 1), favourable (0 < RL < 1), unfavourable (RL > 1), and irreversible (RL = 0).

The calculated RL values 0.09 to 0.02 were in between 0 and 1 which confirms that the type of adsorption is favourable for MB on maghemite nanoparticles.

3.7.7 Adsorption Kinetics

The kinetics of MB adsorption on maghemite nanoparticles were explored by Lagergren pseudo-first-order and Ho and McKay pseudo-second-order models.

The pseudo-first-order kinetic model (Lagergren, 1898) in nonlinear form is expressed in Eq. (10):

$${q}_{t}= {q}_{e} \left(1-{e}^{-{K}_{1}t}\right)$$
(10)

where k1 (min−1) shows the first-order kinetics’ rate constant and qt and qe (mg g−1) are the amounts adsorbed at any given time t (min) for adsorbate at equilibrium, respectively.

The pseudo-first-order kinetic model in linear form is written in Eq. (11).

$$\mathit{log}\left({q}_{e}-{q}_{t}\right)=\mathit{log}\left({q}_{e}\right) -\frac{{K}_{1}t}{2.303}$$
(11)

The pseudo-second-order kinetic model (Ho, 1995, 2006) in nonlinear form is expressed in Eq. (12).

$${q}_{t}= \frac{{q}_{e}^{2}{K}_{2}t}{\left(1+{q}_{e}{K}_{2}t\right)}$$
(12)

where k2 (g mg−1 min−1) shows the rate constant for pseudo-second-order kinetics.

The pseudo-second-order model in its linear form is presented in Eq. (13).

$$\frac{t}{{q}_{t}}=\frac{1}{{K}_{2}{q}_{e}^{2}}+\frac{t}{{q}_{e}}$$
(13)

The adsorption kinetic models of methylene blue by maghemite nanoparticles with linear and nonlinear regression methods are presented in Fig. 15.

Fig. 15
figure 15

MB adsorption kinetics on maghemite: a pseudo-first-order linear, b pseudo-first-order nonlinear, c pseudo-second-order linear, d pseudo-second-order nonlinear

The kinetic parameters and R2 values for MB adsorption kinetics on maghemite are recorded in Table 6. The values of qe and K1 for the linear form of pseudo-first-order kinetics were estimated from the slope and intercept by drawing the plot between log (qe-qt) versus time, whereas the slope and intercept form was utilised to calculate the values of qe and K2 for the linear form of pseudo-second-order kinetics by drawing the plot between t/qt versus time. The appropriateness of the model was evaluated from the regression coefficient (R2) values. It was observed that the kinetics of MB on maghemite nanoparticles follow a pseudo-second-order kinetic model due to the highest correlation coefficient (R2) values.

Table 6 MB adsorption kinetic parameters for maghemite nanoparticles

3.7.8 Adsorption Thermodynamics

Adsorption thermodynamics for methylene blue dye adsorption on maghemite nanoparticles were studied using Eq. (14)

$$\Delta G^\circ = -RTln{K}_{c}$$
(14)

In the above equation, ΔG° (kJ mol−1) expresses Gibb’s free energy, whereas T (K) is used for temperature, R (8.314 J mol−1 K−1) is used as a universal gas constant, and Kc (dimensionless) is the thermodynamic constant.

Equation ((15)) describes the relationship between thermodynamic parameters.

$$\Delta G^\circ = \Delta H^\circ -T\Delta S^\circ$$
(15)

In the above equation, ΔH° (kJ mol−1) shows the enthalpy of the system, and ΔS° (J mol−1) explains the entropy.

The substitution of Eq. (14) into Eq. (15) resulted in the development of the Van’t Hoff Eq. (16) which can be stated as follows.

$${\text{ln}}{K}_{c}=\frac{-\Delta H^\circ }{RT}+ \frac{\Delta S^\circ }{R}$$
(16)

In the above equation, the value of Kc can be calculated by multiplying the Langmuir constant by 106 (Milonjić, 2007, 2009; Tran et al., 2016). Kc is a dimensionless quantity which is known as a thermodynamic constant.

Equation (14) was used to analyse the amount of ΔG°, whereas the slope and intercept form of the plot between lnKc versus 1/T, respectively (Eq. 16), was employed to measure the values of ΔH° and ΔS°. Thermodynamic parameters are recorded in Table 7 for the adsorption of MB by maghemite nanoparticles. Gibb’s free energy (ΔG°) is utilised to calculate the degree of spontaneity for the observed process. Negative ΔG° indicates the spontaneous nature of the adsorption of MB on maghemite nanoparticles.

Table 7 Important thermodynamic parameters used in adsorption

The mechanism of the MB dye removal by maghemite nano-adsorbent is exothermic, which is evident from the negative values of ΔH° (ΔH° < 0) as shown in Table 7. This shows that there is a negative correlation between temperature and the equilibrium constant (Kc). Further, the positive values of ΔS° indicate the random association of the molecules of dye on maghemite nanoparticles’ adsorbent surface. Thermodynamic parameters show that the process is physical adsorption.

3.7.9 Adsorbent Stability and Reusability

An adsorbent to be used for wastewater treatment at the industrial level should have good adsorption capacity, be highly stable, and be easily recoverable from the water. Recycling is crucial for reducing the cost of the wastewater treatment process (Hu et al., 2005). The stability of as-synthesised nano-adsorbent was evaluated by leaching test at different pH levels, and outcomes are presented in Fig. 16. Briefly, 0.25-g maghemite nanoparticles were dispersed in 200 mL of water and agitated at 200 rpm for 120 min. At pH 2, the maximum leaching of iron ions was 2.5 mg L−1 as calculated with atomic absorption spectroscopy and decreased significantly with a rise in solution pH. The negligible results for iron ions leaching were found at pH levels higher than 6, which proves the good stability of the adsorbent at pH values above 6.

Fig. 16
figure 16

Iron ions leaching results at various pH levels

The adsorption of MB is maximum at pH level 8 due to higher electrostatic attractions and decreased at lower pH levels. Therefore, the developed adsorbent can be recycled by varying the solution pH. To analyse the reusability and recycling of maghemite nanoparticles, the adsorption and desorption were performed for ten cycles. The results are shown in Fig. 17. Maghemite nanoparticles exhibit 95% dye removal efficiency even after ten cycles, which shows excellent recycling performance.

Fig. 17
figure 17

Percentage of dye removal performance after ten reuse cycles for maghemite nanoparticles

3.7.10 Comparison of Maghemite Adsorbent for the Removal of MB with Other Adsorbents

For practical uses and economic considerations, it is critical to compare the effectiveness of various adsorbents for the elimination of pollutants. Therefore, the comparison of the synthesised maghemite nanoparticles with many other materials for the elimination of methylene blue dye has been presented in Table 8. The adsorption capacity (96.52 mg g−1) of maghemite nanoparticles obtained from the Langmuir isotherm is better than that of many adsorbents for removing dyes from water, as mentioned in Table 8, which shows their good potential for efficient wastewater treatment. The higher adsorption capacity of maghemite nanoparticles is attributed to the higher surface area of the nanoparticles.

Table 8 Comparative adsorption performance of different materials for MB dye

4 Conclusions

In this study, an efficient and economical method was developed to prepare maghemite nanoparticles by an ultrasonic-assisted modified co-precipitation technique. Nanoparticle size can be controlled systematically with adjustments to the processing conditions. Iron oxide nanoparticles have been fabricated by an economical and environment-friendly method without using any surfactant or solvent, which shows the large-scale production potential of pure iron oxide nanoparticles. The effect of process variables was modelled and analysed with Box–Behnken statistical design and response surface methodology using Design-Expert software. The best outcome with 25-nm size was achieved with optimum processing conditions at a pH level of 12, a temperature of 70 °C, and a time of 60 min. The prepared maghemite nanoparticles were successfully employed for the adsorption of MB dye from water. The maximum adsorption capacity of maghemite nanoparticles was observed to be 96.52 mg g−1.

From the studies for the comparison of the adsorption capacity of the synthesised nanoparticles with other materials in the same field, it was suggested that the maghemite nanoparticles are of greater interest. Higher values of R2 showed better fitness of the experimental data on dye removal to the Freundlich isotherm model and pseudo-second-order kinetic model. Maghemite nanoparticles can be easily restored and reused repeatedly, as observed from desorption studies, so they can facilitate dye removal in textile industries. The easy synthesis method, good adsorption capacity, and simple magnetic recovery of these maghemite nanoparticles make these particles excellent adsorbents. Although maghemite nanoparticles have been found to be excellent adsorbents for the elimination of dyes, the adsorption process is still the subject of more specialised wastewater treatment analyses. On the other hand, the development of novel effective systems for the treatment of wastewater containing multiple contaminants could be an interesting innovation for the future.