透過您的圖書館登入
IP:18.226.251.22
  • 學位論文

PISO算法之物件導向程式架構設計

Framework Design of Object-Oriented Programming of PISO Algorithm

指導教授 : 黃昭勳 王仁佐

摘要


本文主要研究以物件導向程式語言C++為基礎,建立一套計算流體動力學(Computational Fluid Dynamics, CFD)中迭代求解壓力場及速度分布的運算子分裂的壓力隱式算法(Pressure Implicit with Splitting of Operator, PISO)。所採用的數值計算方法為現今廣泛應用的有限體積法(Finite Volume Method, FVM),其主要用來求解瞬態不可壓縮流體動力學問題。本研究最大之特點在於整體程式架構之設計乃結合FVM與PISO方法之基本觀念與演算程序設計而成,因此將程式類別主要分成三大部份,分別為流場 (Field)類別與壓力控制容積(Pressure-Control Volume)與及速度控制容積(Velocity-Control Volume),其中速度控制容積類別又可分為u控制容積(u-Control Volume)、v控制容積(v-Control Volume)及w控制容積(w-Control Volume)三個方向速度分量之類別。為了詳細說明各類別之內容與類別間關係,採用統一建模語言UML(Unified Modeling Language)來說明整個程式架構設計與運作流程,此外為了瞭解程式演算程序之正確性,進行流體熱傳導之數值算例的分析,經由運算結果可知,有限體積法解出的數值解精確度非常高。

並列摘要


In this study, a new framework for the computational fluid dynamics (CFD) using the object-oriented programming language C++ is developed. The CFD method is pressure implicit with splitting of operator (PISO) algorithm. It is the finite volume method (FVM), and can be used to solve the transient incompressible fluid dynamics. The largest feature of this study, the overall framework design is combined with basic concepts of the FVM and the PISO method. The framework is divided into the flow field (Field) class, the pressure control volume (Pressure-control volume) class and the velocity control volume (velocity-control volume) class, respectively. In addition, the velocity control volume class can be divided into the u-control volume class, the v-control volume class and the w-control volume class, respectively. In order to describe the class contents and relationships, the unified modeling language (UML) is adopted. According to the numerical results of the heat flow analysis, it can prove that the framework is the effective and accurate for the analysis of the transient incompressible fluid dynamic responses.

並列關鍵字

FVM PISO CFD

參考文獻


[17] 林奕伸,發展一個數值方法計算全速域流場,碩士,國立成功大學,台南,2006。
[15] 王譯賢,電子零件暫態衝擊加熱之數值模擬,碩士,國立成功大學,台南,2004。
[16] 范佳銘,以基本解法求解對流─擴散、伯格斯及奈維爾─史托克斯方程式,碩士,國立台灣大學,台北,2005。
[7] S. V. Patankar and D. B. Spalding, "A calculation procedure for heat, mass and momentum transfer in three-dimensional parabolic flows," International Journal of Heat and Mass Transfer, Vol. 15, pp. 1787-1806, 1972.
[8] J. P. Van Doormaal and G. D. Raithby, "Enhancements of the SIMPLE method for predicting incompressible fluid flows," Numerical Heat Transfer, Vol. 7, pp. 147-163, 1984.

延伸閱讀