1 Introduction

Geopolymers present environmentally friendly materials that could be used as promising alternatives to Portland cement in the construction sector. Indeed, the production of one ton of cement leads to the emission of approximately one ton of carbon dioxide, which is one of the main contributors to global warming as it escapes into the air (Sathsarani et al. 2023).

Geopolymers offer excellent performance as building materials, owing to their good mechanical, thermal, chemical, and electrical properties, as well as their low synthesis energy, making them economical products (Davidovits 1991; Tang et al. 2023). It is important to mention that aluminosilicate-rich precursors represent the basic feedstocks for the synthesis of geopolymers, and can be natural resources or industrial wastes. The metakaolin derived from the calcination of kaolin clay represents one of the most important materials adopted as a source of aluminosilicates for geopolymer formulation, due to its high reactivity with an alkaline activating solution (Archer de Carvalho et al. 2024; Barbosa et al. 2000; Duxson et al. 2007; Tchadjie & Ekolu 2018; Van Jaarsveld & Van Deventer 1999). On the other hand, industrial waste recycling represents another source of aluminosilicates, such as blast furnace slag obtained from steel complexes(Lecomte et al. 2003), and FA from coal-fired power plants(Van Jaarsveld & Van Deventer 1999), and red mud from a by-product of the Bayer process(Panda et al. 2024).

Recently, attention has focused on finding new methods of synthesizing geopolymers without requiring direct contact with dangerous alkaline solutions while simultaneously obtaining a product that has the same form as OPC in powder form and can be easily mixed with water (Singh & Middendorf 2020).

As a result, the development of a pre-geopolymer powder (PGP) using mechanosynthesis technology was proposed, The PGP refers to the precursor material mixture prepared before the geopolymerization process. According to the literature, mechanosynthesis is a high-energy ball milling process in which raw materials are mixed in the solid state and transformed into a homogeneous powder of small particle size. This technology increases the surface of interaction between particles of fly ash with the alkaline activator, leading to more complete and efficient reactions, and a more uniform particle size distribution (PSD) (Ahmed et al. 2023; Özkılıç et al. 2023). This grinding process is carried out by a mechanical ball mill consisting of a container made of different materials (such as hardened steel, tungsten carbide, garnet, zirconium oxide, silicon nitride, and stainless steel) and containing grinding balls of different sizes formed from specific substances. Grinding time and speed are important factors influencing the particle size of the PGP and hence the physical and mechanical properties of the derived paste (Bouchenafa et al. 2019; Hamzaoui et al. 2004). Wei et al. developed an intelligent mix design method for fly ash-based geopolymer, aiming to meet the strength, cost, and environmental protection requirements. Their study introduces a multiobjective design optimization method (Dong et al. 2023). While each study adopts different methodologies and precursor combinations, they collectively underscore the significance of mixture design in optimizing geopolymer synthesis for superior mechanical properties (Luan et al. 2022).

Moreover, geopolymers possess distinctive characteristics that make them suitable for specific applications. They feature high heat and fire resistance, making them suitable for high-temperature environments. Additionally, they offer high mechanical strength and high durability, making them suitable for civil engineering applications (Al-Fakih et al. 2023).

Geopolymer technology research continues, but much still needs to be discovered regarding optimal manufacturing processes and applications for geopolymers. However, the potential advantages of this technology make it an alternative field of research and development (Nawaz et al. 2020; Pradhan et al. 2024a, b).

The absence of industry standards and norms presents a difficulty for the common approval of geopolymer technology. Ensuring the quality and consistency of geopolymer materials could prove challenging without defined guidelines for manufacturing and testing. In addition, in some circumstances, the manufacturing costs may exceed those of conventional cement-based products, potentially acting as a deterrent to widespread approval (Habert et al. 2011; Martínez & Miller 2023).

In addition to these constraints, the development of geopolymer technology can significantly improve the environmental impact of the construction sector while providing high-performance materials for a large variety of applications. As research and development in this field continue, geopolymer materials are expected to increase in use in the future (Bajpai et al. 2020).

Despite their promising properties, particularly in the construction area, the widespread use of geopolymers is currently limited. As a result, geopolymer is primarily employed in prefabricated materials such as paving stones, paving slabs, and bricks. To broaden the application scope of these materials, novel manufacturing methods must be introduced. One such promising method is the "mechanosynthesis" process, which involves fine grinding of precursors (Mucsi et al. 2015). Although the geopolymerization process is usually carried out by mixing aluminosilicate raw materials with alkaline liquids, in this context a mechanosynthesis process using an alkaline activator as a powder is proposed to elaborate a geopolymer material that can be easily used (Gaffet et al. 1999).

Various approaches utilizing different design methods have been explored to optimize the synthesis of high-performance geopolymers including Artificial intelligence (AI) methods (Parhi et al. 2024; Pradhan, Panda, Parhi, et al. 2024). Kanagaraj et al. investigated optimizing the mix proportion of High Strength Alkali Activated Concrete (HSAAC) using the Taguchi Method (TM) (Kanagaraj et al. 2022). The present study focused on applying the CCD approach to optimize various factors such as grinding speed, grinding duration, curing time, curing temperature, and NaOH concentration in fly ash-based geopolymer production via the mechanosynthesis process (Wang & Fan 2021). To evaluate the influence of different parameters on compressive strength and density, many investigations have been performed with different aluminosilicate precursors and mixture designs (Driouich et al. 2023). Lulseged et al. used the Taguchi model to find the optimal geopolymer with fly ash. Various parameters were tested, minimizing experimentation while maximizing the compressive strength. With a Maximum of 24.96 MPa for compressive strength and 4.40 MPa for splitting tensile strength (Addis et al. 2023), Zerzouri et al. compared conventional geopolymers with those obtained through mechanosynthesis, highlighting structural and mechanical differences, achieving compressive strengths of 28 MPa compared to 15 MPa for conventional geopolymer pastes (Zerzouri et al. 2021). All these experiential methods offer distinct advantages depending on the research objectives. The CCD is efficient in optimization and captures complex interactions and quadratic effects, making it valuable for geopolymer optimization. BBD focuses on quadratic models, making it suitable for optimization without exploring extreme conditions. The Taguchi method excels at early screening and improving robustness with the fewest number of experiments by focusing on main effects rather than interactions (Ghafri et al. 2024).

This study aimed to optimize the mechanical properties of a fly ash-derived geopolymer paste by applying the central composite design methodology. The research delves into mechanosynthesis as a modern technique to produce pre-geopolymer powders (PGP) for developing geopolymer pastes. A thorough investigation of key parameters, including grinding speed and duration, curing time and temperature, and NaOH concentration, was conducted to identify the optimal conditions for achieving superior mechanical performance. The raw materials, pre-geopolymer powders, and geopolymer pastes were subjected to extensive physicochemical analyses to ensure a detailed and comprehensive evaluation. This study's experimental and analytical approach seeks to uncover the best synthesis conditions for enhancing the mechanical properties of geopolymer pastes, providing valuable insights for future applications.

2 Materials and Methods

2.1 Materials

In this study, three solid components were employed as raw materials. The Fly ash powder was collected from a coal-fired power plant in the Jorf Lasfar region of Morocco, (Dhole, 2020; Wang et al., 2016), the sodium hydroxide pellets of 99% purity imported from the Cadillac Company, and the crystalline sodium silicate granules with 99% purity were also imported from Cadillac. The chemical composition determined by X-ray fluorescence (XRF) spectroscopy was performed using the STDHX8000CIM XRF analyzer. This instrument provides highly accurate measurements with a detection limit of 0.01% for major elements and 0.001% for trace elements. Moreover, Table 1 indicated that FA used from the Jorf Lasfar region of Morocco is a rich aluminosilicate precursor because the percentage of SiO2 + Al2O3 + Fe2O3 combined exceeded 70% these oxides are essential in the geopolymerization process. When the percentage of CaO is less than 10%, the FA is classified as class F (Dhole, 2020; Wang et al., 2016). Variations in fly ash composition from different sources can have significant effects on the compression and density of the geopolymer. However, the presence of impurities, higher calcium, and variations in the SiO2/Al2O3 ratio can influence the consistency and performance of the geopolymer (Kakasor Ismael Jaf et al. 2023).

Table 1 Chemical composition of fly ash according to XRF

2.2 Method

2.2.1 Geopolymer Synthesis

The mechanosynthesis technique was chosen to produce PGP based on FA, NaOH, and Na2SiO3. The formulation, milling, and processing parameters were simultaneously adjusted to optimize the quality of these powders and thus the performance of the resulting pastes. These powders were subsequently used to formulate geopolymer pastes through the addition of water. The selection of these parameters was guided by a combination of literature insights, and statistical analysis including regression modeling and analysis of variance (ANOVA), which helped in identifying the most influential parameters and their optimal settings (Emad et al. 2022).

A CCD design with three replicates was used to produce geopolymers with suitable qualities. This optimization process involved adjusting various parameters such as grinding speed grinding duration, curing time, curing temperature, and NaOH concentration. Based on the results of previous studies, the (FA)/ (AA) and Na2SiO3/NaOH mass ratios were fixed at 2.5 (Alloun et al. 2023; Zerzouri et al. 2021).

According to this optimization process, the quantity of all the mixed raw materials: FA 100 gr, NaOH 11.43 gr, Na2SiO3 28.57 gr, water 28.57 ml, 21.98 ml, 17.85 ml, for NaOH concentration 10M, 13M, and 16M, respectively.

The synthesis of the geopolymer by mechanosynthesis following CCD was performed using a high-energy planetary ball mill (Pulverizette 6, Fritsch) to grind the raw materials (FA, NaOH., and Na2SiO3). Then the powder was mixed with water and mold. After 28 days of drying at atmospheric pressure, the compressive strength properties and density of the 29 prepared geopolymer pastes were evaluated. The results were subsequently analyzed to determine the optimum settings using the CCD methodology.

2.2.2 Experiment Design, Statistical Analysis, and Optimization Process

2.2.2.1 Central Composite Design

The experimental CCD was used to streamline the number of experiments and evaluate the influence of various parameters on the selected responses. The factors studied included the grinding speed, grinding time, curing time, curing temperature, and NaOH concentration these factors are listed in Table 2, along with their associated coding and selected levels.

Table 2 The factors and levels applied in CCD

This design involved five factors with three repetitions in the middle of the domain, culminating in 29 experiments (Srinivasa et al. 2023). Applying the CCD to the factors mentioned above at their three levels created a matrix of experiments comprising 29 different combinations, as shown in Table 3.

Table 3 Matrix of the 29 experiments generated by the CCD

The CCD offers efficient optimization by allowing the estimation of both the main effects and quadratic effects of factors, allowing the identification of optimal experimental conditions in a relatively small number of experiments (Ferreira et al. 2007).

According to the CCD, geopolymer powder can be produced in eight distinct ways, considering that only two parameters influence the particle size of the powder: grinding speed (GS) and grinding time (GT). These powders are essentially a mixture of spherical solid, hollow, and vitreous particles of different sizes and shapes (Goodarzi & Sanei 2009).

2.2.2.2 Statistical Analysis

In this study, a 2nd-order polynomial regression model was used to analyze the relationships between the various factors studied (X1–X5) and the targeted response (Y) (Ahmad & Basu 2024). The proposed model is represented by the following equation Eq. (1):

$$\begin{aligned} Y = &\, b_{0 } + b_{1} X_{1} + b_{2} X_{2} + b_{3} X_{3} + b_{4} X_{4} + b_{5} X_{5} + b_{11} X_{1} X_{1} + b_{22} X_{2} X_{2} + b_{33} X_{3} X_{3} \\ & + b_{44} X_{4} X_{4} + b_{55} X_{5} X_{5} + b_{12} X_{1} X_{2} + b_{13} X_{1} X_{3} + b_{23} X_{2} X_{3} + b_{14} X_{1} X_{4} + b_{24} X_{2} X_{4} + b_{34} X_{3} X_{4} \\ & + b_{15} X_{1} X_{5} + b_{25} X_{2} X_{5} + b_{35} X_{3} X_{5} + b_{45} X_{4} X_{5} + \varepsilon \\ \end{aligned}$$
(1)

This model comprises various parameters to predict the response. The intercept term (b0) represents the theoretical mean response when all influencing factors are absent. Additionally, linear coefficients (b1–b5) signify the direct impact of each factor on the response. Quadratic terms (b11–b55) account for the curvature in the relationship between factors and response, allowing for nonlinear effects. Interaction terms (b12–b45) capture the joint influence of two factors on the response. An error term (ε) is also included to account for unexplained variability in the data.

The analysis was conducted using JMP (version 16) software and DESIGN EXPERT (version 16) software, which facilitated regression analysis and graphical visualization of the data. Additionally, software was used to determine the optimal conditions of the factors by solving the regression equations and generating, and interpreting the response surface plots.

2.2.2.3 Optimization Tools

The iso-response profile in 2D and 3D, as well as the desirability profile, are powerful tools in the field of experimental design and optimization. The 2D iso-response profile is a contour plot that illustrates how the response variable changes as a function of two factors while keeping other factors constant. It consists of contour lines representing combinations of the two factors that yield the same response value. This visualization allows for easy identification of optimal regions and factor interactions. Moreover, the 3D iso-response profile extends this concept to three dimensions, offering a more comprehensive view of the relationship between factors and responses (Aziz & Aziz 2018). It is typically represented as a surface plot, where the x and y axes represent two factors, and the z-axis represents the response. The desirability profile is a method for simultaneous optimization of multiple responses. It involves transforming each response (Yi) into a dimensionless desirability function (di) that ranges from 0 to 1, where 0 represents a completely undesirable response and 1 represents the most desirable response. The overall desirability (D) is then calculated as the geometric mean of individual desirability following equation Eq. (2):

$$D = \sqrt[n]{{d_{1} \times d_{2} \ldots .. \times d_{n} }}$$
(2)

where n is the number of responses. This approach allows for the identification of factor levels that optimize multiple responses simultaneously, balancing potentially conflicting objectives (Haque et al. 2023). By maximizing the overall desirability, we can determine the optimal combination of factor levels for the entire system.

2.2.3 Micro-Analysis Equipment and Specifications

The XRD was performed using the D8 DISCOVER by BRUKER. The XRD system offers high precision with a minimum 2θ resolution of 0.01° and is capable of detecting phase differences down to the micrometer scale. The machine has been configured for a scan range of 5° to 70° 2θ with a step size of 0.02° 2θ to achieve detailed phase identification and quantification. The FTIR analysis was conducted using the VERTEX 70V by BRUKER. This advanced FTIR system provides high-resolution spectral data with wavenumber resolution down to 0.1 cm−1, allowing precise characterization of molecular vibrations and functional groups. Analysis was performed over a wavenumber range of 4000 to 400 cm−1. The SEM/EDX was performed using a JSM-IT 100 by JEOL. The SEM provides high-resolution imaging with a minimum resolution of 3 nm at 30 kV in high vacuum mode. The PSD was performed from SEM/EDX using ImageJ software, this provides high precision, flexibility, and advanced image processing tools.

2.2.4 Analysis of the Microstructural Properties of Pre-Geopolymer Powders

SEM and EDX analyses were employed to determine the morphology and chemical composition of the PGP as illustrated in Fig. 1. Owing to the high mechanical grinding potential of the raw materials (FA, NaOH, and Na₂SiO₃). The materials appear dense with few pores and cavities (P1, P3, P4, P5, and P8), and more pores and cavities (P2, P6, and P7) (Mucsi et al. 2015), as depicted in Fig. 1. The presence of an amorphous phase may be due to the high mechanical grounding condition of the raw materials and the variation in the Si/Al and Al/Na ratios of the geopolymer powder (Fig. 1) (Nada et al. 2019).

Fig. 1
figure 1figure 1

a Micrographs SEM and EDX analysis of pre-geopolymer powders. (P1, P2, P3, P4) respectively. b Micrographs SEM and EDX analysis of pre-geopolymer powders. (P5, P6, P7, P8) respectively

3 Results and Discussion

3.1 Compressive Strength and Density

The compressive strength and density results of 29 samples generated by the CCD design are presented in Table 4, the values are in the ranges of 11.22–32.41 MPa and 1.31–1.62 gr/cm3 respectively, after curing for 28 days at ambient temperature. The highest compressive strength obtained was 32.41 MPa for the G6 sample prepared by grinding the PGP at a rotational speed of 400 RPM for 5 min and then curing it at a temperature of 24 °C for 12 h. In contrast, the G26 sample exhibited a lower compressive strength at 11.22 MPa, and the PGP was prepared at a rotational speed of 350 RPM for 10 min and cured at 80 °C for 48 h. This can be explained by the higher curing temperature. The CCD approach was used to understand the influence of different parameters (grinding speed, grinding time, curing time, curing temperature, and NaOH concentration) on compressive strength and density.

Table 4 Experimental matrix generated by the CCD design and the relative responses of materials

3.2 Statistical Validation of the Polynomial of the Order 2 Model

The main effect of regression was statistically significant for both responses according to the analysis of variance results (Table 5) since the p-value of risk was less than 0.05 (< 0.0001). Moreover, the total squares resulting from the residuals are devised into a combination of the following variations: one is attributed to the lack of adjustment, and two is caused by pure error. The complementary analysis of variance suggested that the model did not fit the data well since the risk value was greater than 0.05 (p-values = 0.11 and 0.10 for compressive strength and density, respectively) (Stella et al., 2022).

Table 5 Analysis of variance of the fitted model

The graph illustrated in Fig. 2 reveals that the curve of values observed depending on the estimated values is linear. The model demonstrated strong predictive capabilities for both compressive strength and density. For compressive strength, the coefficient of determination (R2) was 0.98, indicating that 98% of the variance in compressive strength was explained by the model. The Root Mean Squared Error (RMSE) was 1.33, signifying a relatively small average prediction error. For density, the R2 was even higher at 0.99, suggesting an even stronger relationship between the model's predictions and the actual density values. The RMSE for density was significantly lower at 0.015, indicating highly accurate predictions with minimal average error. These results suggest that the model effectively captures the key factors influencing both compressive strength and density, providing reliable predictions for these critical material properties.

Fig. 2
figure 2

Relationship between Actual and Predicted value of the responses compressive strength (A) and density (B). The red curve represents the regression line, indicating the trend between predicted and actual responses. The pink shaded area represents the 95% confidence interval around the regression line. The blue horizontal line shows the mean of all actual response values

3.3 Factor Effects and Coefficient Estimations

Table 6 shows the statistical values of the t-student test and the corresponding observed probabilities, illustrating the impact of all the factors examined.

Table 6 Impact of the model coefficient response relating to factors

According to the results, the statistical coefficients supposed to be significant for the compressive strength response are the constant values of b0, the straight-line terms (b1, b3, b4, and b5), the quadratic terms (b11, b22, and b44), and the interactive terms (b13, b23, b14, b24, b15, b25, and b45). All these factors had p-values less than 0.05 are indicated in red as shown in Table 6. Consequently, the mathematical model for compressive strength is as follows Eq. (3):

$$\begin{aligned} Y_{ Compressive strength} = & 15.23 - 5.14X_{2} - 1.21X_{5} + 8.44X_{1} X_{1} + 3.84X_{3} X_{3} + 2.14 X_{4} X_{4} \\ & - 1.83X_{5} X_{5} - 7.94X_{1} X_{2} + 1.29X_{3} X_{4} + 0.72X_{1} X_{5} \neg 1.60X_{2} X_{5} + \varepsilon \\ \end{aligned}$$
(3)

The compressive strength response equation reveals significant interactions between several pairs of variables, indicating that optimizing strength requires considering their combined effects. A negative interaction between grinding duration (X1) and speed (X2) suggests that increasing both factors together might lead to a smaller increase in strength compared to increasing either factor alone. Conversely, a positive interaction exists between grinding duration (X1) and curing temperature (X5), indicating that increasing both variables simultaneously might result in a greater increase in strength. A similar positive interaction is observed between NaOH concentration (X3) and curing time (X4). Finally, a negative interaction exists between grinding speed (X2) and curing temperature (X5), suggesting that increasing both factors might lead to a smaller increase in strength compared to increasing either factor alone.

According to the values in Table 6, the statistical coefficients for the density response are the constant b0, the straight-line terms (b2 and b5), the quadratic terms (b11, b33, b44, and b55), and the interactive terms (b12, b34, b15, and b25). All these factors had p-values less than 0.05. Therefore, the mathematical model representing the density Eq. (4) is concluded to be:

$$\begin{aligned} Y_{Density} = & 1.57 - 0.05X_{1} - 0.03X_{3} - 0.01X_{5} - 0.03X_{1} X_{1} - 0.07X_{2} X_{2} - 0.05X_{1} X_{3} + 0.02X_{2} X_{3} \\ & - 0.02X_{1} X_{4} + 0.03X_{2} X_{4} + 0.03X_{1} X_{5} - 0.01X_{4} X_{5} + \varepsilon \\ \end{aligned}$$
(4)

The density response equation highlights several significant interactions between design variables, indicating that optimizing density requires considering their combined effects. A negative interaction exists between grinding duration (X1) and NaOH concentration (X3), suggesting that increasing both factors might lead to a smaller increase in density compared to increasing either factor alone. Conversely, a positive interaction is observed between grinding speed (X2) and NaOH concentration (X3), indicating that increasing both variables simultaneously might result in a greater increase in density. Similar positive interactions are found between grinding speed (X2) and curing time (X4) as well as between grinding duration (X1) and curing temperature (X5). Finally, a negative interaction exists between curing time (X4) and curing temperature (X5), suggesting that increasing both factors might lead to a smaller increase in density compared to increasing either factor alone. These interactions emphasize the need to carefully balance these variables to achieve optimal density.

3.4 Optimization of Parameters

3.4.1 Compressive Strength Response

A primary analysis of the data showed that achieving the highest compressive strength response is contingent upon the highest compressive strength obtained with 32.41 MPa, for the G6 sample prepared by grinding the PGP at a rotational speed of 400 RPM for 5 min and then curing it at a temperature of 24 °C for 12 h and finally adjusting the curing temperature to an optimum value. Since the representation is only in 2D, two of the five factors were chosen to represent the factors to their optimal values. In this case, the grinding duration and curing temperature represent the compressive strength response, at the same fixing three factors (grinding speed, NaOH concentration, and curing time) to their minimal level, which represents their optimal settings as shown in Fig. 3.

Fig. 3
figure 3

The contour plots of the compressive strength response: a 2D; b 3D

3.4.1.1 (a) Profile of the Iso-Response Compressive Strength In 2D and 3D

With the aid of the iso-response profile (Fig. 3), different solutions have been proposed for operating conditions.

An analysis based on the 2D and 3D iso-response plots indicates that a compressive strength of approximately 45 MPa can be achieved by carefully controlling specific parameters. Grinding the material for approximately 15 min is crucial, while the curing temperature needs to be between 46 and 80 °C. The grinding duration might be flexible. Additionally, three other factors, grinding speed (300 RPM), NaOH concentration (10 M), and curing time (24 h), are assumed to be optimal for achieving an optimal response of 45 MPa. Comparable to ordinary Portland cement, the typical compressive strength of ordinary Portland cement concrete, generally ranges from 20 to 40 MPa for standard mixes used in residential and commercial construction(Yang et al. 2023).

3.4.1.2 (b) Desirability Profile of the Compressive Strength

By utilizing a desirability function, researchers were able to fine-tune the optimization process to achieve a specific compressive strength with high precision. Figure 4 reveals that a desirable outcome of 47.12 MPa can be reached with a near-perfect desirability of 99% under the following precise conditions: 300 RPM grinding speed, 15 min of grinding time, 24 h of curing time, a curing temperature of 68 °C, and 10 M NaOH concentration.

Fig. 4
figure 4

Desirability profile of the optimal conditions for the compressive strength response

3.4.2 Density Response

A primary analysis of the data showed that maximizing the density response depended on maximizing grinding duration and curing temperature, minimizing two factors curing time, and NaOH concentration, and finally adjusting the grinding speed to an optimum value. In this case, grinding duration and grinding speed were selected to represent the density response, at the same fixing three factors (curing temperature, NaOH concentration, and curing time) to their minimal level, which represents their optimal settings as shown in Fig. 5.

Fig. 5
figure 5

The contour plots of the density response: a 2D; b 3D

3.4.2.1 (a) Profile Iso-Response Density in 2D and 3D

With the aid of the iso-response profile (Fig. 5), different solutions have been proposed for operating conditions.

Both the 2D/3D contour plots and the desirability function analysis point toward achieving a density of approximately 1.64 gr/cm3. The contour plots (Fig. 5) suggest a grinding speed range of 306–332 RPM at a fixed grinding time (15 min), curing time (24 h), curing temperature (80 °C), and NaOH concentration (10 M).

3.4.2.2 (b) Desirability Profile of Density

However, for a more precise approach, the desirability function (Fig. 6) recommends specific conditions to reach this density with near-perfect accuracy (99% desirability): 320 RPM grinding speed, 15 min grinding time, 24 h curing time, 80 °C curing temperature, and 10 M NaOH concentration.

Fig. 6
figure 6

Desirability profile of the optimal conditions for the density response

3.4.3 Simultaneous Optimization of Both Responses

From the individual optimization studies for each response, it is evident that the optimal conditions for both responses exhibit nearly identical correlations, as depicted in Figs. 4 and 6. This finding suggested the possibility of identifying a single set of parameters that optimizes both responses simultaneously.

As illustrated in Fig. 7, achieving the optimal balance between compressive strength and density is possible. By following a specific set of parameters, it is possible to obtain a desirable outcome for both responses with a near-perfect level of precision (approximately 99% desirability).

Fig. 7
figure 7

Desirability profile of the optimal conditions for both compressive strength and density

The optimal parameters for the simultaneous optimization of compressive strength and density were 300 RPM, 15 min, 24 h, 80 °C, and 10 M, grinding speed, grinding time, curing time, curing temperature, and NaOH concentration, respectively.

The similar optimization tendencies of the two responses suggest a significant correlation between them. Indeed, A strong positive correlation (r = 0.92, p < 0.0001) was observed between compressive strength and density, indicating a significant association between these two properties. This finding suggests that as density increases, compressive strength also tends to increase proportionally. This relationship highlights the interconnected nature of these material properties and has important implications for understanding the overall performance and behavior of the material.

3.5 Comparative Studies on the Application of CCD in Optimization

In this section, the optimization results obtained in this study will be compared with those of previous research, despite the absence of studies combining both experimental design in optimization and the adoption of the mechanosynthesis method simultaneously.

While X. Shi et al. focused on optimizing the composition and curing conditions of geopolymers using the response surface method to predict the influence of varying parameters on key properties, our study emphasizes the application of the central composite design (CCD) (Shi et al. 2022). The CCD design efficiently estimates the main effects and minimizes the number of experiments compared to other factorial designs, providing a robust framework for optimization.

3.6 Analysis of the Structural and Microstructural Properties of Geopolymers

The fly ash geopolymer samples, distinguished by their high mechanical performance (G6, G9, and G12), and low mechanical performance (G26) were characterized using XRD, FT-IR, and SEM–EDX analyses.

3.6.1 X-ray Diffraction Analysis

XRD patterns of the fly ash-based geopolymer, as depicted in Fig. 8, highlight a detailed comparison between the raw fly ash and geopolymer samples prepared through the mechanosynthesis process (G6, G9, G12, and G26). In the XRD patterns of the raw fly ash, various peaks corresponding to crystalline phases including quartz and, mullite, were identified (Kosor et al. 2016; Murmu et al. 2020; Zhang et al. 2023a, b).

Fig. 8
figure 8

XRD analysis of the raw fly ash and geopolymer prepared according to the mechanosynthesis process (G6, G9, G12, and G26)

In contrast, the geopolymer samples exhibited various modifications, such as alterations in peak intensity, the emergence of new peaks, and the disappearance of other peaks. For example, amorphous phases (Liu et al. 2016; Ndlovu et al. 2017). The amorphous phase is typically denser and more homogeneous compared to crystalline phases in geopolymer materials typically formed from the aluminosilicate gel. The optimized processing conditions identified in our study led to the production of a geopolymer with a high degree of amorphousness. This amorphous phase is responsible for the material's cohesion and significantly contributes to its compressive strength (Zhang et al. 2023a, b). These observations provide valuable insights into the structural changes and transformations that occur during the polymerization process, shedding light on the material's composition and characteristics (Payakaniti et al. 2020). The XRD patterns of the geopolymer samples produced by mechanosynthesis (G6, G9, G12, and G26) clearly show the formation of an amorphous phase. The formation of the amorphous phase was confirmed by the presence of a wide band at 2θ values between 15 and 40°. This finding agrees with the findings of Sanalkumar et al. (Ambikakumari Sanalkumar et al. 2019). This observation highlights the successful incorporation of amorphous phases during geopolymerization underscoring the transformative impact of the mechanosynthesis process and the temperature on the material composition (Han et al. 2020; Mahfoud et al. 2023; Zerzouri et al. 2022).

The observed decreases in the peak intensities of quartz, and mullite in the XRD patterns of the fly ash-based geopolymer, particularly in the high-performance samples (G6, G9, and G12) compared to those of the low-performance geopolymer G26 can be attributed to the inherent nature of the material. This phenomenon is a consequence of the material's high predisposition to form stable crystalline phases. Upon grinding and curing under diverse conditions, the initial comparison between raw fly ash and the geopolymer samples indicated a decrease in peak intensities (Nath & Kumar 2020). This reduction is associated with the type and arrangement of atoms within the crystal structure. Notably, high-performance geopolymers (G6, G9, and G12) exhibit lower peak intensities than low-performance geopolymer G26 (Jiang et al. 2020; Luo et al. 2022). This suggests that the latter lacks sufficient energy to arrange atoms effectively in the crystal structure, contributing to its comparatively lower mechanical strength (Shilar et al. 2022; Ziegler et al. 2016).

3.6.2 FT-IR Analysis

The resulting spectra of both the Raw Fly Ash (Raw FA) and the geopolymer samples prepared through the mechanosynthesis process (G6, G9, G12, and G26) shown in Fig. 9, and all assignments of the observed infrared bands are presented in Table 7. The IR spectra exhibit distinct groups of bands. This provides a comprehensive overview of all the band assignments, as described in Fig. 9.

Fig. 9
figure 9

FT-IR spectra of the raw FA and geopolymer prepared according to the mechanosynthesis process (G6, G9, G12, and G26)

Table 7 The most important IR bands and their assignments for the raw FA and the synthesized geopolymer materials

In contrast to the infrared spectra of raw FA, all the synthesized geopolymers exhibited a distinct band at 418 cm⁻1, corresponding to O–Si–O bending modes (Bornhauser & Calzaferri 1996; Chen et al. 2022). Additionally, the peak within the 560 cm⁻1 range is attributed to the asymmetrical stretching vibrations of Si–O–Al (Mozgawa et al. 2014; Yan et al. 2012). These observations suggest alterations in molecular structure and bonding configuration during the geopolymerization process.

The Si–O stretching vibration is notably observed at 845 cm⁻1 (Tchakouté et al. 2017) in the infrared spectra. Furthermore, a smaller band is associated with the vibration of Si–O within the range of 900–1000 cm⁻1. The intense banding between 900 and 1100 cm⁻1 is attributed to the asymmetrical stretching vibrations of Si–O–Al and Si–O–Si, indicating the formation of amorphous aluminosilicate (Handke 1986; Rathee et al. 2023; Šontevska et al. 2007). These specific bands in the infrared spectra provide valuable insights into the structural changes and chemical compositions of geopolymers, particularly highlighting the development of amorphous aluminosilicate during geopolymerization.

The peak observed at 1460 cm−1 could be linked to the O–C–O stretching vibration of the carbonate phase. However, these bands present challenges in clearly assigning vibrational modes within the same range as the mineral matrix. It is plausible that these features result from the reaction between the alkaline activator and atmospheric CO2 (Phair & Van Deventer 2002; Samouh et al. 2023). This observation underscores the importance of considering environmental factors and secondary reactions, contributing to a more nuanced understanding of the material's composition and the effects of external conditions on its vibrational spectra.

The presence of bands in the region at 1671 cm−1 suggested that they corresponded to the O–H bending vibration of water molecules similar to the small band between 3300 and 3500 cm−1, which is attributed to the stretching vibrations of the –OH and H–O–H bonds (Puertas et al. 2006; Yan et al. 2012). Additionally, the lower frequency band observed at 2335 cm−1 corresponds to the H–O–H group bonds of free H2O particles (Aouan et al. 2023a, b). These observations in the infrared spectra indicate the involvement of water molecules and the presence of different types of bonds in the geopolymer structure, providing valuable information about the hydration and composition of the material. It is crucial to emphasize that the deviation of the band fly ash should be located normally at 1070 or 1100 cm−1 to 980 cm−1 for the four geopolymers (G6, G9, G12, and G26), which signifies a noteworthy shift, serving as a clear indication of sodium aluminosilicate hydrate (NASH) gel formation during the geopolymerization process (Khan et al. 2020).

3.6.3 SEM/EDS Analysis

Figure 10, which displays the SEM and EDS results of geopolymers prepared through mechanosynthesis (G6, G9, G12, and G26), offers a comprehensive view of the surface and morphology of the material. SEM images reveal the topography, microstructure, surface finish, and surface characteristics of the material (Rahimzadeh et al. 2024). On the other hand, EDS allows for the spatial distribution analysis of each element present in the sample (Epstein & Stolper 1992).

Fig. 10
figure 10figure 10

a SEM/EDX images of geopolymer prepared according to the mechanosynthesis process (G6, and G9) respectively. b SEM/EDX images of geopolymer prepared according to the mechanosynthesis process (G12, and G26) respectively

The initial comparison involved SEM images of geopolymers derived from fly ash (FA) through the mechanosynthesis process (Fig. 10), contrasting high-performance materials (G6, G9, and G12) with low-performance materials (G26). This reveals notable distinctions in the texture and size of the particles, which are primarily characterized by their spherical and granular nature (Grabias-Blicharz et al. 2022). Samples G6, G9, and G12 exhibit a dense and uniform structure characterized by small particles ranging from 1.2 to 17.20 µm in size. This characteristic is indicative of high compressive strength, as detailed in Table 2. In contrast, G26 displays a lower resistance performance attributable to its heterogeneous and porous structure, featuring particles with diameters spanning from 3.4 to 27.412 µm (Wang et al. 2011). The geopolymer G6, derived from the grinding of powder P1 at 400 R/min for 5 min, exhibited a significant decrease in particle size. The particles are predominantly spherical, varying in size, and are referred to as microspheres. These microspheres can be either compact or hollow. Similar processes involving grinding at 300 R/min for 15 min were used to prepare geopolymers G9 and G12 from P3 powder. On the other hand, the geopolymer G26, which was also derived from powder P3 but ground at 350 R/min for 10 min, did not achieve a sufficient reduction in particle size comparable to that of other high-performance geopolymers (Rodrigue Kaze et al. 2021). The resulting cavities between particles in these geopolymers play a crucial role in influencing the mechanical strength and density (Cao et al. 2018).

The EDS analysis depicted in Fig. 10 reveals that the major components of all geopolymer systems include silicon (Si), aluminum (Al), sodium (Na), and oxygen (O). These elements are of utmost importance for the mechanical properties of geopolymer materials and are essential constituents of the N-A-S–H (sodium–alumino–silicate hydrate) geopolymer gel. Additionally, there are trace amounts of other elements such as calcium (Ca), and magnesium (Mg). However, these elements are present in small proportions and are stated to have no notable impact on the mechanical properties of geopolymer materials (Carrilero et al. 2002; Ryu et al. 2013).

3.6.4 PSD Analysis

The resulting particle size distribution (PSD) curve of both the FA and the geopolymer samples (G6, G9, G12, and G26) derived from SEM/EDX analysis is shown in Fig. 11, this provides valuable insights into the microstructure of Fly ash and geopolymers. On the other hand, PSD can enhance the understanding of material properties and help to correlate particle size with mechanical properties.

Fig. 11
figure 11

PSD Curve of fly ash and geopolymer samples (G6, G9, G12, and G26) from SEM/EDX

The average diameter of the particles measured calculated is 7.197 µm, 7.475 µm, 8.081 µm, 8.567 µm, and 9.120 µm for FA, G6, G9, G12, and G26 respectively. The initial comparison of the average diameter of high-performance materials (G6, G9, and G12) with low-performance materials (G26) shows that particle size affects mechanical properties (Bhina et al. 2024), the particle size of high-performance appears smaller than low-performance geopolymer G26. The smaller particles generally signify a more uniform and dense geopolymer, this may contribute to enhancing the compressive strength of geopolymers (Pan et al. 2024).

The cumulative percent values for the fly ash curve show a high increase at smaller particle sizes and reach 100% gradually at around 17 µm, indicating a finer distribution (Wang et al. 2024). In contrast, the curve of the geopolymer samples indicates that their particles reach high cumulative percentages at higher particle sizes, reflecting larger and more varied particle sizes (Yong-Jie et al. 2024).

4 Conclusions

In this study, a mathematical statistical approach based on the CCD methodology was adopted to optimize the mechanical properties of a fly ash-based geopolymer paste. In addition, a novel method for improving the reactivity of precursors, namely mechanosynthesis, was explored for the preparation of PGPs. Through the application of the central composite methodology, several critical parameters for fly ash-based geopolymer production were successfully optimized in this study. These parameters include grinding speed and duration, curing time and temperature, and NaOH concentration. The optimized conditions resulted in remarkable mechanical properties, with a compressive strength of 46.47 MPa and a density of 1.64 gr/cm3 for the geopolymer samples. This achievement underscores the effectiveness of the optimization process in enhancing the mechanical performance of the geopolymer. The identified optimal operating conditions for producing high-performance geopolymer paste include a grinding speed of 300 rpm, a grinding time of 15 min, a curing time of 24 h, a curing temperature of 80 °C, and a 10 M NaOH concentration. Various characterization techniques, including X-ray diffraction (XRD), Fourier-transform infrared spectroscopy (FTIR), scanning electron microscopy (SEM), and energy-dispersive X-ray spectroscopy (EDX), The X-ray Fluorescence (XRF) technique, were employed to investigate the structural and morphological characteristics of the raw materials and the synthesized geopolymer samples. The analyses revealed significant insights into the composition and structure of the geopolymers. Notably, XRD analysis revealed primarily bands, while FTIR analysis indicated that bond intensities are conducive to the formation of amorphous aluminosilicate. SEM/EDX observations highlighted differences in particle nature and size between high-performance and low-performance geopolymers. The observed differences in particle size, particularly for nanocrystals, were found to correlate with variations in compressive strength. This finding underscores the importance of particle size in determining the mechanical properties of geopolymers. While this study has made significant strides in optimizing geopolymer production parameters. Future investigations could further investigate the influence of additional factors and refine the optimization process to achieve even better performance. Investigate the use of different alternative Precursors such as slag, red mud, or rice husk ash or natural pozzolans such as volcanic ash or pumice. The exploration of different alkaline activators such as the combination of KOH and NaOH, Studies the effect of different parameters that might improve the performance of geopolymers such as granulometry or Shrinkage, Cracking Control, and adjusting mix design as BBD or Taguchi. In conclusion, the findings of this study not only contribute to the optimization of parameters for enhancing mechanical performance but also provide valuable insights into the advancement of geopolymer technology and its abilities. The optimized geopolymer paste exhibited promising characteristics, laying a foundation for continued exploration and application in various engineering and construction applications.