Abstract
Purpose - The purpose of this paper is to find the best solver for parallelizing particle methods based on solving Pressure Poisson Equation (PPE) by taking Moving Particle Semi-Implicit (MPS) method as an example because the solution for PPE is usually the most time-consuming part difficult to parallelize. Design/methodology/approach - To find the best solver, the authors compare six Krylov solvers, namely, Conjugate Gradient method (CG), Scaled Conjugate Gradient method (SCG), Bi-Conjugate Gradient Stabilized (BiCGStab) method, Conjugate Gradient Squared (CGS) method with Symmetric Lanczos Algorithm (SLA) method and Incomplete Cholesky Conjugate Gradient method (ICCG) in terms of convergence, time consumption, parallel efficiency and memory consumption for the semiimplicit particle method. The MPS method is parallelized by the hybrid Open Multi-Processing (OpenMP)/Message Passing Interface (MPI) model. The dam-break flow and channel flow simulations are used to evaluate the performance of different solvers. Findings - It is found that CG converges stably, runs fastest in the serial way, uses the least memory and has highest OpenMP parallel efficiency, but its MPI parallel efficiency is lower than SLA because SLA requires less synchronization than CG. Originality/value - With all these criteria considered and weighed, the recommended parallel solver for the MPS method is CG.
Original language | English |
---|---|
Pages (from-to) | 834-862 |
Number of pages | 29 |
Journal | Engineering Computations (Swansea, Wales) |
Volume | 32 |
Issue number | 3 |
DOIs | |
Publication status | Published - 2015 May 5 |
Externally published | Yes |
Keywords
- Hybrid openmp/mpi
- Krylov subspace solver
- Moving particle semi-implicit method
- Parallelization
- Particle method
- Pressure poisson equation
ASJC Scopus subject areas
- Software
- Engineering(all)
- Computer Science Applications
- Computational Theory and Mathematics