Data-Driven Optimization of Size-Aware T6 Heat Treatment Parameters for A356 Aluminum Alloy
Abstract
1. Introduction
2. Methodology
2.1. Casting Process Overview
2.2. Physics-Aware Data Simulation
- Ramp to Solutionizing—Heating to 540–545 °C, with ramp time dependent on sample mass.
- Solutionizing—Holding at target temperature; duration scaled to thickness.
- Quenching—Rapid cooling in water; quenching time adjusted for geometry.
- Ramp to Aging—Heating to 170–175 °C, ramp duration mass-dependent.
- Aging—Holding at aging temperature; time scaled to thickness.
- Air Cooling—Cooling to room temperature; duration based on sample dimensions.
- Temperature Evolution: Sample temperature was updated using an exponential integrator that accounts for sample-specific thermal properties and geometry [26]:
- Phase Evolution: Phase transformations were modelled using a first-order relaxation towards thermodynamic equilibrium [27]:
- Convective Heat Transfer: Convective heat exchange with the environment was modelled using Newton’s Law of Cooling [27]:
- Energy Accounting: The energy input during each stage was updated at every time step [25]:
Synthetic Dataset Construction
2.3. Size-Aware Heat Treatment Optimization Framework (SAHTOF)
- Input sequence of length (e.g., 12 time steps).
- At each time step, LSTM computes hidden state and cell state using:
- The LSTM outputs the predicted sample-temperature profile over time, accounting for mass, geometry, and furnace ramp constraints.
- Each RF consists of decision trees.
- For a given input , each tree predicts a property .
- The RF output is the mean across all trees:
- This yields predicted mechanical properties at each time step.
- At the end of the schedule, the final properties are:
- Define mass-dependent search space for furnace temperatures and hold times.
- Initialize BO with a Gaussian Process surrogate to model Objective().
- Iteratively sample from the acquisition function (e.g., Expected Improvement).
- Evaluate using using LSTM temperature prediction, RF property forecast, and energy calculation.
- Update GP surrogate with the new .
- Continue until iterations or convergence.
- Return optimized schedule minimizing energy and time while meeting property targets.
- Compare predicted vs. historical data:
- Evaluate predictive accuracy of LSTM and RF [34]:
3. Results and Discussion
3.1. Furnace-Sample Temperature Response
3.2. Phase Evolution as a Function of Sample Size
3.3. Evolution of Mechanical Properties
3.4. Machine-Learning-Based Prediction of Thermal and Mechanical Response
3.4.1. LSTM Model for Temperature Prediction
3.4.2. RF Model for Mechanical Property Prediction
3.4.3. Stage-Wise Yield Strength Distributions
3.5. Physical Interpretability and Feature Contribution Analysis
3.6. Bayesian Optimization of Size-Specific Heat Treatment Schedules
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Li, R.X.; Li, R.D.; Zhao, Y.H.; He, L.Z.; Li, C.X.; Guan, H.R.; Hu, Z.Q. Age-hardening behavior of cast Al–Si base alloy. Mater. Lett. 2004, 58, 2096–2101. [Google Scholar] [CrossRef] [Scilit]
- Belov, N.A.; Eskin, D.G.; Aksenov, A.A. Multicomponent Phase Diagrams: Applications for Commercial Aluminum Alloys; Elsevier: Amsterdam, The Netherlands, 2005. [Google Scholar]
- Cavaliere, P.; Cerri, E.; Leo, P. Effect of heat treatments on mechanical properties and fracture behavior of a thixocast A356 aluminum alloy. J. Mater. Sci. 2004, 39, 1653–1658. [Google Scholar] [CrossRef] [Scilit]
- Peng, J.; Tang, X.; He, J.; Xu, D.-Y. Effect of heat treatment on microstructure and tensile properties of A356 alloys. Trans. Nonferrous Met. Soc. China 2011, 21, 1950–1956. [Google Scholar] [CrossRef] [Scilit]
- Zhu, M.; Jian, Z.; Yang, G.; Zhou, Y. Effects of T6 heat treatment on the microstructure, tensile properties, and fracture behavior of the modified A356 alloys. Mater. Des. 2012, 36, 243–249. [Google Scholar] [CrossRef] [Scilit]
- Möller, H.; Govender, G.; Stumpf, W.E.; Knutsen, R.D. Influence of temper condition on microstructure and mechanical properties of semisolid metal processed Al–Si–Mg alloy A356. Int. J. Cast Met. Res. 2009, 22, 417–421. [Google Scholar]
- Hu, X.; Zhao, Y.; Wang, Q.; Zhang, X.; Li, R.; Zhang, B. Effect of pouring and cooling temperatures on microstructures and mechanical properties of as-cast and T6 treated A356 alloy. China Foundry 2019, 16, 380–385. [Google Scholar] [CrossRef] [Scilit]
- Yan, K.; Zhang, S.H.; Chen, W.J.; Ge, M.K.; Huang, Z. Data-Driven Modeling and Optimization of Heat Treatment Parameters for Aluminum Alloys Using Advanced Machine Learning. J. Mater. Eng. Perform. 2025, 35, 12325–12339. [Google Scholar] [CrossRef] [Scilit]
- Song, R.G.; Zhang, Q.Z. Heat treatment optimization for 7175 aluminum alloy by genetic algorithm. Mater. Sci. Eng. C 2001, 17, 133–137. [Google Scholar] [CrossRef] [Scilit]
- Ling, J.; Antono, E.; Bajaj, S.; Paradiso, S.; Hutchinson, M.; Meredig, B.; Gibbons, B.M. Machine learning for alloy composition and process optimization. In Turbo Expo: Power for Land, Sea, and Air; American Society of Mechanical Engineers: New York, NY, USA, 2018; p. V006T24A005. [Google Scholar]
- Fatriansyah, J.F.; Satrio, M.R.R.; Federico, A.; Suhariadi, I.; Dhaneswara, D.; Gascoin, N. Machine learning-based forward and inverse designs for prediction and optimization of fracture toughness of aluminum alloy. Results Eng. 2024, 23, 102717. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Tian, Y.; Zhou, Y.; Fang, D.; Ding, X.; Sun, J.; Xue, D. Machine learning assisted multi-objective optimization for materials processing parameters: A case study in Mg alloy. J. Alloys Compd. 2020, 844, 156159. [Google Scholar] [CrossRef] [Scilit]
- Santos, C.A.; Spim, J.A., Jr.; Ierardi, M.C.F.; Garcia, A. The use of artificial intelligence technique for the optimisation of process parameters used in the continuous casting of steel. Appl. Math. Model. 2002, 26, 1077–1092. [Google Scholar] [CrossRef] [Scilit]
- Li, B.; Du, Y.; Zheng, Z.; Ye, X.; Fang, D.; Si, X.; Wang, Y. Manipulation of mechanical properties of 7xxx aluminum alloy via a hybrid approach of machine learning and key experiments. J. Mater. Res. Technol. 2022, 19, 2483–2496. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.; Kumar, R.; Pattanaik, A.; Kumar, R.; Khawaf Aljaberi, A.S.O.; Abass, M.A. Computational methods and artificial intelligence-based modeling of magnesium alloys: A systematic review of machine learning, deep learning, and data-driven design and optimization approaches. Front. Mater. 2025, 12, 1645227. [Google Scholar]
- Hao, C.; Sui, Y.; Yuan, Y.; Li, P.; Jin, H.; Jiang, A. Composition optimization design and high temperature mechanical properties of cast heat-resistant aluminum alloy via machine learning. Mater. Des. 2025, 250, 113587. [Google Scholar] [CrossRef] [Scilit]
- Guo, K.; Yang, Z.; Yu, C.-H.; Buehler, M.J. Artificial intelligence and machine learning in design of mechanical materials. Mater. Horiz. 2021, 8, 1153–1172. [Google Scholar] [CrossRef] [Scilit]
- Varol Özkavak, H.; Ince, M.; Bıçaklı, E.E. Prediction of mechanical properties of the 2024 aluminum alloy by using machine learning methods. Arab. J. Sci. Eng. 2023, 48, 2841–2850. [Google Scholar] [CrossRef] [Scilit]
- Hu, M.; Tan, Q.; Knibbe, R.; Wang, S.; Li, X.; Wu, T.; Jarin, S.; Zhang, M.-X. Prediction of mechanical properties of wrought aluminium alloys using feature engineering assisted machine learning approach. Metall. Mater. Trans. A 2021, 52, 2873–2884. [Google Scholar]
- Rossos, S.; Agrafioti, P.; Sotiroudas, V.; Athanassiou, C.G.; Kaloudis, E. Predicting heat treatment duration for pest control using machine learning on a large-scale dataset. Agronomy 2025, 15, 1254. [Google Scholar] [CrossRef] [Scilit]
- Al-Falahat, A.A. Physics-Informed Inverse Design of Heat-Treatment Processes for Target Fatigue Strength in Steels. J. Eng. Res. 2026, in press. [Google Scholar] [CrossRef] [Scilit]
- Adeleke, A.A.; Oki, M.; Anyim, I.K.; Ikubanni, P.P.; Adediran, A.A.; Balogun, A.A.; Orhadahwe, T.A.; Omoniyi, P.O.; Olabisi, A.S.; Akinlabi, E.T. Recent development in casting technology: A pragmatic review. Rev. Compos. Matériaux Avancés 2022, 32, 91–102. [Google Scholar] [CrossRef] [Scilit]
- Kuhn, H.; Medlin, D. Mechanical Testing and Evaluation; ASM international: Materials Park, OH, USA, 2000. [Google Scholar]
- Andersson, J.-O.; Helander, T.; Höglund, L.; Shi, P.; Sundman, B. Thermo-Calc & DICTRA, computational tools for materials science. Calphad 2002, 26, 273–312. [Google Scholar] [CrossRef] [Scilit]
- Liu, G.; Wang, Q.; Liu, T.; Ye, B.; Jiang, H.; Ding, W. Effect of T6 heat treatment on microstructure and mechanical property of 6101/A356 bimetal fabricated by squeeze casting. Mater. Sci. Eng. A 2017, 696, 208–215. [Google Scholar] [CrossRef] [Scilit]
- Gutierrez-Osuna, R.; Gutierrez-Galvez, A.; Powar, N. Transient response analysis for temperature-modulated chemoresistors. Sens. Actuators B Chem. 2003, 93, 57–66. [Google Scholar] [CrossRef] [Scilit]
- Bernasconi, C. Relaxation Kinetics; Elsevier: Amsterdam, The Netherlands, 2012. [Google Scholar]
- Winterton, R.H.S. Newton’s law of cooling. Contemp. Phys. 1999, 40, 205–212. [Google Scholar]
- Yu, Y.; Si, X.; Hu, C.; Zhang, J. A review of recurrent neural networks: LSTM cells and network architectures. Neural Comput. 2019, 31, 1235–1270. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dong, G.; Liu, H. Feature Engineering for Machine Learning and Data Analytics; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
- Liaw, A.; Wiener, M. Classification and regression by randomForest. R News 2002, 2, 18–22. [Google Scholar]
- Kosinov, M. The Universal Formula for Energy. The Fundamental Constant of Energy. 2023. Available online: https://vixra.org/pdf/2406.0112v1.pdf (accessed on 30 November 2025).
- Pelikan, M. Bayesian optimization algorithm. In Hierarchical Bayesian Optimization Algorithm: Toward a New Generation of Evolutionary Algorithms; Springer: Berlin/Heidelberg, Germany, 2005; pp. 31–48. [Google Scholar]
- Di Bucchianico, A. Coefficient of determination (R 2). In Encyclopedia of Statistics in Quality and Reliability; John Wiley & Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
- Shivkumar, S.; Keller, C.; Trazzera, M.; Apelian, D. Precipitation hardening in A356 alloys. In Production, Refining, Fabrication and Recycling of Light Metals; Elsevier: Amsterdam, The Netherlands, 1990; pp. 264–278. [Google Scholar]
- Hintze, J.L.; Nelson, R.D. Violin plots: A box plot-density trace synergism. Am. Stat. 1998, 52, 181–184. [Google Scholar] [CrossRef] [Scilit]
- Gramegna, A.; Giudici, P. SHAP and LIME: An evaluation of discriminative power in credit risk. Front. Artif. Intell. 2021, 4, 752558. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Imurai, S.; Kajornchaiyakul, J.; Thanachayanont, C.; Pearce, J.T.H.; Chairuangsri, T. Age hardening and precipitation behavior of an experimental cast Al-Mg-Si alloy treated by T6 and T6I6 heat treatments. Chiang Mai J. Sci. 2010, 37, 269–281. [Google Scholar]
- Wang, C.-C.; Ding, J.; Cheng, Y.-Q.; Wan, J.-C.; Tian, L.; Sun, J.; Shan, Z.-W.; Li, J.; Ma, E. Sample size matters for Al88Fe7Gd5 metallic glass: Smaller is stronger. Acta Mater. 2012, 60, 5370–5379. [Google Scholar]












| Item | Setting Used in This Study |
|---|---|
| Software | Thermo-Calc (2025a and 2025b) |
| Database | Aluminum-alloy thermodynamic database, TCAL9 |
| Alloy system and Composition | A356/AlSi7Mg, Al balance, Si 6.95 wt.%, Mg 0.27 wt.%, Cu 0.10 wt.%, Fe 0.20 wt.%, Mn 0.04 wt.%, Ti 0.03 wt.% |
| Mass-specific input tables | 0.5, 0.8, 1.0, 1.5, 5.0, 7.0, and 10.0 kg |
| Extracted thermophysical inputs | Specific heat capacity, thermal conductivity, thermal diffusivity |
| Extracted phase outputs | FCC_A1, LIQUID, AL15SI2M4, AL18FE2MG7SI10, AL3TI_LT, AL9FE2SI2, ALSI3TI2, DIAMOND_A4 |
| Numerical treatment | Temperature-dependent interpolation with bounded thermophysical values |
| Equilibrium assumption | CALPHAD-derived phase fractions treated as equilibrium-informed approximations |
| Process Stage | Boundary Condition | Effective Heat-Transfer Coefficient Treatment |
|---|---|---|
| Ramp to solutionizing | Furnace convection | |
| Solutionizing hold | Furnace convection | |
| Quenching | Effective water-quench convection | |
| Ramp to aging | Furnace convection | |
| Aging hold | Furnace convection | |
| Air cooling | Effective air cooling | |
| Numerical bounds | Applied to all stages |
| Phase | Meaning |
|---|---|
| AL15SI2M4 | Al-Si primary intermetallic |
| AL18FE2MG7SI10 | Al-Fe-Mg-Si intermetallic |
| AL3TI_LT | Al-Ti dispersoids |
| AL9FE2SI2 | Al-Fe-Si intermetallic |
| ALSI3TI2 | Al-Si-Ti phase |
| DIAMOND_A4 | Hard precipitate |
| FCC_A1 | Al matrix |
| LIQUID | Molten fraction |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Tiwari, T.; Gan, T.-H.; Patel, J.B. Data-Driven Optimization of Size-Aware T6 Heat Treatment Parameters for A356 Aluminum Alloy. Metals 2026, 16, 615. https://doi.org/10.3390/met16060615
Tiwari T, Gan T-H, Patel JB. Data-Driven Optimization of Size-Aware T6 Heat Treatment Parameters for A356 Aluminum Alloy. Metals. 2026; 16(6):615. https://doi.org/10.3390/met16060615
Chicago/Turabian StyleTiwari, Tanu, Tat-Hean Gan, and Jayesh Bhimji Patel. 2026. "Data-Driven Optimization of Size-Aware T6 Heat Treatment Parameters for A356 Aluminum Alloy" Metals 16, no. 6: 615. https://doi.org/10.3390/met16060615
APA StyleTiwari, T., Gan, T.-H., & Patel, J. B. (2026). Data-Driven Optimization of Size-Aware T6 Heat Treatment Parameters for A356 Aluminum Alloy. Metals, 16(6), 615. https://doi.org/10.3390/met16060615

