全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

物理约束神经网络求解热传导方程研究
Physics-Informed Neural Networks for Solving the Heat Conduction Equation

DOI: 10.12677/mp.2026.166030, PP. 289-300

Keywords: 物理约束神经网络,瞬态热传导,硬约束,自动微分,有限差分法
Physics-Informed Neural Networks
, Transient Heat Conduction, Hard Constraints, Automatic Differentiation, Finite Difference Method

Full-Text   Cite this paper   Add to My Lib

Abstract:

为了比较物理约束神经网络(PINN)求解瞬态热传导方程时,软约束与硬约束策略的预测精度及初边值条件一致性。我们建立一维无量纲热传导模型,设置双正弦初始温度并推导解析解;利用自动微分计算方程残差,对照两种PINN和显式有限差分法,考察配点数量与随机初始化的影响。最终在512个内部配点、1400次Adam更新下,在固定初边损失权重λ = 10下,软约束与硬约束PINN的相对误差分别为1.57%和0.170%;三种随机种子的平均误差分别为1.40%和0.150%。相同101 × 101时空评估网格上的有限差分误差为1.37e?05,精度和单次计算用时均优于本次PINN设置。由结果可知,硬约束结构有助于提高初边值条件一致性并降低测试误差,但传统离散法对低维规则区域的高效性仍十分突出;结果仅适用于所研究模型及训练配置。
To compare the prediction accuracy and the consistency of initial and boundary conditions between soft-constraint and hard-constraint strategies in solving the transient heat conduction equation using physics-informed neural networks (PINNs), a one-dimensional dimensionless heat conduction model was established. An initial temperature distribution composed of two sinusoidal modes was specified, and the corresponding analytical solution was derived. Automatic differentiation was employed to calculate the residual of the governing equation. The two PINN strategies were compared with an explicit finite difference method, and the effects of the number of collocation points and random initialization were investigated. The results show that, with 512 interior collocation points and 1400 Adam optimization iterations, under a fixed initial/boundary loss weight lambda = 10, the relative errors of the soft-constraint and hard-constraint PINNs were 1.57% and 0.170%, respectively. Across three random seeds, their mean relative errors were 1.40% and 0.150%, respectively. On the same 101 × 101 space-time evaluation grid, the explicit finite difference method achieved a relative L2 error of 1.37 × 10?5, outperforming the PINN configurations used in this study in both accuracy and computational time for a single solution. The results indicate that the hard-constraint formulation helps improve the satisfaction of initial and boundary conditions and reduce prediction errors. However, conventional discretization methods remain highly efficient for low-dimensional problems with regular domains. These findings are limited to the heat conduction model and training configurations investigated in this study.

References

[1]  Raissi, M., Perdikaris, P. and Karniadakis, G.E. (2019) Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse Problems Involving Nonlinear Partial Differential Equations. Journal of Computational Physics, 378, 686-707.
https://doi.org/10.1016/j.jcp.2018.10.045
[2]  Karniadakis, G.E., Kevrekidis, I.G., Lu, L., Perdikaris, P., Wang, S. and Yang, L. (2021) Physics-Informed Machine Learning. Nature Reviews Physics, 3, 422-440.
https://doi.org/10.1038/s42254-021-00314-5
[3]  Lu, L., Meng, X., Mao, Z. and Karniadakis, G.E. (2021) DeepXDE: A Deep Learning Library for Solving Differential Equations. SIAM Review, 63, 208-228.
https://doi.org/10.1137/19m1274067
[4]  Wang, S., Teng, Y. and Perdikaris, P. (2021) Understanding and Mitigating Gradient Flow Pathologies in Physics-Informed Neural Networks. SIAM Journal on Scientific Computing, 43, A3055-A3081.
https://doi.org/10.1137/20m1318043
[5]  Lagaris, I.E., Likas, A. and Fotiadis, D.I. (1998) Artificial Neural Networks for Solving Ordinary and Partial Differential Equations. IEEE Transactions on Neural Networks, 9, 987-1000.
https://doi.org/10.1109/72.712178
[6]  Sukumar, N. and Srivastava, A. (2022) Exact Imposition of Boundary Conditions with Distance Functions in Physics-Informed Deep Neural Networks. Computer Methods in Applied Mechanics and Engineering, 389, Article ID: 114333.
https://doi.org/10.1016/j.cma.2021.114333
[7]  LeVeque, R.J. (2007) Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems. Society for Industrial and Applied Mathematics.
https://doi.org/10.1137/1.9780898717839
[8]  McClenny, L.D. and Braga-Neto, U.M. (2023) Self-Adaptive Physics-Informed Neural Networks. Journal of Computational Physics, 474, Article ID: 111722.
https://doi.org/10.1016/j.jcp.2022.111722

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133