Please use this identifier to cite or link to this item: https://ah.lib.nccu.edu.tw/handle/140.119/76911
題名: PyCUDA在熱傳導方程的應用
The application of heat equation with PyCUDA
作者: 施政丞
貢獻者: 曾正男
Tzeng, Jeng Nan
施政丞
關鍵詞: 熱傳導
平行化
PyCUDA
交替分組法
heat equation
parallelism
PyCUDA
alternating group method
日期: 2015
上傳時間: 27-Jul-2015
摘要: 在本篇論文中,我們將呈現解擴散方程的交替分組法(Alternating group method),對於傳統前向差分法(Explicit Forward Method(、後向差分法(Implicit Backward Method)、克蘭克-尼科爾森法(Crank-Nicolson method)來說,交替分組法的精確度比較好,並且具有平行化的特性。當資料量放大時,傳統方法將會需要較長的計算時間,因此交替分組法在平行計算時間上可以明顯的縮短計算時間。本論文將透過PyCUDA平行化套件將此方法實現在GPU計算上,藉此取得在計算時間上的優勢。雖然GPU的單位計算精度較CPU的單位計算精度差,然而在最後的數值計算誤差比較上,交替分組法的CPU版本與GPU版本之間的誤差幾乎相同。若此問題擴展到二維或三維,其計算量更是龐大,因此交替分組法的GPU平行化經驗在數值計算上是必要的。
In this paper, we will present an alternating group method for solving diffusion equation. The alternating group method is more precise than the Explicit forward Euler method, the Implicit backward Euler method and Crank-Nicolson method. Moreover, the alternating group method can be easily implement to the parallel version. When the computational system become huge, the serial computing methods take more time than the parallel computing methods. Hence, the parallel alternating group method will take the adventage in computational time. We will demonstrate the GPU version of alternating group method by the PyCUDA packge in this thesis. Although the precision of the GPU hardware is worse than CPU, the numerical results between GPU and CPU have almost no difference. Because the computational cost of 2D or 3D problem is much higher than the 1D problem, the experience of GPU version of alternating group method is very important in this field.
參考文獻: 1. Fang an Kuo. Parallel algorithm and cuda programming.\n2. Pearu Peterson Eric Jones, Travis Oliphant et al. Open source scientific tools for python, 2001.\n3. R.B. Kellogg. An alternating direction method for operations. J. SIAM, 12(4):848-854, 1964.\n4. Andreas Klockner. Andreas klockner’s web page.\n5. Mark Lutz. Learning Python. O’reilly, 3 edition, 12 2008.\n6. Su Zhixun Nashun Bu-he. An alternating group method of parallel computing for the heat equations. International Journal of Pure and Applied Mathematics, 11(3):291-299, 2004.\n7. Chou Ping I. GPU高效能運算環境-cuda與gpu cluster介紹.\n8. Timothy Sauer. Numerical Analysis. Pearson, 2 edition, 11 2011.\n9. V.K Saul’yev. Integratioin of Techniques for Fluid Dynamics. 1. Verlag, Berlin, spring 1988.\n10. Matthew Smith. Hands-on gpu tutorial. 2012.\n11. Lawrence E. Spence Stephen H. Friedberg, Arnold J. Insel. Linear Algebra. Pearson, 4 edition, 2003.\n12. Jeng-Nan Tzeng. Glophy-數值偏微分方程.\n13. XU An-nong WANG Chen, HU Xiao-li. 求解擴散方程的一類交替分組法.Journal of Guilin University of Electronic Technology, 27(5), 10 2007.\n14. Wang Wenqia. Modified alternating group method of four points for the convetion-diffusion equation. 高等學校計算數學學報, 27(1), 2 2005.
描述: 碩士
國立政治大學
應用數學研究所
100751011
資料來源: http://thesis.lib.nccu.edu.tw/record/#G1007510111
資料類型: thesis
Appears in Collections:學位論文

Files in This Item:
File SizeFormat
011101.pdf3.79 MBAdobe PDF2View/Open
Show full item record

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.