Reducing spatial discretization error on coarse CFD simulations using an openFOAM-embedded deep learning framework

被引:0
|
作者
Gonzalez-Sieiro, J. [1 ,2 ]
Pardo, D. [1 ,2 ,3 ]
Nava, V. [1 ,4 ]
Calo, V. M. [5 ]
Towara, M. [6 ]
机构
[1] BCAM Basque Ctr Appl Math, Bilbao, Spain
[2] Univ Basque Country UPV EHU, Leioa, Spain
[3] Ikerbasque Basque Fdn Sci, Bilbao, Spain
[4] TECNALIA Basque Res & Technol Alliance BRTA, Derio, Spain
[5] Curtin Univ, Sch Elect Engn Comp & Math Sci, Perth, Australia
[6] Rhein Westfal TH Aachen, Software & Tools Computat Engn, Aachen, Germany
关键词
Deep Learning; Computational fluid dynamics; Finite volume method; OpenFOAM; Discretization error; SQUARE-CYLINDER; MODE DECOMPOSITION; FLOW;
D O I
10.1007/s00366-024-02057-0
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We propose a method for reducing the spatial discretization error of coarse computational fluid dynamics (CFD) problems by enhancing the quality of low-resolution simulations using deep learning. We feed the model with fine-grid data after projecting it to the coarse-grid discretization. We substitute the default differencing scheme for the convection term by a feed-forward neural network that interpolates velocities from cell centers to face values to produce velocities that approximate the down-sampled fine-grid data well. The deep learning framework incorporates the open-source CFD code OpenFOAM, resulting in an end-to-end differentiable model. We automatically differentiate the CFD physics using a discrete adjoint code version. We present a fast communication method between TensorFlow (Python) and OpenFOAM (c++) that accelerates the training process. We applied the model to the flow past a square cylinder problem, reducing the error from 120% to 25% in the velocity for simulations inside the training distribution compared to the traditional solver using an x8 coarser mesh. For simulations outside the training distribution, the error reduction in the velocities was about 50%. The training is affordable in terms of time and data samples since the architecture exploits the local features of the physics.
引用
收藏
页数:22
相关论文
共 22 条
  • [1] Reducing the Spatial Discretization Error of Thermal Emission in Implicit Monte Carlo Simulations
    Irvine, Adam Glenn
    Boyd, Iain D.
    Gentile, Nicholas A.
    JOURNAL OF COMPUTATIONAL AND THEORETICAL TRANSPORT, 2016, 45 (1-2) : 99 - 122
  • [2] Framework for denoising Monte Carlo photon transport simulations using deep learning
    Ardakani, Matin Raayai
    Yu, Leiming
    Kaeli, David
    Fang, Qianqian
    JOURNAL OF BIOMEDICAL OPTICS, 2022, 27 (08)
  • [3] A deep learning framework for hyperspectral image classification using spatial pyramid pooling
    Yue, Jun
    Mao, Shanjun
    Li, Mei
    REMOTE SENSING LETTERS, 2016, 7 (09) : 875 - 884
  • [4] A hybrid CFD - Deep Learning methodology to improve the accuracy of cut-off diameter prediction in coarse-grid simulations for cyclone separators
    Le, Dang Khoi
    Guo, Ming
    Yoon, Joon Yong
    JOURNAL OF AEROSOL SCIENCE, 2023, 170
  • [5] Scalable Self-taught Deep-Embedded Learning Framework for Drug Abuse Spatial Behaviors Detection
    Liu, Wuji
    Ye, Xinyue
    Phan, Hai
    Hu, Han
    COMPUTATIONAL DATA AND SOCIAL NETWORKS, 2019, 11917 : 223 - 228
  • [6] A rapid flood inundation modelling framework using deep learning with spatial reduction and reconstruction
    Zhou, Yuerong
    Wu, Wenyan
    Nathan, Rory
    Wang, Quan J.
    ENVIRONMENTAL MODELLING & SOFTWARE, 2021, 143
  • [7] A rapid flood inundation modelling framework using deep learning with spatial reduction and reconstruction
    Zhou, Yuerong
    Wu, Wenyan
    Nathan, Rory
    Wang, Quan J.
    Environmental Modelling and Software, 2021, 143
  • [8] A spatial-spectral semisupervised deep learning framework using siamese networks and angular loss
    Mukherjee, Souvick
    Prasad, Saurabh
    COMPUTER VISION AND IMAGE UNDERSTANDING, 2020, 194
  • [9] Deep learning interfacial momentum closures in coarse-mesh CFD two-phase flow simulation using validation data
    Bao, Han
    Feng, Jinyong
    Nam Dinh
    Zhang, Hongbin
    INTERNATIONAL JOURNAL OF MULTIPHASE FLOW, 2021, 135
  • [10] Deep learning interfacial momentum closures in coarse-mesh CFD two-phase flow simulation using validation data
    Bao, Han
    Feng, Jinyong
    Dinh, Nam
    Zhang, Hongbin
    International Journal of Multiphase Flow, 2021, 135