Deploying deep learning in OpenFOAM with TensorFlow

@article{Maulik2021DeployingDL,
  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},
  year={2021},
  volume={abs/2012.00900}
}
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… 

Figures from this paper

NNPred: A Predictor Library to Deploy Neural Networks in Computational Fluid Dynamics software

A neural-networks predictor library has been developed to deploy machine learning (ML) models into computational CFD codes and provides a powerful tool for the deployment of ML models in CFD solvers.

A perspective on machine learning methods in turbulence modeling

A survey of the current data‐driven model concepts and methods, highlight important developments, and put them into the context of the discussed challenges, mostly from the perspective of large Eddy simulation and related techniques.

A general approach for running Python codes in OpenFOAM using an embedded pybind11 Python interpreter

This article introduces a general methodology, allowing the execution of Python code directly within an OpenFOAM solver without the need for Python code translation, based on the lightweight library pybind11.

PythonFOAM: In-situ data analyses with OpenFOAM and Python

Study on the Application of Machine Learning in Computational Fluid Dynamics

Experimenting hypothetical nuclear power plant accidents is very challenging, thus many computational studies are being conducted. However, there are limitations to severe accident simulation using…

References

SHOWING 1-10 OF 54 REFERENCES

Compressed Convolutional LSTM: An Efficient Deep Learning framework to Model High Fidelity 3D Turbulence

High-fidelity modeling of turbulent flows is one of the major challenges in computational physics, with diverse applications in engineering, earth sciences and astrophysics, among many others. The…

A Fortran-Keras Deep Learning Bridge for Scientific Computing

A software library, the Fortran-Keras Bridge (FKB), which connects environments where deep learning resources are plentiful, with those where they are scarce and reveals many neural network architectures that produce considerable improvements in stability including some with reduced error, for an especially challenging training dataset.

Sub-grid scale model classification and blending through deep learning

The use of machine learning for spatio-temporally dynamic turbulence model classification and hybridization for large eddy simulations (LES) of turbulence and conditional-probability predictions of the same machine learning to blend turbulence models for another hybrid closure are detailed.

Deep learning methods for super-resolution reconstruction of turbulent flows

Two deep learning (DL) models addressing the super-resolution (SR) reconstruction of turbulent flows from low-resolution coarse flow field data are developed. One is the static convolutional neural…

Convolutional neural network based hierarchical autoencoder for nonlinear mode decomposition of fluid field data

The present results suggest that the proposed concept can be extended to meet various demands in fluid dynamics including reduced order modeling and its combination with linear theory-based methods by using its ability to arrange the order of the extracted nonlinear modes.

A Deep Learning based Approach to Reduced Order Modeling for Turbulent Flow Control using LSTM Neural Networks

A deep learning based approach is demonstrated to build a ROM using the POD basis of canonical DNS datasets, for turbulent flow control applications and finds that a type of Recurrent Neural Network, the Long Short Term Memory (LSTM) shows attractive potential in modeling temporal dynamics of turbulence.

Assessment of supervised machine learning methods for fluid flows

Four machine learning architectures are examined in terms of their characteristics, accuracy, computational cost, and robustness for canonical flow problems, and the use of convolutional neural network is considered in the context of super-resolution analysis of two- dimensional cylinder wake, two-dimensional decaying isotropic turbulence, and three-dimensional turbulent channel flow.

Machine-learning-based reduced-order modeling for unsteady flows around bluff bodies of various shapes

The present results show that the ML-ROM works well even for unseen shapes of bluff bodies when these parameters are properly chosen, which implies great potential for the present type of ML- ROM to be applied to more complex flows.
...