基于物理信息神经网络的柱体扭转实时可视化教学初探

A PRELIMINARY STUDY ON PHYSICS-INFORMED NEURAL NETWORK-BASED REAL-TIME VISUALIZATION FOR TEACHING TORSION OF CYLINDRICAL BARS

  • 摘要: 柱体扭转是材料力学与弹性力学课程的核心内容之一,也是学生理解应力函数、控制方程与边界条件的典型杆件受力形式之一。针对传统教学中解析过程复杂、数值建模操作成本高、课堂理论推导耗时、难以实时可视化教学、教学内容难以拓展等问题,本文将物理信息神经网络(Physics-Informed Neural Networks, PINN)引入圣维南扭转问题的教学实践中,构建了“理论—智能”协同教学模式。通过圆截面基准算例阐述 PINN 建模流程,并将其推广至以椭圆与矩形为代表的非圆截面,分别利用解析解与参考数值解验证预测精度与可视化效果。结果表明,PINN 在无需网格划分的情况下即可高精度重构应力函数及切应力分布,且具备毫秒级整域推理能力,适用于课堂中的实时交互式教学展示和课外学生自主探索,有助于加深学生对物理机理的理解,培养面向复杂工程的科学思维和创新能力,激发对前沿技术的探究兴趣。

     

    Abstract: Torsion of prismatic bars is one of the core topics in mechanics of materials and elasticity courses, and it also serves as a representative loading case for helping students understand stress functions, governing equations, and boundary conditions. To address the limitations of traditional instruction—including complicated analytical derivations, high operational cost of numerical modeling, time-consuming in-class theoretical deduction, difficulty in achieving real-time visualization, and limited extensibility of teaching content—this study introduces physics-informed neural networks (PINN) into the teaching practice of Saint-Venant torsion and establishes a “theory–intelligence” collaborative teaching framework. A circular cross-section benchmark case is first used to illustrate the PINN modeling procedure, after which the method is extended to non-circular cross-sections represented by elliptical and rectangular domains. The prediction accuracy and visualization performance are validated against analytical solutions and reference numerical solutions, respectively. The results demonstrate that PINNs can accurately reconstruct the Prandtl stress function and the shear stress distribution without mesh generation, while enabling millisecond-level full-field inference. This makes the proposed approach suitable for real-time interactive demonstrations in the classroom as well as students’ self-directed exploration outside class. Moreover, it helps deepen students’ understanding of the underlying physical mechanisms, cultivate scientific thinking and innovation capability for complex engineering problems, and stimulate interest in exploring emerging technologies.

     

/

返回文章
返回