Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model

In this study, we exploit the advantages of Berkeley's Unified Parallel C (UPC) programming model to optimize the speedup performance of computational hydrodynamic (CHD) simulations, which constitute an important class of modelling tool for hydraulic engineering applications. A two-dimensional...

Full description

Bibliographic Details
Main Authors: Chew, Alvin Wei Ze, Law, Adrian Wing-Keung, Vu, Tung Thanh
Other Authors: School of Civil and Environmental Engineering
Format: Journal Article
Language:English
Published: 2022
Subjects:
Online Access:https://hdl.handle.net/10356/160937
_version_ 1811691803302166528
author Chew, Alvin Wei Ze
Law, Adrian Wing-Keung
Vu, Tung Thanh
author2 School of Civil and Environmental Engineering
author_facet School of Civil and Environmental Engineering
Chew, Alvin Wei Ze
Law, Adrian Wing-Keung
Vu, Tung Thanh
author_sort Chew, Alvin Wei Ze
collection NTU
description In this study, we exploit the advantages of Berkeley's Unified Parallel C (UPC) programming model to optimize the speedup performance of computational hydrodynamic (CHD) simulations, which constitute an important class of modelling tool for hydraulic engineering applications. A two-dimensional (2D) numerical model, termed UPC-CHD, is developed using the conservative forms of the Navier-Stokes (NS) continuity, momentum, and energy equations for viscous, incompressible, and adiabatic flow cases with the UPC model. The following numerical schemes are adopted for discretization in UPC-CHD: (1) a 2-step Lax-Wendroff explicit scheme for the temporal term; (2) a Roe linear approximation with a 3rd-order upwind biased algorithm for the convective fluxes; and (3) a central-differencing scheme for the viscous fluxes. The obtained speedup results demonstrate that UPC-CHD with the affinity principle achieves good speedup performance when compared to the serial algorithm, with an average value of 0.8 per unit core (thread) until 100 processor cores when simulating the Couette, Blasius boundary layer, and Poiseuille flows on a 2D domain of 100 million grids. Finally, we also investigate the effects of varying domain size on the speedup performances of UPC-CHD for the same flow conditions.
first_indexed 2024-10-01T06:25:42Z
format Journal Article
id ntu-10356/160937
institution Nanyang Technological University
language English
last_indexed 2024-10-01T06:25:42Z
publishDate 2022
record_format dspace
spelling ntu-10356/1609372022-08-08T04:15:47Z Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model Chew, Alvin Wei Ze Law, Adrian Wing-Keung Vu, Tung Thanh School of Civil and Environmental Engineering Nanyang Environment and Water Research Institute Environmental Process Modelling Centre Engineering::Civil engineering Parallel Computing Computational Hydrodynamics In this study, we exploit the advantages of Berkeley's Unified Parallel C (UPC) programming model to optimize the speedup performance of computational hydrodynamic (CHD) simulations, which constitute an important class of modelling tool for hydraulic engineering applications. A two-dimensional (2D) numerical model, termed UPC-CHD, is developed using the conservative forms of the Navier-Stokes (NS) continuity, momentum, and energy equations for viscous, incompressible, and adiabatic flow cases with the UPC model. The following numerical schemes are adopted for discretization in UPC-CHD: (1) a 2-step Lax-Wendroff explicit scheme for the temporal term; (2) a Roe linear approximation with a 3rd-order upwind biased algorithm for the convective fluxes; and (3) a central-differencing scheme for the viscous fluxes. The obtained speedup results demonstrate that UPC-CHD with the affinity principle achieves good speedup performance when compared to the serial algorithm, with an average value of 0.8 per unit core (thread) until 100 processor cores when simulating the Couette, Blasius boundary layer, and Poiseuille flows on a 2D domain of 100 million grids. Finally, we also investigate the effects of varying domain size on the speedup performances of UPC-CHD for the same flow conditions. Nanyang Technological University This research study is funded by the internal core funding from the Nanyang Environment and Water Research Institute (NEWRI),Nanyang Technological University (NTU), Singapore. 2022-08-08T04:15:47Z 2022-08-08T04:15:47Z 2020 Journal Article Chew, A. W. Z., Law, A. W. & Vu, T. T. (2020). Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model. Journal of Computing in Civil Engineering, 34(2), 06020001-1-06020001-5. https://dx.doi.org/10.1061/(ASCE)CP.1943-5487.0000876 0887-3801 https://hdl.handle.net/10356/160937 10.1061/(ASCE)CP.1943-5487.0000876 2-s2.0-85077955724 2 34 06020001-1 06020001-5 en Journal of Computing in Civil Engineering © 2020 American Society of Civil Engineers. All rights reserved.
spellingShingle Engineering::Civil engineering
Parallel Computing
Computational Hydrodynamics
Chew, Alvin Wei Ze
Law, Adrian Wing-Keung
Vu, Tung Thanh
Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model
title Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model
title_full Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model
title_fullStr Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model
title_full_unstemmed Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model
title_short Optimizing speedup performance of computational hydrodynamic simulations with UPC programming model
title_sort optimizing speedup performance of computational hydrodynamic simulations with upc programming model
topic Engineering::Civil engineering
Parallel Computing
Computational Hydrodynamics
url https://hdl.handle.net/10356/160937
work_keys_str_mv AT chewalvinweize optimizingspeedupperformanceofcomputationalhydrodynamicsimulationswithupcprogrammingmodel
AT lawadrianwingkeung optimizingspeedupperformanceofcomputationalhydrodynamicsimulationswithupcprogrammingmodel
AT vutungthanh optimizingspeedupperformanceofcomputationalhydrodynamicsimulationswithupcprogrammingmodel