English

Deploying deep learning in OpenFOAM with TensorFlow

Computational Physics 2020-12-03 v1 Machine Learning Data Analysis, Statistics and Probability Fluid Dynamics

Abstract

We outline the development of a data science module within OpenFOAM which allows for the in-situ deployment of trained deep learning architectures for general-purpose predictive tasks. This module is constructed with the TensorFlow C API and is integrated into OpenFOAM as an application that may be linked at run time. Notably, our formulation precludes any restrictions related to the type of neural network architecture (i.e., convolutional, fully-connected, etc.). This allows for potential studies of complicated neural architectures for practical CFD problems. In addition, the proposed module outlines a path towards an open-source, unified and transparent framework for computational fluid dynamics and machine learning.

Cite

@article{arxiv.2012.00900,
  title  = {Deploying deep learning in OpenFOAM with TensorFlow},
  author = {Romit Maulik and Himanshu Sharma and Saumil Patel and Bethany Lusch and Elise Jennings},
  journal= {arXiv preprint arXiv:2012.00900},
  year   = {2020}
}
R2 v1 2026-06-23T20:39:29.288Z