This study proposes a novel deep-learning-based method for generating reduced representations of turbulent flows that ensures efficient storage and transfer while maintaining high accuracy during decompression. A Swin-transformer (ST) network combined with a physical constraints-based loss function is utilized to compress the turbulent flows with high compression ratios and then restore the data with underlying physical properties. The forced isotropic turbulence is used to demonstrate the ability of the ST-based model, where the instantaneous and statistical results show the excellent ability of the model to recover the flow data with a remarkable accuracy. Furthermore, the capability of the ST model is compared with a typical convolutional neural network-based auto-encoder (CNN-AE) by using the turbulent channel flow at two friction Reynolds numbers R e τ = 180 and 550. The results generated by the ST model are significantly more consistent with the direct numerical simulation data than those recovered by the CNN-AE, indicating the superior ability of the ST model to compress and restore the turbulent flow. This study also compares the compression performance of the ST model at different compression ratios ( C R s) and finds that the model has low enough error even at very high C R . Additionally, the effect of transfer learning (TL) is investigated, showing that TL reduces the training time by 64% while maintaining high accuracy. The results illustrate for the first time that the Swin-transformer-based model incorporating a physically constrained loss function can compress and restore turbulent flows with the correct physics.
CITATION STYLE
Zhang, M., Yousif, M. Z., Yu, L., & Lim, H. C. (2023). A Swin-transformer-based model for efficient compression of turbulent flow data. Physics of Fluids, 35(8). https://doi.org/10.1063/5.0160755
Mendeley helps you to discover research relevant for your work.