红黑着色的相场两相流并行投影算法
A novel red-black coloring parallel projection algorithm for two-phase flow using the phase field method
王小双 1张良奇 1肖姚 1曾忠1
作者信息
- 1. 重庆大学航空航天学院,重庆 400044
- 折叠
摘要
提出一种交错并行的有限体积投影算法求解基于相场法的两相流控制方程组.该算法的实施主要依赖于压力泊松方程的显式推进设计,从而突破投影算法求解不可压Navier-Stokes方程的效率瓶颈.同时,提出了一种交错扫描策略来更新节点上的变量,以实现更紧凑的时空耦合.本算法与相场模型相结合,能够高效、准确地捕获相界面的动态拓扑变化.测试算例结果表明:网格量为131072,采用8线程CPU并行时,新提出并行算法的效率达到串行标准投影算法的80倍以上.
Abstract
In this study,an innovative parallel finite volume projection algorithm with a novel red-black coloring approach is proposed to solve the two-phase flow control equations using the phase field method. This strategy relies on the explicit advancement of the pressure Poisson equation,thus effectively overcoming the efficiency limitation inherent in the traditional projection algorithms for solving the incompressible Navier-Stokes equations. Moreover,we implement an interleaved scanning strategy for updating nodal variables,which significantly enhances the spatiotemporal coupling in a compact manner. The integration of this technique with the phase field method facilitates more accurate capture of interface dynamics and topology at a lower cost. Test results show that,utilizing a grid size of 131072 and an 8-thread CPU parallelization,the proposed parallel algorithm is more than 80 times more efficient than the serial standard projection algorithm.
关键词
两相流/相场法/有限体积法/投影算法/并行计算Key words
two-phase flows/phase field/finite volume method/projection algorithm/parallel computing引用本文复制引用
基金项目
国家自然科学基金资助项目(12102071)
国家自然科学基金资助项目(12172070)
中央高校基本科研业务费资助项目(2021CDJQY-055)
出版年
2024