A computational fluid dynamics (CFD) simulation framework for fluid-flow prediction is developed on the Tensor Processing Unit (TPU) platform. The TPU architecture is featured with accelerated dense matrix multiplication, large high bandwidth memory, and a fast inter-chip interconnect, making it attractive for high-performance scientific computing. The CFD framework solves the variable-density Navier-Stokes equation using a low-Mach approximation, and the governing equations are discretized by a finite-difference method on a collocated structured mesh. It uses the graph-based TensorFlow as the programming paradigm. The accuracy and performance of this framework is studied both numerically and analytically, specifically focusing on effects of TPU-native single precision floating point arithmetic. The algorithm and implementation are validated with canonical 2D and 3D Taylor-Green vortex simulations. To demonstrate the capability for simulating turbulent flows, simulations are conducted for two configurations, namely decaying homogeneous isotropic turbulence and a turbulent planar jet. Both simulations show good statistical agreement with reference solutions. The performance analysis shows a linear weak scaling and a superlinear strong scaling up to a full TPU v3 pod with 2048 cores.
Learning and Inferring Multiphase Flow Dynamics in Porous Media using Scientific Machine Learning: Application to the "FluidFlower" CO2 Injection Experiment
The University of Texas at Austin(德克萨斯大学奥斯汀分校);The University of Tennessee, Knoxville(田纳西大学诺克斯维尔分校);Massachusetts Institute of Technology(麻省理工学院)
Network Compression for Machine-Learnt Fluid Simulations
多尺度、多保真度的数值模拟是流体数值建模相关科学应用的支柱。然而,模拟由非线性纳维-斯托克斯方程表征的流体行为通常是计算昂贵的。物理信息机器学习方法是一种可行的替代方法,因此在社区中引起了极大的兴趣[参考Kutz(2017); Brunton et al.(2020); Duraisamy et al.(2019)关于这个主题的详细评论]。对于完整的物理仿真器,网络推理的成本往往微不足道。然而,在当前数据驱动的流体力学范例中,模型被构建为复杂子过程的替代物。然后将这些模型与Navier Stokes求解器结合使用,这使得ML模型推理成为算法延迟方面的一个重要因素。随着网络规模的不断增长,并且经常过度参数化,探索有效的网络压缩技术不仅与工程系统设计相关,而且至关重要。在这项研究中,我们探讨了修剪和量化(FP 32到int 8)方法的适用性,这样一个应用程序相关的建模流体湍流。压缩后,我们通过将压缩后的网络状态与原始网络状态进行比较,证明了网络预测准确性的提高,并在此过程中建立了直观性。
Reproduction of vortex lattices in the simulations of rotating liquid helium-4 by numerically solving the two-fluid model using smoothed-particle hydrodynamics incorporating vortex dynamics
Towards scientific machine learning for granular material simulations -- challenges and opportunities
Deltares(代尔夫特三角洲研究中心);Johannes Kepler University Linz(林茨约翰内斯·开普勒大学);Saxion University of Applied Sciences(萨克森应用科学大学);University of Pretoria(比勒陀利亚大学);University of the Witwatersrand(金山大学);Emmi AI GmbH(Emmi AI有限责任公司);Edinburgh Napier University(爱丁堡龙比亚大学);Delft University of Technology(代尔夫特理工大学);Lund University(隆德大学);University of Twente(特温特大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);The University of Edinburgh(爱丁堡大学);Netherlands eScience Center(荷兰eScience中心);Hong Kong University of Science and Technology(香港科技大学);Tokyo City University(东京城市大学);Columbia University(哥伦比亚大学)