Abstract

In this paper we explored parallelization of PPE (pressure Poisson equation) solvers with the aim of decreasing total arithmetic and run-time expenditure in incompressible CFD. For the current work, Jacobi and successive overrelaxation (SOR) iterations are used to solve this 3-D PPE, and they are parallelized with OpenMP employing programming languages Fortran, C and C++. Results show that parallelization greatly improves the serial calculation speed in general. Also it is found that 1) speedup increases sub-linearly with increasing number of cores; 2) parallelization efficiency first increases, and later decreases, as the problem size becomes larger; 3) Fortran is approximately 10% faster than C, and C is approximately 10% faster than C++ for serial cases; for parallel runs, Fortran shows little difference in execution time with C, but still is approximately 10% faster than C++. Comparisons are made in the context of having the same algorithm and code structure, and the same optimization level in compilation. Moreover, we found that optimal SOR is nearly two orders of magnitude faster than Jacobi iteration, both in serial and parallel modes, even for a very simple approach to SOR parallelization.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.