期刊文献+

流体动力学的SPH模型面向对象设计及其实施

An Object-oriented Design and Implementation for the SPH Model of Fluid Dynamics
在线阅读 下载PDF
导出
摘要 提出并实现了一种面向对象的光滑粒子流体动力学(SPH)模型。采用统一建模语言(UML)进行SPH模型的软件体系结构建模,并分析说明各模块类以及类之间关系。其中SPH模型的最根本类是由问题域模块类和主控模块类组成的。问题域模块类是由文件操作类、粒子类、材料类、容器类、边界粒子类和数组存储类组成的。主控模块类是由近似函数类和粒子系统方法类组成的。在此体系结构下,采用C++语言结合OpenGL图形库进行SPH模型的编码,实现了在特定容器中进行SPH流体流动的3D仿真可视化实验。研究工作表明,面向对象方法适合于SPH模型的框架设计和代码编制,所编制的SPH模型程序可以对流体动力学问题进行初步的科学计算及其可视化。 An object-oriented smoothed particle hydrodynamics(SPH) model is presented and implemented.Using the unified modeling language(UML),the SPH model software architectures are designed,and each module class and their relationship are analyzed.In SPH model,the root-class consists of two sub-classes:domain-module and run-module.The domain-module consists of six sub-classes:file,particle,material,container,boundary particle and array.The run-module consists of two sub-classes:approximation function and particle-system.In the architecture,using C++ language with OpenGL library,a SPH model is programmed,and SPH fluid simulation is achieved flowing 3D visualization in the special container.The test shows that the object-oriented approach is suitable for designing and coding a SPH model framework,the SPH model program can make preliminary scientific calculations and visualization for fluid dynamics problems.
出处 《南昌大学学报(工科版)》 CAS 2010年第3期287-292,306,共7页 Journal of Nanchang University(Engineering & Technology)
基金 国家自然科学基金资助项目(50863003) 江西省研究生创新专项资金资助项目(YC09A038)
关键词 面向对象 光滑粒子流体动力学 统一建模语言 OPENGL object-oriented smoothed particle hydrodynamics UML OpenGL
  • 相关文献

参考文献17

  • 1Gingold R A,Monaghan J J.Smoothed particle hydrodynamics:theory and application to non-spherical stars[J].Notices of the Royal Astronomical Society,1977,181:375-389.
  • 2Xu Rui,Stansby Peter,Laurence Dominique.Accuracy and stability in incompressible SPH(ISPH)based on the projection method and a new approach[J].Journal of Computational Physics,2009,228:6703-6725.
  • 3Fang Jiannong,Parriaux Aurele,Rentschler Martin,et al.Improved SPH methods for simulating free surface flows of viscous fluids[J].Applied Numerical Mathematics,2009,59:251-271.
  • 4Hu X Y,Adams N A.A constant-density approach for incompressible multi-phase SPH[J].Journal of Computational Physics,2009,228:2082-2091.
  • 5Monaghan J J.Simulating free surface flows with SPH[J].Journal of Computational Physics,1994,110:399-406.
  • 6Lee E S,Moulinec C,Xu R,et al.Comparisons of weakly compressible and truly incompressible algorithms for the SPH mesh free particle method[J].Journal of Computational Physics,2008,227:8417-8436.
  • 7Müller M,Charypar D,Gross M.Particle-based fluid simulation for interactive applications[C] //Proceedings of 2003 ACM SIGGRAPH/Eurographics Symposium on Computer Animation.San Diego,Califomia,2003:154-159.
  • 8Liu G R, Liu M B.光滑粒子流体动力学[M].韩旭,杨刚,强洪夫译.长沙:湖南大学出版社,2005:38-43.
  • 9Gesteira M G,Rogers B D,Dalrymple R A.SPHysics:open-source SPH free-surface flow solver[CP/OL].http://wiki.manchester.ac.uk/sphysics/index.php/Man Page,2010-01.
  • 10Daniel J Price.SPLASH:An interactive visualisation tool for smoothed particle hydrodynamics simulations[J].Publications of the Astronmical Society of Australia,2007,24(3):159-173.

二级参考文献7

共引文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部