Accurate prediction of temperature evolution is essential for understanding thermomechanical behavior in friction stir welding. In this study, molecular dynamics simulations were performed using LAMMPS to model aluminum friction stir welding at the atomic scale, capturing material flow, plastic deformation, and heat generation during tool plunge, traverse, and retraction. Atomic positions and velocities were extracted from simulation trajectories and transformed into physics based two dimensional spatial grids. These grids represent local height variation, velocity components, velocity magnitude, and atomic density, preserving spatial correlations within the weld zone. A two-dimensional convolutional neural network was developed to predict temperature directly from the spatially resolved atomistic data. Hyperparameter optimization was carried out to determine an appropriate network configuration. The trained model demonstrates strong predictive capability, achieving a coefficient of determination R square of 0.9439, a root mean square error of 14.94 K, and a mean absolute error of 11.58 K on unseen test data. Class Activation Map analysis indicates that the model assigns higher importance to regions near the tool material interface, which are associated with intense deformation and heat generation in the molecular dynamics simulations. The results show that spatial learning from atomistic simulation data can accurately reproduce temperature trends in friction stir welding while remaining consistent with physical deformation and flow mechanisms observed at the atomic scale.
翻译:准确预测温度演变对于理解搅拌摩擦焊中的热机械行为至关重要。本研究采用LAMMPS进行分子动力学模拟,在原子尺度上模拟铝的搅拌摩擦焊过程,捕捉了工具下压、平移和回撤阶段的材料流动、塑性变形和热量产生。从模拟轨迹中提取原子位置和速度,并将其转化为基于物理的二维空间网格。这些网格表征了局部高度变化、速度分量、速度大小和原子密度,保留了焊接区域内的空间相关性。开发了一个二维卷积神经网络,用于直接从空间分辨的原子数据中预测温度。通过超参数优化确定了合适的网络配置。训练后的模型展现出强大的预测能力,在未见测试数据上实现了决定系数R平方0.9439、均方根误差14.94 K和平均绝对误差11.58 K。类激活映射分析表明,模型对工具-材料界面附近区域赋予更高重要性,这些区域与分子动力学模拟中观察到的剧烈变形和热量产生相关。结果表明,从原子模拟数据中进行空间学习能够准确复现搅拌摩擦焊的温度变化趋势,同时与原子尺度观测到的物理变形和流动机制保持一致。