Skip to main content
Log in

Scalability of OpenFOAM for bio-medical flow simulations

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. Gustafson JL (1988) Reevaluating Amdahl’s law. Commun ACM 31(5):532–533

    Article  Google Scholar 

  8. Hill MD, Marty MR (2008) Amdahl’s law in the multicore era. IEEE Comput 41:33–38

    Article  Google Scholar 

  9. Hoffmann KA, Chiang ST (2000) Computational fluid dynamics. In: Engineering education system. vol I and II, Kansas

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

    Article  Google Scholar 

  16. Piskin S, Akkus A (2012) Biofuid flow applications by open-source software, 17. National Biomedical Engineering Meeting-BIYOMUT, Istanbul, Turkey

  17. 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

    Article  Google Scholar 

  18. 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

  19. 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

  20. Pringle GJ (2010) Porting OpenFOAM to HECToR: A dCSE Project. EPCC, The University of Edinburgh, Report

  21. Turkeri H, Piskin S, Celebi MS (2011) A comparison between non-Newtonian and Newtonian blood viscosity models. J Biomech 44(Supplement):1

    Google Scholar 

  22. 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

    Article  MathSciNet  Google Scholar 

  23. (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

  24. OpenFOAM main site. http://www.openfoam.com

  25. (Par)METIS homesite. http://www.lrz.de/services/software/mathematik/metis

  26. Scotch and PT-Scotch homepage. http://www.labri.fr/perso/pelegrin/scotch

  27. http://en.wikipedia.org/wiki/Electrocardiography

  28. http://en.wikipedia.org/wiki/Gustafson’s_law

  29. http://en.wikipedia.org/wiki/QT_interval

  30. http://software.intel.com/en-us/intel-mkl

  31. http://www-hpc.cea.fr/en/complexe/tgcc-curie.htm

  32. http://www.uybhm.itu.edu.tr

  33. http://www.uybhm.itu.edu.tr/eng/inner/duyurular.html_#karadeniz

Download references

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

Authors

Corresponding author

Correspondence to Ahmet Duran.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-014-1344-1

Keywords

Navigation