Export citation

Export citation

Choose format for download:

Download Citation

    Generative prediction of flow fields around an obstacle using the diffusion model

    Jiajun Hu and Zhen Lu*

    Yue Yang†

    • *Contact author: zhen.lu@pku.edu.cn
    • †Contact author: yyg@pku.edu.cn

    Phys. Rev. Fluids 10, 094903 – Published 12 September, 2025

    DOI: https://doi.org/10.1103/8flg-k6s5

    Abstract

    We propose a geometry-to-flow diffusion model that utilizes obstacle shape as input to predict a flow field around an obstacle. The model is based on a learnable Markov transition kernel to recover the data distribution from the Gaussian distribution. The Markov process is conditioned on the obstacle geometry, estimating the noise to be removed at each step, implemented via a U-Net. A cross-attention mechanism incorporates the geometry as a prompt. We train the geometry-to-flow diffusion model using a dataset of flows around simple obstacles, including circles, ellipses, rectangles, and triangles. For comparison, two convolutional neural network (CNN)-based models and a variational autoencoder (VAE) model are trained on the same dataset. Tests are carried out on flows around obstacles with simple and complex geometries, representing interpolation and generalization on the geometry condition, respectively. To evaluate performance under demanding conditions, the test set incorporates scenarios including crosses and the characters “PKU.” Generated flow fields show that the geometry-to-flow diffusion model is superior to the CNN-based models and the VAE model in predicting instantaneous flow fields and handling complex geometries. Quantitative analysis of the accuracy and divergence demonstrates the model's robustness.

    Physics Subject Headings (PhySH)

    Authorization Required

    We need you to provide your credentials before accessing this content.

    References (Subscription Required)

    Outline

    Information

    Sign In to Your Journals Account

    Filter

    Filter

    Article Lookup

    Enter a citation