Implementation of Numerical Methods for Partial Differential Equation Using Parallel Computing
2017
…
8 pages
Sign up for access to the world's latest research
Abstract
The performance and use of parallel computing in the field of differential calculus is increased tremendously opening up new avenues for applying these in the field of numerical computation for high speed performance. The computation time required to find analytical as well as numerical solution is tested and compared. In this work we have harnessed this property of GPU to accelerate the grid point calculations for numerical calculations and the performance of numerical method using CPU and GPU is compared. The numerical Methods for integer order PDE are studied, analyzed and implemented on GPU using parallel computing toolbox of MATLAB. The finite difference methods of PDE like explicit, implicit method are tested for the results, for parabolic, hyperbolic and elliptical type of PDE’s. The positive speed up is achieved for elliptical type of PDE. The verification of results with the analytical solution is made by the mean square error.
Related papers
Journal of Computational Physics, 2012
This paper presents parallelization strategies for the radial basis function-finite difference (RBF-FD) method. As a generalized finite differencing scheme, the RBF-FD method functions without the need for underlying meshes to structure nodes. It offers high-order accuracy approximation and scales as OðNÞ per time step, with N being with the total number of nodes. To our knowledge, this is the first implementation of the RBF-FD method to leverage GPU accelerators for the solution of PDEs. Additionally, this implementation is the first to span both multiple CPUs and multiple GPUs. OpenCL kernels target the GPUs and inter-processor communication and synchronization is managed by the Message Passing Interface (MPI). We verify our implementation of the RBF-FD method with two hyperbolic PDEs on the sphere, and demonstrate up to 9x speedup on a commodity GPU with unoptimized kernel implementations. On a high performance cluster, the method achieves up to 7x speedup for the maximum problem size of 27,556 nodes.
Third International Conference "High Performance Computing" HPC-UA 2013 (Ukraine, Kyiv, October 7-11, 2013), 2013
Parallel algorithms for modern high performance computing systems are required for fast modelling of high dimensional convection-diffusion processes in air. Such algorithms, designed for alternate-triangular finite difference splitting schemes applied to convection-diffusion equation, have been considered. An algorithm for single GPU systems and an algorithm for clusters with graphical processors has been described, algorithms' performance theoretical estimations has been given and results of their testing on SKIT-4 cluster of Institute of Cybernetics has been presented. Obtained testing results about developed algorithms' performance with sucient accuracy agree with theoretical estimations.
Applied Mathematics and Computation, 2008
The numerical solution of two-dimensional, linear and non-linear elliptic partial differential equations (PDEs) using two parallel algorithms namely Lawrie Sameh and domain decomposition has been computed on three parallel architectures. The PDEs considered here, describe the diffusion of a pollutant released from a constant source, variable source and a point source. In addition, an example with diffusion and chemical removal modelled by a non-linear PDE and three-dimensional diffusion equation is given. The parallel algorithms have been implemented on three-different systems (i) SUNFIRE (ii) IBM and (iii) PARAM. The scalability analysis has been done to analyze the performance of both the algorithms on all three parallel systems.
Journal of Mathematical Sciences, 2021
In this paper, we present results of the development of certain parallel numerical methods for solving three-dimensional evolutionary and stationary problems of diffusion and heat transfer. We present a detailed description of a special, explicit iteration scheme for parabolic equations and discuss a multigrid technology used for solving elliptic equations and implicit schemes for parabolic equations.
Lecture Notes in Computer Science, 1997
Numerical Objects, Di pack and Siscat and other names of Numerical Objects products referenced herein are trademarks or registered trademarks of Numerical Objects AS,
2013
We investigate applicability of GPU to DEM. NVIDIA's code obtained superior performance than CPU in computational time. A model of contact forces in NVIDIA's code is too simple for practical use. We modify this model by replacing it with the practical model. The simulation shows that the practical model obtains the computing speed 6 times faster than the practical one on CPU while 7 times slower than the simple one on GPU. The result are analyzed.
Since distributed parallel computing system offers users with more spread computing and storage resources, it provides us a prospect to propose new efficient and dynamic solvers for the numerical solutions of partial differential equations (PDEs) in order to visualize breasts' cancerous cell. Partial differential equations (PDEs) can be classified as parabolic equation, elliptic equation and hyperbolic equation. Partial differential equations are used commonly as mathematical models for solving all of the science and engineering fields. This research will focus on the study of elliptic equations, particularly Helmholtz's wave equation and hyperbolic equations. The numerical finite-difference method is chosen as a platform for discretizating the elliptic equations and to solve the hyperbolic equations. The elliptic equation can be used as mathematical models for biological aspects of electromagnetic wave. Breast cancer is the commonest female malignancy in Malaysia as well as all over the world. The incidence of breast cancer in Malaysia is estimated to be around 27 per 100,000 populations, with close to 3,000 new cases annually. Parallel Virtual Machine (PVM) is emphasized as communication open source software on distributed parallel computing system, which results in a performance gain. The parallel performance measurements of the parallel computing is analysed in this study.
Numerous numerical methods for the solution of partial differential equations are local, meaning that the problem solution in each spatial discretization point is obtained from a few nearest neighboring points only. The local numerical schemes are convenient for parallelization due to reduced communication with the rest of the domain. We analyze the performance of a parallel implementation of a local meshless numerical method for the solution of the thermal diffusion. Physical phenomenon is modeled by a partial differential equation. The sequential program for the solution procedure is parallelized with OpenMP and run on multi-core multiprocessors with hierarchical cache memory architectures. It is confirmed that the parallel execution time depends significantly, not only on the number of cores, but also on the problem size and memory architecture. We explain the observed behavior through the analysis of hit rates measurements on L3 cache level. Some general rules are devised Efficient numerical solution of 2D diffusion equation on multi-core computers, Edition.
Computers & Fluids, 2012
In this study, a high-order compact finite difference scheme for the solution of fluid flow problems is implemented to run on a Graphical Processing Unit (GPU) using Compute Unified Device Architecture (CUDA). Besides the compact scheme, a high-order low pass filter is also employed. For time integration, the classical fourth-order Runge-Kutta method is used. Advection of a vortical disturbance and a temporal mixing layer, two basic flows, are chosen for the application of this numerical method on a Tesla C1060, one of NVIDIA's scientific computing GPUs. Obtained results are compared with those obtained on a single core CPU (AMD Phenom 2.5 GHz) in terms of calculation time. The CPU code exploits LAPACK/BLAS library to solve cyclic tridiagonal systems generated by the compact solution and filtering schemes, whereas the GPU code uses the inverse of the coefficient matrix to solve the same linear systems by utilizing the CUBLAS library. Moreover, the shared memory feature of the GPU is also employed to ease coalescing issues on some parts of the GPU code. Speedups between 9x-16.5x are achieved for different mesh sizes in comparison to CPU computations.
Key takeaways
AI
AI
- GPU acceleration significantly improves computation time for solving numerical methods for PDEs.
- GPGPU enables parallel processing, enhancing speed for computationally intensive tasks in MATLAB.
- Elliptical PDEs show a positive speedup, achieving nearly 3 times efficiency with vectorized code.
- The mean square error (MSE) approaches zero as space and time samples increase.
- Parallel Computing Toolbox streamlines the transition from serial to parallel MATLAB applications.
References (15)
- Farlow, Stanley J. Partial differential equations for scientists and engineers. Courier Corporation, 1993.
- Smith, Gordon D. Numerical solution of partial differential equations: finite difference methods. Oxford university press, 1985.
- Lindfield, George, and John Penny. Numerical methods: using MATLAB. Academic Press, 2012.
- Ames, William F. Numerical methods for partial differential equations. Academic press, 2014.
- Peaceman, Donald W., and Henry H. Rachford, Jr. "The numerical solution of parabolic and elliptic differential equations." Journal of the Society for Industrial and Applied Mathematics 3.1 (1955): 28-41.
- Arnold, Douglas N. "Stability, consistency, and convergence of numerical discretizations." Encyclopedia of Applied and Computational Mathematics. Springer Berlin Heidelberg, 2015. 1358- 1364.
- John, Volker. "Numerical methods for partial differential equations." Lecture notes (2013).
- Trangenstein, John. "Numerical solution of hyperbolic conservation laws."Cambridge University Press, (2009).
- Urroz, G. E. "Numerical Solution of Laplace Equation." Utah State University paper (2004).
- Peter Knabner, Lutz Angermann. "Numerical Methods for Elliptic and Parabolic Partial Differential Equations" Springer-Verlag,New York Berlin Heidelberg,2000.
- Arnold, Douglas N. "Lecture notes on Numerical Analysis of Partial Differential Equations." (2012).
- Chun-Hasiang Han, "Introduction to Matlab GPU Acceleration for COmputational Finance." Natational Tsing-Hua University,Taiwan, December 26, 2013. [13] "Partial Differential Equation".
- En.Wikipedia.Org, 2017, https:// en.wikipedia .org/ wiki/ Partial-differential-equation.
- "NVIDIA On GPU Computing And The Difference Between Gpus And Cpus". Nvidia.Com, 2017, http://www.nvidia.com/object/what-isgpu- computing.html.
- "Graphics Processing Unit". En.Wikipedia.Org, 2017, https:// en .wikipedia .org /wiki / Graphics- processing -unit.
FAQs
AI
What computational advantages does GPGPU offer over traditional CPU for PDE solving?add
The research shows that GPGPU can execute computations up to 3 times faster than traditional CPU implementations for large datasets, particularly when using vectorized code.
How does parallel computing impact the time required for solving PDEs?add
The study reveals that parallel computing significantly reduces computation time; tasks that took 15 hours with traditional methods can often complete in approximately 15 seconds using GPGPU.
What are the key considerations when implementing numerical solutions for PDEs?add
Critical factors include defining the computational domain, specifying initial and boundary conditions, and choosing appropriate discretization methods for accuracy.
Which numerical method was employed for wave equations in this study?add
The explicit method using finite difference approximations was employed to discretize wave equations, enhancing computational efficiency while maintaining stability.
What limitations were observed regarding GPU memory usage in solving PDEs?add
The research identified memory limits with GPU usage, particularly showing errors such as 'out of memory' at grid sizes exceeding capabilities, indicating the need for optimization.
Trupti Agarkar