用配置文件生成三维阻塞流场数据集,支持可复现的机器学习训练。
ChannelFlow-Tools: A Configuration-Driven Pipeline for Generating Machine-Learning-Ready Datasets of 3D Obstructed Channel Flows
- 通过配置文件驱动,自动生成带障碍物的三维流场数据。
- 生成450组仿真数据,雷诺数覆盖1000–10000,模型可准确学习几何到流场映射。
- 开源可复现,适合研究流体机器学习模型的学者直接使用。
数据驱动的代理模型在计算流体力学中日益重要,其可靠性依赖于训练数据的质量。传统方法使用固定预生成数据集,而系统性研究需要可控的数据生成能力,以实现数据的重生成、调整或扩展。本文提出ChannelFlow-Tools,一个开源、配置驱动的流水线,用于生成面向机器学习的三维阻塞通道流数据集。该流程整合了六类障碍物的程序化几何生成、符号距离场(SDF)体素化、格子玻尔兹曼模拟,并打包为机器学习可用张量。工作流由配置文件驱动,几何生成阶段已验证字节级可复现性。通过全语料网格完整性审计、SDF表示的分析与语料级验证、标准球形流体基准测试以及逐场景数据完整性检查对流程进行评估。为证明数据物理一致性与可直接使用性,使用管道生成的450组仿真数据(雷诺数 $Re_c \≈ 1000$-$10{,}000$)训练了三个代理模型(3D U-Net、FNO 和 U-FNO)。模型成功学习几何到流场的映射,在形状族和雷诺数的分布外测试中表现出物理可解释行为,证实其下游直接可用性。ChannelFlow-Tools因此提供了共享、可审计的基础设施,用于几何感知CFD代理的可控基准测试。
原文摘要 · Abstract (English)
Data-driven surrogate models are increasingly used in computational fluid dynamics, and their reliability depends on the quality of the training data. These models are typically trained on fixed, pre-generated datasets. Systematic surrogate studies require controlled data generation, in which datasets can be regenerated, adapted, or extended to match specific research requirements. We introduce ChannelFlow-Tools, an open-source, configuration-driven pipeline for generating ML-ready datasets of three-dimensional obstructed channel flows. The pipeline integrates procedural obstacle geometry generation across six shape families, signed-distance-field (SDF) voxelisation, lattice-Boltzmann simulation, and packaging into ML-ready tensors. The workflow is driven by configuration files, with byte-identical reproducibility verified for the geometry-generation stage. The pipeline is evaluated through a full-corpus mesh-integrity audit, analytical and corpus-level validation of the SDF representation, canonical sphere-flow benchmarks for the solver, and a per-scene data-integrity audit. To demonstrate that the pipeline produces physically consistent and directly usable training data, three surrogate models (3D U-Net, FNO, and U-FNO) are trained on a sample dataset of 450 simulations spanning $Re_c \approx 1000$-$10{,}000$, generated entirely through the pipeline. The models learn the geometry-to-flow mapping and show physically interpretable behaviour on shape-family and Reynolds-number out-of-distribution splits, confirming direct downstream usability. ChannelFlow-Tools thus provides shared, auditable infrastructure for controlled benchmarking of geometry-aware CFD surrogates.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。