Fast Simulation of Laser Heating Processes on Thin Metal Plates with FFT Using CPU/GPU Hardware
필름·전자재료 · (15) 디스플레이 패널재료
기본 정보
- 저자
- DOI
- 10.3390/app10093281
- 저널
- Applied Sciences
- 발행년도
- 2020
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 3
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/app10093281
- 토픽
- Laser Material Processing Techniques
- OpenAlex ID
- W3023256265
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (15) 디스플레이 패널재료
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 36,368자
본문 펼치기
섹션 본문 66문단 · 34,136자
(제목 없음)
1In flexible manufacturing systems, fast feedback from simulation solutions is required for effective tool path planning and parameter optimization. In the particular sub-domain of laser heating/cutting of thin rectangular plates, current state-of-the-art methods include frequency-domain (spectral) analytic solutions that greatly reduce the required computational time in comparison to industry standard finite element based approaches. However, these spectral solutions have not been presented previously in terms of Fourier methods and Fast Fourier Transform (FFT) implementations. This manuscript presents four different schemes that translate the problem of laser heating of rectangular plates into equivalent FFT problems. The presented schemes make use of the FFT algorithm to reduce the computational time complexity of the problem from O(M 2 N 2 ) to O(MN log(MN)) (with M × N being the discretization size of the plate). The test results show that the implemented schemes outperform previous non-FFT approaches both in CPU and GPU hardware, resulting in 100× faster runs. Future work addresses thermal/stress analysis, non-rectangular geometries and non-linear interactions (such as material melting/ablation, convection and radiation heat transfer).Appl. Sci. 2020, 10, 3281 2 of 25 numerical methods (such as Finite Element Methods) at the cost of some model simplifications. In addition, these methods provide some advantages over FEA, such as allowing to zoom into asynchronous time intervals without computing or storing the complete history of the solution.This property makes frequency-based algorithms more adequate for decision making tools that require rapid response times, allowing to be more flexible towards changes in the heating/cutting manufacturing process. Fast simulation of the laser heating/cutting problem is very important for different engineering problems, such as tool path planning, laser parameter optimization, waste and resources optimization, and so forth. Moreover, interactive simulation and visualization of laser machining processes contributes to many different challenges and opportunities currently present in the Industry 4.0 framework [1].The aforementioned methods for laser heating/cutting simulation allow simulation of complex laser trajectories on rectangular plates, including parametric trajectories and the introduction of multiple laser beams simultaneously. However, there are no Fast Fourier Transform (FFT)-based solutions to the laser heating/cutting problem in the current state of the art.The FFT is a widely used algorithm not only in the context of PDEs simulation, but also in other areas such as signal analysis and image processing. Thus, its development has been refined and studied extensively in the literature. Several FFT algorithms exist in the literature that further optimize the computation in function of the input signal properties (e.g., symmetry, real/imaginary, size, etc.). In general, the FFT is a key algorithm that retrieves the original spatial-based solution by performing a factorization of the Discrete Fourier Transform (DFT) and avoids redundant computations, reducing the computational complexity of the original DFT problem [2].This article presents four different schemes that cast the laser heating/cutting problem into DST (Discrete Sine Transform) and DFT (Discrete Fourier Transform) problems. Such casting enables the use of FFT libraries to implement these schemes. The test results show a significant improvement over existing methods in the computational time, both in CPU and GPU, due to the computational complexity reduction.This manuscript is an extension of the work presented in Reference[3], where only two schemes were briefly introduced for the FFT computation of the laser heating problem. The current research discusses in more detail each of the four schemes, including mathematical and algorithmic descriptions but also the intuition behind the schemes followed by illustrations. Furthermore, a different simulation case is designed and tested. Finally, the presented schemes are in the process of being applied in an Industry 4.0 application prototype. The ongoing prototype implements an interactive virtual model of a laser heating/cutting machine using geometry operations and physical simulation.The remainder of this manuscript is organized as follows-Section 2 discusses the relevant literature. Section 3 presents the proposed FFT schemes. Section 4 discusses the test results. Finally, Section 5 presents the conclusions and discusses what remains for future work.
Introduction
2Based on virtual modelling and simulation of physical phenomena, Industry 4.0 solutions aim to integrate interactive virtual worlds with their equivalent physical part (e.g., using digital twins). These solutions enable the development of decision making tools that can be of great use in the optimization of manufacturing processes.
3In this context, engineering solutions use extensively Finite Element Analysis (FEA) for simulation of such physical phenomena (e.g., acoustics, heat transfer, structural analysis, fluid flow, etc.). However, FEA approaches require a great amount of computation resources. In contrast, spectral analysis and spectral methods are competitive alternatives to numerical simulations. These methods provide frequency-domain solutions (infinite sum of trigonometric functions) to the Partial Difference Equations (PDEs) that model such physical phenomena.
4In the particular sub-domain of laser heating/cutting simulation, frequency-based algorithms have been developed for heat transfer analysis on rectangular plates. These algorithms are faster than traditional
Laser Heating/Cutting Simulation
5Finite Element Analysis (FEA) is one of the most used methods for thermodynamic simulation of laser heating/cutting of metal plates. Using non-linear FEA, Yilbas et al. [4] simulate triangular cuts for residual stress analysis. Similarly, Akthar et al. [5,6] perform the same non-linear FEA analysis for rectangular cuts, while in Reference [7] circular cuts are studied using the same approach. In order to account for laser ablation (material melting and evaporation), different methods such as the enthalpy method [4][5][6][7], element birth and death [8], volume fractions [9], and temperature thresholds [10][11][12] have been presented.
6Other numerical methods include Finite Differences [13][14][15], Boundary Elements [16,17] and Finite Volumes [18,19]. However, numerical methods are computationally expensive in general, limiting their application to small plate geometries and simple laser trajectories, requiring full time history simulations.
7Analytic methods provide significantly faster computations at the cost of some model simplifications. Zimmer [20] presents a uni-dimensional analytic model for laser drilling processes when the laser beam is static. Modest and Abakians [21] present a solution for a moving laser on an infinite 2D plate. Jiang and Dai [22] present a frequency-based solution for rectangular plates when the moving laser follows a straight path. Similarly, Mejia et al. [23,24] present a frequency-based solution for arbitrary laser trajectories. Finally, an extension of the previous frequency-based solutions applied to multiple laser beams simultaneously heating the plate surface is presented in Reference [25].
FFT-Based Laser Heating Simulation
8FFT-based methods are relevant in the solution of physical problems by solving the inherent PDE in the frequency domain. As a consequence, these methods have been successfully implemented in the simulation of different physics phenomena. For example, in the context of heat transfer analysis, Ju and Farris [26] present an FFT-based method for the solution of the thermoelastic equation on infinite domains, while Dillenseger and Esneault [27] apply the FFT to the solution of a heat transfer problem that arises in treatments of tissue with cancer. In structural analysis, FFT-based methods have been developed for the solution of different elasticity and plasticity problems [28][29][30][31], and fluid mechanics [32]. Other applications of the FFT include electromagnetism [33], 1D signal processing [34], and 2D image processing [35].
9As discussed previously, many authors [22][23][24][25] solve the problem of laser heating simulation in the frequency domain. However, none of these authors cast the problem into the FFT domain.
Conclusions of the Literature Review
10Current analytic methods for simulation of the laser heating/cutting problem already provide fast solutions to the problem in the frequency domain. However, such methods perform brute-force evaluation of the Fourier transforms, whose computation complexity for a 2D plate is O(M 2 N 2 ). As a consequence, these applications quickly become computationally expensive as more resolution of the plate is required.
11To overcome this problem, this manuscript presents four different schemes that cast the existing brute-force solutions into equivalent DST and DFT problems. Mathematical proof for the validity of each scheme is presented and algorithms that make use of FFT libraries are introduced, reducing the computational complexity of the problem from O(M 2 N 2 ) (squared) to O(MN log(MN)) (logarithmic). These algorithms are implemented both in CPU and GPU architectures. Numerical validation against the brute-force approach results in a measured absolute error that is below 10 −10 K along the 2D plate. The results show significant computation time improvements to such brute-force simulations (i.e., References [22][23][24][25]), reducing the measured computation times from 1 s to 0.01 s (100× faster) for a 1024 × 1024 rectangular plate, and enabling simulations for larger plate discretization sizes (up to 4096 × 4096).
12This manuscript extends the work presented in Reference [3]. In this previous work, two of the four presented schemes are briefly introduced. The research presented in this paper presents two additional FFT schemes, and provides further details of the four schemes (with added illustrations), to make easier the understanding of the algorithms. Furthermore, new simulations have been executed and an application case of the algorithms being implemented into an interactive simulator is presented.
Heat Transfer Equation for Laser Heating on Thin Plates
13The temperature u(x, y, t) on a 2D rectangular plate for a continuous laser beam source satisfies the following partial differential equation with initial and boundary conditions:
14where a × b × ∆z are the plate dimensions, ρ is the plate density, c p is the specific heat and κ is the thermal conductivity. q = q(x, y, t) is the heat loss due to convection at the plate surface, h is the convection coefficient and u ∞ is the ambient temperature. Finally, the heat source f = f (x, y, t) is defined as a square-shape moving laser beam:
15where R is the plate reflectivity, P is the laser power, r is the laser radius and x 0 (t) = [x 0 (t), y 0 (t)] is the location of the laser spot at time t. x 0 is the parametric curve that defines the laser trajectory, discretized as a sequence of piecewise linear trajectories as described in References [23,24]. The function f describes the laser power on the plate according to the distance (infinity norm) Figure 1 presents an scheme of the laser heating problem on thin metal plates.
Analytic Solution
16According to References [23,24], the solution to Equation (1) can be expressed as Fourier series:
17with α m = (m + 1)π/a and β n = (n + 1)π/b. Each Fourier coefficient θ mn (t) is defined as:
18with Laplace eigenvalues ω mn :
19Let C 1 (t), C 2 (t), . . . be a sequence of piecewise linear sub-trajectories that discretize the complete laser trajectory (see Figure 2), that is, x 0 (t) ≈ C 1 (t), C 2 (t), . . .. Each sub-trajectory C i (i > 0) is defined as a parameterized line segment:
20where the original laser trajectory x 0 is sampled at t = t 0 , t 1 , t 2 , . . . , T f . The analytic solution of the Equation (4) for the given piecewise linear discretization is presented in References [23,24].
Discrete Fourier Transform (DFT) and Fast Fourier Transform (FFT)
21The Discrete Fourier Transform (DFT) allows to write any sequence of M real numbers as a finite sum of sine and cosine functions, that is, a Fourier series. The (1D) DFT of the sequence of real values G = {g 0 , g 1 , . . . , g M−1 } ⊂ R is defined as:
22where φ m ∈ C is the m th Fourier coefficient and i = √ −1 is the imaginary unit. The computational complexity for direct evaluation of Equation (7) is O(M 2 ), in which each g k requires M evaluations (one for each Fourier term φ m ).
23The Fast Fourier Transform (FFT) [2,34] is an algorithm that performs a factorization of the DFT, reordering the Fourier terms and grouping them (into pairs) in order to avoid redundant computations between different g k terms. Such a grouping is possible due to symmetries of the sine and cosine functions, and the resulting evaluation is performed in recursive form [2,34]. As a consequence, the FFT algorithm reduces the computational complexity of the problem to O(M log M) [2,34].
24The above DFT and FFT complexity orders are true for 1D arrays. Therefore, for a 2D discrete plate of size M × N, the computational complexities become O(M 2 N 2 ) and O(MN log(MN)) for the DFT and the FFT, respectively.
25The remainder of this section describes how to cast Equation (3) as a DFT problem and therefore, solve it using any FFT algorithm. Such casting effectively improves the computational complexity of the problem with respect to the current state of the art [22][23][24][25].
Scheme 1-Discrete Sine Transform (DST)
26The Discrete Sine Transform (DST) [36] is a particular case of the DFT transform in which only the sine terms of the Fourier series are considered. The (1D) DFT of the sequence G = {g 0 , g 1 , . . . , g M−1 } ⊂ R is defined as:
27Intuitively, this is the easiest of the schemes for casting the problem as Equation (3) only considers the sine terms of a Fourier series. The algorithm of such casting is discussed below. The reader may refer to Appendix A for the mathematical proof of the scheme.
28Algorithm 1 presents the method used to retrieve the temperature at any given time t with the DST method (see Equation (A1)). Line 2 applies the fast 2D DST of any FFT library, which presents a computational complexity equivalent to a FFT (i.e., O(N log N) [37]). Line 3 applies the initial and boundary conditions presented in Equation (1) to the computed solution. The complexity of the presented algorithm is O(MN log(MN)).
Scheme 2-FFT Padded with Zeros
29In this scheme, the original list of Fourier coefficients is duplicated in size in each direction (2M × 2N). The added coefficients are set to zero and the FFT algorithm is applied in each direction. The final temperature result is obtained from the imaginary (sine) component of the FFT result. The mathematical proof of the scheme is presented in Appendix B.
30Algorithm 2 presents the method used to retrieve the temperature at any given time t using the zero padding method (see Equation (A3)). Line 1 initializes the extended matrix of Fourier coefficients with M, N trailing zeros (as per Figure 3). Lines 4 and 8 compute the 1D FFT of the padded arrays for the y and x dimensions, respectively. Lines 5 and 9 extract the complex (imaginary component) of the results. Finally, Line 12 removes the trailing zeros from the solution while Line 13 applies initial and boundary conditions. The complexity of the presented algorithm is O(MN log(MN)).
Scheme 3-Odd-Symmetry 1D FFT
31In this scheme, the original list of Fourier coefficients is also duplicated in size in each direction (2M × 2N). The idea is to take advantage from the odd symmetry of the sine function at kπ (with k ∈ N, see Figure 4). Therefore, the added coefficients are set by mirroring the original M and N coefficients (multiplied by −1) in each direction (rows and columns). The final temperature is obtained from the imaginary (sine) component of the 1D FFT result in each direction. The mathematical proof of this scheme is presented in Appendix C. Algorithm 3 presents the method used to retrieve the temperature of Equation (A9) at any given time t using two nested 1D FFTs. Line 1 initializes the extended matrix of Fourier coefficients with M, N trailing zeros. Lines 3-5 and Lines 6-8 add the reversed sequences of Fourier coefficients (with negative sign) in each dimension, respectively (see Figure 5). Lines 10 and 14 compute the 1D FFT of the padded arrays for the y and x dimensions, respectively. Lines 11 and 15 extract the complex (imaginary component) of the result. Finally, Line 12 removes the mirrored part from solution while Line 13 applies initial and boundary conditions. The complexity of the presented algorithm is O(MN log(MN)).
Algorithm 3 Retrieve temperature using 1D FFTs by applying odd symmetry to the original coefficients
328: end for 9: for n = 1, n < N − 1, n ← n + 1 do 10: arr ← fft(Θ ODD_SYM [:, n]) 11: Θ ODD_SYM [:, n] ← imag(arr) 12: end for 13:
Scheme 4-Odd-Symmetry 2D FFT
33Finally, in this scheme the original list of coefficients is duplicated and mirrored in each direction exactly as in Section 3.6. However, this scheme also takes advantage of the even symmetry of the cosine function at 2kπ (k ∈ N, see Figure 6). Similar to the 1D odd-symmetry approach, the duplicated coefficients are mirrored in each direction (rows and columns), and multiplied by −1. The final temperature is retrieved from the the real component of the 2D FFT, which considers the sine components and the cosine components (that become 0 due to the cosine symmetry). The mathematical proof of the scheme is presented in Appendix D. Algorithm 4 presents the method used to retrieve the temperature of Equation (A16) at any given time t using a 2D FFT. Line 1 initializes the extended matrix of Fourier coefficients with M, N trailing zeros. Similar to the 1D odd symmetry method, Lines 3-8 add the reversed sequences of Fourier coefficients (with negative sign) in each direction (see Figure 5). Line 9 computes the 2D FFT of the extended Fourier matrix. Line 11 extracts the real part of the FFT solution and removes the mirrored part. Finally, Line 12 applies the initial and boundary conditions. The complexity of the presented algorithm is O (MN log(MN)).
Algorithm 4
34Retrieve temperature using 2D FFTs by applying odd sine symmetry and even cosine symmetry to the original coefficients
Complexity Analysis
35This section presents a complexity analysis of the presented algorithms. Table 1, presents the computational complexity of Algorithm 2, line by line. The number of operations in a 1D FFT is of N + N log N [2,34]. As M and N grow large, the dominant term for the total number of computer operations is 2MN(log(2M) + log(2N)). As a consequence, the resulting complexity is O(MN(log M + log N)) or equivalently, O(MN log(MN)).
Line Description Number of Operations Dominant Term Complexity Order
36Algorithms 1, 3 and 4, present the same structure as Algorithm 2 does. Therefore, similar complexity analysis apply for Algorithms 1, 2, 3 and 4, resulting in the same complexity order O (MN log(MN)).
Results
37This section presents the simulation and performance results of the implemented DST and FFT schemes using different state-of-the-art FFT libraries, for the solution of the laser heating problem on thin metal plates. All the simulations are executed with the parameters presented in Table 2 and the laser trajectory presented in Figure 2a. Section 4.1 presents the numerical validation of the presented schemes with respect to the brute-force algorithms [22][23][24][25]. Finally, Section 4.2 discusses the computational performance of the implemented schemes using available FFT libraries. Section 3 validates the mathematical correctness of the presented schemes. However, a numerical validation is presented in this section with numerical and graphical results for a 0.01 × 0.01 × 0.001 rectangular plate. Laser and material parameters are presented in Table 2 while the laser trajectory used for the tests is the same presented in Figure 2a. As a groundtruth, we choose the method presented in References [23][24][25]. This method already solves the problem presented in Equation (1) using a brute-force approach, which requires O(M 2 N 2 ) operations (as already discussed in Section 3.3. Figure 7 plots the temperature distribution results obtained with this brute-force method. Figure 2a obtained by the brute-force method [24]. No FFT or Discrete Sine Transform (DST) is used. Figure 8a plots the temperature distribution at the end of the laser trajectory, computed with the DST algorithm for a 1024 × 1024 plate discretization. Figure 8b plots the same result computed with the zero padding FFT algorithm. The absolute error for the DST and the zero paddding FFT result (w.r.t. the brute-force approach) is presented in Figures 8c,d, respectively. The measured absolute error is below 10 −10 (K) in both cases. It is worth pointing out that this error is evenly distributed through the 2D plate, which means that such error is not sensitive to the laser path or any other geometric features (such as the domain boundaries).
38Similarly, Figure 9a,b plot the temperature distributions at the end of the laser trajectory for the 1D symmetric FFT and the 2D symmetric FFT algorithms, respectively. Figure 9c,d plot the absolute error for the 1D symmetric and 2D symmetric FFTs, respectively. Again, the error is below 10 −10 , evenly distributed through the 2D plate.
Computational Performance
39This section evaluates the performance of the proposed methods under CPU and GPU hardware architectures by making use of highly optimized FFT libraries. The Python programming language includes in its scientific package ecosystem high level wrappers to C/C++ libraries. For this reason, Python has been selected for the rapid prototyping of the proposed schemes in this work.
40The FFT algorithm is used in a wide range of performance demanding applications. Therefore, the optimization degree of its implementation is highly relevant. On the one hand, to target the CPU, the FTTPACK, MKL and FFTW libraries have been selected. On the other hand, to target the GPU, the cuFFT library from the NVIDIA CUDA Toolkit has been used. All these libraries make use of multi-core parallelization, vectorization instructions, efficient memory usage, and apply specific FFT algorithms to exploit the underlying hardware to the highest degree. It is worth noticing that the FFTPACK library is the only one (between the aforementioned ones) that provides an implementation of the DST. Table 3 summarizes the selected libraries along the Python wrapper packages and the targeted hardware device during the performance tests. Two test platforms have been used for the performance measurements: i) a desktop PC using Windows 10 with an Intel Core i5-6500 (CPU), 16 GB RAM and NVIDIA GeForce GTX 960 (GPU) and ii) a desktop PC using Manjaro (GNU/Linux) with an Intel Core i7-4700K (CPU), 16GB RAM and NVIDIA GeForce RTX 2060 (GPU). To measure the execution times of each proposed method, each test has been computed 5 times and the minimum time has been registered.
41This section is divided into four subsections. Section 4.2.1 presents the computation times using the CPU, while Section 4.2.2 presents the computational times using GPU hardware. Then, Section 4.2.3 compares the performance difference between both devices. Finally, Section 4.2.4 presents the achieved speed-up against the state of the art brute-force solution [22][23][24][25]. Figure 10 shows the computation time of the proposed schemes using the FFTPACK, MKL and FFTW libraries, respectively. These are all implemented to be executed in general CPU hardware. Figure 10a,b show all the proposed schemes implemented with the FFTPACK library. The FFTPACK is the only library (between the used ones in this manuscripts) that has an implementation of the DST algorithm. This DST implementation is efficient for plate discretization sizes of 512 × 512 and 1024 × 1024. However, its performance is not as consistent as the FFT based methods. Overall, the performance of the FFT-based methods with different input size are more stable, being the 1D odd symmetric FFT scheme the best approach using the FFTPACK library. Figure 10c,d show the execution times of the temperature evaluation making use of the MKL library. In this case, from the FFT-based methods, both the 1D and 2D odd symmetric schemes are the most efficient. Figure 10e,f show the computation times using the FFTW library. Although, quite close to the results obtained with the MKL library, the FFTW results are the best when using the CPU device. In this case, also both the 1D and 2D odd symmetric schemes are the most efficient.
CPU Performance Measurements
42The optimization degree achieved for the FFT algorithms with the MKL and FFTW libraries is higher. These libraries make better use of the underlying hardware, obtaining faster results than the FFTPACK library for the FFT-based methods. Results obtained with the FFTW library are slightly better (faster) than the MKL ones. However, this can be due to the usage of wrappers, as the pyfftw (FFTW) wrapper offers more control over the implementation. Nonetheless, the obtained results greatly surpass the state of art, both FFTW and MKL have shown execution times under 1s for plate sizes up to 4096 × 4096. While the zero padding and the 1D odd symmetric implementations produce similar results (in terms of computation time), the 2D odd symmetric scheme is by far the most performant. As the Fourier coefficients can be computed in the GPU before performing the temperature computation, the input for the FFT is already in GPU memory. It is worth to point out that the transfer of these coefficients from host memory (CPU) to device memory (GPU) is not measured. Figure 12a shows an overview of the computation times for the proposed DST (FFTPACK only) and FFT (FFTPACK, MKL, FFTW and cuFFT) methods. The FFTPACK (red) is the slowest and cuFFT (yellow) is the fastest. Execution times for both the MKL (blue) and FFTW (green) libraries are similar, obtaining slightly faster results with FFTW. Overall, the GPU hardware acceleration (with cuFFT) provides a considerable speed-up, making it a good alternative to consider for simulations on plates with large discretization sizes. Figure 12b compares the execution times of the two test platforms considering both CPU and GPU devices for the most performant FFT method: the 2D odd symmetric algorithm. This comparison shows that the GPU hardware effectively accelerates the computation time, between the fastest CPU (i7-4700K) and the slowest GPU (GTX 960), obtaining up to a 2× speed-up for plate sizes larger than 1024 × 1024. The performance difference increases as the input plate increases in size. Using more recent GPU hardware (RTX 2060) results show a bigger difference in the achievable compute time speed-up. Figure 13 compares the proposed FFT method with the state of the art (SoA) GPU brute-force solution [25]. The presented FFT method is much faster for plate sizes larger than 128 × 128, showing a big difference in computing times with a plate size of 1024 × 1024, where the FFT approach obtains a 124× speed-up (2.255 s against 0.018 s). Figure 13 demonstrates the potential of the presented FFT method to perform the temperature evaluation for high resolution plate sizes (1024 × 1024 and beyond). Furthermore, the current brute-force solution [25] has a limit size of 1024 × 1024 due to GPU shared memory usage, while the proposed FFT approach can compute the temperature for plates of sizes up to 4096 × 4096 under the same GPU hardware, without resorting to out-of-core GPU memory management. For small plate sizes (smaller than 128 × 128), the brute-force approach is faster due to the FFT method requiring extra processing of input coefficients and dispatching of kernels (scheduling time), adding a small computation overhead.
Method
43Analytic SoA FFT_2D_oddsym Figure 13. Appraisal of the computation times using an NVIDIA GeForce GTX960 (GPU) for the presented 2D odd symmetric FFT method vs the brute-force method presented in Reference [25]
Interactive Simulator Prototype
44This section presents the integration of the presented FFT-based schemes into a 3D interactive simulator for CNC (Computer Numeric Control) laser machining. The prototype integrates a physical module for the temperature computation and a geometry module that computes the plate cutting through time [23]. The physical module implements the GPU-based FFT algorithms presented in this manuscript for the temperature computation at interactive rates while the geometry module performs boolean operations as discussed in References [38,39].
45The current prototype provides interactive simulation of the laser heating/cutting process, visualized as a continuous animation. Interactively, the user can inspect the plate and its temperature at any specific timestep. Furthermore, the fast computation speed enables the possibility to run different simulations with different parameters in an interactive manner. Figure 14 shows the virtual simulator for the test case discussed in this manuscript. The development of interactive virtual worlds connected with physical objects (e.g., digital twins), has become a key technology for fast assessment of manufacturing processes [1]. In this context, an interactive CNC machine (as the integrated prototype) provides several tools to the engineer for the design of efficient CNC programs (plate, laser parameters and trajectory), reducing the requirement of real-world tests and consequently, reducing costs in terms of energy consumption, material waste, machining times, and so forth.
46The performance of the simulation is very important in the decision making process and particularly, in the optimization of a given CNC program. Given a fixed time to design the CNC program, it is important to test and tune the different program parameters (such as laser parameters and trajectory). The current approach shows a significant decrease in the simulation computing time. This saving allows user-assisted and/or automated optimization programs to evaluate the different scenarios at a reasonable computational cost. The impact of such optimization on the quality of the workpiece will depend on the actual decisions and strategies applied by the engineers, supported by the simulation results.
47Although not being part of the present investigation, it is worth noticing that the temperature maps on the plate help to predict and control deformations caused by thermal residual stresses.
Conclusions and Future Work
48This manuscript presents four different schemes for the solution of the laser heating problem on thin metal plates using the DST and the FFT. The presented methods reduce the computational complexity of the problem from O(M 2 N 2 ) to O(MN log(MN)) (with M × N being the discretization size of the metal plate). It is worth noting that forced convection and radiative heat transfer are not present in the solution considered in this manuscript. The inclusion of those effects in the simulation implies a significant change in the structure of the mathematical model, which is out of the scope of this research. Overcoming of such a limitation is left as future work.
49These schemes are implemented in both CPU and GPU architectures using available optimized FFT libraries. Mathematical and numerical proofs of the correctness of the schemes are presented and the numerical error is measured below 10 −10 K (and independent of the laser trajectory).
50The performance evaluation shows that the minimum achievable computation time varies in function of the used library, specially for big input sizes. Furthermore, the obtained results improve the state of the art [25] in both CPU and GPU platforms for all the proposed schemes. Specifically, using GPU hardware, the computation times for the temperature evaluation are reduced from 1 s to 0.01 s (100× faster), measured in an NVIDIA GeForce GTX 960 (GPU).
51With more modern GPU hardware (GeForce RTX2060) even faster results can be acquired which shows the potential of the proposed algorithms towards real-time laser heating/cutting simulations and flexible manufacturing scenarios that require fast tool-planning capability and laser parameter optimization to easily adapt to customer order changes.
52Future work includes (1) the inclusion of thermal/stress models for structural analysis of the plate after the generated high temperature gradients, (2) analysis of non-rectangular plate geometries, and (3) consideration of non-linear interactions such as temperature-dependent thermal properties, forced convection, radiation heat transfer and phase changes.
Abbreviations
53The following abbreviations are used in this manuscript: Total simulation time (s).
54Plate density (kg/m 3 ). c p Plate specific heat (J/(kg K)).
55κ Plate thermal conductivity (W/(m K)). R Plate reflectivity (0 ≤ R < 1). q = q(u)
56Temperature-dependent heat convection field q : R → R (W/m 2 ). h
57Natural convection coefficient at the plate surface (W/(m 2 K)) u ∞ Ambient temperature (K).
58Laser spot location at a given time x 0 (t) = (x 0 (t), y 0 (t)). with u kl (t) = u(x k , y l , t) the temperature at the discrete points of the plate and γ m = mπ/M, δ n = nπ/N the discrete versions of α m and β n , respectively. This equation is equivalent to a 2D DST of the temperatures on the discrete plate (as per Equation (8)).
Appendix B. Scheme 2-FFT Padded with Zeros
59Consider {x 0 , x 1 , . . . , x M } be a uniform discretization of the interval [0, a]. For M Fourier coefficients the following equation holds:
60where I[·] corresponds to the complex component of the series and γ m = mπ/M. This corresponds to a 1D DFT ( Equation (7)) with M trailing zeros.
61After applying the same procedure to the sequence {y 0 , y 1 , . . . , y N }, Equation (3) becomes:
62The previous equation is equivalent to 2 nested 1D DFTs ( Equation (7)) after adding 1 zero at the beginning of the Fourier sequence and M, N zeros (x and y components, respectively) at the end of the sequence.
63Putting together Equations (A7) and (A8), Equation (3) The previous equation is equivalent to 2 nested 1D DFTs ( Equation (7)) after padding the M − 2, N − 2 coefficients in reverse order (and negative) at the end of the original Fourier coefficients in each direction (x and y), respectively. The final result is retrieved by taking the complex part (i.e., the sine component) of each 1D DFT.
Appendix D. Scheme 4-Odd-Symmetry 2D FFT
64In this scheme, consider the real part D kl (instead of the complex one) of Equation (A9) as follows: in which the first and second terms cancel out, as well as terms three and four, respectively. Therefore:
65Finally, we add D kl to Equation (A9):
66u kl (t) = u kl (t) + D kl
참고문헌 38건
- A Simple Fluid Solver Based on the FFT Journal of Graphics Tools · Taylor & Francis · 2001 10.1080/10867651.2001.10487540
- A thermal stress and failure model for laser cutting and forming operations Journal of Failure Analysis and Prevention · Springer Science+Business Media · 2004 10.1361/15477020420756
- Fast DCT/DST Algorithms Elsevier eBooks · Elsevier BV · 2007 10.1016/b978-012373624-6/50006-0
- Visual Computing as a Key Enabling Technology for Industrie 4.0 and Industrial Internet IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 2015 10.1109/mcg.2015.45
- Integrated Process of Laser-Assisted Machining and Laser Surface Heat Treatment Journal of Manufacturing Science and Engineering · ASM International · 2013 10.1115/1.4025832
- A three-dimensional finite element analysis of the temperature field during laser melting of metal powders in additive layer manufacturing International Journal of Machine Tools and Manufacture · Elsevier BV · 2009 10.1016/j.ijmachtools.2009.07.004
- Analytical solution of the laser-induced temperature distribution across internal material interfaces International Journal of Heat and Mass Transfer · Elsevier BV · 2008 10.1016/j.ijheatmasstransfer.2008.03.034
- Three-dimensional, transient model for laser machining of ablating/decomposing materials International Journal of Heat and Mass Transfer · Elsevier BV · 1996 10.1016/0017-9310(95)00134-u
- Laser cutting of rectangular geometry into aluminum alloy: Effect of cut sizes on thermal stress field Optics and Lasers in Engineering · Elsevier BV · 2014 10.1016/j.optlaseng.2014.04.016
- Laser cutting of thick-section circular blanks: thermal stress prediction and microstructural analysis The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2014 10.1007/s00170-013-5594-5
- Fast FFT-based bioheat transfer equation computation Computers in Biology and Medicine · Elsevier BV · 2009 10.1016/j.compbiomed.2009.11.008
- An algorithm for the machine calculation of complex Fourier series Mathematics of Computation · American Mathematical Society · 1965 10.1090/s0025-5718-1965-0178586-1
- Finite element analysis of laser inert gas cutting on Inconel 718 The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2011 10.1007/s00170-011-3655-1
- Evaporative Cutting of a Semi-infinite Body With a Moving CW Laser Journal of Heat Transfer · ASM International · 1986 10.1115/1.3246978
- Pattern recognition filtering and bidimensional FFT-based detection of storms in meteorological radar images Digital Signal Processing · Elsevier BV · 2012 10.1016/j.dsp.2012.04.008
- Laser cutting of triangular blanks from thick aluminum foam plate: Thermal stress analysis and morphology Applied Thermal Engineering · Elsevier BV · 2013 10.1016/j.applthermaleng.2013.09.026
- Laser cutting of rectangular geometry into alumina tiles Optics and Lasers in Engineering · Elsevier BV · 2013 10.1016/j.optlaseng.2013.10.006
- Effect of laser processing on three dimensional thermodynamic analysis for HSLA rectangular steel plates International Journal of Heat and Mass Transfer · Elsevier BV · 2014 10.1016/j.ijheatmasstransfer.2014.11.003
- Molten pool behaviour and its physical mechanism during selective laser melting of TiC/AlSi10Mg nanocomposites: simulation and experiments Journal of Physics D Applied Physics · Institute of Physics · 2015 10.1088/0022-3727/48/3/035303
- Transient evaporative laser-cutting with boundary element method Applied Mathematical Modelling · Elsevier BV · 2000 10.1016/s0307-904x(00)00034-2
- A numerical simulation of temperature field in plasma-arc forming of sheet metal Journal of Materials Processing Technology · Elsevier BV · 2005 10.1016/j.jmatprotec.2005.01.007
- Transient evaporative laser cutting with moving laser by boundary element method Applied Mathematical Modelling · Elsevier BV · 2004 10.1016/j.apm.2004.03.001
- High Scalability FMM-FFT Electromagnetic Solver for Supercomputer Systems IEEE Antennas and Propagation Magazine · Institute of Electrical and Electronics Engineers · 2009 10.1109/map.2009.5433091
- FFT Thermoelastic Solutions for Moving Heat Sources Journal of Tribology · ASM International · 1997 10.1115/1.2832452
- A numerical spectral approach for solving elasto-static field dislocation and g-disclination mechanics International Journal of Solids and Structures · Elsevier BV · 2014 10.1016/j.ijsolstr.2014.08.009
- Numerical Simulation of Transient Three-Dimensional Temperature and Kerf Formation in Laser Fusion Cutting Journal of Heat Transfer · ASM International · 2015 10.1115/1.4030658
- Real-time part detection in a virtually machined sheet metal defined as a set of disjoint regions International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2016 10.1080/0951192x.2015.1130263
- Discrete Cosine and Sine Transforms Elsevier eBooks · Elsevier BV · 2007 10.1016/b978-012373624-6/50003-5
- Field Dislocation Mechanics for heterogeneous elastic materials: A numerical spectral approach Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.11.036
- Accelerated Thermal Simulation for Three-Dimensional Interactive Optimization of Computer Numeric Control Sheet Metal Laser Cutting Journal of Manufacturing Science and Engineering · ASM International · 2017 10.1115/1.4038207
- Fast Analytic Simulation for Multi-Laser Heating of Sheet Metal in GPU Materials · Multidisciplinary Digital Publishing Institute · 2018 10.3390/ma11112078
- A crystal plasticity FFT based study of deformation twinning, anisotropy and micromechanics in HCP materials: Application to AZ31 alloy International Journal of Plasticity · Elsevier BV · 2018 10.1016/j.ijplas.2018.10.007
- FFT-based homogenization of hypoelastic plasticity at finite strains Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.02.037
- Frequency-domain analytic method for efficient thermal simulation under curved trajectories laser heating Mathematics and Computers in Simulation · Elsevier BV · 2019 10.1016/j.matcom.2019.05.006
- Fast Spectral Formulations of Thin Plate Laser Heating with GPU Implementation 2020 10.1109/macise49704.2020.00029
- A Study on Torch Path Planning in Laser Cutting Processes Part 1: Calculation of Heat Flow in Contour Laser Beam Cutting Journal of Manufacturing Processes · Elsevier BV · 1999 10.1016/s1526-6125(99)70005-8
- Finite element simulation and experimental validation of pulsed laser cutting of nitinol Journal of Manufacturing Processes · Elsevier BV · 2015 10.1016/j.jmapro.2015.06.005
- Future Vision and Trends on Shapes, Geometry and Algebra Springer proceedings in mathematics & statistics · Springer International Publishing · 2014 10.1007/978-1-4471-6461-6