The immersed boundary method (IBM) is widely used in simulating multiphase flows. DCU (Deep Computing Unit) acceleration device is a kind of GPU-like device, which is developed by GPU technology authorised by AMD. To achieve an efficient numerical simulation of two-phase flows, we develop a parallel DCU-based immersed boundary method using the MPI+HIP programming model. To solve the slow convergence problem caused by domain partitioning in multigrid methods, a coarse grid aggregation (CGA) technique is effectively employed. We adopt a nonblocking communication approach with HIP streams to overlap computation and communication. To validate the proposed method running on DCU clusters, we conducted two numerical experiments of droplet deformation in shear flow and the rising bubble. Performance tests show that a speedup of 181 times more than the CPU version can be achieved with 32 DCUs in a 1024 × 512 × 512 mesh grid.
Read full abstract