欢迎访问《图学学报》 分享到:

图学学报 ›› 2024, Vol. 45 ›› Issue (6): 1207-1221.DOI: 10.11996/JG.j.2095-302X.2024061207

• “大模型与图学技术及应用”专题 • 上一篇    下一篇

机理与数据驱动的物理仿真计算范式及引擎架构

何小伟1(), 石剑2, 刘树森1, 任丽欣1, 郭煜中1, 蔡勇3, 王琥3, 朱飞4, 汪国平4()   

  1. 1.中国科学院软件研究所,北京 100190
    2.中国科学院自动化研究所,北京 100190
    3.湖南大学汽车车身先进设计制造国家重点实验室,湖南 长沙 410082
    4.北京大学计算机学院,北京 100871
  • 收稿日期:2024-07-31 接受日期:2024-10-05 出版日期:2024-12-31 发布日期:2024-12-24
  • 通讯作者:汪国平(1964-),男,教授,博士。主要研究方向为计算机图形学、虚拟现实与物理仿真。E-mail:wgp@pku.edu.cn
  • 第一作者:何小伟(1985-),男,研究员,博士。主要研究方向为计算机图形学与物理仿真。E-mail:xiaowei@iscas.ac.cn
  • 基金资助:
    国家重点研发青年科学家项目(2021YFB1715800);国家自然科学基金(62302490)

The computational paradigm and software framework for mechanism and data-driven physical simulation

HE Xiaowei1(), SHI Jian2, LIU Shusen1, REN Lixin1, GUO Yuzhong1, CAI Yong3, WANG Hu3, ZHU Fei4, WANG Guoping4()   

  1. 1. Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
    2. Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China
    3. State Key Laboratory of Advanced Design and Manufacturing for Vehicle Body, Hunan University, Changsha Hunan 410082, China
    4. School of Computer Science, Peking University, Beijing 100871, China
  • Received:2024-07-31 Accepted:2024-10-05 Published:2024-12-31 Online:2024-12-24
  • Contact: WANG Guoping (1964-), professor, Ph.D. His main research interests cover computer graphics, virtual reality and physical simulation. E-mail:wgp@pku.edu.cn
  • First author:HE Xiaowei (1985-), researcher, Ph.D. His main research interests cover computer graphics and physical simulation. E-mail:xiaowei@iscas.ac.cn
  • Supported by:
    National Key Research and Development Program of China(2021YFB1715800);National Natural Science Foundation of China(62302490)

摘要:

物理仿真作为现代工业软件的基石,其计算范式可分为机理驱动、数据驱动及混合驱动等模式。面对多样化物理仿真需求,构建一个既能灵活适应各类物理仿真计算范式,又能实现不同计算范式之间高效耦合的通用引擎架构,已成为软件设计与开发领域亟待解决的关键难题与挑战。针对该问题,提出面向多物理仿真计算范式的FNMS架构 Data Field-Node-Module-Scene Graph,其核心在于四层结构的设计:数据域(Data field)、节点(Node)、模块(Module)与场景图(Scene graph)。具体而言,数据域层为仿真过程提供统一的数据管理与访问接口,解决物理仿真计算数据共享的便捷性与高效性;模块层封装各类物理仿真算法,实现算法的模块化与可重用,解决仿真计算、渲染与交互的异步协同问题;节点层通过数据与算法模块的解耦实现算法在不同物理仿真计算范式之间的复用,同时便于实现多物理场耦合过程的交换与共享;而场景图层通过将节点组织成有向无环图,支撑多种物理仿真计算范式的高效耦合计算。通过该四层结构的结合,FNMS架构不仅能提升物理仿真的计算效率与灵活性,更为跨学科、跨领域的物理仿真研究提供了强有力的技术支持。

关键词: FNMS引擎架构, 机理驱动, 数据驱动, 物理仿真, 计算范式

Abstract:

As the cornerstone of modern industrial software, physical simulation encompasses various computational paradigms, including mechanism-driven, data-driven, and hybrid-driven models. Meeting the demands of diverse physical simulation requires the construction of a general framework capable of flexibly adapting to various physical simulation computational paradigms while achieving efficient coupling across various computational paradigms, presenting a critical challenge in software design and development. To address this, the Data field—Node—Module— Scene graph (FNMS) architecture was proposed, targeting multi-physics simulation computational paradigms. Its core lies in the design of a four-layer structure: Data field, Node, Module, and Scene graph. Specifically, the Data field layer provides a unified data management and access interface for the simulation process, enhancing the convenience and efficiency in data sharing for physical simulation computations. The Module layer encapsulated various physical simulation algorithms, realizing algorithm modularization and reusability while solving the asynchronous coordination of simulation computation, rendering, and interaction. Through data and algorithm decoupling, the Node layer enabled algorithm reuse across different physical simulation computational paradigms, and it facilitated the exchange and sharing within multi-physics coupling processes. The Scene graph layer supported efficient coupled computations of various physical simulation computational paradigms by organizing nodes into a directed acyclic graph. Through the combination of these four layers, the FNMS architecture not only enhanced the computational efficiency and flexibility in physical simulations but also provided strong technical support for interdisciplinary and cross-domain physical simulation research.

Key words: FNMS framework, mechanism driven, data driven, physical simulation, computing paradigm

中图分类号: