| 研究生: |
曾信耀 Tseng, Hsin-Yao |
|---|---|
| 論文名稱: |
紊流計算模式之平行化與其效益分析 Parallelization and Efficiency Analysis of Turbulent Flows Computation Model |
| 指導教授: |
賴泉基
Lai, Chan-Ji 呂珍謀 Leu, Jan-Mou |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 水利及海洋工程學系 Department of Hydraulic & Ocean Engineering |
| 論文出版年: | 2002 |
| 畢業學年度: | 90 |
| 語文別: | 中文 |
| 論文頁數: | 94 |
| 中文關鍵詞: | 高速計算 、區域分割 、平行效益 |
| 外文關鍵詞: | MPI, PC cluster, Domain Decomposition, efficiency |
| 相關次數: | 點閱:84 下載:5 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
中文摘要
近年來雖然電腦發展速度非常快,但各種計算科學之研究課題也越來越複雜,就水利工程而言,諸如渠道變量流、紊流流場之模擬以及一些具有時效性之預警模式等等,均需高速計算之能力,以便能在最短之時間內得到結果而實際應用之。
本文研究利用個人電腦所架構之個人電腦叢集(PC Cluster)平行計算環境,使用區域分割(Domain Decomposition)之方式將紊流計算模式予以平行化,比較其循序程式(Sequential Code)與平行程式(Parallel Code)在計算結果之收斂性(Convergence)、精確度(Accuracy)與平行效益(Parallel Efficiency)之情形。結果顯示對利用SIMPLER SCHEME及POISSON方程式求解之數值計算來說,其平行版因區域分割使得計算區域變小,在同樣之收斂標準下而加速收斂,另外因模式計算中可平行段佔了絕大比重,因此平行之效率在循序版未做區域分割時可達125%,即使循序版與平行版皆做區域分割之效率也可達95%。
另外在計算值之平均相對誤差百分率大致在1%以下,並沒有因效率之提昇而有誤差加大之現象發生,在效益與誤差皆有令人滿意之結果下,未來可應用於較大流場與變量流之計算,而對於具不規則河道之計算,區域分割法更可解決處理上之困擾。另外將平行計算環境建置之過程收於附錄中,以供有需要者參考。
ABSTRACT
Computation of unsteady flows or turbulent flow for many hydraulic engineering applications, particularly in providing information for real time forecasting, requires high-speed computing. Modern developments in parallel computing using PC clusters have made the high speed engineering computations possible.
In this thesis, we utilize two PCs and MPI to build up a parallel computing cluster. Domain decomposition is used to parallelize a turbulent flow computation code. We compare the parallel code with the sequential code in convergence、accuracy and parallel efficiency. When the computed values of the sequential and the parallel codes are compared, the results show that the overall average difference is less than 1%, but the parallel code have a computing efficiency of over 95%. It is also found that domain decomposition is very useful in turbulent codes that use the SIMPLER scheme, since the pressure is solved iteratively using the Poisson Equation like solver.
It is also found the parallel hardware construction can be an obstruction to engineers who are interested in using parallel computing. The experiences of constructing the hardware and software of present study are written as the appendix for those who need them as a reference.
參考文獻
1. Bubak Marian, Jack Dongarra, ”Recent Advances in Parallel Virtual Machines and Message Passing Interface”, Springer Press,1997。
2. Dongarra Jack, Vassil Alexandrov, ” Recent Advances in Parallel Virtual Machines and Message Passing Interface”, Springer Press,1998。
3. Keyes, David E., ”Domain Decomposition Methods in Scientific and Engineering Computing:the Sixth International Conference on Domain Decomposition”, International Conference on Domain Decomposition,1994。
4. Lan, S. C., Shen, C. Y., and Su, J. H.(1992),”Distributed Computation of Incompressible Navier-Stokes Equations with Network Computing System,” Processing of 1992 International Conference on Parallel and Distributed System,Dec. 16-18,Hsinchu,Taiwan,R.O.C.。
5. Launder, B. E. and D. B. Spalding , “The Numerical Computation of Turbulent Flows”, Comput. Meths. Appl. Mech. Eng., Vol. 3, pp. 269-289 , 1974 。
6. Lee R.B., ”Empirical Results on the Speedup, Efficiency, Redundancy,and Quality of Parallel Computations”,Proc.Int.Conf. Parallel Processing,pp.91-96,Aug.,1980。
7. Pantankar, S. V. and Spalding, D.B.,”A Calculation Procedure for Heat Mass and Momentum Transfer in Three-Dimensional Parabolic Flows”, Int.J.Heat Mass Transfer,Vol.15,pp.1787-1906, (1972)。
8. Pantankar, S. V.”Numerical Heat Transfer and Fluid Flow”, McGraw-Hill, New York,(1980)。
9. Quarteroni, Alfio., ”Domain Decomposition Methods in Scientific and Engineering Computing:Proceedings of the Seventh International Conference on Domain Decomposition”, International Conference on Domain Decomposition,1994。
10. Roache, Patrick J.,”Elliptic Marching Methods and Domain Decomposition”, CRC Press,1995。
11. Schlichting, H., ”Boundary layer theory”. McGraw-Hill, New York, N. Y.,1968。
12. Shyy, W. , ” A Numerical Study on Annular Dump Diffuser Flow”, Comput. Meths Appl. Meth. Eng., Vol.53, pp.47-65 , 1985 。
13. Smith, Barry, Peter Bjorstad, D. Savarese, ”Domain Decomposition:Parallel Multilevel Methods for Elliptic Partial Differential Equation”, Cambridge University Press,1996。
14. Yu-lin Chang, ”MPICH快速安裝指導”,http://www.se.ntou.edu.tw/~ylchang Welsb M.,M. K. Dalbeimer, ”Linux 技術手冊”,O,REILLY,1999。
15. 王宗銘:電腦動畫在分散式計算環境之研究,高速計算世界,第四卷第四期,1996。
16. 王迎春:平行計算推廣計畫之簡介,高速計算世界,第二卷第三期,1994。
17. 沈澄宇:從計算流體力學論平行電腦之可擴充性,高速計算世界,第二卷第二期,1994。
18. 沈澄宇、姜巍棠:計算流體力學系列講座(II):「平行計算流體力學」簡介,高速計算世界,第五卷第三期,1997。
19. 何旭彬:對高速計算之我見,高速計算世界,第二卷第一期,1994。
20. 林遠志、陳振男:電腦如何思考,天下文化,1999。
21. 周育興:計算網格產生之平行運算與效益,碩士論文,國立成功大學水利及海洋工程研究所,2000。
22. 施威銘研究室 : Red Hat Linux 7 + CLE 1.0實務應用,2001。
23. 施仁傑、徐柏林:區域分割法於有限元流體動力計算之應用,高速計算世界,第二卷第二期,1994。
24. 陳伯文:代理人架構下分散式平行運算平台之設計與架構,碩士論文,元智大學資訊管理所,2001。
25. 陳宗賢:淺談平行處理,RUN!PC,第14期,p96~101,1995。
26. 陳俊麟:高速計算環境PVM、MPI、HPF的現在與未來展望,高速計算世界,第三卷第一期,1995。
27. 陳建國:轉循序程式為平行程式之嘗試,高速計算世界,第四卷第一期,1996。
28. 葉克家、連和政:分散式平行計算在土石流堆積模擬之應用,高速計算世界,第三卷第三期,1995。
29. 葉克家、許至璁:分散式平行計算在渠道變量流模擬之應用,高速計算世界,第三卷第三期,1995。
30. 曾明性:分散式計算於方柱周圍紊流流場模擬之應用,高速計算世界,第三卷第二期,1995。
31. 楊朝棟、張宏守:在Linux上建構與應用叢集式平行電腦,零客情報,第12期,p84~103,November 2000。
32. 蔡惠峰:水資源及環工與高速計算,高速計算世界,第二卷第二期,1994。
33. 鄭守成:漫談程式的向量化與平行化,高速計算世界,第一卷第二期,1993。
34. 鄭守成:平行工具軟體 xhpf 用法簡介,高速計算世界,第三卷第四期,1995。
35. 鄭守成:漫談平行電腦與平行計算,高速計算世界,第四卷第四期,1996。
36. 鄭守成:MPI平行計算程式設計,國家高速電腦中心,2000。
37. 盧延年:平行計算環境的建置與區域分解算法求解純對流方程式的數值計算,碩士論文,淡江大學航空太空工程研究所,1999。
38. 謝寶慶、曾耀寰:LINUX萬萬歲,和碩科技文化有限公司,1999。
39. 顏志偉:壓力紊流流經二維方形障礙物流場之數值模擬,碩士論文,國立成功大學水利及海洋工程研究所,1989。
40. 顏志偉:波狀邊界紊流流場之數值模擬,中國力學期刊,Vol.8,NO.3,September 1992。
41. 顏志偉:複雜自由液面紊流之模擬與分析,博士論文,國立成功大學水利及海洋工程研究所,1995。
42. 羅振卿:利用PC作平行運算,RUN!PC,第15期,p118~126,1995。
43. 蘇志秋:黏性土壤沖刷之數值模擬,碩士論文,國立成功大學水利及海洋工程研究所,2001。
44. 蘇俊豪:淺談高速計算環境,高速計算世界,第二卷第三期,1994。