Haochen Li , Jinhan Xie , Chi Zhang , Yuchen Zhang , Yaomin Zhao
{"title":"A transformer-based convolutional method to model inverse cascade in forced two-dimensional turbulence","authors":"Haochen Li , Jinhan Xie , Chi Zhang , Yuchen Zhang , Yaomin Zhao","doi":"10.1016/j.jcp.2024.113475","DOIUrl":null,"url":null,"abstract":"<div><div>The present work proposes a novel transformer-based convolutional neural network (TransCNN) method to effectively model the inverse energy cascade in two dimensional (2D) turbulence. The TransCNN structure combines large-scale features extracted by transformer with small-scale features from convolutional layers, thus is considered suitable for multi-scale modeling. The novel TransCNN method has been applied to model sub-grid scale (SGS) stress for large-eddy simulation (LES) of 2D turbulence, under the extremely challenging situation that the LES grid is too coarse to resolve the external forcing scale. The data-driven model trained by the novel TransCNN structure is compared to two deep CNN models with varying complexities. All models exhibit proficiency during <em>a priori</em> tests. Notably, TransCNN surpasses its counterparts in predictive accuracy and generalizability in <em>a posteriori</em> tests. An investigation into the receptive fields reveals that the TransCNN model can efficiently leverage global information with the transformer structure, which is key to its superior performance in representing the inverse energy cascade in the 2D turbulent simulations.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"520 ","pages":"Article 113475"},"PeriodicalIF":3.8000,"publicationDate":"2024-10-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Physics","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S002199912400723X","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
The present work proposes a novel transformer-based convolutional neural network (TransCNN) method to effectively model the inverse energy cascade in two dimensional (2D) turbulence. The TransCNN structure combines large-scale features extracted by transformer with small-scale features from convolutional layers, thus is considered suitable for multi-scale modeling. The novel TransCNN method has been applied to model sub-grid scale (SGS) stress for large-eddy simulation (LES) of 2D turbulence, under the extremely challenging situation that the LES grid is too coarse to resolve the external forcing scale. The data-driven model trained by the novel TransCNN structure is compared to two deep CNN models with varying complexities. All models exhibit proficiency during a priori tests. Notably, TransCNN surpasses its counterparts in predictive accuracy and generalizability in a posteriori tests. An investigation into the receptive fields reveals that the TransCNN model can efficiently leverage global information with the transformer structure, which is key to its superior performance in representing the inverse energy cascade in the 2D turbulent simulations.
期刊介绍:
Journal of Computational Physics thoroughly treats the computational aspects of physical problems, presenting techniques for the numerical solution of mathematical equations arising in all areas of physics. The journal seeks to emphasize methods that cross disciplinary boundaries.
The Journal of Computational Physics also publishes short notes of 4 pages or less (including figures, tables, and references but excluding title pages). Letters to the Editor commenting on articles already published in this Journal will also be considered. Neither notes nor letters should have an abstract.