Developing a scalable and flexible high-resolution DNS code for two-phase flows

Iain Bethune, Antonia Collis, Lennon O. Naraigh, David Scott, Prashant Valluri

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract / Description of output

We introduce TPLS (Two-Phase Level Set), an MPI-parallel Direct Numerical Simulation code for two-phase flows in channel geometries. Recent developments to the code are discussed which improve the performance of the solvers and I/O by using the PETSc and NetCDF libraries respectively. Usability and functionality improvements enabled by code refactoring and merging of a separate OpenMP-parallelized version are also outlined. The overall scaling behaviour of the code is measured, and good strong scaling up to 1152 cores is observed for a 5.6 million element grid. A comparison is made between the legacy serial text-formatted I/O and new NetCDF implementations, showing speedups of up to 17x. Finally, we explore the effects of output file striping on the Lustre parallel file system on ARCHER, a Cray XC30 supercomputer, finding performance gains of up to 12% over the default striping settings.
Original languageEnglish
Title of host publicationParallel Computing: On the Road to Exascale
EditorsGerhard Joubert, Hugh Leather, Mark Parsons, Frans Peters, Mark Sawyer
PublisherIOS Press
Number of pages468
ISBN (Electronic)978-1-61499-621-7
ISBN (Print)978-1-61499-620-0
Publication statusPublished - 2016
EventInternational Conference on Parallel Computing (ParCo) 2015 - Edinburgh, United Kingdom
Duration: 1 Sept 20154 Sept 2015

Publication series

NameAdvances In Parallel Computing
ISSN (Print)0927-5452
ISSN (Electronic)1879-808X


ConferenceInternational Conference on Parallel Computing (ParCo) 2015
Country/TerritoryUnited Kingdom


Dive into the research topics of 'Developing a scalable and flexible high-resolution DNS code for two-phase flows'. Together they form a unique fingerprint.

Cite this