arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28858cs.CEcs.LGmath-phmath.MP
收藏

可微PDE求解器的端到端PyTorch接口:一项RANS模型校正研究

An End-to-End PyTorch Interface for Differentiable PDE Solvers: A RANS Model-Correction Study

Digital Sciences \& Technologies Department , Safran Tech , Magny-Les-Hameaux , 78114 , France;MONHADE, équipe INRIA-ONERA, DSG , ONERA, Institut Polytechnique de Paris , Palaiseau , 91120 , France

Luca Saverio, Michele Alessandro Bucci, Gianmarco Farro, Cédric Content, Denis Sipp

AI总结:

提出一个端到端可微机器学习框架,通过将PDE作为隐层集成到PyTorch中,优化参数化校正项,用于数据同化和闭合建模,并在可压缩流RANS方程上验证。

摘要:

本工作提出了一种在完全可微的机器学习框架内求解偏微分方程约束反问题的端到端策略。所提出的公式提供了一种统一且用户友好的方法,适用于从数据同化到闭合建模的广泛问题。我们的方法结合了一个基线可微PDE求解器(从非线性系统$R(w) = 0$预测状态$w$)和一个通用的加性、参数化、可微校正$f_ϕ(w)$,其可训练参数为$ϕ$。我们展示了如何通过将PDE重新表述为隐层,将其集成到任意目标函数中,同时利用PyTorch的自动微分图,在完全可微的Python工作流中优化phi。该方法在可压缩流的雷诺平均纳维-斯托克斯方程上进行了演示,其中闭合项或其一部分使用可训练参数或神经网络建模。第一个应用考虑了二维NASA壁装驼峰测试案例,其中生产项参数针对时间平均LES数据进行了优化。第二个应用在VKI LS-59涡轮叶片上进行,其中通过优化可训练空间场重建了Spalart-Allmaras涡粘性场。使用可微BROADCAST求解器和Spalart-Allmaras湍流模型,从VKI LS-59涡轮叶片几何形状生成数据集。结果突出了该框架的灵活性,展示了其超越湍流建模,适用于更广泛的物理信息PDE约束问题(具有数据驱动组件)的适用性。

英文摘要:

This work presents an end-to-end strategy for solving inverse problems constrained by Partial Differential Equations within a fully differentiable Machine Learning framework. The proposed formulation provides a unified and user-friendly methodology applicable to a wide range of problems, from data assimilation to closure modeling. Our approach combines a baseline differentiable PDE solver, which predicts the state w from the nonlinear system $R(w) = 0$, with a generic additive, parametrized, and differentiable correction $f_ϕ(w)$, with trainable parameters $ϕ$. We show how to optimize phi within a fully differentiable Python workflow by reformulating the PDE as an implicit layer, enabling its integration into arbitrary objective functions, while leveraging PyTorch's automatic differentiation graph. The method is demonstrated on the Reynolds-Averaged Navier-Stokes equations for compressible flows, where the closure term, or a portion of it, is modeled using trainable parameters or a Neural Network. The first application considers the 2D NASA Wall-Mounted Hump test case, where a production-term parameter is optimized against time-averaged LES data. A second application is carried out on the VKI LS-59 turbine blade, where the Spalart-Allmaras eddy viscosity field is reconstructed through the optimization of a trainable spatial field. A dataset is generated starting from the VKI LS-59 turbine blade geometry using the differentiable BROADCAST solver with the Spalart-Allmaras turbulence model. The results highlight the flexibility of the framework, showing its applicability beyond turbulence modeling to a broader class of physics-informed PDE-constrained problems with data-driven components.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑