arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1312.1638physics.comp-phcs.NAmath.NA
收藏

PyFR:一个使用通量重构方法求解流结构上对流-扩散型问题的开源框架

PyFR: An Open Source Framework for Solving Advection-Diffusion Type Problems on Streaming Architectures using the Flux Reconstruction Approach

Freddie D Witherden, Antony M Farrington, Peter E Vincent

摘要:

非结构网格的高阶数值方法结合了高阶谱或有限差分方法的高精度和低阶有限体积或有限元方法的几何灵活性。通量重建(FR)方法在一个单一的框架内统一了各种非结构化网格的高阶格式。此外,FR方法表现出显著程度的元素局部性,并且因此能够在现代流传输架构(诸如图形处理单元(GPU))上高效地运行。FR的上述特性意味着它提供了一条有前途的路线,可以在现实世界的工程几何形状附近对迄今为止难以处理的非定常流进行经济实惠的,因此具有工业相关性的尺度分辨模拟。在本文中,我们提出了PyFR,一个开源的基于Python的框架,用于使用FR方法解决流架构上的对流扩散类型问题。该框架的目的是解决一系列的混合非结构化网格包含各种元素类型的管理系统。它还旨在通过使用基于Mako模板引擎的内置域特定语言来针对一系列硬件平台。PyFR的当前版本能够在二维四边形和三角形元素以及三维六面体元素的网格上求解可压缩欧拉和纳维-斯托克斯方程,目标是CPU集群和NVIDIA GPU。结果提出了各种基准流问题,单节点性能进行了讨论,并展示了高达104 NVIDIA M2090 GPU上的代码的可扩展性。该软件在3-Clause New Style BSD许可证下免费提供(参见www.pyfr.org)。

英文摘要:

High-order numerical methods for unstructured grids combine the superior accuracy of high-order spectral or finite difference methods with the geometric flexibility of low-order finite volume or finite element schemes. The Flux Reconstruction (FR) approach unifies various high-order schemes for unstructured grids within a single framework. Additionally, the FR approach exhibits a significant degree of element locality, and is thus able to run efficiently on modern streaming architectures, such as Graphical Processing Units (GPUs). The aforementioned properties of FR mean it offers a promising route to performing affordable, and hence industrially relevant, scale-resolving simulations of hitherto intractable unsteady flows within the vicinity of real-world engineering geometries. In this paper we present PyFR, an open-source Python based framework for solving advection-diffusion type problems on streaming architectures using the FR approach. The framework is designed to solve a range of governing systems on mixed unstructured grids containing various element types. It is also designed to target a range of hardware platforms via use of an in-built domain specific language based on the Mako templating engine. The current release of PyFR is able to solve the compressible Euler and Navier-Stokes equations on grids of quadrilateral and triangular elements in two dimensions, and hexahedral elements in three dimensions, targeting clusters of CPUs, and NVIDIA GPUs. Results are presented for various benchmark flow problems, single-node performance is discussed, and scalability of the code is demonstrated on up to 104 NVIDIA M2090 GPUs. The software is freely available under a 3-Clause New Style BSD license (see www.pyfr.org).

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

↑