首先强调计算流体力学在化工模拟计算中的巨大用途,回顾文献中多重网格法的进展和应用.在已有的C++计算机通用源程序上,实现了多重网格法,进一步完善了已有的源程序,并作了水的层流管流和层流突扩管流动,以及突然收缩口模中聚苯乙烯熔体的流动,通过3个具体实例的计算与比较,证实多重网格法比传统算法的迭代收敛速度快得多,还发现多重网格法在C++的源程序上很容易实现。
After emphasizing the importance of computational fluid dynamics (CFD) in chemical engineering, the progress and application of muhi-grid algorithm (MGA) were reviewed. A general-purpose computer program implemented using C + + was improved using the MGA. Three numerical cases of laminar water flow in a tube, laminar water flow in a sudden expansion tube and polystyrene melt flow in a contraction die were simulated with and without the MGA. It was found that the MGA is much faster than tradition algorithms. Moreover, the MGA is very easy to be implemented in computer program based on object-oriented programming language C++.