Reducing Spatial Discretization Error on Coarse CFD Simulations Using an OpenFOAM-Embedded Deep Learning Framework
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 61 references that are in the map. First posted on arXiv 13 May 2024.
Builds on
15 of 61 references.
References · 15
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Automatic differentiation in machine learning: a surveycited by 846
- 2018Multi-Task Learning as Multi-Objective Optimizationcited by 809
- 2021Machine learning accelerated computational fluid dynamicscited by 461
- 2020Solver-in-the-Loop: Learning from Differentiable Physics to Interact with Iterative PDE-Solverscited by 201
- 2018Deep Learning for Single Image Super-Resolution: A Brief Reviewcited by 158
- 2021Enhancing Computational Fluid Dynamics with Machine Learningcited by 137
- 2020CFDNet: a deep learning-based accelerator for fluid simulationscited by 40
- 2021Deep Learning for Reduced Order Modelling and Efficient Temporal Evolution of Fluid Simulationscited by 36
- 2023Super-Resolution Analysis via Machine Learning: A Survey for Fluid Flowscited by 30
- 2023Machine Learning for Partial Differential Equationscited by 20
- 2021Assessments of epistemic uncertainty using Gaussian stochastic weight averaging for fluid-flow regressioncited by 15
3 more
- 2022Residual-based physics-informed transfer learning: A hybrid method for accelerating long-term CFD simulations via deep learningcited by 14
- 2021PythonFOAM: In-situ data analyses with OpenFOAM and Pythoncited by 3
- 2022A general approach for running Python codes in OpenFOAM using an embedded pybind11 Python interpretercited by 2
Built on by
Not cited yet.