MATERIALS SCIENCE AND ENGINEERING

Constructing porosity database for Al−Si alloy castings through 3D cellular automata model and machine learning

Expand
  • a School of Materials Science and Engineering, Beijing Institute of Technology, Beijing 100081, China;

    b School of Mechanical Engineering, Beijing Institute of Technology, Beijing 100081, China;

    c CITIC Dicastal Co., Ltd., Qinhuangdao 066011, China;

    d Advanced Research Institute of Multidisciplinary Science, Beijing Institute of Technology, Beijing 100081, China

Online published: 2026-06-23

Abstract

A coupled three-dimensional cellular automata (CA) model has been used to predict the hydrogen porosity in an Al−Si alloy as a function of thermal boundary conditions. By quantifying the porosity distribution from simulations, a porosity defect database was established, representing a cooling rate ranging from 0.25 to 50 °C/s at an initial hydrogen content of 3.0×10−3 mL/g. Based on the database, four machine learning algorithms including support vector machine (SVM), random forest (RF), K-nearest neighbors (KNN), and gradient boosting machine (GBM) were trained and compared for each porosity characteristic to identify the optimal model. For the prediction of porosity percentage, the determination coefficient (R2) and the root mean square error (RMSE) on the test set reached 0.95 and 0.042, respectively. The predicted porosity distribution agreed well with experiments, indicating that the model can be used to map the porosity size in large casting components.

Cite this article

Qing-huai HOU, Xue-long WU, De-cai KONG, Hai-bo QIAO, Xiao-ying MA, Xiang CI, Wen-bo WANG, Yu-ling LANG, Shi-wen XU, Zhong-yao LI, Yi-sheng MIAO, Xing-xing LI, Jun-sheng WANG . Constructing porosity database for Al−Si alloy castings through 3D cellular automata model and machine learning[J]. Transactions of Nonferrous Metals Society of China, 2026 , 36(6) : 1712 -1728 . DOI: 10.1016/S1003-6326(26)67056-2

Outlines

/