Investigation of OpenFOAM hydrodynamic simulation stability and scalability
During the EuroCC-2 project, Kirils Surovovs, the researcher at the Institute of Numerical Modelling, submitted an application for the resources of Luxembourg supercomputer MeluXina (12th most powerful supercomputer in the EU). The title of the application was “Investigation of OpenFOAM hydrodynamic simulation stability and scalability”.
The project was devoted to silicon melt flow simulations (e.g., hydrodynamic simulations) using OpenFOAM C++ library. The OpenFOAM library is widely used in both academical and industrial research groups. However, the current experience shows that the higher the number of used cores, the lower is the numerical stability of a simulation, which leads to numerical errors and divergence. Therefore, it is desirable to test OpenFOAM stability on a large number of computational cores, thus determining its scalability for large-scale HPC applications.
The simulations on MeluXina cluster showed better scalability than on the previously tested clusters in Latvia (University of Latvia and Riga Technical University). Especially good result is, for example, almost 14-fold speed-up with the mesh with 3.2 million cells, when core number increased from 2 to 16. Such speed-up is superlinear (the speed increases more than the number of cores) and demonstrates the efficient use of HPC resources. During the project, optimal type of linear matrix solver (GAMG) and at least a lower bound of acceptable solver tolerances (9 times higher than standard) were obtained.
This project has received funding from the European High-Performance Computing Joint Undertaking (JU) under grant agreement No 101101903. The JU receives support from the Digital Europe Programme and Germany, Bulgaria, Austria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, Greece, Hungary, Ireland, Italy, Lithuania, Latvia, Poland, Portugal, Romania, Slovenia, Spain, Sweden, France, Netherlands, Belgium, Luxembourg, Slovakia, Norway, Turkiye, Republic of North Macedonia, Iceland, Montenegro, Serbia.