计算机科学 > 计算工程、金融与科学
[提交于 2024年5月6日 (v1),最后修订于 2026年12月1日 (此版本, v4)]
标题:pyCFS-data: Data Processing Framework in Python for openCFS
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:openCFS is an open-source finite element software for multiphysics simulations, e.g., aero- and vibroacoustics. This paper presents pyCFS-data, a Python-based data processing framework for pre- and post-processing of data that is generated by, or used for, openCFS. The framework reads and writes the openCFS HDF5 file format into NumPy-based data structures for meshes and results, and converts data from other formats, e.g., EnSight Gold and CGNS files of CFD simulations, Ansys and Exodus files, and universal files of laser vibrometer measurements. It provides a range of operators, e.g., to interpolate data between meshes and between nodes and elements, compute derivatives in time and space, perform mesh-transformation operations, and construct synthetic sound sources. Operations on large data, such as the computation of aeroacoustic sources, are supported by a pipeline structure that processes data sets chunk by chunk within a specified memory limit. The pipeline is checked for metadata consistency before any bulk data is read, with multi-level dry-run options available. This report describes pyCFS~0.3.0, which added the pipeline module, spatial, convective, and substantial derivatives, conservative interpolation, and time averages.