diffhydro:天体物理流体中的逆多物理建模与嵌入式机器学习
diffhydro: Inverse Multiphysics Modeling and Embedded Machine Learning in Astrophysical Flows
AI总结:
diffhydro通过引入逆多物理建模和嵌入式机器学习,实现了天体物理流体中高精度的模拟与梯度重建。
摘要:
我们介绍了可微水力学代码diffhydro的扩展,使其能够实现可扩展的偏微分方程约束推断和集成的混合物理-机器学习模型,适用于广泛天体物理应用。新增的物理内容包括辐射加热/冷却、OU驱动的湍流和通过多网格泊松实现的自引力。我们在标准验证测试如Sedov-Taylor、Kelvin-Helmholtz以及驱动/衰减湍流上展示了与Athena++代码的良好一致。我们进一步引入了一个求解器循环神经校正器,在时间积分过程中减少粗网格误差同时保持稳定性。自定义共轭的添加促进了高效的端到端梯度和多设备扩展。我们展示了1024^3元素的模拟,运行在分布式GPU系统上,并展示了基于梯度的复杂初始条件在湍流、自引力、辐射冷却流中的重建。该代码用JAX编写,求解器的模块化有限体积组件通过XLA编译成融合的加速器内核,实现了高吞吐量的正向运行和通过长积分的可追溯微分。
英文摘要:
We present the extension of the differentiable hydrodynamics code, diffhydro, enabling scalable PDE-constrained inference and integrated hybrid physics-ML models for a wide range of astrophysical applications. New physics additions include radiative heating/cooling, OU-driven turbulence, and self-gravity via multigrid Poisson. We demonstrate good agreement with the Athena++ code on standard validation tests such as Sedov-Taylor, Kelvin-Helmholtz, and driven/decaying turbulence. We further introduce a solver-in-the-loop neural corrector that reduces coarse-grid errors during time integration while preserving stability. The addition of custom adjoints facilitates efficient end-to-end gradients and multi-device scaling. We present simulations up to 1024^3 elements, run on distributed GPU systems, and we show gradient-based reconstructions of complex initial conditions in turbulent, self-gravitating, radiatively cooling flows. The code is written in JAX, and the solver's modular finite-volume components are compiled by XLA into fused accelerator kernels, delivering high-throughput forward runs and tractable differentiation through long integrations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。