简介

GASPHiA 是一个使用 C++ 与 CUDA 开发的三维 SPH 程序,面向千万级粒子的多物理场模拟。 程序由 CPU 负责流程控制,计算过程在 GPU 上完成,集成物质强度、自引力、损伤与多类材料模型。

该代码用于复杂流体动力学、超高速撞击、碎石堆小行星撞击、孔隙材料压实与星系引力干涉等问题。

主要特性

技术细节

计算精度与维度

物理与数值方法

配置与输出

代码访问与使用政策

GASPHiA 源代码仅向学术研究人员和合作者提供,仅供非商业、教育和研究目的使用。

如需获取源代码,请发送电子邮件至:

请在请求中简要介绍您自己、您的机构以及您打算使用该代码的研究应用。

使用本代码必须遵守每个源文件开头版权声明中规定的条款。未经作者事先书面许可,严禁任何形式的再分发、商业目的的修改或使用。

致谢

衷心感谢刘晓东教授在作者博士研究期间给予的支持和指导。

本项目使用以下第三方库:

参考资料

  1. Schäfer, C., Riecker, S., Maindl, T. I., Schaal, K., & Speith, R. (2016). A smooth particle hydrodynamics code to model collisions between solid, self-gravitating objects. Astronomy & Astrophysics, 590, A19.
  2. Barnes, J., & Hut, P. (1986). A hierarchical O(N log N) force-calculation algorithm. Nature, 324(6096), 446–449.
  3. Nyland, L., Harris, M., & Prins, J. (2007). Fast n-body simulation with CUDA. GPU Gems, 3, 62–66.
  4. Burtscher, M., & Pingali, K. (2011). An efficient CUDA implementation of the tree-based Barnes-Hut n-body algorithm. In GPU Computing Gems Emerald Edition (pp. 75–92). Morgan Kaufmann.
  5. Benz, W., & Asphaug, E. (1995). Simulations of brittle solids using smooth particle hydrodynamics. Computer Physics Communications, 87(1–2), 253–265.
  6. Lundborg, N. (1968). Strength of rock-like materials. International Journal of Rock Mechanics and Mining Sciences & Geomechanics Abstracts, 5(5), 427–454.
  7. Collins, G. S., Melosh, H. J., & Ivanov, B. A. (2004). Modeling damage and deformation in impact simulations. Meteoritics & Planetary Science, 39(2), 217–231.
  8. Jutzi, M. (2015). SPH calculations of asteroid disruptions: The role of pressure dependent failure models. Icarus, 250, 356–362.
  9. Melosh, H. J., Ryan, E. V., & Asphaug, E. (1992). Dynamic fragmentation in impacts: Hydrocode simulation of laboratory impacts. Journal of Geophysical Research: Planets, 97(E9), 14735–14759.
  10. Jutzi, M., Benz, W., & Michel, P. (2008). Numerical simulations of impacts involving porous bodies: I. Implementing sub-resolution porosity in a 3D SPH hydrocode. Icarus, 198(1), 242–255.
  11. Bogacki, P., & Shampine, L. F. (1989). A 3(2) pair of Runge-Kutta formulas. Applied Mathematics Letters, 2(4), 321–325.

版权

版权所有 © 2026 叶科奇。保留所有权利。

更多内容