计算机科学与探索 ›› 2020, Vol. 14 ›› Issue (8): 1298-1306.DOI: 10.3778/j.issn.1673-9418.1909073

• 高性能计算 • 上一篇    下一篇

电热多物理耦合模拟的软件设计模式研究

龚平,郑宇腾,张爱清   

  1. 北京应用物理与计算数学研究所,北京 100083
  • 出版日期:2020-08-01 发布日期:2020-08-07

Research on Design Pattern of Electro-thermal Multi-physical Coupling Simulation Software

GONG Ping, ZHENG Yuteng, ZHANG Aiqing   

  1. Insitute of Applied Physics and Computational Mathematics, Beijing 100083, China
  • Online:2020-08-01 Published:2020-08-07

摘要:

电热多物理场耦合数值模拟是微电子领域集成电路设计的重要手段,涉及电-热、电-热-力等多种多物理场耦合,以及静态、瞬态、时谐等多种分析类型。面向这种多样化的多物理场耦合分析需求,如何快速研制批量电热多物理场耦合软件,是一个挑战性问题。软件复用是解决该问题的关键。提出一种数理方程构件化的软件设计模式,首先实现电流连续性方程构件、稳态热平衡方程构件等解决单一物理场求解器的可复用问题,其次设计基于单一物理场方程构件自由组装多物理场耦合计算流程的方法,支持多物理场耦合软件的定制开发,而且这种模式适应于并行计算。通过两个典型的电热耦合并行应用软件的定制开发,代码复用率达到85%以上,验证了模式的有效性。

关键词: 多物理场, 电热耦合, 软件复用, 设计模式, 软件构件

Abstract:

The numerical simulation of multi-physical fields like the electric field and the thermal field is a more and more important means of the integrated circuit design in the field of the microelectronics. It involves many kinds of multi-physical fields and analysis, such as electro-thermal fields, electro-thermal-mechanical fields, static analysis, transient analysis and time-harmonic analysis. In order to meet the diverse requirements of the numerical simulation of multi-physical fields and analysis, how to quickly develop a batch of electrothermal multi-physical fields softwares is a challenging problem. Software reuse is the key to solve this problem. This paper presents a software design model that develops software components of mathematical and physical equations. First of all, this paper implements current continuity equation component and steady-state heat balance equation component to solve the reusability problem of single physical field solver. Then, this paper designs the method of multi-physics field calculation process based on free assembling single-physical-field equation components, which supports the custom development of multi-physics coupled field softwares. Moreover, this mode is suitable for parallel computing. Through developing the two customized typical electro-thermal coupled parallel application software, the code reuse rates reach more than 85%, which verifies the validity of the software design model.

Key words: multi-physics field, electro-thermal coupling, software reuse, design pattern, software component