中圖分類號: TP311.1 文獻標識碼: A DOI:10.16157/j.issn.0258-7998.211509 中文引用格式: 張志達,淮曉永,,高若辰. 基于C/S架構的OpenFOAM網(wǎng)格生成客戶端軟件設計[J].電子技術應用,,2022,48(2):73-77. 英文引用格式: Zhang Zhida,,Huai Xiaoyong,,Gao Ruochen. Design of OpenFOAM mesh generation client software based on C/S architecture[J]. Application of Electronic Technique,2022,,48(2):73-77.
Design of OpenFOAM mesh generation client software based on C/S architecture
Zhang Zhida,,Huai Xiaoyong,Gao Ruochen
National Computer System Engineering Research Institute of China,,Beijing 100083,,China
Abstract: To meet the requirements of human-computer interaction of OpenFOAM deployed in the cloud GUI, this paper designs and implements an OpenFOAM mesh generation client software. The client software uses plug-in architecture design, which consists of public module, custom module and mesh generation plugins. The GUI of mesh generation is implemented by plugins, which improves the scalability of the software.The client and the OpenFOAM service deployed in the cloud form a C/S architecture. The client remotely invokes the OpenFOAM mesh generation computing service on the cloud through the mesh generation protocol, and builds a user interaction interface according to the service interface specification, realizing cloud collaboration mesh calculation function. An example of mesh generation is given to illustrate that the client software can implement a complete mesh generation process by remotely invoking the service.
Key words : C/S architecture,;OpenFOAM client,;GUI;cloud computing