论文标题
DLBFOAM:一个开源动态负载平衡模型,用于openfoam中的快速反应流量模拟
DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM
论文作者
论文摘要
计算负载不平衡是使用直接整合化学动力学的多处理器反应流量模拟中的众所周知的性能问题。我们介绍了一个名为DLBFOAM的开源动态负载平衡模型,以在OpenFOAM(用于计算流体动力学(CFD)的开源C ++库)中解决此问题。由于反应性流量求解器中常用的操作员分裂实践,因此化学物质可以视为每个计算单元中独立的僵硬的普通微分方程(ODE)系统。由于化学动力学的高度非线性特征,可能发生ode积分器的收敛速率发生较大的变化,从而导致多处理器构型之间的高负载不平衡。但是,化学ode系统的独立性导致一个问题可以轻松地平行(在文献中被称为令人尴尬的并行问题)。提出的模型利用了此功能,并在可用资源之间平衡了化学负载。此外,使用参考映射模型来进一步加速模拟。当DLBFOAM启用了这两种功能时,据报道,据报道,速度增加了10倍。据我们所知,该模型是文献中化学负荷平衡的第一个开源实施。
Computational load imbalance is a well-known performance issue in multiprocessor reacting flow simulations utilizing directly integrated chemical kinetics. We introduce an open-source dynamic load balancing model named DLBFoam to address this issue within OpenFOAM, an open-source C++ library for Computational Fluid Dynamics (CFD). Due to the commonly applied operator splitting practice in reactive flow solvers, chemistry can be treated as an independent stiff ordinary differential equation (ODE) system within each computational cell. As a result of the highly non-linear characteristics of chemical kinetics, a large variation in the convergence rates of the ODE integrator may occur, leading to a high load imbalance across multiprocessor configurations. However, the independent nature of chemistry ODE systems leads to a problem that can be parallelized easily (called an embarrassingly parallel problem in the literature) during the flow solution. The presented model takes advantage of this feature and balances the chemistry load across available resources. Additionally, a reference mapping model is utilized to further speed-up the simulations. When DLBFoam it utilized with both these features enabled, a speed-up by a factor of 10 is reported for reactive flow benchmark cases. To the best of our knowledge, this model is the first open-source implementation of chemistry load balancing in the literature.