Introduction

Cationic dyes are toxic because they contain aromatic rings [1]. Methylene blue (MB) is a common cationic dye and used for the intinction of cotton, wool, and silk. Releasing this dye to the environment can interfere with the humans life and living organisms [2, 3]. Accordingly, it is necessary to decrease MB from an aqueous media before discharge into the environment.

The physicochemical methods are more interesting among other methods due to their low cost, ease of operation, and high achievement [4]. Various materials have been proposed for the dye adsorption from aqueous solutions, of which hydrogels are one of the most commonly used adsorbents. Hydrogels are hydrophilic polymers with 3D networks that are bonded together by chemical or physical crosslinking and can sorb large amounts of water in their structure [5]. High swelling hydrogels causes capillary impact and osmotic pressure due to the presence of -NH2, -COOH, -OH, -CONH2, -CONH, and -SO3H [5]. Hydrogels have applied in various fields like agriculture (controlled fertilizer release) [6], water storage, soil ventilation [7], water/ wastewater treatment [8], and medicine [9]. In the synthesis of hydrogels, the use of biopolymers such as sodium alginate, chitosan, Arabic gum, and xanthan gum has attracted consideration due to their availability, low cost, and biodegradability [10]. However, it should be noted that synthesized hydrogels based on biopolymers, compared to synthetic polymers, have serious limitations like low hydrodynamic volume, poor thermal stability, lower surface area, and poor mechanical strength [10]. Therefore, the strength of polymer-based hydrogels should be improved. Copolymerization with synthetic polymers or modification with nanoparticles is a method for modifying biopolymers. One of the monomers used in the synthesis of copolymers and easily copolymerized with methacrylic acid monomer (MAA) is the acrylamide (AAm) monomer. The methacrylic acid monomer is composed of vinyl and carboxyl groups, which easily copolymerized with AAm monomer and can improve its properties [11].

In addition to copolymerization, the addition of minerals like clay to polymers can improve their mechanical performance, fire resistance, and thermal and electrical conductivity [12]. In recent years, clay minerals such as attapulgite [13], bentonite [14], kaolin [14], and montmorillonite (MMT) have been used to promote the physical and mechanical characteristics of hydrogels [15]. MMT has caused more attention in the preparation of hydrogels due to recyclability, free of biological contamination, low toxicity, and modification of polymer properties. Cloisite 30B (C30B) is a type of MMT. The MMT surface is modified with an organic surfactant called methyl tallow bis-(2-hydroxyethyl) of quaternary ammonium salt [16] and can be used as a suitable choice in modifying the properties of hydrogels.

According to the latest searches on reputable scientific sites, the adsorption performance of nanocomposite adsorbents prepared from CMC-g-Poly(MAA-co-AAm) and C30B, especially for MB dye removal, is still unclear. Therefore, in this investigation, the main aim was to synthesize CMC-g-Poly(MAA-co-AAm) hydrogel (Hyd) and CMC-g-Poly(MAA-co-AAm)/C30B nanocomposite hydrogel (Hyd/C30B) by graft copolymerization of MAA and AAm monomers along the CMC chain. The special goals were designed to (1) evaluate the effects of different ratios of AAm and MAA monomers to CMC and different C30B values ​​on hydrogel structure (swelling factor) and MB adsorption from aqueous media; (2) assess the effect of various parameters on adsorption; (3) study the adsorption behavior using isotherm and kinetics models; and (4) explore the reusability and wastewater treatment capability of the nanocomposite hydrogel.

Experimental

Materials

Methacrylic acid monomer (C4H6O2, analytical reagent, 98%, MW: 86.09 g/mol), acrylamide monomer (CH2CHCONH2, AAm, analytical reagent, 98%, MW: 71.08 g/mol) methylene blue (C16H18ClN3S, MW: 319.86 g/mol, λmax: 665 nm), sodium hydroxide (NaOH, analytical reagent, > 99%, MW: 39.99 g/mol), and hydrochloric acid (HCl, analytical reagent, 37%, MW: 36.45 g/mol) were purchased from Merck Co., Germany. Carboxymethyl cellulose biopolymer (CMC) and potassium persulfate (K2S2O8, KPS, analytical reagent, ≥ 99%, MW: 270.32 g/mol) were prepared from Samchun (Korea). N–N-methylene bis-acrylamide (MBA, analytical reagent, 98%, MW: 154.17 g/mol) was purchased from Sigma-Aldrich (USA). The C30B nanoclay was purchased from Southern Clay Products Inc. (USA).

Synthesis of adsorbents

Hyd/C30B was synthesized using the free radical graft copolymerization method. For this purpose, an exact amount of C30B nanoclay was first added to 15 mL of deionized water and stirred for 3 h. At the end of this time, 1 g of CMC biopolymer was dissolved in 20 mL of deionized water and then C30B suspension was added (mixture A). After preparation of mixture A, a certain amount of MAA (with a neutralization degree of 75%) and AAm monomers were dissolved in 8 mL of deionized water (mixture B), and 0.03 g of MBA as a cross-linker was dissolved in 5 mL of deionized water and added into mixture B. Then, mixture B was added to mixture A and stirred for 30 min under a nitrogen atmosphere for deoxygenation and placed in a thermostatic bath at 70 °C. After, 0.1 g of KPS was then added to the general mixture (mixture A + mixture B) as an initiator under a nitrogen atmosphere and placed at 70 °C for 3 h to complete the free radical polymerization reaction. At the end of this time, the nanocomposite hydrogel produced was washed with ethanol and deionized water and placed at 55 °C for a day to dry completely. After drying, the nanocomposite hydrogel was pulverized using a mill and granulated using sieve No. 25 (ASTM E11), and stored in anti-humidity polyethylene containers at room temperature. Synthesis of hydrogel without nanoclay has been done according to the mentioned method, with the difference that C30B nanoclay has not been used in its preparation. Figure 1 shows the mechanism for the synthesis of the desired nanocomposite hydrogel.

Fig. 1
figure 1

Proposed reaction mechanism for the synthesis of Hyd and Hyd/C30B

Swelling determination

To check the swelling rate of the desired hydrogel sample, 1 g/L of the desired hydrogel sample was immersed in 100 mL of deionized water for 24 h at a temperature of 25 °C. After 24 h, the swollen hydrogels were removed from the deionized water and weighed using a digital scale. The equilibrium water absorption capacity (Weq, g/g) was determined using the following equation [17]:

$${W}_{eq}=\frac{{W}_{s}-{W}_{i}}{{W}_{s}}$$
(1)

where Wi and Ws are the weight of the dry and swollen hydrogel samples, respectively.

MB adsorption tests

The adsorption of MB cationic dye was done in the batch system using C30B, Hyd, and Hyd/C30B, and the effect of the weight ratio of MAA/AAm monomers and the amount of CMC to the total MAA/AAm monomers on the MB adsorption was studied. After determining the optimal value of CMC and the weight ratio of MAA to AAm monomers, the effect of effective parameters (pH, temperature, contact time, adsorbent dose, and dye concentration) on the adsorption percentage was investigated. To evaluate the impact of pH, the adsorption study was performed in pH 2–10 and in conditions such as MB concentration of 10 mg/L, adsorbent dose of 0.8 g/L, contact time of 30 min, temperature of 25 °C, and mixing speed of 300 rpm. After that, the effect of other parameters like temperature (25–45 °C), time (10–120 min), adsorbent dose (0.4–1.22 g/L), and dye content (10–50 mg/L) was also examined at the optimum pH value. At each step after the adsorption process, the residual dye in an aqueous solution was measured using a UV–vis spectrophotometer and at a maximum wavelength of 665 nm. The adsorption process was performed with three iterations and the average of the data was presented as the desired result. The MB adsorption (%) and equilibrium adsorption capacity (qe, mg/g) of the adsorbents were determined by the following formulas:

$$\mathrm{MB\,\,adsorption }\left(\mathrm{\%}\right)=\frac{{\left[\mathrm{MB}\right]}_{\mathrm{initial}}-{\left[\mathrm{MB}\right]}_{\mathrm{final}}}{{\left[\mathrm{MB}\right]}_{\mathrm{initial}}}$$
(2)
$${\mathrm{q}}_{\mathrm{e}}=\frac{{(\left[\mathrm{MB}\right]}_{\mathrm{initial}}-{\left[\mathrm{MB}\right]}_{\mathrm{final}}). \mathrm{Volume}}{\mathrm{Adsorbent\,\,weight}}$$
(3)

Results and discussion

Adsorbents property

The FTIR spectra for CMC, C30B, Hyd, and Hyd/C30B before and after the MB adsorption are shown in Fig. 2a,b. An absorption peak in the wavelengths of 3846–3439 cm−1 has been observed in the structure of CMC, Hyd, and Hyd/C30B, which is related to the tensile vibrations of the -OH and N–H groups [18]. Also, the absorption peak at 2908 and 1328 cm−1 appearing in the CMC structure is attributed to the tensile and flexural vibrations of the -CH group and the peak appearing at 1059 cm−1 is linked to C–O–C [19]. The peaks at 1546–1612 cm−1 and 1465–1422 cm−1 related to -COO and carboxylate anions [20]. After the formation of hydrogel, a new absorption peak at 1695 cm−1 was observed, which is attributed to the –C = O group and confirms the successful bonding of MAA and AAm with the CMC structure. In addition, the absorption peak at 1166 cm−1 shows the C-N tensile vibration in the MBA structure [17], accordingly, it can be stated that the desired hydrogel has been successfully synthesized. The absorption peak observed at 1651–1662 cm−1 belongs to carboxamide group in AAm [21], which confirms the production of hydrogel. In the structure of synthesized hydrogels, the vibration peaks appearing at 954 and 764 cm−1 are related to -C–O–C- and carboxyl groups in the acrylate structure, respectively [22]. Peaks have appeared in 1642 and 3396 cm−1 are related to –OH tensile vibrations in C30B and Hyd/C30B [23]. In addition, peaks of 1044 and 524 cm−1 have appeared in the C30B structure, which represent the tensile vibrations of Si–O and Al-O, respectively [23]. After the formation of the Hyd/C30B nanocomposite, peaks appeared at 525 and 1060 cm−1 are attributed to the presence of C30B nanoclay in the desired nanocomposite hydrogel. A shift in the position and intensity of peaks in Hyd/C30B can be due to interactions between the functional groups of the components of the hydrogels (C30B and Hyd). After the adsorption process, the changes in the functional groups in the structure of C30B, Hyd, and Hyd/C30B samples were negligible, indicating that the interaction between the MB molecule and the structure of the samples was due to weak van der Waals bonds and π-π, which indicates the existence of physical interactions [24].

Fig. 2
figure 2

(a) FTIR for fresh C30B, CMC, Hyd, and Hyd/C30B, (b) FTIR for used C30B, CMC, Hyd, and Hyd/C30B, (c) TGA-DTG for Hyd (d) TGA-DTG for Hyd/C30B, and (e) XRD for C30B, CMC, Hyd, and Hyd/C30B

The thermal stability (TGA analysis) results for Hyd and Hyd/C30B samples are shown in Fig. 2c,d. Based on the desired figure, the samples in the temperature of 45–800 °C have three steps of weight loss. The initial step of weight loss for Hyd and Hyd/C30B samples was performed at 45–205 °C and 45–245 °C, respectively, which is related to water evaporation and breaking of C–O–C bonds in the CMC structure forming the target hydrogels [25]. The second weight loss has occurred at 205–345 °C and 240–410 °C for Hyd and Hyd/C30B samples, respectively, which is due to the destruction of the side chain and the CO2 adsorption from the main polymer chain [26]. Based on the TGA results, the highest amount of weight loss occurred in the second stage and the Hyd/C30B nanocomposite sample had less weight loss compared to Hyd, which could be due to the presence of C30B clay nanoparticles in the hydrogel.

Based on the XRD (Fig. 2e), a high-intensity peak is seen in the CMC structure at 2θ: 20.35°, which confirms the presence of the crystal in the CMC structure [27]. It is noticeable that the crystals in CMC are due to intramolecular hydrogen bonds between the hydroxyl and carboxylic functional groups. Also, the XRD diffraction pattern in the synthesized Hyd structure shows two peaks at 2θ = 21.6 and 30.7°, which could be due to CMC in the desired hydrogel structure and the bonding of vinyl monomers with CMC, which can reduce intramolecular hydrogen bonds and crystals in CMC [21]. For C30B sample, peaks have been observed at 2θ: 5–80°, which corresponded to the silicate layers in the C30B nanoclay structure. According to the results, after the formation of Hyd/C30B, the peaks related to C30B have disappeared, which indicates the exfoliated and uniform dispersion of C30B nanoclay layers among the polymer chains forming the hydrogel [17].

SEM and EDX-Map test are drawn in Fig. S1. The results showed that C30B nanoclay has a layered structure with different pores and unevenness and also contains elements of Si, C, O, and Al (Fig. S1a-c). As the results show, the synthesized Hyd has an almost smooth surface and most of its structure consists of C and O (Fig. S1d-f). After the formation of Hyd/C30B nanocomposite, sheets are formed on the surface of the desired hydrogel that does not exist on the Hyd surface, which can indicate the presence of C30B silicate plates in the nanocomposite structure (Fig. S1g). To confirm the presence of C30B nanoclay in the Hyd/C30B nanocomposite, EDX-Map analyzes were also applied, which confirmed the presence of Si and Al elements in the Hyd/C30B hydrogel (Fig. S1h-i). After the MB adsorption using Hyd, Hyd/C30B, and C30B, the pores and unevenness in the surface of the samples were reduced (Fig. S1k-m). Changes in the samples can be linked to the placement of MB on the adsorbents, which confirms the ability of the samples to absorb MB from the water.

To determine the surface properties of C30B, Hyd, and Hyd/C30B, the N2 adsorption–desorption isotherm was utilized and the results are provided in Fig. 3. Based on the results, the BET value for C30B, Hyd, and Hyd/C30B samples was 5.009, 0.831, and 2.422 m2/g, respectively. The Hyd/C30B nanocomposite has a high activity level compared to Hyd, which can be due to the presence of C30B nanoclay in the structure of the desired hydrogel network. In addition, the N2 adsorption–desorption isotherm for the samples has a residual loop of type H3, which according to the IUPAC classification, the materials are belonged to type IV isotherm [28]. Also, the pore size for the mentioned samples was determined in the range of 2–50 nm, and according to the IUPAC report, the mentioned materials are classified as mesoporous materials. Although the N2 adsorption–desorption isotherm is a common method for measuring the specific surface of samples, this method is not efficient for determining the specific surface of hydrogel samples, because the structure and pores of hydrogels change due to drying. In addition, hydrogels have elastic properties and when placed in aqueous solutions, they swell and their active surface area increases compared to their dried state. Thus, according to the mentioned evidence and reasons, it can be proposed that the N2 adsorption–desorption method is not efficient for determining the specific level of hydrogel samples. One of the other methods used in previous studies to determine the size of the specific area is based on the methylene blue dye removal (SMB). In this method, the specific surface area is determined using Eq. (4) [29]:

$$ S_{{\text{MB}}} = S_{{\text{MB}}}^{\text{o}} \times q_{\max } $$
(4)
Fig. 3
figure 3

N2 adsorption–desorption isotherm for C30B, Hyd, and Hyd/C30B samples

Here, \({\text{S}}_{{\text{MB}}}^{\text{o}}\) the surface needed for removal of methylene blue dye molecule (1.93 m2/mg) and qmax is the maximum capacity of the MB removal (mg/g). Based on the mentioned method, the specific surface area for C30B, Hyd, and Hyd/C30B samples was determined to be 133.12, 129.53, and 149.61 m2/g, respectively.

Effect of weight ratio of monomers

The hydrogel properties like swelling and ability to adsorb pollutants can be affected by the amount of natural polymer, inorganic part, and monomers in the studied hydrogel. The amount of swelling in polymeric hydrogel systems depends on various factors like pores, functional groups, and the intermolecular space in the hydrogel [30]. In the current study, the optimal parameters were determined and reported based on swelling value and MB adsorption efficiency. Figure 4a shows the effect of increasing the weight ratio of total monomers, MAA/AAm to CMC in the range of 4–8 g/g CMC. By increasing the weight ratio of the total monomers to CMC to a weight ratio of 6 (Monomers: CMC → 6:1), the swelling value and the MB adsorption increased, which can increase the aggregation of two monomer molecules around the CMC chain noted that it increases the bonding of monomer molecules (MAA/AAm) on the main CMC chain and increases the hydrophilicity of the hydrogel network [13]. In addition, it should be noted that with increasing the weight ratio of total MAA/AAm monomers to CMC by more than 6, the amount of swelling and adsorption efficiency has decreased. Although the hydrophilicity of the hydrogel system should increase with increasing the total amount of MAA/AAm monomers, the results showed that the amount of swelling and the maximum adsorption efficiency decreased. The decrease in the adsorption efficiency and swelling value of the synthesized hydrogel network can be due to increasing the tendency to form homopolymers of monomers instead of forming the graft copolymer structure and increasing the transfer of polymer chains to monomer molecules, which has been expressed in previous studies [31].

Fig. 4
figure 4

(a) Effect of weight ratio of CMC to total MAA/AAm, (b) weight ratio of MAA to AAm, (c) weight ratio of C30B nanoclay in the polymer matrix (swelling test conditions; temperature: 25 °C, pH: 6.6, time: 180 min, and adsorption test conditions; temperature: 25 °C, pH: 6, MB concentration: 10 mg/L, adsorbent dose: 0.8 g/L, time: 30 min, mixing speed: 500 rpm)

Another structural factor that can affect the amount of swelling value and the adsorption efficiency is the ratio of monomers. In Fig. 4b, the effect of the weight ratio of MAA to AAm monomers in different ratios on the adsorption efficiency and the value of hydrogel swelling was investigated. The results showed that by increasing the amount of MAA to AAm the swelling value and the adsorption rate increased. This increasing rate could be justified by the increase of –COO groups compared to -CONH2 groups, which improves the hydrophilicity of the hydrogel network and increases the dehydration of hydrogels [32]. The presence of -COO groups with increasing the amount of MAA can also increase the efficiency of the adsorption process, because electrostatic force arises between MB and -COO.

Figure 4c shows the effect of different weight percentages of C30B nanoclay (1.5–10%) on the amount of swelling and adsorption rate. As the results show, adding 1.5 wt.% of C30B nanoclay to the hydrogel network increases the swelling value and the adsorption percentage, which can be corresponded to the electrostatic repulsion force between the anionic groups of C30B and the negative groups of the chains [33]. However, it should be noted that increasing the amount of C30B in the hydrogel network from 1.5 to 10 wt.% has reduced the value of swelling and MB adsorption using the desired polymer system. A decrease in swelling rate and adsorption performance of the nanocomposite hydrogel can be due to increased crosslinking of polymer chains with C30B nanoclay, which results in higher compaction of hydrogel structure [34]. Therefore, 1.5 wt.% of C30B nanoclay was selected as the optimal value for production of the nanocomposite hydrogel.

Effect of adsorbent quantity and pH

The dose of adsorbents is an effective parameter for removing dye from water, which determines the amount of dye eliminated by the adsorbent and the cost of the process [35]. Also, the availability of active sites on the adsorbent surface is the main stimulus for dye adsorption from an aqueous solution [36]. In Fig. 5a, by elevating the adsorbent dose, the MB removal has increased. Increasing the dose of adsorbent increases the sites and area for MB to be located, which in turn increases the MB removal from water. It should also be noted that by increasing the adsorbent dose by more than 0.8 g/L, the removal process was almost proven due to the decrease of MB content in the aqueous phase, non-collision of MB molecules with active sites, and the collision and adhesion of the adsorbent particles with each other (reduce available surface) [37]. Therefore, according to the good efficiency obtained in the removal of MB by C30B nanoclay (99.17%), Hyd (98.57%), and Hyd/C30B (99.67%) at the adsorbent dose of 0.8 g/L, this dose was chosen as optimal.

Fig. 5
figure 5

(a) Effect of adsorbent dose, (b) different states of surface loads in the pH range of 2–10, (c,d) effect of pH on the removal efficiency and the swelling value of hydrogel, (e) MB adsorption mechanism using hydrogel in different pHs

The zero-charge point (pHzpc) was obtained using zeta potential analysis and the results are presented in Fig. 5b. The pHzpc value for Hyd, Hyd/C30B, and C30B was determined to be 5.8, 6.2, and 6.4, respectively. The samples had a positive and negative charge at pHs below and above pHzpc, respectively. As depicted in Fig. 5c, at pH < 6, the adsorption efficiency is low and with increasing pH to 8, the adsorption efficiency is elevated. By increasing pH to 10, the MB adsorption using all three adsorbents was decreased. Decreased efficiency at acidic pH can be due to the high concentration of H+ and the protonation of active sites of adsorbents by these ions [38]. In addition to the presence of H+, another factor that can reduce the efficiency of hydrogel systems at acidic pH is the amount of swelling, the results showed that at acidic pH, the value of hydrogel swelling is less due to the presence of H+ ions (Fig. 5d). At basic pH of 8, the concentration of OH ions increases, and the amount of H+ in water decreases, resulting in the release of sites occupied by H+ ions, which makes more active sites in available for MB molecules [39]. In addition, by decreasing the amount of H+, the amount of swelling of the hydrogel systems increases, which can increase the available sites and area for the dye to be located, thus increasing the dye adsorption efficiency of MB by hydrogel adsorbents. Also, at high basic pH (pH > 8), although the surface charge of the adsorbents is negative and suitable for the adsorption of cationic dyes, the presence of large amounts of Na+ in the dye solution leads to a slight decrease in the adsorption efficiency, because it causes to decrease the swelling of hydrogel systems. Figure 5e summarize the mechanism of the MB adsorption using hydrogel systems at different pHs.

Effect of temperature on efficiency, swelling, and thermodynamic study

Fig. S2a,b shows the impact of temperature on the swelling value of the desired hydrogel systems and the MB adsorption using the adsorbents in the temperature range of 25–45 °C. With increasing the temperature from 25 to 45 °C, the swelling ratio for Hyd and Hyd/C30B hydrogel systems increased from 248.53 and 266.21 g/g to 264.43 and 284.73 g/g, respectively, which can affect the adsorption efficiency. Increasing the temperature in the temperature range of 25–45 °C has laso increased the efficiency of the MB adsorption. Increasing the efficiency of the adsorption process with increasing temperature can be due to the loosening of hydrogel networks [40], increasing the mobility of the dye molecules, and increasing the rate of dye penetration into the adsorbent structure [41]. Based on the results, the ability to remove MB using Hyd/C30B was higher than Hyd. Because the Hyd/C30B nanocomposite had higher swelling rate, more functional groups, and more active surface than the hydrogel. Fig. S2c shows the adsorption and swelling ability of Hyd and Hyd/C30B at 45 °C, which well shows the swelling and MB adsorption using Hyd/C30. Therefore, at 45 °C, as the optimal temperature, the maximum MB adsorption using C30B, Hyd, and Hyd/C30B was determined 99.17, 98.57, and 99.67%, respectively. The thermodynamic interpretation and results are provided in Table 1 and Supplementary information (including Fig. S2).

Table 1 Thermodynamic parameters for the MB adsorption using the desired adsorbents

Effect of contact time and kinetics study

Figure 6a shows the effect of treatment time on the MB adsorption using Hyd, Hyd/C30B, and C30B. The adsorption process was performed in two stages (10–30 min and 30–120 min). The first step was performed in the time range of 10–30 min, when the dye adsorption using Hyd, C30B, and Hyd/C30B increased from 86.94, 92.81, and 88.19 to 98.57, 99.67, and 99.17%, respectively, which has a relatively faster than the second one (30–120 min). This behavior can be explained by the saturation of active sites in the adsorbents with dye over time [42], the reduction of accessible active sites of adsorbents, and creation an electrostatic repulsion force between MB on the adsorbent surfaces and solution [43]. Therefore, 30 min was determined as the optimal time.

Fig. 6
figure 6

(a) Effect of treatment time (pH: 8, temperature: 45 °C, adsorbent dose: 0.8 g/L, dye concentration: 10 mg/L, and mixing rate: 400 rpm) and kinetics models (b) pseudo-first order, (c) pseudo-second order, and (c) intra-particle diffusion of MB removal using C30B, Hyd, and Hyd/C30B

Kinetic study provides valuable information on the pathways and mechanisms of adsorption reactions [44]. During the MB removal using desired adsorbents, kinetic models of pseudo-first order (Eq. 5), pseudo-second order (Eq. 6), and intra-particle diffusion (Eq. 7) were studied:

$$ {\text{Pseudo}} - {\text{first}} - {\text{order}}:{ }\ln \left( {{\text{q}}_{\text{e}} { } - {\text{q}}_{\text{t}} } \right) = \ln {\text{q}}_{\text{e}} - {\text{k}}_1 \times t $$
(5)
$$ {\text{Pseudo}} - {\text{second}} - {\text{order}}:{ }\frac{{\text{t}}}{{{\text{q}}_{\text{t}} }} = \frac{1}{{{\text{k}}_2 {\text{ q}}_{\text{e}}^2 }} + { }\frac{1}{{{\text{q}}_{\text{e}} }}{\text{t}} $$
(6)
$$ {\text{Intra}} - {\text{particle diffusion}}:{\text{q}}_{\text{t}} = {\text{k}}_{{\text{int}}} \cdot {\text{t}}^{0.5} + {\text{I}} $$
(7)

where, qe (mg/g) and qt (mg/g) are the MB adsorption capacity at equilibrium and time of t, respectively, k1 is adsorption constant of pseudo-first order model (1/min), k2 is the equilibrium constant velocity of the pseudo-second order model (g/mg.g), kint is the intra-particle penetration rate constant (mg/g.min0.5), and ‘I’ is the intercept of the linear curve (mg/g).

Linear regression of pseudo-first order, pseudo-second order, and intra-particle diffusion models of MB adsorption using Hyd, Hyd/C30B, and C30B is shown in Fig. 6b-d. The kinetic constants and variables are reported in Table S1. The results showed that the R2 value for the pseudo-second order model is higher than the pseudo-first order one. Also, qe.cal values of the pseudo-second order model are more consistent with qe.exp values. So, the kinetic behavior of the MB adsorption using desired adsorbents followed the pseudo-second order model. According to the pseudo-second order model, the velocity limiting step is considered chemical adsorption, including adsorption through the sharing or exchange of electrons between the adsorbent and the adsorbed [45]. Also, from the results reported in Table S1, it was observed that the values ​​of qe.cal and qe.exp are not equal. Thus, the diffusion stage within the particle may be involved in the mechanism of the adsorption process [46]. The results showed that the value of parameter ‘I’ for the MB adsorption using Hyd, Hyd/C30B, and C30B was not zero. This indicates that the velocity limiting phase is controlled by several adsorption mechanisms. The first stage occurs with a high slope, which involves the surface diffusion of dye molecules from the solution on the adsorbent surface, and the second stage, which has a lower slope, involves the diffusion of dye molecules into the adsorbent pores [46].

MB Concentration effect and equilibrium study

The effect of the MB content on the adsorption efficiency was studied using Hyd, Hyd/C30B, and C30B and the results are reported in Fig. 7a. The MB adsorption efficiency decreased with increasing dye concentration. This trend can be due to the saturation of active sites on the adsorbent surface and the creation of electrostatic repulsion force between the adsorbent and soluble dye molecules [47].

Fig. 7
figure 7

(a) The effect of initial dye concentration on the adsorption efficiency (pH: 8, temperature: 45 °C, adsorbent dose: 0.8 g/L, time: 30 min, and mixing speed: 400 rpm), linear regression of isotherm models (b) Langmuir, (c) Freundlich, and (d) Temkin for the MB adsorption using C30B, Hyd, and Hyd/C30B

The adsorption isotherm models describe how contaminants interact with adsorbents, so it is important to explain the adsorption mechanism, express the adsorption capacity, and design the adsorption systems [48]. Langmuir, Freundlich, and Temkin isotherm models were used to describe data (Eq. 810) [49]:

$$ {\text{Langmuir Model: }}\frac{{{\text{C}}_{\text{e}} }}{{{\text{q}}_{\text{e}} }}{ = }\frac{{{\text{C}}_{\text{e}} }}{{{\text{q}}_{\text{m}} }}{ + }\frac{{1}}{{{\text{q}}_{\text{m}} {\text{ K}}_{\text{L}} }}{\text{, R}}_{\text{L}} { = }\frac{{1}}{{{\text{1 + K}}_{\text{L}} {\text{ C}}_{\text{i}} }} $$
(8)
$$\mathrm{Freundlich}:{\mathrm{q}}_{\mathrm{e}}={\mathrm{K}}_{\mathrm{f}}{.C}_{\mathrm{e}}^{\frac{1}{\mathrm{n}}}$$
(9)
$$ {\text{Temkin Model : q}}_{\text{e}} {\text{ = B Ln K}}_{\text{T}} {\text{ + B Ln C}}_{\text{e}} {\text{, B = }}\frac{{{\text{R }} \times {\text{ T}}}}{{\text{b}}} $$
(10)

where, Ce implies equilibrium content of MB in solution (mg/L), qm denotes maximum Langmuir adsorption capacity (mg/g), KL is Langmuir adsorption constant, RL implies separating coefficient, KF implies Freundlich constant, n implies adsorption intensity, KT implies Temkin isotherm constant (L/g), R is the universal gas constant (kJ/mol.k), b implies the Temkin isotherm constant (kJ/mol) related to the energy parameter, and T is the absolute temperature (K).

To assess the adsorption process isotherm, the experimental values of Ce/qe vs. Ce (Fig. 7b), ln(qe) vs. ln(Ce) (Fig. 7c), and qe vs. ln(Ce) (Fig. 7d) were plotted for Langmuir, Freundlich, and Temkin models, respectively. The isotherm factors are reported in Table 2. Due to the higher values of R2 for the Langmuir isotherm than the other isotherm models, it is revealed that the isotherm data follow the Langmuir model. Therefore, according to this model, it can be said that MB molecules are homogeneously adsorbed on the monolayer surface of Hyd, Hyd/C30B, and C30B [50]. The maximum amount of monolayer adsorption capacity (qm) was determined 67.114, 77.519, and 70.423 mg/g using Hyd, Hyd/C30B, and C30B, respectively. KF parameter values for the MB dye adsorption process on Hyd, Hyd/C30B, and C30B are 26.385, 36.855, and 28.239 mg/g (L/mg)1/n, respectively. Higher KF values for Hyd/C30B indicate that Hyd/C30B has a greater tendency to adsorb MB molecules than Hyd and C30B. The values of 0 < RL < 1 and n > 1 indicate that the MB adsorption using the desired adsorbents is optimal and physical [51]. Also, the value of bT reveals that the MB adsorption may include physical and chemical adsorption [52].

Table 2 Isotherm parameters

To evaluate the importance of the present study, the qmax values of monolayer adsorption in this work were compared with those reported in previous studies (Table 3). The comparison showed that the adsorbents have a good potential for MB removal from aqueous solutions compared to other adsorbents and they can be used as a vital option for eliminating MB from aqueous solutions.

Table 3 Comparison of the maximum MB adsorption capacity in different studies with the current study

Industrial wastewater treatment

To evaluate the wastewater treatment ability of the textile industry using Hyd, C30B, and Hyd/C30B, the sampled wastewater was first filtered to remove large solid particles. After the filtration process, the pH value of the prepared wastewater was adjusted to the optimal value, a certain amount of adsorbent was added to it, and then stirred for 60 min. After that, the ADMI parameter value was determined, which showed that by using Hyd, C30B, and Hyd/C30B, it was reduced from 942 to 247 (73.37%), 231 (75.47%), and 214 (77.28%), respectively. In addition, the amount of usual parameters in wastewater like COD, BOD5, and TOC was significantly reduced by the studied adsorbents (see Table 4). Therefore, the results showed that the mentioned adsorbents can remove dyes from industrial wastewater and be used as vital adsorbents in industrial wastewater treatment.

Table 4 Characteristics of the textile industry

Conclusions

Hyd and Hyd/C30B nanocomposite hydrogels were prepared using the free radical polymerization method and used in the MB adsorption. The effect of monomers, the amount of natural polymer CMC, and the value of C30B nanoclay on the swelling and adsorption performance of the samples were investigated. The presence of C30B in the nanocomposite hydrogel improved its BET area and MB sorption properties. Based on the operational parameters, the MB adsorption performance depended on swelling, factor groups, pores, and surface area. The swelling value of hydrogel systems was altered with changing the temperature and pH of the solution. The pseudo-second order kinetic and Langmuir isotherm models had a better ability to describe acquired data. The adsorbents had a good ability in treating industrial wastewater and can be utilized as a promising adsorbent in dye removal.