返回
Reducing spatial discretization error on coarse CFD simulations using an openFOAM-embedded deep learning framework
DOI:10.1007/s00366-024-02057-0.png)
摘要
En 中文
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.
Keyword:
Deep Learning
Computational fluid dynamics
Finite volume method
OpenFOAM
Discretization error
期刊
IF:
4.9
论文数:
2.7K
被引数:
9.3K
机构
引用论文
Long‐term fluctuations in volcanic activity: implications for future environmental impact
Terra Nova
IF0
Physics-constrained bayesian neural network for fluid flow reconstruction with sparse and noisy data具有稀疏和噪声数据的物理约束贝叶斯神经网络用于流体流动重建
Residual-based physics-informed transfer learning: A hybrid method for accelerating long-term CFD simulations via deep learning基于残差的物理信息迁移学习: 一种通过深度学习加速长期CFD模拟的混合方法

