arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.16263physics.flu-dyn
收藏

用于气动声学计算的MPI-OpenMP混合并行开源FW-H代码

An MPI-OpenMP mixing parallel open source FW-H code for aeroacoustics calculation

Keli Zhang, Changping Yu, Peiqing Liu, Xinliang Li

AI总结:

本文开发了开源FW-H后处理代码OpenCFD-FWH,支持对流和攻角修正,采用MPI/OpenMP混合并行,在30P30N算例中验证精度并实现538.5倍加速。

摘要:

本文开发了一个具有对流效应和攻角修正的可渗透面无量纲FW-H(Ffowcs Williams-Hawkings)声学类比后处理代码OpenCFD-FWH。OpenCFD-FWH目前用作我们有限体积CFD求解器OpenCFD-EC(面向工程计算的计算流体动力学开源代码)的后处理代码。然而,OpenCFD-FWH也可以通过指定的数据接口供其他CFD求解器使用。通过对流效应采用Garrick三角形将风洞坐标系转换为静止流体中的运动模型坐标系,简化了FW-H积分公式并提高了代码的计算效率。攻角效应也通过坐标变换加以考虑。为了验证代码,实施了三个算例。前两个算例是均匀流中带攻角的单极子和偶极子,代码结果与解析解几乎一致。第三个算例是著名的30P30N构型,雷诺数为1.71×10^6,攻角为5.5°。采用带IDDES(改进延迟分离涡模拟)的OpenCFD-EC获取流场,结果与JAXA实验相比吻合较好。此外,代码采用MPI和OpenMP混合并行方式实现,以加速计算过程(在30P30N验证算例中最高加速538.5倍)并避免内存不足情况。该代码现已在https://github.com/Z-K-LpenCFD-FWH上免费提供。

英文摘要:

In this paper, a permeable surface nondimensional FW-H (Ffowcs Williams-Hawkings) acoustics analogy post-processing code with convective effect and AoA (angle of attack) corrections, OpenCFD-FWH, has been eveloped. OpenCFD-FWH is now used as post processing code of our finite volume CFD solver OpenCFD-EC (Open Computational Fluid Dynamic code for Engineering Computation). However, OpenCFD-FWH can also be used by other CFD solvers with the specified data interface. The convective effect is taken into account by using Garrick Triangle to switch the wind tunnel casesoordinate system to a moving model with fluid at rest coordinate system, which simplifies the FW-H integration formulation and improves the computationalfficiency of the code. The AoA effect is also taken into account by coordinate transformation. In order to validate the code, three cases have been implemented. The first two cases are a monopole and aipole in a mean flow with AoA, and the results of the code and the analytical solution are practically identical. The third case is theell-known 30P30N configuration with a Reynolds number of 1.71$\times10^6$ and an AoA of $5.5^\circ$. OpenCFD-EC with IDDES (Improved Delayedetached-eddy simulation) is utilized to obtain the flow field, and the result shows relative good agreement when compared to JAXA experiments oreover, the code is implemented in a hybrid parallel way with MPI and OpenMP to speed up computing processes (up to 538.5 times faster in the0P30N validation case) and avoid an out-of-memory situation. The code is now freely available on \url{https://github.com/Z-K-LpenCFD-FWH}.

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

↑