Parallel Algorithms of Well-Balanced and Weighted Average Flux for Shallow Water Model Using CUDA

IF 0.8 Q3 ENGINEERING, MULTIDISCIPLINARY Modelling and Simulation in Engineering Pub Date : 2021-12-10 DOI:10.1155/2021/9534495
Nugool Sataporn, W. Suwannik, M. Maleewong
{"title":"Parallel Algorithms of Well-Balanced and Weighted Average Flux for Shallow Water Model Using CUDA","authors":"Nugool Sataporn, W. Suwannik, M. Maleewong","doi":"10.1155/2021/9534495","DOIUrl":null,"url":null,"abstract":"Compute Unified Device Architecture (CUDA) implementations are presented of a well-balanced finite volume method for solving a shallow water model. The CUDA platform allows programs to run parallel on GPU. Four versions of the CUDA algorithm are presented in addition to a CPU implementation. Each version is improved from the previous one. We present the following techniques for optimizing a CUDA program: limiting register usage, changing the global memory access pattern, and using loop unroll. The accuracy of all programs is investigated in 3 test cases: a circular dam break on a dry bed, a circular dam break on a wet bed, and a dam break flow over three humps. The last parallel version shows 3.84x speedup over the first CUDA implementation. We use our program to simulate a real-world problem based on an assumed partial breakage of the Srinakarin Dam located in Kanchanaburi province, Thailand. The simulation shows that the strong interaction between massive water flows and bottom elevations under wet and dry conditions is well captured by the well-balanced scheme, while the optimized parallel program produces a 57.32x speedup over the serial version.","PeriodicalId":45541,"journal":{"name":"Modelling and Simulation in Engineering","volume":"10 1","pages":""},"PeriodicalIF":0.8000,"publicationDate":"2021-12-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Modelling and Simulation in Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1155/2021/9534495","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 1

Abstract

Compute Unified Device Architecture (CUDA) implementations are presented of a well-balanced finite volume method for solving a shallow water model. The CUDA platform allows programs to run parallel on GPU. Four versions of the CUDA algorithm are presented in addition to a CPU implementation. Each version is improved from the previous one. We present the following techniques for optimizing a CUDA program: limiting register usage, changing the global memory access pattern, and using loop unroll. The accuracy of all programs is investigated in 3 test cases: a circular dam break on a dry bed, a circular dam break on a wet bed, and a dam break flow over three humps. The last parallel version shows 3.84x speedup over the first CUDA implementation. We use our program to simulate a real-world problem based on an assumed partial breakage of the Srinakarin Dam located in Kanchanaburi province, Thailand. The simulation shows that the strong interaction between massive water flows and bottom elevations under wet and dry conditions is well captured by the well-balanced scheme, while the optimized parallel program produces a 57.32x speedup over the serial version.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于CUDA的浅水模型平衡与加权平均通量并行算法
提出了一种计算统一设备体系结构(CUDA)实现方法,用于求解浅水模型。CUDA平台允许程序在GPU上并行运行。除了CPU实现之外,还提出了四个版本的CUDA算法。每个版本都是对前一个版本的改进。我们提出了以下优化CUDA程序的技术:限制寄存器使用,改变全局内存访问模式,并使用循环展开。所有程序的准确性在3个测试案例中进行了调查:干河床上的圆形溃坝,湿河床上的圆形溃坝,以及三个驼峰上的溃坝水流。最新的并行版本比第一个CUDA实现的速度提高了3.84倍。我们使用我们的程序来模拟一个现实世界的问题,该问题基于位于泰国北碧府的斯里纳卡林大坝部分破裂的假设。仿真结果表明,在干湿条件下,平衡方案能很好地捕捉到大量水流与底高程之间的强相互作用,优化后的并行程序比串行版本的加速速度提高了57.32倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Modelling and Simulation in Engineering
Modelling and Simulation in Engineering ENGINEERING, MULTIDISCIPLINARY-
CiteScore
2.70
自引率
3.10%
发文量
42
审稿时长
18 weeks
期刊介绍: Modelling and Simulation in Engineering aims at providing a forum for the discussion of formalisms, methodologies and simulation tools that are intended to support the new, broader interpretation of Engineering. Competitive pressures of Global Economy have had a profound effect on the manufacturing in Europe, Japan and the USA with much of the production being outsourced. In this context the traditional interpretation of engineering profession linked to the actual manufacturing needs to be broadened to include the integration of outsourced components and the consideration of logistic, economical and human factors in the design of engineering products and services.
期刊最新文献
Setting Safe Operation Conditions for Acetyl Chloride Hydrolysis through Dynamic Modelling and Bifurcation Analysis Mathematical-Based CFD Modelling and Simulation of Mushroom Drying in Tray Dryer Evaluation of Electric Vehicle-Dependent Strategy in Addis Ababa, Ethiopia Transport System Two-Dimensional FEM Approach of Metabolic Effect on Thermoregulation in Human Dermal Parts During Walking and Marathon Progressive Collapse Resistance Mechanism of RC Frame Structure Considering Reinforcement Corrosion
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1