首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于三角形非结构化网格SIMPLE算法的程序设计
引用本文:刘波,李忠媛,张涛. 一种基于三角形非结构化网格SIMPLE算法的程序设计[J]. 计算力学学报, 2015, 32(6): 813-819
作者姓名:刘波  李忠媛  张涛
作者单位:天津大学 化工学院, 天津 300072;天津大学 化工学院, 天津 300072;北洋国家精馏技术工程发展有限公司, 天津 300072;天津化学化工协同创新中心, 天津 300072;北洋国家精馏技术工程发展有限公司, 天津 300072
摘    要:为了深入研究解决流动问题的基本算法,提出了一种三角形非结构化网格上SIMPLE算法的计算机程序设计。利用FORTRAN语言的特点,采用自定义变量存储控制单元以及界面信息。单元变量中定义了指向相邻单元和界面的指针,通过对网格文件所提供拓扑信息的读取对这些指针进行赋值,从而建立计算所需的基本数据结构。这样,就避免了采用数组直接存储网格拓扑信息,大大增加了程序的可读性、拓展性和二次开发潜力。通过顶盖驱动流、后台阶流以及圆柱绕流几个经典计算流体力学算例的验证,该程序计算收敛良好,精度较高,所得结果符合物理实际。因而,可在此基础上开发更具实际应用价值的三维程序。

关 键 词:SIMPLE算法  计算机程序设计  自定义变量  FORTRAN  非结构化网格
收稿时间:2014-07-18
修稿时间:2014-10-30

A computer programming of SIMPLE algorithm based on triangle unstructured grid
LIU Bo,LI Zhong-yuan and ZHANG Tao. A computer programming of SIMPLE algorithm based on triangle unstructured grid[J]. Chinese Journal of Computational Mechanics, 2015, 32(6): 813-819
Authors:LIU Bo  LI Zhong-yuan  ZHANG Tao
Affiliation:School of Chemical Engineering and Technology, Tianjin University, Tianjin 300072, China;School of Chemical Engineering and Technology, Tianjin University, Tianjin 300072, China;National Engineering Research Centre for Distillation Technology, Tianjin 300072, China;Collaborative Innovation Center of Chemical Science and Engineering, Tianjin 300072, China;National Engineering Research Centre for Distillation Technology, Tianjin 300072, China
Abstract:A computer programming of SIMPLE (Semi-Implicit Method for Pressure Linked Equations) algorithm based on triangle unstructured grid was developed in order to lucubrate the basic algorithm associated with fluid flow.Self-defined variables were employed for storing element and interface information according to the feature of the FORTRAN language.Pointers which point to adjacent elements and interfaces were also defined within these variables.By reading the topological information from the grid files,the essential data structure for programming could be constructed.Thus,storing the topological information by arrays could be avoided.The readability,extendability and the potential of secondary development were largely improved.The program developed in this paper performed well and gave accurate and reasonable results compared to the physical reality when it was tested by several numerical examples such as lid-driven cavity flow,backward facing step flow and laminar flow passing a cylinder.On this basis,three dimensional computer program with higher application value could be developed.
Keywords:SIMPLE algorithm  computer programming  self-defined variable  FORTRAN  unstructured grid
本文献已被 CNKI 等数据库收录!
点击此处可从《计算力学学报》浏览原始摘要信息
点击此处可从《计算力学学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号