Modernization and optimization of a legacy open-source CFD code for high-performance computing architectures

Aytekin Gel, Jonathan Hu, El Moustapha Ould-Ahmed-Vall, Alexander A. Kalinkin

Research output: Contribution to journalArticle

3 Citations (Scopus)

Abstract

Legacy codes remain a crucial element of today's simulation-based engineering ecosystem due to the extensive validation process and investment in such software. The rapid evolution of high-performance computing architectures necessitates the modernization of these codes. One approach to modernization is a complete overhaul of the code. However, this could require extensive investments, such as rewriting in modern languages, new data constructs, etc., which will necessitate systematic verification and validation to re-establish the credibility of the computational models. The current study advocates using a more incremental approach and is a culmination of several modernization efforts of the legacy code MFIX, which is an open-source computational fluid dynamics code that has evolved over several decades, widely used in multiphase flows and still being developed by the National Energy Technology Laboratory. Two different modernization approaches,‘bottom-up’ and ‘top-down’, are illustrated. Preliminary results show up to 8.5x improvement at the selected kernel level with the first approach, and up to 50% improvement in total simulated time with the latter were achieved for the demonstration cases and target HPC systems employed.

Original languageEnglish (US)
Pages (from-to)122-133
Number of pages12
JournalInternational Journal of Computational Fluid Dynamics
Volume31
Issue number2
DOIs
StatePublished - Feb 7 2017
Externally publishedYes

Fingerprint

Modernization
charge flow devices
Computational fluid dynamics
optimization
Multiphase flow
energy technology
multiphase flow
Ecosystems
ecosystems
computational fluid dynamics
Demonstrations
engineering
computer programs
simulation

Keywords

  • code modernization
  • code refactoring
  • Computational fluid dynamics (CFD)
  • high-performance computing
  • legacy software
  • many cores
  • MFIX
  • reacting multiphase flow simulations
  • Trilinos project
  • Xeon Phi

ASJC Scopus subject areas

  • Computational Mechanics
  • Aerospace Engineering
  • Condensed Matter Physics
  • Energy Engineering and Power Technology
  • Mechanics of Materials
  • Mechanical Engineering

Cite this

Modernization and optimization of a legacy open-source CFD code for high-performance computing architectures. / Gel, Aytekin; Hu, Jonathan; Ould-Ahmed-Vall, El Moustapha; Kalinkin, Alexander A.

In: International Journal of Computational Fluid Dynamics, Vol. 31, No. 2, 07.02.2017, p. 122-133.

Research output: Contribution to journalArticle

Gel, Aytekin ; Hu, Jonathan ; Ould-Ahmed-Vall, El Moustapha ; Kalinkin, Alexander A. / Modernization and optimization of a legacy open-source CFD code for high-performance computing architectures. In: International Journal of Computational Fluid Dynamics. 2017 ; Vol. 31, No. 2. pp. 122-133.
@article{3c3cea52d7044db2ac93cf567acf5407,
title = "Modernization and optimization of a legacy open-source CFD code for high-performance computing architectures",
abstract = "Legacy codes remain a crucial element of today's simulation-based engineering ecosystem due to the extensive validation process and investment in such software. The rapid evolution of high-performance computing architectures necessitates the modernization of these codes. One approach to modernization is a complete overhaul of the code. However, this could require extensive investments, such as rewriting in modern languages, new data constructs, etc., which will necessitate systematic verification and validation to re-establish the credibility of the computational models. The current study advocates using a more incremental approach and is a culmination of several modernization efforts of the legacy code MFIX, which is an open-source computational fluid dynamics code that has evolved over several decades, widely used in multiphase flows and still being developed by the National Energy Technology Laboratory. Two different modernization approaches,‘bottom-up’ and ‘top-down’, are illustrated. Preliminary results show up to 8.5x improvement at the selected kernel level with the first approach, and up to 50{\%} improvement in total simulated time with the latter were achieved for the demonstration cases and target HPC systems employed.",
keywords = "code modernization, code refactoring, Computational fluid dynamics (CFD), high-performance computing, legacy software, many cores, MFIX, reacting multiphase flow simulations, Trilinos project, Xeon Phi",
author = "Aytekin Gel and Jonathan Hu and Ould-Ahmed-Vall, {El Moustapha} and Kalinkin, {Alexander A.}",
year = "2017",
month = "2",
day = "7",
doi = "10.1080/10618562.2017.1285398",
language = "English (US)",
volume = "31",
pages = "122--133",
journal = "International Journal of Computational Fluid Dynamics",
issn = "1061-8562",
publisher = "Taylor and Francis Ltd.",
number = "2",

}

TY - JOUR

T1 - Modernization and optimization of a legacy open-source CFD code for high-performance computing architectures

AU - Gel, Aytekin

AU - Hu, Jonathan

AU - Ould-Ahmed-Vall, El Moustapha

AU - Kalinkin, Alexander A.

PY - 2017/2/7

Y1 - 2017/2/7

N2 - Legacy codes remain a crucial element of today's simulation-based engineering ecosystem due to the extensive validation process and investment in such software. The rapid evolution of high-performance computing architectures necessitates the modernization of these codes. One approach to modernization is a complete overhaul of the code. However, this could require extensive investments, such as rewriting in modern languages, new data constructs, etc., which will necessitate systematic verification and validation to re-establish the credibility of the computational models. The current study advocates using a more incremental approach and is a culmination of several modernization efforts of the legacy code MFIX, which is an open-source computational fluid dynamics code that has evolved over several decades, widely used in multiphase flows and still being developed by the National Energy Technology Laboratory. Two different modernization approaches,‘bottom-up’ and ‘top-down’, are illustrated. Preliminary results show up to 8.5x improvement at the selected kernel level with the first approach, and up to 50% improvement in total simulated time with the latter were achieved for the demonstration cases and target HPC systems employed.

AB - Legacy codes remain a crucial element of today's simulation-based engineering ecosystem due to the extensive validation process and investment in such software. The rapid evolution of high-performance computing architectures necessitates the modernization of these codes. One approach to modernization is a complete overhaul of the code. However, this could require extensive investments, such as rewriting in modern languages, new data constructs, etc., which will necessitate systematic verification and validation to re-establish the credibility of the computational models. The current study advocates using a more incremental approach and is a culmination of several modernization efforts of the legacy code MFIX, which is an open-source computational fluid dynamics code that has evolved over several decades, widely used in multiphase flows and still being developed by the National Energy Technology Laboratory. Two different modernization approaches,‘bottom-up’ and ‘top-down’, are illustrated. Preliminary results show up to 8.5x improvement at the selected kernel level with the first approach, and up to 50% improvement in total simulated time with the latter were achieved for the demonstration cases and target HPC systems employed.

KW - code modernization

KW - code refactoring

KW - Computational fluid dynamics (CFD)

KW - high-performance computing

KW - legacy software

KW - many cores

KW - MFIX

KW - reacting multiphase flow simulations

KW - Trilinos project

KW - Xeon Phi

UR - http://www.scopus.com/inward/record.url?scp=85015801874&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85015801874&partnerID=8YFLogxK

U2 - 10.1080/10618562.2017.1285398

DO - 10.1080/10618562.2017.1285398

M3 - Article

VL - 31

SP - 122

EP - 133

JO - International Journal of Computational Fluid Dynamics

JF - International Journal of Computational Fluid Dynamics

SN - 1061-8562

IS - 2

ER -