Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-04T15:08:11.275Z Has data issue: false hasContentIssue false

Turbulence generation and data assimilation in wall-bounded flows with a latent diffusion model

Published online by Cambridge University Press:  29 October 2026

Fabian Steinbrenner
Affiliation:
Stuttgart Center for Simulation Science, University of Stuttgart, Stuttgart 70569, Germany Institute of Aerospace Thermodynamics, University of Stuttgart, Stuttgart 70569, Germany
Baris Turan
Affiliation:
Stuttgart Center for Simulation Science, University of Stuttgart, Stuttgart 70569, Germany Institute of Aerospace Thermodynamics, University of Stuttgart, Stuttgart 70569, Germany
Hao Teng*
Affiliation:
Stuttgart Center for Simulation Science, University of Stuttgart, Stuttgart 70569, Germany Institute of Aerospace Thermodynamics, University of Stuttgart, Stuttgart 70569, Germany
Heng Xiao*
Affiliation:
Stuttgart Center for Simulation Science, University of Stuttgart, Stuttgart 70569, Germany Institute of Aerospace Thermodynamics, University of Stuttgart, Stuttgart 70569, Germany
*
Corresponding authors: Heng Xiao, heng.xiao@simtech.uni-stuttgart.de; Hao Teng, ddsim.hao.teng@gmail.com
Corresponding authors: Heng Xiao, heng.xiao@simtech.uni-stuttgart.de; Hao Teng, ddsim.hao.teng@gmail.com

Abstract

Content of image described in text.

Wall-bounded turbulent flows are chaotic and multiscale, rendering fast prediction at high Reynolds numbers computationally prohibitive in applications such as wind farms. Classical data assimilation is based on repeated solutions of the governing equations and, thus, inherits this cost. Generative models learn the probability distribution of flow states, enabling scalable probabilistic reconstruction. Our generative framework couples a variational autoencoder with a diffusion transformer to generate four-dimensional spatiotemporal samples. Bayesian conditioning enables data assimilation without retraining and allows statistical constraints to be imposed through sampling. The framework is applied to a subdomain of turbulent plane Couette flow, where the corresponding direct numerical simulations in this generation region requires $O(10^6)$ spatial degrees of freedom. Using $O(10)$ latent spatial degrees of freedom, the model achieves a compression ratio of $O(10^5)$, which is one to two orders of magnitude above prior reports. It reproduces single-point statistics up to fourth order and the energy spectra, as well as the intermittency and phase-sensitive structure captured by velocity-increment and $Q$–$R$ statistics. Two assimilation scenarios demonstrate that, when observations are statistically consistent with the prior, conditional diffusion models with the proposed sampling strategy preserve complex turbulent statistics in the posterior. However, enforcing these constraints while preserving physical fidelity and sample diversity introduces an inherent trade-off. Excessive conditioning can distort the learned prior, paralleling limitations of classical ensemble-based data assimilation, where this can likewise degrade the prior covariance. These results highlight both the promise of diffusion models as probabilistic surrogates and the challenges of conditioning them.

Information

Type
JFM Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Our goal is to enable real-world data assimilation of wind-farm flow fields under operating conditions, using high-fidelity simulations to train a stochastic generative model, and field observations from UAVs and LiDAR.

Figure 1

Figure 2. Schematic of the proposed three-step data assimilation framework using stochastic generative models. In this work, we establish the foundation for this vision. (a)$(a)$ We first construct a data distribution from DNS of 4-D turbulent plane Couette flow. (b)$(b)$ A latent diffusion transformer (DiT) model is then trained to generate statistically consistent flow field samples from a compact sample space, faithfully reproducing the associated turbulent statistics. (c)$(c)$ Finally, the model performs data assimilation for the same flow configuration using diffusion posterior sampling with two observation types: scattered observations and a localised rectangular data block.

Figure 2

Figure 3. Figure 3 long description.Schematic of the latent conditional diffusion framework. (a,g$a{,}g$) The input and output of the framework is a 4-D spatiotemporal flow field in physical space. (b$b$) The encoder of a β$\beta$-VAE maps a temporal sequence of DNS snapshots ϕ$\boldsymbol{\phi }$ of velocities u,v,w$u, v, w$ and pressure p$p$ into a low-dimensional latent space z$\mathsf{z}$(c)$(c)$. (d$d$) A DiT learns the latent dynamics. The learned DiT generates new a sequence of latents by prior sampling (e$e$i) or posterior sampling (e$e$ii, provided observations in physical space), where z0$\mathsf{z}_0$ denotes the clean latent sample and zT$\mathsf{z}_T$ the fully diffused one. (f$f$) The decoder then reconstructs 4-D spatiotemporal flow fields ϕ^$\boldsymbol{\hat {\phi }}$ from the generated latents. Training of the β$\beta$-VAE and the DiT is performed in two separate stages.

Figure 3

Figure 4. Schematic of a VAE architecture. The encoder takes a DNS flow field sample and predicts the mean μ$\boldsymbol{\mu }$ and variance Σ$\boldsymbol{\varSigma }$ of the variational distribution. In the bottleneck, a sample is drawn from a normal distribution and the latent representation is constructed as a sample from the variational distribution. The decoder reconstructs the input data. The training is conducted by minimising the loss function in (2.2). The detailed β$\beta$-VAE architecture is given in Appendix A.1.

Figure 4

Figure 5. Schematic of the sampling strategy used to impose statistical quantities. The time series is divided into M$M$ segments Ψ1,Ψ2,⋯,ΨM$\varPsi _1, \varPsi _2, {\cdots} , \varPsi _M$. Each generated sample sees one of the M$M$ segments.

Figure 5

Figure 6. Direct numerical simulations of turbulent plane Couette flow are used to construct the spatiotemporal dataset used for training. (a)$(a)$ First, the computational domain of the DNS is divided at the channel centreline. We use the top half with 16 subdomains (grey) and generate one subdomain (one snapshot) with 1/32 size of the computational domain of the DNS (blue). Depicted is the plane Couette flow domain with channel half-height h$h$; both walls move in streamwise direction x$x$ with wall velocity Uw$U_{{w}}$. (b)$(b)$ Second, for the training of the DiT each trajectory is segmented into clips. Illustrated is the segmentation of the 2000-snapshot trajectory of the DNS for one subdomain ϕ(ti)${\boldsymbol{\phi }}(t_i)$ with ti=i×10Δt$t_i = i \times 10\Delta t$. Each snapshot is a three-dimensional image (grey box). Every Φi${\boldsymbol{\varPhi }}_i$ is a clip including 10 snapshots with time step Δtgen$\Delta t_{\textit{gen}}$ starting at ti$t_i$. A stride of 30Δt$30\Delta t$ produces Nc=637$N_{{c}}=637$ clips for one subdomain and 10192$10{\,}192$ clips in total for all 16 subdomains in the top half of the simulation domain.

Figure 6

Figure 7. Prior sampling (unconditional generation) of plane Couette flow. Streamwise velocity u$u$ at y+=15$y^+=15$ for a sequence generated with 16 latent degrees of freedom (a) compared with DNS data (b) at four selected time steps.

Figure 7

Figure 8. Figure 8 long description.Vortical structures visualised by instantaneous isosurfaces of the Q$Q$-criterion at Q=0.1$Q = 0.1$ for (a)$(a)$ the DNS and (b)$(b)$ the model with dz=16$d_{\mathsf{z}} = 16$. The colour coding indicates the wall distance.

Figure 8

Figure 9. First- and second-order turbulent statistics of the prior samples. (a)$(a)$ Mean streamwise velocity profiles compared with the law of the wall (grey), (b)$(b)$ Reynolds shear stress, (c)$(c)$ Reynolds normal stresses, (d)$(d)$ total shear stress as the sum of mean and Reynolds shear stress. We show the statistics for flows generated with varying latent dimensions dz$d_{\mathsf{z}}$ from 4 to 96 and compare against the DNS data. Lighter to darker shades of blue indicate increasing latent dimensions.

Figure 9

Figure 10. Figure 10 long description.Premultiplied energy spectra of the prior samples. We evaluate the energy spectra at two wall-normal locations: (a,b)$(a{,}b)$y+=15$y^+=15$, and (c,d)$(c,d)$y+=49$y^+=49$. The panels show the pre-multiplied streamwise energy spectra as a function of the streamwise (a,c)$(a,c)$ and spanwise (b,d)$(b,d)$ wavenumber. We report the statistics for flows generated with different latent dimensions dz$d_{\mathsf{z}}$ and compare with the DNS data.

Figure 10

Figure 11. Third- and fourth-order turbulent statistics of prior samples. (a)$(a)$ Skewness S(u′)$S(u^{\prime })$, and (b)$(b)$ flatness F(u′)$F(u^{\prime })$ of the streamwise velocity fluctuation. We show the statistics for flows generated with varying latent dimensions dz$d_{\mathsf{z}}$ and compare against the DNS data.

Figure 11

Figure 12. Figure 12 long description.Probability density function of the standardised longitudinal velocity increment δu∗$\delta u^*$ for the prior (unconditional) samples at wall-normal stations (a) y+=5$y^+ = 5$ and (b) y+=15$y^+ = 15$. Each curve is the δu∗$\delta u^*$ distribution for one streamwise separation r+=350,120,40$r^+ = 350, 120, 40$ and 10$10$, standardised to zero mean and unit variance; the arrow indicates decreasing r+$r^+$. We show the PDFs for flows generated with varying latent dimensions dz$d_{\mathsf{z}}$ and compare against the DNS data.

Figure 12

Figure 13. Strain-rotation phase alignment in the Q$Q$–R$R$ plane of the prior samples at three wall-normal locations (a−c)$(a - c)$y+=5$y^{+} = 5$, 15$15$ and 49$49$. The contours are at four logarithmically spaced probability levels; the dashed grey curve is the Vieillefosse line (27/4)R2+Q3=0$({27}/{4})R^{2}+Q^{3}=0$. We show the statistics for flows generated with varying latent dimensions dz$d_{\mathsf{z}}$ and compare against the DNS data.

Figure 13

Figure 14. Schematic of the assimilated data in the (a)$(a)$ randomly scattered, and (b)$(b)$ block observation tasks. The illustrated domains are scaled by factors of 0.2$0.2$, 1$1$ and 0.2$0.2$ in the x$x$, y$y$ and z$z$ directions, respectively, relative to the generated domain. For clarity, every 50th data point in the baseline scattered task (0.1%$0.1\,\%$ of the total data points) is shown. For the block task, the baseline block of size Lx/12×Ly×Lz/8$L_x/12 \times L_y \times L_z/8$ is depicted, while the 11×64×15$11 \times 64 \times 15$ data points within the block are omitted.

Figure 14

Table 1. Considered data assimilation cases. Random observations scattered over the full domain (R) and spatially confined block observations (B) are examined. The baseline configurations, each using 1 % of the total grid points for the randomly scattered observation and block task, are highlighted in bold.Table 1 long description.

Figure 15

Figure 15. Assimilation of instantaneous observations to turbulence generation. Contours of streamwise velocity at y+=15$y^{+}=15$ are shown. Panel (a) shows generated samples with randomly scattered observations, (b) generated samples with block observations, (c) DNS data. Sensor locations are indicated by circles (random) and a dashed box (block). In the scattered observations task, every fifth sensor location is displayed for clarity.

Figure 16

Figure 16. Temporal evolution of trajectory-level deviations from the DNS reference for the baseline configurations of the two assimilation tasks. Conditionally generated flows with scattered and block observations, as well as prior samples, are shown. (a)$(a)$ Spatially averaged nRMSE in velocity between the generated fields and DNS as a function of time. (b)$(b)$ Time evolution of instantaneous TKE. The shaded region denotes one standard deviation computed from 50 samples conditioned on the same data. Time evolution of the streamwise velocity at an observed location for the block (c)$(c)$ and randomly scattered (d)$(d)$ observation tasks, respectively. Individual sample trajectories are shown with shades of blue and grey. For clarity, 8 samples are shown. The ensemble mean is indicated by circles (∘$\circ$).

Figure 17

Figure 17. Figure 17 long description.Performance of the conditionally generated flow for the scattered and block data assimilation tasks. The resulting statistics are shown for (a,d,g)$(a,d,g)$ Reynolds shear stress, (b,e,h)$(b,e,h)$ premultiplied energy spectra for the streamwise velocity as a function of the spanwise wavenumber at y+=15$y^+=15$, and (c,f,i)$(c,f,i)$ flatness of the streamwise velocity fluctuation. We compare against prior samples with latent dimension dz=32$d_{\mathsf{z}}=32$ and the DNS reference. The shaded region denotes one standard deviation computed from 300 samples conditioned on observation segments separated by 30Δt$30\Delta t$.

Figure 18

Figure 18. The effect of the number of observations on the posterior sampling. We show the variation of spatiotemporally averaged nRMSE in velocity with observation percentage for (a)$(a)$ the scattered observations task, and (b)$(b)$ block observations. The shaded region indicates one standard deviation over 50 generated samples with the same data. The name of each case is indicated on the plot. The baseline cases are highlighted in bold.

Figure 19

Figure 19. Figure 19 long description.Effect of task parameters on conditionally generated flows for randomly scattered observations and block data assimilation. Panels (a$a$–c$c$) illustrate the influence of the total data percentage in the scattered observations task. Panels (d$d$–f$f$) show the influence of total data percentage in the block task. Panels (g$g$–i$i$) show the influence of data grid stretching in the block task. The generated flows are evaluated using the Reynolds shear stress (second-order statistics) as a function of the wall-normal coordinate, the pre-multiplied energy spectrum of the streamwise velocity component as a function of spanwise wavenumber at y+=15$y^+=15$ and the skewness of the streamwise velocity fluctuations (fourth-order statistics) as a function of the logarithmic wall distance. Results are compared with the DNS reference data. Baseline cases are shown in grey, cases with decreasing observation density in shades of magenta/purple and cases with increasing observation density in shades of blue.

Figure 20

Table 2. Details of the β$\beta$-VAEs used in this work.Table 2 long description.

Figure 21

Figure 20. Figure 20 long description.Schematic of the β$\beta$-VAE architecture for dz=16$d_{\mathsf{z}}=16$ in the first training stage. In the bottleneck layer μ$\boldsymbol{\mu }$ and Σ$\boldsymbol{\varSigma }$ are the mean and variance of the variational distribution. The three-dimensional convolutions in the encoder and decoder block have a kernel size of three.

Figure 22

Table 3. Hyperparameters of the DiT. Hidden size refers to the dimension of the embedding space. Patch size refers to the dimension of each of the patches in the 4-D latent space.Table 3 long description.

Figure 23

Figure 21. Schematic of the DiT architecture. The indicated shapes for the noised latent vector and the noise are for dz=16$d_{\mathsf{z}}=16$.

Figure 24

Figure 22. Figure 22 long description.Two-point correlations of velocity fluctuations of the prior samples. We evaluate the correlations at three wall-normal locations: (a,b)$(a{,}b)$y+=5$y^+=5$, (c,d)$(c{,}d)$y+=15$y^+=15$, and (e,f)$(e{,}f)$y+=49$y^+=49$. Panels (a,c,e)$(a,c,e)$ show streamwise two-point correlations Ruiui(Δx)$R_{u_i u_i}(\Delta x)$, while panels (b,d,f)$(b{,}d{,}f)$ show spanwise correlations Ruiui(Δz)$R_{u_i u_i}(\Delta z)$, for the streamwise, wall-normal and spanwise velocity fluctuations. We report the statistics for flows generated with different latent dimensions dz$d_{\mathsf{z}}$ and compare with the DNS data.

Figure 25

Figure 23. Performance of the conditionally generated flow for the scattered and block data assimilation tasks. The resulting statistics are shown for (a)$(a)$ mean streamwise velocity, (b)$(b)$ Reynolds shear stress, (c)$(c)$ Reynolds normal stresses, (d)$(d)$ pre–multiplied energy spectra for the streamwise velocity as a function of the spanwise wavenumber at y+=15$y^+=15$, (e,f)$(e{,}f)$ skewness and flatness of the streamwise velocity fluctuation. We compare against prior samples with latent dimension dz=32$d_{\mathsf{z}}=32$ and the DNS reference.

Figure 26

Figure 24. Figure 24 long description.Statistics of the joint distribution of the conditionally generated flow for the scattered and block data assimilation tasks. (a,c,e)$(a{,}c{,}e)$ Two-point correlation of the streamwise velocity fluctuations in the spanwise direction. (b,d,f)$(b{,}d{,}f)$ Temporal autocorrelation of the streamwise velocity fluctuation. The results are shown for three different wall-normal locations (a,b)$(a{,}b)$y+=5$y^+=5$, (c,d)$(c{,}d)$y+=15$y^+=15$, and (e,f)$(e{,}f)$y+=49$y^+=49$. We compare against prior samples with latent dimension dz=32$d_{\mathsf{z}}=32$ and the DNS reference.

Figure 27

Figure 25. Probability density function of the standardised longitudinal velocity increment δu∗$\delta u^*$ for the conditionally generated flow for the scattered and block data assimilation tasks, at wall-normal stations (a) y+=5$y^+ = 5$ and (b) y+=15$y^+ = 15$. Each curve is the δu∗$\delta u^*$ distribution for one streamwise separation r+=350,120,40$r^+ = 350, 120, 40$ and 10$10$, standardised to zero mean and unit variance; the arrow indicates decreasing r+$r^+$. We compare against prior samples with latent dimension dz=32$d_{\mathsf{z}}=32$ and the DNS reference.

Figure 28

Figure 26. Effect of observation noise on posterior samples for the baseline randomly scattered observations case (R-1). We show the spatially averaged nRMSE and the evolution of streamwise velocity at an observed location for (a,b)$(a{,}b)$ noiseless and (b,c)$(b{,}c)$ noised observations. The solid lines show ensemble means, while shaded regions indicate one standard deviation over 50 generated samples with the same observation.

Figure 29

Figure 27. Figure 27 long description.Effect of observation noise on posterior samples for the baseline block observations case (B-1). We show the spatially averaged nRMSE and the evolution of streamwise velocity at an observed location for (a,b)$(a{,}b)$ noiseless and (b,c)$(b{,}c)$ noised observations. The solid lines show ensemble means, while shaded regions indicate one standard deviation over 50 generated samples with the same data.