Skip to main content
QUICK REVIEW

[论文解读] Physics-Informed Neural Networks with Complementary Soft and Hard Constraints for Solving Complex Boundary Navier-Stokes Equations

Chuyu Zhou, Tianyu Li|arXiv (Cornell University)|Nov 12, 2024
Model Reduction and Neural NetworksPhysics and Astronomy被引用 3
一句话总结

该论文提出了一种物理信息神经网络(mPINN),通过结合软约束与硬约束,并引入一种新型的距离度量网络,以求解具有复杂边界条件的纳维-斯托克斯方程。通过预训练软约束网络,并利用硬约束主网络和幂函数距离加权进行预测优化,该方法在基准测试中将均方误差降低至0.0003,显著优于传统PINN。

ABSTRACT

Soft- and hard-constrained Physics Informed Neural Networks (PINNs) have achieved great success in solving partial differential equations (PDEs). However, these methods still face great challenges when solving the Navier-Stokes equations (NSEs) with complex boundary conditions. To address these challenges, this paper introduces a novel complementary scheme combining soft and hard constraint PINN methods. The soft-constrained part is thus formulated to obtain the preliminary results with a lighter training burden, upon which refined results are then achieved using a more sophisticated hard-constrained mechanism with a primary network and a distance metric network. Specifically, the soft-constrained part focuses on boundary points, while the primary network emphasizes inner domain points, primarily through PDE loss. Additionally, the novel distance metric network is proposed to predict the power function of the distance from a point to the boundaries, which serves as the weighting factor for the first two components. This approach ensures accurate predictions for both boundary and inner domain areas. The effectiveness of the proposed method on the NSEs problem with complex boundary conditions is demonstrated by solving a 2D cylinder wake problem and a 2D blocked cavity flow with a segmented inlet problem, achieving significantly higher accuracy compared to traditional soft- and hard-constrained PINN approaches. Given PINN's inherent advantages in solving the inverse and the large-scale problems, which are challenging for traditional computational fluid dynamics (CFD) methods, this approach holds promise for the inverse design of required flow fields by specifically-designed boundary conditions and the reconstruction of large-scale flow fields by adding a limited number of training input points. The code for our approach will be made publicly available.

研究动机与目标

  • 为解决标准物理信息神经网络(PINNs)在求解具有复杂边界条件的纳维-斯托克斯方程时精度不足的问题。
  • 克服软约束PINNs在边界条件强制执行方面的局限性,以及硬约束PINNs在收敛性与泛化能力方面的不足。
  • 开发一种混合框架,通过互补架构结合软约束的效率与硬约束的精度。
  • 引入一种距离度量网络,用于预测点到边界的距离的幂函数,以改进损失加权并提升解的精度。
  • 在具有分段入口与内部障碍物的复杂二维不可压缩流问题上,验证该方法的鲁棒性与可扩展性。

提出的方法

  • 采用两阶段训练流程:首先训练一个软约束PINN(sPINN),以较低计算成本生成初步解。
  • 随后训练一个主网络(N_P),在PDE残差上施加硬约束,聚焦于域内点以确保物理一致性。
  • 引入一个独立的距离度量网络(N_D),用于预测每个点到最近边界的距离的幂函数,并作为损失函数中的动态加权因子。
  • 距离度量网络通过基于几何接近度自适应增加边界区域的损失贡献,从而提升边界处的解精度。
  • 最终模型mPINN结合了sPINN的特解与硬约束主网络的精修解,损失由距离度量加权。
  • 该方法在两个基准问题上进行了验证:二维圆柱尾迹与分段入口腔流,与sPINN、hPINN、mP和mD变体进行了比较。

实验结果

研究问题

  • RQ1混合软约束与硬约束的PINN框架是否能提升复杂边界条件下纳维-斯托克斯方程的解精度?
  • RQ2引入可学习的距离度量网络如何影响PINN在边界附近的收敛性与精度?
  • RQ3通过软约束网络进行预训练是否能增强后续硬约束训练阶段的稳定性与性能?
  • RQ4该方法在基准纳维-斯托克斯问题上与现有软约束与硬约束PINN方法相比,其量化表现如何?
  • RQ5该方法能否泛化到具有不连续或分段边界条件的复杂几何结构,如带有内部障碍物的分段入口?

主要发现

  • 所提出的mPINN方法在二维圆柱尾迹问题上实现了0.0003的均方误差(MSE),显著低于sPINN(0.4958)与hPINN(0.5023)。
  • 在分段入口腔流案例中,mPINN的MSE为0.0184,优于sPINN(0.0925)、hPINN(0.0889)、mP(0.0335)与mD(0.0691)。
  • 距离度量网络(mD)在案例1中将MSE降低至0.0006,证明其在光滑边界条件下提升边界精度的有效性。
  • 特解方法(mP)在案例2中表现最佳(MSE 0.0335),表明其在分段或不连续边界条件下的优越性。
  • mP与mD组件在mPINN中的结合在所有测试案例中均实现了最鲁棒且最精确的结果,验证了该方法的互补性。
  • 该方法成功实现了收敛并生成了准确解,而原始硬约束PINN因复杂边界强制执行而未能收敛,特别是在分段入口案例中。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。