A GPU based accelerated solver for simulation of heat transfer during metal casting process

IF 1.9 4区 材料科学 Q3 MATERIALS SCIENCE, MULTIDISCIPLINARY Modelling and Simulation in Materials Science and Engineering Pub Date : 2024-05-13 DOI:10.1088/1361-651x/ad4406
Rahul Jayakumar, T P D Rajan and Sivaraman Savithri
{"title":"A GPU based accelerated solver for simulation of heat transfer during metal casting process","authors":"Rahul Jayakumar, T P D Rajan and Sivaraman Savithri","doi":"10.1088/1361-651x/ad4406","DOIUrl":null,"url":null,"abstract":"The metal casting process, which is one of the key drivers of the manufacturing industry, involves several physical phenomena occurring simultaneously like fluid flow, phase change, and heat transfer which affect the casting yield and quality. Casting process modeling involves numerical modeling of these phenomena on a computer. In recent decades, this has become an inevitable tool for foundry engineers to make defect-free castings. To expedite computational time graphics processing units (GPUs) are being increasingly used in the numerical modeling of heat transfer and fluid flow. Initially, in this work a CPU based implicit solver code is developed for solving the 3D unsteady energy equation including phase change numerically using finite volume method which predicts the thermal profile during solidification in the metal casting process in a completely filled mold. To address the computational bottleneck, which is identified as the linear algebraic solver based on the bi-conjugate gradient stabilized method, a GPU-based code is developed using Compute Unified Device Architecture toolkit and was implemented on the GPU. The CPU and GPU based codes are then validated against a commercial casting simulation code FLOW-3D CAST® for a simple casting part and against in-house experimental results for gravity die casting of a simple geometry. Parallel performance is analyzed for grid sizes ranging from 10 × 10 × 10 to 210 × 210 × 210 and for three time-step sizes. The performance of the GPU code based on occupancy and throughput is also investigated. The GPU code exhibits a maximum speedup of 308× compared to the CPU code for a grid size of 210 × 210 × 210 and a time-step size of 2 s.","PeriodicalId":18648,"journal":{"name":"Modelling and Simulation in Materials Science and Engineering","volume":null,"pages":null},"PeriodicalIF":1.9000,"publicationDate":"2024-05-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Modelling and Simulation in Materials Science and Engineering","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.1088/1361-651x/ad4406","RegionNum":4,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATERIALS SCIENCE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

The metal casting process, which is one of the key drivers of the manufacturing industry, involves several physical phenomena occurring simultaneously like fluid flow, phase change, and heat transfer which affect the casting yield and quality. Casting process modeling involves numerical modeling of these phenomena on a computer. In recent decades, this has become an inevitable tool for foundry engineers to make defect-free castings. To expedite computational time graphics processing units (GPUs) are being increasingly used in the numerical modeling of heat transfer and fluid flow. Initially, in this work a CPU based implicit solver code is developed for solving the 3D unsteady energy equation including phase change numerically using finite volume method which predicts the thermal profile during solidification in the metal casting process in a completely filled mold. To address the computational bottleneck, which is identified as the linear algebraic solver based on the bi-conjugate gradient stabilized method, a GPU-based code is developed using Compute Unified Device Architecture toolkit and was implemented on the GPU. The CPU and GPU based codes are then validated against a commercial casting simulation code FLOW-3D CAST® for a simple casting part and against in-house experimental results for gravity die casting of a simple geometry. Parallel performance is analyzed for grid sizes ranging from 10 × 10 × 10 to 210 × 210 × 210 and for three time-step sizes. The performance of the GPU code based on occupancy and throughput is also investigated. The GPU code exhibits a maximum speedup of 308× compared to the CPU code for a grid size of 210 × 210 × 210 and a time-step size of 2 s.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于 GPU 的加速求解器,用于模拟金属铸造过程中的热传递
金属铸造工艺是制造业的主要驱动力之一,它涉及同时发生的多种物理现象,如影响铸造产量和质量的流体流动、相变和热传导。铸造工艺建模涉及在计算机上对这些现象进行数值建模。近几十年来,这已成为铸造工程师制造无缺陷铸件的必然工具。为了加快计算时间,图形处理器(GPU)越来越多地应用于传热和流体流动的数值建模。在这项工作中,首先开发了一种基于 CPU 的隐式求解器代码,用于使用有限体积法数值求解包括相变在内的三维非稳态能量方程,该方法可预测完全填充模具中金属铸造过程中凝固过程的热曲线。为解决计算瓶颈问题,即基于双共轭梯度稳定法的线性代数求解器,使用计算统一设备架构工具包开发了基于 GPU 的代码,并在 GPU 上实现。然后,将基于 CPU 和 GPU 的代码与商业铸造模拟代码 FLOW-3D CAST® 进行了验证,后者针对的是一个简单的铸造部件,而基于 GPU 的代码针对的是一个简单几何体重力铸造的内部实验结果。并行性能分析的网格大小从 10 × 10 × 10 到 210 × 210 × 210 不等,并适用于三种时间步长。此外,还研究了基于占用率和吞吐量的 GPU 代码性能。在网格尺寸为 210 × 210 × 210 和时间步长为 2 秒时,GPU 代码比 CPU 代码的最大速度提高了 308 倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
3.30
自引率
5.60%
发文量
96
审稿时长
1.7 months
期刊介绍: Serving the multidisciplinary materials community, the journal aims to publish new research work that advances the understanding and prediction of material behaviour at scales from atomistic to macroscopic through modelling and simulation. Subject coverage: Modelling and/or simulation across materials science that emphasizes fundamental materials issues advancing the understanding and prediction of material behaviour. Interdisciplinary research that tackles challenging and complex materials problems where the governing phenomena may span different scales of materials behaviour, with an emphasis on the development of quantitative approaches to explain and predict experimental observations. Material processing that advances the fundamental materials science and engineering underpinning the connection between processing and properties. Covering all classes of materials, and mechanical, microstructural, electronic, chemical, biological, and optical properties.
期刊最新文献
Plastic deformation mechanism of γ phase Fe–Cr alloy revealed by molecular dynamics simulations A nonlinear phase-field model of corrosion with charging kinetics of electric double layer Effect of helium bubbles on the mobility of edge dislocations in copper Mechanical-electric-magnetic-thermal coupled enriched finite element method for magneto-electro-elastic structures Molecular dynamics simulations of high-energy radiation damage in hcp-titanium considering electronic effects
×
引用
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