We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

physics.comp-ph

Change to browse by:

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Physics > Computational Physics

Title: A TensorFlow Simulation Framework for Scientific Computing of Fluid Flows on Tensor Processing Units

Abstract: 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.
Comments: Submitted to Computer Physics Communications
Subjects: Computational Physics (physics.comp-ph); Numerical Analysis (math.NA); Fluid Dynamics (physics.flu-dyn)
DOI: 10.1016/j.cpc.2022.108292
Cite as: arXiv:2108.11076 [physics.comp-ph]
  (or arXiv:2108.11076v3 [physics.comp-ph] for this version)

Submission history

From: Qing Wang [view email]
[v1] Wed, 25 Aug 2021 06:43:45 GMT (5502kb,D)
[v2] Thu, 26 Aug 2021 04:19:20 GMT (5502kb,D)
[v3] Tue, 18 Jan 2022 18:49:15 GMT (9985kb,D)

Link back to: arXiv, form interface, contact.