论文标题

ROM.JS/CFD.XYZ:用于生成和可视化参数CFD结果的开源框架

rom.js/cfd.xyz: An open-source framework for generating and visualizing parametric CFD results

论文作者

Peña-Monferrer, Carlos, Díaz-Marín, Carmen

论文摘要

我们在此技术说明中介绍了一个开源网络框架,用于从替代模型中生成和可视化参数OpenFOAM模拟。它由JavaScript模块(ROM.JS)和Web应用程序(CFD.XYZ)组成,可在广泛的参数中有效易于探索流体动力学问题。 ROM.JS是一组开源软件包(Eigen,Splinter,VTK/C ++和ITHACA-FV)的JavaScript端口,用于求解由ITHACA-FV工具生成的还原级模型(ROM)的在线阶段。它可以在后端JavaScript运行时环境或给定的Web解决方案中在Web浏览器外执行。该方法也可以扩展到使用机器学习的方法。 ROM.JS模块用于CFD.XYZ,这是一种开源Web服务,用于在参数空间中提供交互式CFD案例的集合。该框架包括一些教程,显示了从替代模型的生成到Web浏览器的整个过程。它还包括一个独立的Web工具,可通过直接拖动离线阶段的输出文件夹来可视化用户的ROM。除了当前的技术证明外,这还可以在要求实时解决方案(例如数字双胞胎和其他数字转换技术)的应用程序中实施OpenFoam代理模型的协作努力。

We present in this technical note an open-source web framework for the generation and visualization of parametric OpenFOAM simulations from surrogate models. It consists of a JavaScript module (rom.js) and a web app (cfd.xyz) to explore fluid dynamics problems efficiently and easily for a wide range of parameters. rom.js is a JavaScript port of a set of open-source packages (Eigen, Splinter, VTK/C++ and ITHACA-FV) to solve the online stage of reduced-order models (ROM) generated by the ITHACA-FV tool. It can be executed outside a web browser within a backend JavaScript runtime environment, or in a given web solution. This methodology can also be extended to methods using machine learning. The rom.js module was used in cfd.xyz, an open-source web service to deliver a collection of interactive CFD cases in a parametric space. The framework includes some tutorials, showing the whole process from the generation of the surrogate model to the web browser. It also includes a standalone web tool for visualizing users' ROMs by directly dragging and dropping the output folder of the offline stage. Beyond the current proof of technology, this enables a collaborative effort for the implementation of OpenFOAM surrogate models in applications demanding real-time solutions such as digital twins and other digital transformation technologies.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源