Abstract
We study a bio-medical fluid flow simulation using the incompressible, laminar OpenFOAM flow solver icoFoam using iterative linear equation solver and direct solvers (kernel class) such as SuperLU_DIST 3.3 and SuperLU_MCDT (Many-Core Distributed) for the large penta-diagonal and hepta-diagonal matrices coming from the simulation of blood flow in arteries with a structured mesh domain. A realistic simulation for the flow of blood in the heart or vessels in the whole body is a complex problem and may take a very long time, thousands of hours, for the main tasks such as pre-processing (meshing), decomposition and solving the large linear systems. Our aim is to test the potential scaling capability of the fluid solver for multi-petascale systems. We started from the relatively small instances for the whole simulation and solved large linear systems. We measured the wall clock time of single time steps of the simulation. This version gives important clues for a larger version of the problem. Later, we increase the problem size and the number of time steps to obtain a better picture gradually, in our general strategy. We test the performance of the solver icoFoam at TGCC Curie (a Tier-0 system) at CEA, France (see [31]). We achieved scaled speed-up for the largest matrices of 64 million \(\times 64\) million in our dataset to run up to 16,384 cores. In other words, we find that the scalability improves as the problem size increases for this application. As the matrix size quadrupled, the speed-up improves at least 50 % near speed-up saturation point. This shows that there is no structural problem in the software up to this scale. This is an important and encouraging result for the problem. Moreover, we imbedded other direct solvers (kernel class) such as SuperLU_DIST 3.3 and SuperLU_MCDT in addition to the solvers provided by OpenFOAM. Since future exascale systems are expected to have heterogeneous and many-core distributed nodes, we believe that our SuperLU_MCDT software is a good candidate for future systems.  SuperLU_MCDT worked up to 16,384 cores for the large penta-diagonal matrices for 2D problems and hepta-diagonal matrices for 3D problems, coming from the incompressible blood flow simulation, without any problem.
Similar content being viewed by others
References
Behrens T (2009) OpenFOAM’s basic solvers for linear systems of equations: solvers, preconditioners, smothers. Tech. Rep. DTU, Denmark. http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2008/TimBehrens/tibeh-report-fin.pdf
Celebi MS, Duran A, Tuncel M, Akaydin B, Oztoprak F (2013) Performance analysis of BLAS libraries in SuperLU_MCDT (Multi Core Distributed) development. PRACE-2IP white paper, Libraries, WP 83. http://www.prace-project.eu/IMG/pdf/wp83.pdf
Culpo M (2012) PRACE WP. http://www.prace-ri.eu/IMG/pdf/Current_Bottlenecks_in_the_Scalability_of_OpenFOAM_on_Massively_Parallel_Clusters-2.pdf
Duran A, Celebi MS, Tuncel M, Akayd\(\imath \)n B (2012) Design and implementation of new hybrid algorithm and solver on CPU for large sparse linear systems. PRACE-2IP white paper, Libraries, WP 43. http://www.prace-ri.eu/IMG/pdf/wp43-newhybridalgorithmfo_lsls.pdf
Duran A, Celebi MS, Tuncel M, Oztoprak F (2013) Structural analysis of large sparse matrices for scalable direct solvers. PRACE-2IP white paper, Scalable algorithms, WP 82. http://www.prace-project.eu/IMG/pdf/wp82.pdf
Dagna P and Hertzer J (2013) Evaluation of multi-threaded OpenFOAM hybridization for massively parallel architectures. PRACE WP98. http://www.prace-project.eu/IMG/pdf/wp98.pdf
Gustafson JL (1988) Reevaluating Amdahl’s law. Commun ACM 31(5):532–533
Hill MD, Marty MR (2008) Amdahl’s law in the multicore era. IEEE Comput 41:33–38
Hoffmann KA, Chiang ST (2000) Computational fluid dynamics. In: Engineering education system. vol I and II, Kansas
Kelly S, O’Rourke M (2012) Fluid, solid and fluid-structure interaction simulations on patient-based abdominal aortic aneurysm models. Proc Inst Mech Eng Part H J Eng Med 226(4):288–304
Li XS, Demmel JW (2003) SuperLU_DIST: a scalable distributed-memory sparse direct solver for unsymmetric linear systems. ACM Trans Math Software 29(2):110–140
Li XS, Demmel JW, Gilbert JR, Grigori L, Shao M, Yamazaki I (1999) update: 2011 SuperLU Users’ Guide. Report UCB, Computer Science Division, University of California, Berkeley, CA, Tech
Manguoglu M (2012) PRACE WP. http://www.praceproject.eu/IMG/pdf/A_General_Sparse_Sparse_Linear_System_Solver_and_Its_Application_in_OpenFOAM-2.pdf
Moylesa M, Nash P, Girotto I (2012) PRACE WP. http://www.prace-ri.eu/IMG/pdf/Performance_Analysis_of_Fluid-Structure_Interactions_using_OpenFOAM.pdf
Pal A, Anupindi K, Delorme Y, Ghaisas N, Shetty DA, Frankel SH (2014) Large eddy simulation of transitional flow in an idealized stenotic blood vessel: evaluation of subgrid scale models. J Biomech Eng 136(7):071009
Piskin S, Akkus A (2012) Biofuid flow applications by open-source software, 17. National Biomedical Engineering Meeting-BIYOMUT, Istanbul, Turkey
Piskin S, Celebi MS (2013) Analysis of the effects of different pulsatile inlet profiles on the hemodynamical properties of blood flow in patient specific carotid artery with stenosis. Comput Biol Med 43(6):717–728
Piskin S, Celebi MS (2012) Numerical blood flow simulation with predefined artery movement. Biomedical Engineering and Informatics (BMEI), 5th International Conference, pp 654–658. doi:10.1109/BMEI.2012.6513039
Piskin S, Celebi MS (2012) Bir boyutlu damar hareketi ile say\(\imath \)sal kan ak\(\imath \)s\(\imath \) benzetimi (The analogy between one dimensional blood vessel movement and numerical blood flux), T\(\imath \)p Teknolojileri Ulusal Kongresi-TIPTEKNO 12, Antalya, Turkey
Pringle GJ (2010) Porting OpenFOAM to HECToR: A dCSE Project. EPCC, The University of Edinburgh, Report
Turkeri H, Piskin S, Celebi MS (2011) A comparison between non-Newtonian and Newtonian blood viscosity models. J Biomech 44(Supplement):1
Wu WT, Aubry N, Massoudi M, Kim J, Antaki JF (2014) A numerical study of blood flow using mixture theory. Int J Eng Sci 76:56–72
(2013) D7.2.1 A report on the survey of HPC tools and techniques, PRACE-3IP. http://www.prace-project.eu/IMG/pdf/d7.2.1.pdf
OpenFOAM main site. http://www.openfoam.com
(Par)METIS homesite. http://www.lrz.de/services/software/mathematik/metis
Scotch and PT-Scotch homepage. http://www.labri.fr/perso/pelegrin/scotch
http://www.uybhm.itu.edu.tr/eng/inner/duyurular.html_#karadeniz
Acknowledgments
The authors are grateful for helpful comments by the Editor-in-Chief of The Journal of Supercomputing, Prof. Hamid R. Arabnia, and two anonymous referees. This work was financially supported by the PRACE Project funded in part by the EUs 7th Framework Programme (FP7/2007–2014) under Grant agreement No. RI-312763. The work was achieved using the PRACE Research Infrastructure resource Curie at CEA, France (see [31]). Moreover, computing resources of the National Center for High Performance Computing of Turkey (UHeM) (see [32]) were used.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Duran, A., Celebi, M.S., Piskin, S. et al. Scalability of OpenFOAM for bio-medical flow simulations. J Supercomput 71, 938–951 (2015). https://doi.org/10.1007/s11227-014-1344-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-014-1344-1