MICROSIM: A high performance phase-field solver based on CPU and GPU implementations

Tanmay Dutta,Dasari Mohan,Saurav Shenoy,Nasir Attar,Abhikshek Kalokhe,Ajay Sagar,Swapnil Bhure,Swaroop .S. Pradhan,Jitendriya Praharaj,Subham Mridha,Anshika Kushwaha,Vaishali Shah,M. P. Gururajan,V. Venkatesh Shenoi,Gandham Phanikumar,Saswata Bhattacharyya,Abhik Choudhury
DOI: https://doi.org/10.48550/arXiv.2404.01035
2024-04-01
Abstract:The phase-field method has become a useful tool for the simulation of classical metallurgical phase transformations as well as other phenomena related to materials science. The thermodynamic consistency that forms the basis of these formulations lends to its strong predictive capabilities and utility. However, a strong impediment to the usage of the method for typical applied problems of industrial and academic relevance is the significant overhead with regard to the code development and know-how required for quantitative model formulations. In this paper, we report the development of an open-source phase-field software stack that contains generic formulations for the simulation of multi-phase and multi-component phase transformations. The solvers incorporate thermodynamic coupling that allows the realization of simulations with real alloys in scenarios directly relevant to the materials industry. Further, the solvers utilize parallelization strategies using either multiple CPUs or GPUs to provide cross-platform portability and usability on available supercomputing machines. Finally, the solver stack also contains a graphical user interface to gradually introduce the usage of the software. The user interface also provides a collection of post-processing tools that allow the estimation of useful metrics related to microstructural evolution.
Materials Science,Mathematical Physics
What problem does this paper attempt to address?
The paper presents an open-source phase field simulation software stack called MICROSIM, which focuses on high-performance computing and is implemented on CPU and GPU. The software aims to address the complexity and high entry barrier of multiphase and multicomponent phase transformation simulations in the field of metal materials science. Current challenges include the difficulty of code development, the knowledge requirements for quantitative model formulation, and the thermodynamic coupling of actual alloy simulations. The paper mentions that although there are commercial software packages such as MICRESS, PACE3D, and OpenPhase, they have limitations in terms of model flexibility, hardware utilization (especially GPU), and discretization. To address these limitations, MICROSIM provides an open-source phase field solver that supports various phase field models (such as general potential and Kim-Kim-Suzuki method) and can be combined with thermodynamic databases (such as CALPHAD) for simulating phase transformations in real alloys. In addition, the software stack implements parallelization strategies for both CPU and GPU to accommodate supercomputers and is equipped with a graphical user interface (GUI) for user interaction and post-processing. The paper also provides a detailed description of the mathematical formulation of the model, including gradient energy terms, multi-barrier or multi-well potential functions, phase field evolution equations, and the implementation of elastic effects. By coupling with thermodynamic databases, simulations involving actual alloys can be handled. Finally, the paper discusses software performance, compares different solver modules, and presents simulation examples that demonstrate the overall capabilities of the software stack.