An Implementation of LASER Beam Welding Simulation on Graphics Processing Unit Using CUDA
Open Access
- 17 April 2024
- journal article
- research article
- Published by MDPI AG in Computation
- Vol. 12 (4) , 83
Abstract
The maximum number of parallel threads in traditional CFD solutions is limited by the Central Processing Unit (CPU) capacity, which is lower than the capabilities of a modern Graphics Processing Unit (GPU). In this context, the GPU allows for simultaneous processing of several parallel threads with double-precision floating-point formatting. The present study was focused on evaluating the advantages and drawbacks of implementing LASER Beam Welding (LBW) simulations using the CUDA platform. The performance of the developed code was compared to that of three top-rated commercial codes executed on the CPU. The unsteady three-dimensional heat conduction Partial Differential Equation (PDE) was discretized in space and time using the Finite Volume Method (FVM). The Volumetric Thermal Capacitor (VTC) approach was employed to model the melting-solidification. The GPU solutions were computed using a CUDA-C language in-house code, running on a Gigabyte Nvidia GeForce RTX™ 3090 video card and an MSI 4090 video card (both made in Hsinchu, Taiwan), each with 24 GB of memory. The commercial solutions were executed on an Intel® Core™ i9-12900KF CPU (made in Hillsboro, Oregon, United States of America) with a 3.6 GHz base clock and 16 cores. The results demonstrated that GPU and CPU processing achieve similar precision, but the GPU solution exhibited significantly faster speeds and greater power efficiency, resulting in speed-ups ranging from 75.6 to 1351.2 times compared to the CPU solutions. The in-house code also demonstrated optimized memory usage, with an average of 3.86 times less RAM utilization. Therefore, adopting parallelized algorithms run on GPU can lead to reduced CFD computational costs compared to traditional codes while maintaining high accuracy.Keywords
Funding Information
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (88887.512576/2020–00, 402673/2021–2)
- Conselho Nacional de Desenvolvimento Científico e Tecnológico (88887.512576/2020–00, 402673/2021–2)
- Petróleo Brasileiro S.A. (88887.512576/2020–00, 402673/2021–2)
This publication has 26 references indexed in Scilit:
- GPU computing of yield stress fluid flows in narrow gapsTheoretical and Computational Fluid Dynamics, 2023
- Influence of Heat Input on Microstructure and Mechanical Properties of Laser Welding GH4169 Bolt Assembly—Numerical and Experimental AnalysisAdvanced Engineering Materials, 2023
- A literature review in heat source thermal modeling applied to welding and similar processesThe International Journal of Advanced Manufacturing Technology, 2023
- Development and performance of a HemeLB GPU code for human-scale blood flow simulationComputer Physics Communications, 2022
- A comparison between nonlinear and constant thermal properties approaches to estimate the temperature in LASER welding simulationCase Studies in Thermal Engineering, 2022
- FSEI-GPU: GPU accelerated simulations of the fluid–structure–electrophysiology interaction in the left heartComputer Physics Communications, 2022
- Comparing unified, pinned, and host/device memory allocations for memory‐intensive workloads on Tegra SoCConcurrency and Computation: Practice and Experience, 2020
- SADI approach programming on GPU: convective heat transfer of nanofluids flow inside a wavy channelJournal of Thermal Analysis and Calorimetry, 2020
- A GPU-accelerated package for simulation of flow in nanoporous source rocks with many-body dissipative particle dynamicsComputer Physics Communications, 2020
- Optimizations of a GPU accelerated heat conduction equation by a programming of CUDA Fortran from an analysis of a PTX fileComputer Physics Communications, 2012