Introduction

Water pollution caused by different industries such as leather, dye synthesis, food, paper, plastic, textile, cosmetics, and printing has attracted much attention because most of these dyes are harmful to human health and environment [1]. Therefore, it is necessary to treat dye wastewater. Recently, dye removal from wastewater has become more important [2, 3]. Different methods of treatment such as chemical, physical, and biological have been applied to dye removal from effluent [4, 5].

Adsorption is an effective, easy, and economic method for the removal of industrial dyes [6,7,8]. Many adsorbents, such as silica, zeolite, orange peel, wheat shells, almond shells, coir pith, and polymeric materials, have been applied and studied [9,10,11,12]. Adsorption of water in porous materials has been widely used in many important processes of industry, such as drying of gas and liquid, thermal energy conversion, and storage and humidity control [12].

Nowadays, many studies are being done on natural renewable polymers because of the importance of protecting the environment, the saving energy, and removal of pollution from aqueous solution. In addition, environmentally biodegradable polymers from renewable resources have attracted great attention with expertise in diverse areas. As a renewable source-based biodegradable polymer, cellulose is a kind of thermoplastic material produced by the esterification of naturally abundant cellulose materials such as cotton, wood pulp, sugarcane, and recycled paper.

Methylene blue (MB) dye causes irritation to the eye which may also cause permanent injury to animal and human eyes [13]. In addition, methylene blue dye can give rise to rapid short periods of breathing difficulty, while effective adsorption through mouth produces a burning sensation and can cause vomiting, profuse sweating, methemoglobinemia, painful micturition, mental confusion, and nausea [14, 15]. Therefore, because of the considerable resistance of MB, chemical, biological, and physical methods [16] for methylene blue removal have been widely studied, such as oxidation advance, adsorption, photocatalysis, filtration on membrane, and electrochemical techniques [14,15,16,17].

Carbon nanotubes (CNTs) are considered as reinforcement for polymer matrix because of their remarkable electrical, chemical, and physical properties with small dimensions and high ratio aspect [18, 19]. In many articles, nanotubes have been reported as adsorbent due to their special properties [19]. Multi-walled nanotubes (MWNTs) consist of concentric tubes (multiple rolled layers) of graphene. Multi-walled carbon nanotubes have high contact area which increases the adsorbent efficiency due to the presence of multiple walls in comparison to single-walled carbon nanotubes.

Cellulose with the molecular formula C6H10O5 is an organic polysaccharide consisting of a linear chain of hundreds to thousands of differently linked units of d-glucose. Cellulose is widely used to produce paper and paperboard. Smaller amounts are also converted into a high variety of products of derivative such as rayon and cellophane. Cellulose conversion from energy crop into biofuels such as cellulosic ethanol is under research as another source of fuel. In industry, cellulose use is mainly obtained from cotton and wood pulp [20].

In this work, MWCNT–COOH–cellulose nanocomposite was prepared with MWCNT–COOH, SOCl2 as leaving group and cellulose as an adsorbent (A1), MgO nanoparticles have been successfully coated on the surface of nanocomposite by directly adding to A1, (MWCNT–COOH–cellulose–MgO; A2), magnesium nitrate was added to A1 and MgO nanoparticles were achieved by coating indirectly on the surfaces (MWCNT–COOH–cellulose–MgO; A3). Fourier transform infrared (FT-IR), transmission electron microscopy (TEM), X-ray diffraction (XRD), and scanning electron microscopy (SEM) analyses were used for the characterization of all adsorbent surfaces. The effect of various parameters such as contact time, initial concentration, and temperature on the adsorption capability as well as MB removal capacity of the A1, A2, and A3 as adsorbents was studied in detail. The isotherm, kinetic and thermodynamic parameters, Gibbs energy (∆G°), entropy (∆S°), and enthalpy (∆H°) were calculated. The result shows that the synthesis of A1, A2, and A3 as adsorbents has the potential to remove MB from wastewater.

Experimental

Materials

MWCNT–COOH (extent of labeling: 8% carboxylic acid functionalized, avg. diam. XL: 9.5 nm × 1.5 µm, assay: > 8% carbon basis, functional group: carboxyl), cellulose [particle size: 51 µm, pH 5–7 (11wt%), bulk density: 0.6 g/ml (25 °C)], MgO nanoparticles (particle size > 50 nm), Mg (NO3)2.6H2O [assay: 99.999% trace metals basis, mp: 89 °C (dec.) (lit.)], thionyl chloride [vapor pressure: 97 mmHg (20 °C), assay: ≥ 99%], tetrahydrofuran (THF), methylene blue (assay: > 96.0%), ethylene glycol dimethacrylate [vapor density: > 1 (VS air), vapor pressure: < 0.1 mm Hg (21.1 °C), assay: 98%, bp 98–100 °C/5 mmHg (lit.)], NaOH [assay: > 98% (T), vapor density: > 1 (VS air), vapor pressure: 18 mmHg (20 °C)], and urea [concentration: 8 M, solubility: H2O soluble (1 vial plus 16 mL)] were used in this study and purchased from Sigma-Aldrich Company.

Methods

Preparation of nanocomposite

Nanocomposite-based MWCNT–COOH–cellulose was fabricated as an adsorbent. All solutions were prepared with deionized water (Milli-Q treated). First, Cl group of the SOCl2 was replaced with the OH group in MWCNT–COOH. For this study, 1 g MWCNT–COOH and 50 ml thionyl chloride were dissolved in 10 ml of tetrahydrofuran (THF). This solution was reflexed for 50 h. Then reaction mixture solution was filtered through 0.22-µm filter with deionized water. MWCNT–COOH–cellulose nanocomposite and 2 g cellulose were successfully dissolved in aqueous NaOH/urea, then 1 g MWCNT–COOH–SOCl2 and 1.5 ml ethylene glycol dimethacrylate (EDGMA) as cross-linking agent were added to solution. This solution was reflexed at 70 °C for 4 h. Then the solution was placed in the ultrasonic bath at a fixed temperature. Ultrasonic bath (71020-DTH-E; model 1510 DTH, 220 V; EMS Company) was used to prevent the aggregation of the particles. Then reaction mixture solution was filtered through a 0.22-µm filter with deionized water. We put it in the oven with operating temperature of 50 °C for 24 h (A1). Then, 0.5 g nanocomposite (A1) and 0.05 g MgO nanoparticle were added to 75 ml water. This solution was reflexed for 3 h at 70 °C and was placed in ultrasonic bath for 2 h. Then reaction mixture was filtered with deionized water. Afterwards, we put it in the oven with operating temperature of 50 °C for 24 h. In other words, MgO nanoparticles have been successfully coated on the surface of nanocomposite by directly adding to A1 (MWCNT–COOH–cellulose–MgO; A2). In another reaction, MgO nanoparticles were added indirectly; for this, 0.5 g nanocomposite (A1) was ultrasonically dissolved in 1.5 ml Mg (NO3)2 (1 M) for 2 h, then the dispersion was centrifuged at 12,000 rpm for 10 min, the supernatant was removed, and 1.5 ml water was added. This washing step was repeated four times. Then reaction solution was filtered with deionized water. Eventually, we put it in the oven at 50 °C for 24 h, MgO nanoparticles were achieved by coating indirectly on the surfaces (MWCNT–COOH–cellulose–MgO; A3).

Adsorption study

Capacity of methylene blue removal from aqueous solution by A1, A2, and A3 adsorbents was determined by adding 20.0 mg of each of the adsorbents into 20.0 mL of methylene blue dye solution (10.0–50.0 mg/L); all samples were contacted at certain time periods, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 and 65 min, in the kinetic experiments at room temperature. After certain time, to determine the amount of MB dye adsorption on nanocomposite surfaces, the samples that contain methylene blue dye and nanocomposite were filtered by a 0.22-µm membrane filter and MB dye suspensions containing A1, A2, and A3 adsorbents were centrifuged at 4000 rpm for 5 min using a centrifuge (5702R Pendorf, Germany). The remaining methylene blue concentrations were analyzed using a UV–Vis spectrophotometer furnished by Varian (Cary 100 Bio) (London, England) at maximum wavelength of 668 nm. To determine MB adsorption capacity onto A1, A2, and A3 as nanocomposite adsorbents at time t (qt), in mg/g, the following equation was used [20]:

$$ q_{t} = \left( {\frac{{C_{0} - C_{t} }}{W}} \right) \times V, $$
(1)

where qt is the methylene blue (Fig. 1) dye adsorption capacity at time t (mg/g), C0 is the MB initial concentration (mg L−1), Ct is the MB dye concentration at time t (mg L−1), V is the methylene blue dye solution volume (L) and W is the mass of nanocomposite adsorbents (g). To evaluate the isotherm and kinetic fitness equations to the adsorption experimental data we used the average relative error (ARE) that can be presented as [21]:

$$ {\text{ARE }}\left( \% \right) = \frac{100}{n}\mathop \sum \limits_{i}^{n} \left| {\frac{{q_{i ,cal } - q_{i , \exp } }}{{q_{i, \exp } }}} \right|, $$
(2)

where N is the data point number. To confirm the results, each experiment was conducted in triplicate under the same conditions and was found reproducible.

Fig. 1
figure 1

Structure of methylene blue dye

Results and discussion

Characterization

The FT-IR spectrophotometer (Perkin–Elmer Spectrum 100, USA) was used to detect changes in chemical bonding and structure in the frequency range of 4000–480 cm−1. FT-IR spectra of A1, A2, and A3 are presented in Fig. 2. After oxidation, the presence of carboxylic groups was confirmed by C=O stretching band that appeared at approximately 1737 cm−1, whereas the absorption band at 600–900 cm−1 and several low-intensity peaks were attributed to C–O stretching vibrations of the –COOH groups. The relatively increased band intensities between 3400 and 3600 cm−1 suggest more –OH groups on the surface of the MWCNTs after oxidation and water treatment (Fig. 2). Morphology of all adsorbents (A1, A2, and A3 surface adsorbents) was investigated by TEM and observed as black line regions in MWCNT–COOH (Fig. 3).

Fig. 2
figure 2

FTIR image of a A1 MWCNT–COOH–cellulose adsorbent, b A2 adsorbent with MgO directly, and c A3 adsorbent with MgO nanoparticles indirectly

Fig. 3
figure 3

TEM image of a A1MWCNT–COOH–cellulose adsorbent, b A2 adsorbent with MgO directly, and c A3 adsorbent with MgO nanoparticles indirectly

Scanning electron microscope (SEM) images of nanocomposite surfaces are presented in Fig. 4. The morphology of the prepared fibers was examined by scanning electron microscope (SEM, Ultra 55, Carl Zeiss SMT AG, Germany). The samples for SEM investigations were coated with a 5-nm-thick platinum layer. Characterization of dispersion state of A1 in cellulose and fractured surfaces of nanocomposite films was examined by SEM. Pure cellulose has homogeneous and smooth surface. In contrast, MWCNT–COOH has rougher surfaces and lots of humps, perhaps caused by the wrinkles of MWCNT–COOH sheets, and this results in a larger number of potential adsorption sites. A1 adsorbent is well dispersed in cellulose, as shown in Fig. 4a. In addition, dispersion of MgO nanoparticles by direct and indirect method in A1 adsorbent was observed, as shown in Fig. 4b, c. High-vacuum conditions were applied and high efficiency In-lens SE detector was used for image acquisition. X-ray diffraction (XRD) patterns of A1 adsorbent and with MgO nanoparticles by direct method (A2), and with MgO nanoparticles by indirect method (A3) are shown in Fig. 5. XRD pattern of A1 adsorbent revealed two peaks at 25.7˚ and 43.6˚, which correspond to interlayer spacing (0.34 nm) of MWCNTs (d002) and the d100 reflection of the MWCNT–COOH, respectively. Peaks at 2θ = 41.1˚, 42.9˚, 62.2˚, and 78.7˚ correspond to MgO nanoparticle. Moreover, the mean crystallite size of the nanocrystalline MgO nanoparticle material was estimated using the Scherrer formula and found to be in the range of 20–38 nm (Fig. 5).

Fig. 4
figure 4figure 4figure 4

SEM image of a MWCNT–COOH–cellulose A1 adsorbent, b A1 adsorbent with MgO directly, and c A1 adsorbent with MgO indirectly. These images are taken in three different zones

Fig. 5
figure 5

X-ray powder diffraction of a MWCNT–COOH–cellulose A1 adsorbent, b A2 adsorbent with MgO directly, and c A3 adsorbent with MgO indirectly

Effect of contact time

Effect of contact time on methylene blue dye adsorption process was investigated. All nanocomposite, MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly(A3), surfaces as adsorbents contacted with methylene blue dye in aqueous solutions with 0.3 mg/lit concentration at T = 298 K. For analyzing the concentration of methylene blue dye in solution before and after adsorption processes, the UV–Vis spectrophotometer was used. The curve of methylene blue dye amount adsorbed on the MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as adsorbent is shown in Fig. 6 as a function of contact time. According to the results, 55 min was selected as the best contact time between methylene blue dye and all three nanocomposites.

Fig. 6
figure 6

Effect of contact time on the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as adsorbents. Conditions: time 5–65 min, C0 0.3 mg/L of MB dye solution and temperature 298 K

Effect of initial dye concentration

Initial dye concentration is widely effective on dye removal. Effect of initial dye concentration relies on the immediate relation between the active binding sites on the adsorbent surface and dye concentration. An increase in the initial concentration of dye will improve the efficiency of dye removal according to the increased interaction of dye and absorbent surface [21,22,23]. In this study, the effect of initial concentration of dye on adsorption capacity of methylene blue dye onto MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as adsorbents was investigated. As shown in Fig. 7, by increasing the initial concentration of methylene blue dye the adsorption capacity will increase; this may increase the interaction and collisions between dye molecules and adsorbent surfaces.

Fig. 7
figure 7

Effect of initial concentration on the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as adsorbents. Conditions: time 55 min, C0 0.1–0.5 mg/L of MB dye solution and temperature 298 K

Effect of temperature

Temperature is one of the main factors in the adsorption process. For several dyes and absorbents, adsorption process can be endothermic or exothermic in nature. If dye removal efficiency increases with increasing the solution temperature it can be concluded that the dye adsorption process on adsorbent surface is endothermic; on the other hand, if with increasing the solution temperature the efficiency of dye removal decreases, dye adsorption process will be exothermic in nature [22, 23]. The relationship between the temperature and the removal of methylene blue dye by MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) as nanocomposite adsorbents was investigated at different temperatures from 288 K to 308 K, respectively. We observed that with increasing the solution temperature, methylene blue dye removal efficiency by all three nanocomposite adsorbents was increased (Fig. 8). According to these results, adsorption of MB dye by MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as adsorbents may be an exothermic process.

Adsorption thermodynamic

Temperature is the important parameter influencing the adsorbent capacity in adsorption process. According to the results of “Effects of temperature”, the methylene blue dye adsorption capacity of all three adsorbents increases with increase in the temperature of solutions. It means that the adsorption of methylene blue dye onto nanocomposite surfaces is an exothermic process. Entropy (∆S°), the adsorption free energy (∆G°), and standard enthalpy (∆Ho) for methylene blue dye adsorption onto MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces were calculated to evaluate the MB dye removal thermodynamic feasibility using the adsorbents in this study [22,23,24,25,26]:

$$ \Delta G^{^\circ } = \, - RT\ln \, \left( {55.5b} \right), $$
(3)
$$ \ln \, \left( {55.5b} \right) \, = \frac{\Delta S^\circ }{R} - \frac{\Delta H^\circ }{RT}, $$
(4)
$$ \Delta G^{^\circ } = \, \Delta H^{^\circ } {-} \, T \, \Delta S^{^\circ } , $$
(5)

where T is the solution temperature (K) and R is the universal gas constant (8.314 J mol−1 K−1). b, the Langmuir constant (type I) for adsorption process, was derived from the isotherm study. From the slope and intercept of the linear plots of ln (55.5b) versus 1/T (Fig. 9), ∆S° and ∆H° can be obtained, respectively. Best fit of data was confirmed by the low values of average relative error (ARE) and high values of R2 of the estimated thermodynamic parameters (Table 1). Useful mechanism information of the adsorption process was demonstrated by the thermodynamic parameter values.

Fig. 8
figure 8

Effect of temperature on removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. Conditions: time 55 min and temperature 288–308 K

Table 1 Thermodynamic of parameters for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. Conditions: time 55 min and temperature 288–308 K

Adsorption equilibrium

Adsorption isotherms allow appraising the ability to use the adsorption process as a unit action, comparing the adsorption maximum capacities of materials as adsorbent. Also, the models of isotherm with best fit to the adsorption experimental data provide useful information about the adsorption nature [27, 28]. Figure 8 shows the linear fits of four types of Langmuir isotherm model and Figs. 9, 10 and 11 show the Freundlich, Temkin, and Halsey adsorption isotherm models for experimental data. The isotherm parameter values, the adsorption maximum capacity (qmax), the average relative error (ARE) and the coefficient determination (R2) are listed in Tables 1 and 2. Adsorption isotherms of methylene blue dye onto MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as nanocomposite adsorbents were compared. All the isotherm models presented a capillary steep, and condensation steep which is consistent with the adsorption in solution, that is a common characteristic in the mesoporous materials.

Fig. 9
figure 9

The thermodynamic study (Van’t Hoff plot) for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3). Conditions: time 55 min and temperature 288–308 K

Fig. 10
figure 10

Langmuir isotherms for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose–MgO (A2), and MWCNT–COOH–cellulose–MgO NPs (A3) surfaces. a Type 1, b Type 2, c Type 3, and d Type 4. MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3). Conditions: time 55 min, C0 0.1–0.5 mg/L of MB dye solution and temperature 298 K

Fig. 11
figure 11

Freundlich isotherms for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. Conditions: time 55 min, C0 0.1–0.5 mg/L of MB dye solution and temperature 298 K

Table 2 Langmuir isotherm parameters and ARE parameter for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces

Langmuir isotherm

There are four different types of linearized Langmuir isotherm models; we used a simple linear model in this study. The Langmuir isotherm model can be presented as:

$$ q_{e} = \frac{{Q_{{{\text{mKC}}_{\text{e}} }} }}{{\left( {1 + KC_{\text{e}} } \right)}} , $$
(6)

where Qm is the capacity of adsorption of methylene blue dye (mg/g) and K is the adsorption energy of methylene blue dye removal (L/mg) [29,30,31,32]. Four types of Langmuir isotherm models can be expressed as [33,34,35]:

$$ {\text{Type }}\left( {\text{I}} \right):\frac{Ce}{qe} = \frac{1}{KQm} + \frac{Ce}{Qm}, $$
(7)
$$ {\text{Type }}\left( {\text{II}} \right) :\frac{1}{qe} = \frac{1}{ Qm} + \frac{1}{KQmCe}, $$
(8)
$$ {\text{Type }}\left( {\text{III}} \right):q_{\text{e}} \, = K - \frac{{q_{\text{e}} }}{{ QmC_{\text{e}} }}, $$
(9)
$$ {\text{Type }}\left( {\text{IV}} \right) :\frac{{q_{\text{e}} }}{{C_{\text{e}} }} = \, KQ_{m} {-} \, Kqe. $$
(10)

Freundlich isotherm

Isotherm study results show that Langmuir isotherm model gives the best fit over methylene blue dye concentration for MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as nanocomposite adsorbents; however, it provides little insights into mechanism of physical adsorption. The values of constants are varying markedly with MB dye concentration. It can be presented by the following equation [36, 37]:

$$ q_{\text{e}} = K_{\text{F}} C_{\text{e}}^{1/n} , $$
(11)

where KF and 1/n are the Freundlich isotherm model constants [36, 37]. The Freundlich isotherm constants KF and 1/n could be calculated from the plot of lnqe versus lnCe that is shown in Fig. 11.

Temkin isotherm

The indirect adsorption effects of interaction and substance adsorption on isotherms of adsorption are described by Temkin isotherm model (Fig. 12). Temkin isotherm model describes the adsorption system behavior on a heterogeneous surface, which can be presented by the following equation [38, 39]:

$$ q_{e} = B\ln (AC_{e } ), $$
(12)

where A is the binding equilibrium constant corresponding to binding maximum energy and B is adsorption constant related to heat and is equal to RT/b [39], as shown in Fig. 10. The plot of qe versus lnCe is used to define constants of isotherm of Temkin.

Fig. 12
figure 12

Temkin isotherms for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. Conditions: time 55 min, C0 0.1–0.5 mg/L of MB dye solution and temperature 298 K

The Halsey isotherm

The equation of Halsey isotherm model can be presented by [35,36,37,38]:

$$ \ln q_{e} = \left[ {\left( {\frac{1}{n}} \right)\ln K - \left( {\frac{1}{n}} \right)\ln C_{e} } \right]. $$
(13)

The multi-layer adsorption is explained by Halsey equation very well; if the Halsey isotherm well fits the equilibrium data, the adsorbent is heterogeneous in nature. The plot of lnqe versus lnCe for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces is shown in Fig. 13.

Fig. 13
figure 13

Halsey isotherm for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose–MgO (A2), and MWCNT–COOH–cellulose–MgO NPS (A3) surfaces. Conditions: time 55 min, C0 0.1–0.5 mg/L of MB dye solution and temperature 298 K

Adsorption kinetic study

Adsorption kinetic study was conducted to investigate the effects of contact time and achieve the resulting parameters of adsorption process. Figure 4 shows the contact time and the methylene blue dye adsorption capacity change of MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as a function of time. There was no obvious change in the MB absorption capacity of nanocomposite adsorbent surface after 55 min. Therefore, 55 min was selected as the best contact time for all the methylene blue dye adsorption experiments onto the MWCNT–COOH–cellulose (A1),MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. The methylene blue adsorption process kinetics was studied by applying the pseudo-first-order, four types of the pseudo-second-order, the Elovich, and the intra-particle diffusion kinetic models (Table 3).

Table 3 The Freundlich, Temkin and Halsey isotherm parameters for the removal of MB dye with MWCNT–COOH–cellulose (A1),MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. Conditions: time 55 min, C0 0.1–0.5 mg/L of MB dye solution and temperature 298 K

The pseudo-first-order model

Generally, in the studies of kinetic adsorption, the equation of pseudo-first-order model is presented as follows [39, 40]:

$$ \frac{{dq_{t} }}{{d_{t} }} = \, k_{1} \left( {qe \, {-} \, qt} \right). $$
(14)

Integrated form of the pseudo-first-order equation is [40]:

$$ \log \, \left( {q_{e} - q_{t} } \right)\, = \,\log q_{e} - \left( {k_{1} /2.303} \right)t. $$
(15)

In this study, qe and qt are the amount of methylene blue adsorbed on MWCNT–COOH–cellulose (A1),MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces at equilibrium and at time t, respectively. K1 is the rate constant of the pseudo-first-order model. According to Eq. (15), k1 and qe for MB adsorption on nanocomposite adsorbents can be determined by the slope and intercept plot of log (qe − qt) versus t that is shown in Fig. 14.

Fig. 14
figure 14

The pseudo-first-order kinetic for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces

The pseudo-second-order model

For the kinetic studies of adsorption, the pseudo-second-order model presented by Ho in 1995 is expressed as the following that illustrated how the pertained adsorption rate related to the amount of equilibrium [41, 42]:

$$ \frac{{{\text{d}}q_{t} }}{{{\text{d}}t}} = \, k \, \left( {q_{e} {-} \, q_{t} } \right)^{2} . $$
(16)

Linear form of pseudo-second-order model is presented as [41, 42]

$$ \frac{ t}{{q_{t} }} = \frac{1}{{k_{2} qe^{2} }} + \frac{t}{q}, $$
(17)

in this study, k 2 is the constant rate of the pseudo-second-order model equilibrium of methylene blue adsorption onto the MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces (g/mg.min), t is the MB dye adsorption reaction time (min); q e is the amount of MB dye removed by methylene blue adsorption onto the MWCNT–COOH–cellulose (A1),MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces at equilibrium (mg g−1), and q t is the amount of MB dye removed by nanocomposite surface at time t (mg g−1). In this work, we used four types of linear form of the pseudo-second-order model. Here the plots of the pseudo-second-order model in different linear forms in types (I), (II), (III) and (IV) are shown in Fig. 15 [39, 40].

Fig. 15
figure 15

The pseudo-second-order kinetic models for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces. (A) Type (I), (B) Type (II), (C) Type (III), and (D) Type (IV)

The Elovich model

Generally, the Elovich equation has been widely used in adsorption kinetics [41,42,43]:

$$ \frac{{{\text{d}}_{qt} }}{{{\text{d}}t}} = \alpha \exp \, \left( { - \beta q^{2} } \right). $$
(18)

The linear form is presented by the following equation: [43]:

$$ q_{t} = \frac{1}{\beta }\ln (\alpha \beta ) + \frac{1}{\beta }\ln t, $$
(19)

where β is the Elovich constant related to the extent of surface coverage (g/mg), α is the amount of methylene blue dye adsorbed onto the MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose—with MgO indirectly (A3) surfaces at time t (mg g−1), and α is the initial adsorption rate (mg/g min). Elovich plot of MB dye adsorption for all three nanocomposites at room temperatures is given in Fig. 16. As we can see in Table 5, α and β were determined by Elovich plot.

Fig. 16
figure 16

The Elovich kinetic models for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces

As listed in the kinetic study results in Tables 4 and 5, removal of methylene blue dye by MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces as nanocomposite adsorbents from aqueous solution was well interpreted with type (I) of pseudo-second-order model due to the high value of correlation coefficients (R2) and low value for average relative error (ARE).

Table 4 Kinetic parameters of pseudo-second-order models for the removal of MB dye with MWCNT–COOH–cellulose (A1),MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces
Table 5 Parameters of the Elovich and the pseudo-first-order models for the removal of MB dye with MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) surfaces

Conclusion

In this work, the MWCNT–COOH–cellulose (A1), MWCNT–COOH–cellulose with MgO directly (A2), and MWCNT–COOH–cellulose with MgO indirectly (A3) nanocomposites were synthesized and used for the removal of methylene blue dye from solutions. For characterization of nanocomposite surfaces, XRD and SEM methods were used. For the adsorption of methylene blue dye onto the nanocomposite adsorbent surface, 55 min was selected as the best contact time. The equilibrium and thermodynamic study of adsorption were investigated. The enthalpy (∆H°), entropy (∆S°), and Gibbs energy (∆G°) were calculated; these results showed that the adsorption of MB dye onto all three nanocomposites as adsorbents can be successfully described with type (III) of Langmuir model. Also, kinetic data were fitted with type (I) of the pseudo-second-order kinetic model (Table 6).

Table 6 Comparison of adsorption capacities of various adsorbents for MB dye removal