首页> 外文期刊>Computer physics communications >High performance Python for direct numerical simulations of turbulent flows
【24h】

High performance Python for direct numerical simulations of turbulent flows

机译:高性能Python用于湍流的直接数值模拟

获取原文
获取原文并翻译 | 示例
           

摘要

Direct Numerical Simulations (DNS) of the Navier Stokes equations is an invaluable research tool in fluid dynamics. Still, there are few publicly available research codes and, due to the heavy number crunching implied, available codes are usually written in low-level languages such as C/C++ or Fortran. In this paper we describe a pure scientific Python pseudo-spectral DNS code that nearly matches the performance of C++ for thousands of processors and billions of unknowns. We also describe a version optimized through Cython, that is found to match the speed of C++. The solvers are written from scratch in Python, both the mesh, the MPI domain decomposition, and the temporal integrators. The solvers have been verified and benchmarked on the Shaheen supercomputer at the KAUST supercomputing laboratory, and we are able to show very good scaling up to several thousand cores.
机译:Navier Stokes方程的直接数值模拟(DNS)是流体动力学中不可估量的研究工具。但是,仍然很少有公开可用的研究代码,并且由于隐含的大量运算,可用代码通常以低级语言(例如C / C ++或Fortran)编写。在本文中,我们描述了一种纯科学的Python伪光谱DNS代码,该代码几乎与C ++在数千个处理器和数十亿未知数中的性能相匹配。我们还将描述通过Cython优化的版本,该版本可与C ++的速度相匹配。求解器是使用Python从头开始编写的,包括网格,MPI域分解和时间积分器。求解器已经在KAUST超级计算实验室的Shaheen超级计算机上进行了验证和基准测试,并且我们能够显示出非常好的扩展至数千个核。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号