用于气泡流的硬件加速相平均
Hardware-Accelerated Phase-Averaging for Cavitating Bubbly Flows
AI总结:
本文提出了一种用于声驱动稀疏气泡流的硬件加速相平均多尺度求解器,通过两种不同模型验证其性能,展示了在CPU和GPU上的高效计算和良好可扩展性。
摘要:
我们对一种用于模拟声驱动稀疏气泡悬浮液的硬件加速相平均多尺度求解器进行了全面验证、性能分析和可扩展性分析。连续相通过可压缩纳维-斯托克斯方程建模。分散相通过两种不同的子格公式表示:一种是体积平均模型,它在拉格朗日框架中显式处理离散气泡;另一种是群体平均模型,它通过离散化的气泡尺寸分布统计地表示气泡群体。对于这两种模型,气泡动力学均通过凯勒-米基斯方程建模。在GPU情况下,我们使用OpenACC指令将计算卸载到GPU上。体积平均模型通过与分析凯勒-米基斯解和实验测量对比,显示在单个气泡振荡和崩溃场景中,均方误差低于8%。群体平均模型通过与体积平均模拟进行比较进行验证。在具有4块NVIDIA A100 GPU的NCSA Delta节点上,我们观察到与64核AMD米兰CPU相比,速度提高了16倍。群体平均模型通过求解一组平均方程而不是多个随机实现,进一步降低了计算成本。然而,体积平均模型允许对单个气泡动力学进行查询,而不是气泡动力学的平均统计。弱标度和强标度测试显示,在CPU和GPU平台上的可扩展性良好。这些结果表明,所提出的方法在声驱动稀疏气泡流的多尺度模拟中是稳健、准确和高效的。
英文摘要:
We present a comprehensive validation, performance characterization, and scalability analysis of a hardware-accelerated phase-averaged multiscale solver designed to simulate acoustically driven dilute bubbly suspensions. The carrier fluid is modeled using the compressible Navier-Stokes equations. The dispersed phase is represented through two distinct subgrid formulations: a volume-averaged model that explicitly treats discrete bubbles within a Lagrangian framework, and an ensemble-averaged model that statistically represents the bubble population through a discretized distribution of bubble sizes. For both models, the bubble dynamics are modeled via the Keller--Miksis equation. For the GPU cases, we use OpenACC directives to offload computation to the GPUs. The volume-averaged model is validated against the analytical Keller-Miksis solution and experimental measurements, showing excellent agreement with root-mean-squared errors of less than 8% for both single-bubble oscillation and collapse scenarios. The ensemble-averaged model is validated by comparing it to volume-averaged simulations. On an NCSA Delta node with 4 NVIDIA A100 GPUs, we observe a speedup 16-fold compared to a 64-core AMD Milan CPU. The ensemble-averaged model offers additional reductions in computational cost by solving a single set of averaged equations, rather than multiple stochastic realizations. However, the volume-averaged model enables the interrogation of individual bubble dynamics, rather than the averaged statistics of the bubble dynamics. Weak and strong scaling tests demonstrate good scalability across both CPU and GPU platforms. These results show the proposed method is robust, accurate, and efficient for the multiscale simulation of acoustically driven dilute bubbly flows.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。