ChannelFlow-Tools: A Configuration-Driven Pipeline for Generating Machine-Learning-Ready Datasets of 3D Obstructed Channel Flows
This paper introduces ChannelFlow-Tools, an open-source, configuration-driven pipeline that generates reproducible, machine-learning-ready datasets of 3D obstructed channel flows by integrating procedural geometry generation, signed-distance-field voxelization, and lattice-Boltzmann simulations, thereby enabling the training of robust, geometry-aware CFD surrogate models.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Computational fluid dynamics is the science of using powerful computers to predict how liquids and gases move. For decades, engineers have relied on these simulations to design everything from aircraft wings to car bodies, but the calculations are often so heavy and slow that they cannot be run in real time. To speed things up, scientists have recently begun training artificial intelligence models to act as shortcuts. These "surrogate" models learn from thousands of past simulations to guess the outcome of a new situation almost instantly. However, for these AI shortcuts to be trustworthy, they must be trained on data that is perfectly accurate and generated in a consistent way. If the training data contains hidden errors or inconsistencies, the AI will learn the wrong lessons, and its predictions will fail when applied to real-world problems. The challenge has been finding a way to generate vast amounts of high-quality fluid data where every single variable is controlled, recorded, and verified.
A team of researchers at Friedrich-Alexander-Universität Erlangen-Nürnberg and CERFACS has built a solution to this problem called ChannelFlow-Tools. It is a fully automated system designed to create a massive library of three-dimensional fluid flow scenarios, specifically focusing on how air or water moves through a channel when blocked by various obstacles. Imagine a long, rectangular tunnel where the flow is interrupted by objects like spheres, cubes, cylinders, cones, rings, or wedges. The researchers wanted to know if they could generate thousands of these scenarios, simulate the fluid moving around them, and package the results into a format that artificial intelligence can easily read, all while ensuring that every step of the process was mathematically identical every time it was run.
The system works like a highly precise assembly line. First, it procedurally generates the shapes of the obstacles. Instead of manually designing each object, the software uses a set of rules to create random variations of the six basic shapes, ensuring they fit perfectly inside the channel without touching the walls or each other. It then converts these 3D shapes into a digital map called a signed distance field. This map tells the computer exactly how far every point in the space is from the nearest solid surface, which is crucial for the AI to understand the geometry. Next, the system runs a fluid simulation using a method called the lattice Boltzmann approach, which breaks the fluid down into tiny grid cells to calculate how it flows around the obstacles. Finally, it packages the shape, the distance map, and the resulting flow patterns into a single, organized file.
What makes this work distinct is not just that it creates data, but that it verifies every single step with extreme rigor. The researchers did not simply trust the computer to do its job; they audited the entire process. They checked that the 3D shapes were mathematically sound and free of tiny errors that could break the simulation. They confirmed that the digital distance maps accurately represented the shapes, even for complex arrangements with multiple objects. They validated the fluid solver by comparing its results against known, standard benchmarks for flow around a sphere, ensuring the physics were correct. Most importantly, they proved that the system is reproducible. If you give the system the exact same starting instructions and a random seed number, it will produce the exact same 3D shapes and simulation results down to the last bit of data. This level of consistency is rare in scientific computing and is essential for training reliable AI models.
The team released a dataset containing 450 complete simulations, covering a wide range of flow speeds and obstacle configurations. To prove that this data was actually useful, they trained three different types of artificial intelligence models on a portion of the dataset. These models were tasked with learning how to predict the flow pattern around an obstacle just by looking at its shape and the speed of the flow. The results showed that the models could successfully learn the relationship between the shape and the flow. When tested on shapes they had never seen before, or on flow speeds outside the range they were trained on, the models did not crash or produce nonsense; instead, they showed a predictable and understandable drop in accuracy, which is exactly what one would expect from a physical system. This behavior confirmed that the models were learning real physical principles rather than just memorizing patterns.
The study demonstrates that it is possible to build a shared, auditable infrastructure for generating fluid dynamics data that is ready for machine learning. By providing a pipeline that is open, configurable, and rigorously checked, the researchers have given the scientific community a tool to test how well AI models generalize to new situations. The work does not claim to have solved the problem of fluid prediction, nor does it present a single best AI model. Instead, it provides the clean, controlled, and verified data necessary to study how these models learn and where they might fail. This foundation allows other scientists to run controlled experiments, varying one factor at a time to understand the limits of AI in fluid dynamics, moving the field closer to reliable, real-time prediction tools for engineering and design.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.