首页> 外文期刊>Computers & Fluids >Parallelization of a multi-blocked CFD code via three strategies for fluid flow and heat transfer analysis
【24h】

Parallelization of a multi-blocked CFD code via three strategies for fluid flow and heat transfer analysis

机译:通过三种用于流体流动和传热分析的策略并行化多块CFD代码

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

摘要

This paper reports on a parallel implementation of a general 3D multi-block CFD code. The parallelization is achieved by using three strategies. Firstly, it is done on dual-processor PC-clusters where Windows NT systems are running. A multi-thread programming model is adopted for the multi-block code, where one thread corresponds to a block. Shared-memory is used for the exchange of inner-boundaries between neighboring blocks (threads) on the same node, while WinSockets are employed for those on different nodes. Secondly, the parallelization is extended to UNIX operating system. MPI is applied for all the message passing between different processors, including those on the same node. Thirdly, Pthreads (POSIX threads), a standardized application interface for threads, are adopted to take the advantage of the shared-memory feature of the SMP nodes, while MPI is only applied for the message passing between processors on different nodes. In all the strategies, a static load-balancing method is employed for equitable distribution of computational work to specified nodes. The parameters of the present code is studied in detail to facilitate the explanation of the speedup results. Two examples are provided to show the speedup and load balancing of the parallel calculation. Detailed comparison is made to evaluate the efficiency of different strategies.
机译:本文报告了通用3D多块CFD代码的并行实现。通过使用三种策略来实现并行化。首先,它是在运行Windows NT系统的双处理器PC群集中完成的。对于多块代码,采用多线程编程模型,其中一个线程对应一个块。共享内存用于在同一节点上的相邻块(线程)之间交换内部边界,而WinSockets用于不同节点上的内部边界。其次,并行化扩展到UNIX操作系统。 MPI适用于不同处理器之间传递的所有消息,包括同一节点上的消息。第三,采用了线程的标准化应用程序接口Pthreads(POSIX线程)来利用SMP节点的共享内存功能,而MPI仅应用于在不同节点上的处理器之间传递的消息。在所有策略中,均采用静态负载平衡方法将计算工作公平分配到指定节点。对本代码的参数进行了详细研究,以方便解释加速结果。提供了两个示例来显示并行计算的加速和负载平衡。进行了详细的比较,以评估不同策略的效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号