Introduction

Organic dyes are widely utilized in various industries such as printing, textile, leather, paint, and pharmaceuticals [1]. The discharge of these dyes without treatment into water is one of the environmental problems due to its risks on aquatic life and human's health [2]. Therefore, it is necessary to remove these dyes before releasing it into the environment. Several methods have been applied to remove these dyes prior to discharge into water such as photocatalytic [3], adsorption [4, 5], oxidation [6], and flocculation [7]. Adsorption is considered one of the most efficient methods used to remove dyes because of the simplicity of design, non-generation of toxic materials, low cost, and high efficiency [8,9,10].

Chitosan (CS) is a cationic polysaccharide composed of D-glucosamine units [11]. CS can be obtained from the deacetylation of chitin, which is the second most abundant biopolymer in nature after cellulose [12]. CS has various interesting properties such as biodegradability, non-toxicity, biocompatibility, and antimicrobial activity [13, 14]. The uniqueness of CS molecular structure comes from the availability of amino (–NH2) and hydroxyl (–OH) groups [15], which are represented active adsorption sites for the removal several of water pollutants such as dyes [16] and metal ions [17]. However, the application of natural CS as a biosorbent in wastewater treatment technologies still limited due to the high swelling index, solubility in various organic acids, low surface area, and considerable leachability [18].

In general, various successful treatment methods are frequently applied to enhance the chemical and structural characteristics of CS such as crosslinking reaction, which is convenient and feasible pathway to reduce its solubility in acidic medium and to minimize the hydrophobicity and swelling index in aqueous solution [19]. However, the crosslinking reaction generally leads to decrease the adsorption capacity of CS due to blocking its reactive adsorption sites, particularly amino (–NH2) group when react with dialdehyde crosslinker agent [20]. To overcome this drawback, fabricating CS nanocomposite materials is another promising pathway for enhancing the structural and surface area of CS biopolymer and reducing its internal diffusion resistance [19]. Therefore, various promising materials with multifunctional groups such as TiO2 nanoparticles, clays, and fly ash particles were incorporated into molecular structure of CS to improve its adsorptive and physiochemical properties [21,22,23].

In this respect, fly ash (FA) is a by-product generated from combusting of coal in the thermal power plants [24]. The FA contains mainly of metal oxides such as silica (SiO2), alumina (Al2O3), and magnetite (Fe2O3), in addition to unburned carbon [25, 26]. FA has many preferable properties to be promising adsorbent such as chemical composition, surface area, porosity, particle size, and water holding capacity [23]. However, the main technical drawbacks of using bare FA as an adsorbent in wastewater treatment technology were due to the difficulty of filtration and separation processes of ultrafine particles from treated solution during and post treatment process. Recently, the FA and/or CS-FA composite were applied as adsorbents for removal of organic water pollutants from contaminated water [27, 28].

Moreover, magnetic nanoparticles (such as Fe3O4 and Fe2O3) were introduced as the magnetic core within composite adsorbent in order to achieve the effective separation and easy collection of adsorbents from aqueous media by external magnetic field [29, 30]. Fe3O4 nanoparticles were widely utilized in preparation of adsorbents due to its exceptional features such as surface functional groups, magnetic response ability, small particle size, biocompatibility, and biodegradability [31]. Recently, magnetic CS–Fe3O4 composites were widely prepared and used as adsorbents in adsorption technique for removal of dyes [32], pharmaceuticals [33], and metal ions [34].

Therefore, the main objective of this research work was to produce multifunctional performances of recoverable and separable composite magnetic chitosan-fly ash/Fe3O4 (CS-FA/Fe3O4) as an effective biosorbent to remove of reactive orange 16 (RO16) dye from aqueous media. The key parameters affecting the RO16 dye adsorption such as adsorbent dose, solution pH, temperature, and time were optimized using Box–Behnken design (BBD) in response surface methodology (RSM). Furthermore, the non-linear forms of isotherm and kinetic models were studied. Finally, a suitable mechanism for RO16 dye adsorption by CS-FA/Fe3O4 composite was proposed.

Materials and Methods

Materials

The fly ash (FA) was collected from thermal power station situated in Kapar area, Selangor, Malaysia. FA powder was washed with distilled water to remove any soluble substances. Then, FA powder was dried in an oven at 80 °C for 24 h before sieving to certain particles size ≤ 250 μm. CS (deacetylation ≥ 75%; medium molecular weight) was obtained from Sigma-Aldrich. Iron(III) chloride hexahydrate (FeCl3·6H2O, MW: 270.30 g/mol) was purchased from HmbG Chemicals. Iron(II) chloride tetrahydrate (FeCl2·4H2O, MW:198.81 g/mol) was purchased from Bendosen Laboratory Chemicals. Reactive orange 16 dye (C20H17N3Na2O11S3, MW: 617.54 g/mol, λmax = 493 nm) was purchased from ACROS, Organics. Acetic acid, Hydrochloric acid, and sodium hydroxide were supplied from R&M Chemicals. All experiments of this research were performed using ultrapure water.

Synthesis of Magnetic Chitosan-Fly Ash/Fe3O4 Composite (CS-FA/Fe3O4)

1 g of CS flakes and 1 g of FA particles were blended in acetic acid solution (5%, 50 mL). The solution was slowly stirred for 24 h at 25 °C to ensure dissolution of CS flakes and loading of FA particles in the CS molecular structure. After that, 10 mL containing 0.014 mol of Fe3+ ions and 0.013 mol of Fe2+ ions (these ions were prepared by dissolving 3.9 g of FeCl3·6H2O and 2.7 g of FeCl2·4H2O in distilled water) were added to the solution of CS-FA with gentle stirring for 1 h at 25 °C. The obtained solution was injected into of sodium hydroxide solution (2 M, 1000 mL) by syringe needle (10 mL) with gentle stirring for 6 h, where the magnetic CS-FA/Fe3O4 beads were instantaneously formed. The fresh beads of magnetic CS-FA/Fe3O4 were washed using distilled water to remove the residue of sodium hydroxide solution. Then, the CS-FA/Fe3O4 powder (particle size ≤ 250 µm) was achieved by grinding process of CS-FA/Fe3O4 beads. The synthesis steps of CS-FA/Fe3O4 and image of CS-FA/Fe3O4 beads are presented in Fig. 1.

Fig. 1
figure 1

The synthesis steps of CS-FA/Fe3O4 composite

Characterization

The characterization of CS-FA/Fe3O4 composite was performed by various analytical methods and techniques. The chemical composition of FA was determined by X-ray Fluorescence (XRF) analysis. The surface area and pore volume of the CS-FA/Fe3O4 composite was determined by Micromeritics ASAP 2060 analyzer using nitrogen adsorption/desorption isotherms at 77 K. Scanning electron microscope-energy dispersive X-ray analyze (SEM–EDX, Zeiss Supra 40 VP, Germany) was utilized to determine the morphological characteristics of CS-FA/Fe3O4 composite before and after adsorption of RO16 dye molecules. The X-Ray diffraction (XRD, X’Pert PRO, PAnalytical) was used to determine the crystallinity of CS-FA/Fe3O4 composite. pH-potentiometric titration was performed to determine the amine content in CS-FA/Fe3O4 composite based on the method published by Vieira and Beppu [35]. The point of zero charge (pHpzc) for CS-FA/Fe3O4 composite was calculated based on the reported method [36]. The surface functional groups of CS-FA/Fe3O4 composite before and after RO16 dye adsorption were determined using Fourier Transform Infrared (FTIR) spectroscopy (Perkin-Elmer, Spectrum RX I).

Design of Experiments

Four independent variables namely adsorbent dose (A), solution pH (B), temperature (C), and time (D) were optimized by using Box–Behnken design (BBD) in response surface methodology (RSM) for the RO16 dye adsorption onto CS-FA/Fe3O4 composite. Design-Expert software (version 11, Stat-Ease, Minneapolis, USA) was used to design of experiments and analysis of the experimental results. The levels and ranges of independent variables and their codes are shown in Table 1. A second-order polynomial model was utilized to estimate the RO16 dye removal as presented in the following Eq. (1).

Table 1 Codes and actual variables and their levels in BBD
$$Y={\beta }_{0}+\sum{\beta }_{i}{X}_{i}+\sum{\beta }_{ii}{X}_{i}^{2}+\sum\sum{\beta }_{ij}{X}_{i}{X}_{j}$$
(1)

where, Y is the response (dye removal), \({\beta }_{0}\) is the model constant, \({\beta }_{i}\) is the linear coefficient of the input parameter, \({\beta }_{ii}\) is the quadratic coefficient of the input parameter, and \({\beta }_{ij}\) is the interaction coefficient between the input parameters, while \({X}_{i}\) and \({X}_{j}\) represent the independent variables. A total of 29 experiments (runs) are designed by BBD to optimize and evaluate the four independent variables including A: adsorbent dose (0.04–0.12 g), B: solution pH (4–10), C: temperature (30–50 °C), and D: time (20–90 min) on the RO16 dye removal. Noteworthy, the ranges and levels for BBD-RSM were pre-determined to be the best. The actual experimental design and values of RO16 dye removal are given in Table 2. A certain amount of CS-FA/Fe3O4 composite was added to the Erlenmeyer flasks (125 mL) containing RO16 dye solution (50 mL). These flasks were agitated at fixed shaking speed of 100 strokes/min using water bath (WNB7-45, Memmert, Germany). After that, the adsorbents were separated by an external magnetic field and the solution was filtered by syringe filter (0.45 µm). Finally, the concentrations of RO16 dye were calculated by UV–Vis spectroscopy (HACH DR 2800) at λmax 493 nm. The RO16 dye removal (DR%) was calculated using the following Eq. (2).

Table 2 The 4-varibles BBD matrix and experimental data for RO16 removal efficiency
$$DR \%=\frac{\left({C}_{o}-{C}_{e}\right)}{{C}_{o}} \times 100$$
(2)

where \({C}_{o}\) (mg/L) is the RO16 dye initial concentration and \({C}_{e}\) (mg/L) is the concentration of the RO16 dye at equilibrium.

The adsorptive removal of RO16 dye by bare fly ash powder (FA), CS/Fe3O4, and CS-FA/Fe3O4 composite was pre-determined and compared. The RO16 dye removal was 28.9%, 39.9%, and 68.2% for the fly ash powder (FA), CS/Fe3O4, and CS-FA/Fe3O4 composite adsorbents, respectively. This results show clearly the synergistic effect of incorporating FA powder into polymeric matrix of CS/Fe3O4 on the adsorptive property of the composite CS-FA/Fe3O4 for removal of RO16 dye.

Batch Adsorption Study

The RO16 dye adsorption onto CS-FA/Fe3O4 composite was studied in batch mode. According to Table 2 containing values of RO16 dye removal efficiency, the highest RO16 dye removal (%) can be obtained from run 13 under the following conditions: adsorbent dose (A: 0.08 g/L), pH (B: 4), temperature (C: 30 °C), and time (D: 55 min). Thus, these optimum conditions of adsorption key parameters were kept constant in the experiments of batch adsorption study. Adsorption experiments of RO16 dye were carried out using the same procedure mentioned above at different RO16 dye initial concentrations (20–150 mg/L) and contact time (0–660 min). The adsorption capacity of CS-FA/Fe3O4 composite for RO16 dye at equilibrium, \({q}_{e}\) (mg/g) was determined according to the following Eq. (3).

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

where, V (L) is volume of RO16 dye solution and W (g) is the weight of CS-FA/Fe3O4 composite. Adsorption experiments were conducted in duplicate under identical conditions and the results are reported as an average value.

Results and Discussion

Characterization

Physicochemical Properties

The elemental composition of FA was determined by XRF analysis and presented in Table 3. The result of analysis indicates the presence of Si, P, K, Ca, Al, Fe, Ti, Ag, Sr, and Zr mainly in structure of FA. Thus, it can be concluded that FA consist of metal oxides such SiO2, AL2O3, Fe2O3, CaO, TiO2, P2O3 and K2O. The textural properties of FA, magnetic CS, and CS-FA/Fe3O4 composite are presented in Table 4. The BET surface area analysis (Table 4) shows that the FA has surface area 4.74 (m2/g), while BET surface area of magnetic CS and CS-FA/Fe3O4 composite were 2.22 m2/g and 8.57 m2/g, respectively. The results reflect a relatively high surface area of CS-FA/Fe3O4 composite compared to CS/Fe3O4 which can be attributed to the interfacial interaction between FA and the molecular structure of CS [37]. Furthermore, CS-FA/Fe3O4 composite is a mesoporous material in accordance with the classification of IUPAC (USA) [38]. The potentiometric titrations showed the CS/Fe3O4 has 45.6% amino group (–NH2) content, while CS-FA/Fe3O4 composite was 39.5%. The decreasing in amine (–NH2) content of the matrix of CS after incorporation of FA particles can be attributed to the physical loading of FA into molecular structure of CS/Fe3O4, and also to the chemical interactions between silicon matrix and/or negative charge of FA with basic sites of amino group in CS molecular structure [39]. The results indicate that CS-FA/Fe3O4 composite has a relatively high content of amino (–NH2) group. The protonation of amino (–NH2) group into (–NH3+) in acidic environment can play an important role in the adsorption of RO16 dye due to electrostatic attraction between cationic amino groups (–NH3+) of CS-FA/Fe3O4 composite and RO16 dye anions.

Table 3 XRF analysis for FA sample
Table 4 Textural properties of FA, CS/Fe3O4, and CS-FA/Fe3O4 composite

XRD Analysis

The XRD pattern of the FA was given in Fig. 2. The FA profile shows sharp peaks at 2θ = 16°, 22°, 26°, 33°, 39°, 41°, 50°, 60°, 61°, and 68°. These peaks reflect that the FA consisted primarily of crystalline phases like alumina (Al2O3), quartz (SiO2), and hematite (Fe2O3) [40]. The XRD pattern of CS/Fe3O4 shows sharp characteristic peaks at 2θ = 30°, 35°, 43°, 53°, 57°, and 62°, which are consistent with the peaks of the Fe3O4 standard cards (JCPDS file No. 19-629) for the (220), (311), (400), (422), (511), and (440) crystal surfaces, respectively [41]. The XRD pattern of CS-FA/Fe3O4 composite shows similar profile to the CS/Fe3O4, except a sharp peak related to FA was appeared in pattern of CS-FA/Fe3O4 composite with obvious shift from 2θ = 26° to 2θ = 27°, indicating a successful interaction between FA and CS/Fe3O4.

Fig. 2
figure 2

XRD patterns of a FA, b CS/Fe3O4, and c CS-FA/Fe3O4 composite

FTIR Analysis

FTIR spectra of FA, CS-FA/Fe3O4 composite, and CS-FA/Fe3O4 composite after adsorption of RO16 dye are presented in Fig. 3. The FTIR spectrum of FA displayed characteristic peaks at 1070 cm−1 and 790 cm−1 for bond stretching of asymmetric Si–O–Si and symmetric Si–O–Si, respectively [23]. The peaks in region between 3600 and 3770 cm−1 indicates the stretching vibrations of OH [42]. The FTIR spectrum of CS-FA/Fe3O4 composite showed major bands for CS polymer which can be assigned as follows: 3600 cm−1 (stretching vibrations of –NH and –OH bonds), 2870 cm−1 (stretching vibrations of C–H in –CH and –CH2), 1650 cm−1 (bending vibration of N–H), 1380 cm−1 (stretching vibration of C–N), and 1090 cm−1 (skeletal vibration of C–O) [37]. The peak at 553 cm−1 corresponds to Fe–O bond [43]. The FTIR spectrum of CS-FA/Fe3O4 composite after adsorption of RO16 dye did not show much difference in bands position compare to spectrum of CS-FA/Fe3O4 composite before RO16 dye adsorption, except slight shifting of some bands due to involvement the functional groups of CS-FA/Fe3O4 composite in the RO16 dye adsorption process. Furthermore, the band at 1500 cm−1 can be attributed to the aromatic rings (C=C) of RO16 dye adsorbed on the surface of CS-FA/Fe3O4 composite.

Fig. 3
figure 3

FTIR spectra of a FA, b CS-FA/Fe3O4 composite, and c CS-FA/Fe3O4 composite after adsorption of RO16 dye

SEM–EDX Analysis

SEM–EDX analysis was carried out in order to investigate the surface morphological structure of FA, CS/Fe3O4, CS-FA/Fe3O4 composite, and CS-FA/Fe3O4 composite after adsorption of RO16 dye along with chemical composition. Figure 4a–d shows the SEM images and EDX analysis of FA, CS/Fe3O4, CS-FA/Fe3O4 composite and CS-FA/Fe3O4 composite after adsorption of RO16 dye, respectively. Figure 4a shows that the fly ash particles in different particle sizes were clearly visible in spherical shape (as highlighted in red cycles) with regular and smooth surface. The EDX analysis shows that the FA contains the elements C, O, Al and Si. In fact, the presence of C element within the elements of the analysis of EDX indicates to presence of unburned carbon, which plays an important role in adsorption process [44]. The surface morphology of CS/Fe3O4 (Fig. 4b) shows regular, compact, and homogenous surface, indicating equal distribution of magnetic Fe3O4 particles into molecular structure of CS. The EDX analysis shows that the CS/Fe3O4 contains the elements of CS biopolymer such as C, O, and N, in addition to presence element Fe corresponds to the magnetic Fe3O4. The surface morphology of CS-FA/Fe3O4 composite as shown in Fig. 4c appeared as irregular and heterogeneous surface with many visible cavities and pores. The appearance of spherical particles in the image indicates successful incorporation FA particles into molecular structure of CS. The EDX analysis shows a slight decrease in the elemental content of C which can be attributed to the loading of FA into molecular structure of CS/Fe3O4. The surface of CS-FA/Fe3O4 after the adsorption of RO16 dye (Fig. 4d) was turned to be less porous with evanescence of crevices on the CS-FA/Fe3O4 surface, indicating the RO16 dye molecules adsorbed on the CS-FA/Fe3O4 surface. The EDX analysis shows the presence of S element belongs to RO16 dye and reconfirms the RO16 dye adsorption by CS-FA/Fe3O4 surface.

Fig. 4
figure 4

SEM images and EDX spectra of a FA, b CS/Fe3O4, c CS-FA/Fe3O4 composite, and d CS-FA/Fe3O4 composite after adsorption of RO16 dye

BBD Model Analysis

The individual and interactive effects of the independent factors including adsorbent dose (A), solution pH (B), temperature (C) and time (D) on the RO16 dye removal were investigated using BBD-RSM. Analysis of variance (ANOVA) was employed to analyze the experimental results of RO16 dye removal statistically as shown in Table 5. Based on Table 5 (ANOVA analysis), the F-value of model and the corresponding p-value are 17.7 and < 0.0001, respectively. These values indicate that the model is statistically significant [45]. The coefficient of determination (R2) value was close to the unity, indicating to the high correlation between the values of actual and the predicted. Generally, the terms of model with p-value less than 0.05 (Prob > F < 0.0500) are significant on the RO16 dye removal under chosen conditions. According to Table 5, the BBD model terms of A, B, C, E, A2, B2, C2, AD and BC are significant on the RO16 dye removal. However, the terms of BBD model with p-value larger than 0.05 were excluded from second-order polynomial model in order to achieve fitting of the BBD model. Thus, the equation of second-order polynomial model between tested factors and the RO16 dye removal (response) was obtained and described in the following Eq. (4):

Table 5 Analysis of variance (ANOVA) for the removal of RO16 dye
$${\text{RO}}16\;{\text{removal}}\;(\% ) = + 15.18 + 8.32{\text{A}} - 15.10{\text{B}} - 5.83{\text{C}} + 5.96{\text{D}} + 6.78{\text{AD}} + 13.35{\text{BC}} + 4.74{\text{A}}^{2} + 14.66{\text{B}}^{2} + 5.35{\text{C}}^{2}$$
(4)

Validation of model can be also achieved by graphical methods through investigation in the nature of residuals distribution of the model, and relationship between values of the predicted and actual RO16 dye removal. Figure 5a shows normal probability plot of residuals for the model. It was observed from Fig. 5a, the perfect normal distributions of the residuals, where points seem conspicuously close to a straight line. This observation indicates to the accuracy of the assumptions and independence of the residuals [46]. The relationship between the values of predicted and actual RO16 dye removal (%) is shown in Fig. 5b which indicates the values of predicted and actual are close to each other, and confirming the statistical validation of the model.

Fig. 5
figure 5

a Normal probability plot of residuals for BBD model, b plot of the relationship between the predicted and actual values of RO16 dye removal (%)

Interactive Effects of Two Variables on RO16 Dye Removal

The interaction effect between any two independent variables on the RO16 dye removal was evaluated. The interaction effect between solution pH (B) and temperature (C) on the RO16 dye removal was significant (p-value = 0.0002), while the other factors (adsorbent dose 0.08 g and time 55 min) remained constant. The plots of three-dimensional (3D) response surfaces and two dimensional (2D) contour for the impacts and interaction of solution pH (B) and temperature (C) on RO16 dye removal (%) were shown in Fig. 6a, b, respectively. According to Fig. 6a, b can be noticed that the lowering solution pH from 10 to 4 is responsible for increasing the RO16 dye removal (%) from 7.90 to 73.1%. The pHpzc value of CS-FA/Fe3O4 composite was 7 as depicted in Fig. 6c. This result elucidates that the CS-FA/Fe3O4 composite has a cationic character and reinforced the availability of the amino (–NH3+) cationic group on the CS-FA/Fe3O4 surface, and in a good agreement with the potentiometric titrations test. The surface of CS-FA/Fe3O4 composite can be converted to positive charge at pH value below the pHpzc, thus promoting the adsorption of anions RO16 dye species. As a result, a strong electrostatic interaction can be occurred between protonated amino (–NH3) functional group of CS-FA/Fe3O4 composite and sulfonate (–SO3) groups of the RO16 dye, thus increasing the RO16 dye removal as shown in Eq. (5).

Fig. 6
figure 6

a 3D response surface plot, b contour plot of RO16 dye removal showing the interaction between pH and temperature, c pHPZC of CS-FA/Fe3O4 composite, and d 3D response surface plot, e contour plot of RO16 dye removal showing interaction between adsorbent dose and time

$${\text{R}} - {\text{NH}}_{3}^{ + } + {\text{RO}}16 - {\text{SO}}_{3}^{ - } \leftrightarrow {\text{R}} - {\text{NH}}_{3}^{ + } - {\text{SO}}_{3}^{ - } - {\text{RO}}16$$
(5)

Furthermore, it was observed from Fig. 6a, b the highest RO16 dye removal was achieved at temperature 30 °C, indicating the RO16 dye adsorption process onto the CS-FA/Fe3O4 surface was an exothermic in nature [47].

Another significant interaction (p-value = 0.022) on the RO16 dye removal (%) was between adsorbent dose (A) and time (D), while the other parameters (solution pH 7 and temperature 40 °C) remained constant. The plots of three-dimensional (3D) response surfaces and two dimensional (2D) contour for the impacts and interaction of adsorbent dose (A) and time (D) on RO16 dye removal (%) were shown in Fig. 6d, e, respectively. As depicted in Fig. 6d, e, the dye removal (%) was gradually increased by increasing adsorbent dose which can be attributed to the increase in the available surface area of CS-FA/Fe3O4 in dye solution, and also higher CS-FA/Fe3O4 dose indicates a greater number of active adsorption sites available. Moreover, the RO 16 dye removal was increased by increasing the contact time from 20 to 90 min, with longer contact time the RO16 dye molecules will get sufficient time to move deeper toward inner active adsorption sites on the surface of CS-FA/Fe3O4.

Adsorption Study

The effect of initial RO16 dye concentration and contact time on adsorption equilibrium was investigated. The adsorption capacity, \({q}_{t}\left(\mathrm{m}\mathrm{g}/\mathrm{g}\right)\) against time at several initial RO16 concentrations of 20, 40, 60, 80, 100 and 150 mg/L was investigated as depicted in Fig. 7a, while the other optimum factors like adsorbent dose = 0.08 g, solution pH 4, and temperature = 30 °C were kept constant. It is observed from Fig. 7a that the quantity of RO16 dye molecules uptake onto surface of CS-FA/Fe3O4 composite raised from 12.4 to 45.7 mg/g by increasing the initial RO16 dye concentrations from 20 to 150 mg/L. This can be attributed to the higher concentration gradient which provides a driving force to move the RO16 molecules towards active adsorption sites [48].

Fig. 7
figure 7

a Effect of the contact time on RO16 adsorption at different initial concentrations, and b adsorption isotherms of RO16 dye by CS-FA/Fe3O4 composite (adsorbent dose = 0.16 g, pH of solution = 4, temperature = 30 °C, agitation speed = 100 strokes and volume of solution = 100 mL)

Adsorption Kinetics

In order to understand the controlling mechanism of the adsorption process of RO16 dye molecules on the CS-FA/Fe3O4 composite, the non-linear pseudo-first-order (PFO) and non-linear pseudo-second-order (PSO) kinetic models were utilized to analyze the experimental data of the RO16 dye adsorption on CS-FA/Fe3O4 composite at different initial RO16 dye concentrations [49]. The non-linear equations of the kinetic models PFO [50] and PSO [51] are expressed in Eqs. (6) and (7) as follows:

$$q_{t} = q_{e} (1 - \exp^{{ - k_{1} t}} )$$
(6)
$$q_{t} = \frac{{q_{e}^{2} k_{2} t}}{{1 + q_{e} k_{2} t}}$$
(7)

where, qt (mg/g) is the amount of RO16 dye adsorbed at time (t), and qe (mg/g) is the amount of RO16 dye adsorbed at equilibrium. k1 (1/min) is the rate constant of PFO, and k2 (g/mg min) is the rate constant of PSO. The parameters of kinetic models and R2 values are recorded in Table 6. According to experimental data (Table 6) can be concluded that the adsorption of RO16 dye molecules by the CS-FA/Fe3O4 composite follows PSO model due to the higher correlation coefficient (R2) values, in addition to the calculated qe (qe,cal) values fitted well with the experimental qe (qe,exp) values. This result indicates that the adsorption of RO16 dye by CS-FA/Fe3O4 composite was the chemisorption process involving the electrostatic interaction between the positively charged available on the surface of CS-FA/Fe3O4 composite and the RO16 dye anions [52].

Table 6 PFO and PSO kinetic parameters for RO16 dye adsorption on CS-FA/Fe3O4 composite

Adsorption Isotherms

Adsorption isotherm is essential to understand the interaction between the RO16 dye molecules and the CS-FA/Fe3O4 composite [53, 54]. In order to evaluate the adsorption capacity of CS-FA/Fe3O4 composite for RO16 dye, non-linear equilibrium models of Langmuir, Freundlich, and Temkin were utilized to fit the experimental data. The non-linear equations of the equilibrium models Langmuir [55], Freundlich [56], and Temkin [57] are presented in Eqs. (8), (9), and (10), respectively.

$$q_{e} = \frac{{q_{\max } K{}_{a}C_{e} }}{{1 + K_{a} C_{e} }}$$
(8)
$$q_{e} = K_{f} C_{e}^{1/n}$$
(9)
$${q}_{e}=\frac{RT}{{b}_{T}}\mathrm{l}\mathrm{n}({K}_{T}{C}_{e})$$
(10)

where qe (mg/g) is the amount of RO16 dye adsorbed at equilibrium, Ce (mg/L) is the concentration of RO16 dye at equilibrium, qmax (mg/g) is the maximum adsorption capacity, and Ka (L/mg) is Langmuir constant. Kf (mg/g) (L/mg)1/n is the Freundlich constant, n is the dimensionless constant indicates to the adsorption intensity. KT (L/mg) is Temkin constant, T (K) is temperature, R (8.314 J/molK) is the universal gas constant, and bT (J/mol) is heat of adsorption. The non-linear curves of the equilibrium models are shown in Fig. 7b. The parameters of equilibrium models are recorded in Table 7. According to the R2 values (Table 7) obtained from the isotherm models, it observed that the Freundlich isotherm has highest correlation (R2 0.96), which indicated that the RO16 dye adsorption occurred on heterogeneous surface [58]. The maximum adsorption capacity (qmax) of CS-FA/Fe3O4 composite for RO16 dye was 66.9 mg/g at 30 °C. It can be deduced that the CS-FA/Fe3O4 composite was a potential and effective biosorbent for removal of RO16 dye from aqueous media.

Table 7 Parameters of the Langmuir, Freundlich, and Temkin isotherm models for RO16 dye adsorption on CS-FA/Fe3O4 composite at 30 °C

Adsorption Mechanism

Adsorption mechanism of RO16 dye on CS-FA/Fe3O4 composite surface by different types of interactions is shown in Fig. 8. An electrostatic attraction (Fig. 8a) is considered from the most interaction that can be occurred between RO16 dye and surface of adsorbent. This mechanism involves the electrostatic interaction between RO16 dye anions with positively charged available on the CS-FA/Fe3O4 composite surface. Adsorption mechanism also includes H-bonding interactions such as dipole–dipole hydrogen bonding (Fig. 8b), and Yoshida H-bonding (Fig. 8c). Dipole–dipole hydrogen bonding happens between H atom available on the surface of CS-FA/Fe3O4 composite, and N atoms in the RO16 dye structure, while Yoshida H-bonding happens between –OH available on the surface of CS-FA/Fe3O4 composite, and the aromatic rings of RO16 dye.[59]. Finally, n–π interaction comes from delocalization of the lone pair electron of O and N atoms into the π orbital of the dye aromatic rings as shown in Fig. 8d [60]. According to the above, it can be concluded that these interactions are effective in enhancing adsorption process of RO16 dye on the surface of CS-FA/Fe3O4 composite.

Fig. 8
figure 8

Illustration of the possible adsorption mechanism between CS-FA/Fe3O4 composite and RO16 dye: a electrostatic attraction, b dipole–dipole hydrogen bonding interactions, c Yoshida H-bonding, and dn–π stacking interactions

Conclusion

Magnetic fly ash/Fe3O4 particles (CS-FA/Fe3O4) composite was successfully synthesized and applied as an effective bioadsorbent for the removal of RO16. The incorporation of FA particles in magnetic CS leads to enhance surface area of CS-FA/Fe3O4 composite. The CS-FA/Fe3O4 composite was easily separated and collected from the aqueous solution after adsorption process by external magnetic field. Analysis of variance (ANOVA) showed the F-value of model and the corresponding p-value are 17.7 and < 0.0001, indicating the model is statistically significant. The experimental results indicate that the highest RO16 dye removal of 73.1% was observed by significant interaction between BC (pH × temperature, p-value = 0.0002) and AD (adsorbent dose x time, p-value = 0.022). The optimum conditions of adsorption process parameters were pH ~ 4, adsorbent dose (0.08 g), temperature (30 °C) and time (55 min). The kinetics and isotherms models results indicated that the adsorption was affected by chemisorption and heterogeneous mode of adsorption. The qmax of CS-FA/Fe3O4 composite for RO16 dye was 66.9 mg/g at 30 °C.