# 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β¦Β

## 11 Citations

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

- Computer Science
- 2022

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.

### Deep Reinforcement Learning for Computational Fluid Dynamics on HPC Systems

- Computer ScienceJournal of Computational Science
- 2022

### A perspective on machine learning methods in turbulence modeling

- Computer ScienceGAMM-Mitteilungen
- 2020

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

- Computer ScienceArXiv
- 2022

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.

### Study on the Application of Machine Learning in Computational Fluid Dynamics

- Engineering
- 2021

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β¦

### Physics-constrained machine learning for thermal turbulence modelling at low Prandtl numbers

- PhysicsInternational Journal of Heat and Mass Transfer
- 2022

### Turbulent heat flux modelling in forced convection flows using artificial neural networks

- Environmental ScienceNuclear Engineering and Design
- 2022

### Machine learning for polymer composites process simulationβ a review

- Composites Part B: Engineering
- 2022

### Multifidelity aerodynamic flow field prediction using random forest-based machine learning

- Computer ScienceAerospace Science and Technology
- 2022

## References

SHOWING 1-10 OF 54 REFERENCES

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

- Physics
- 2019

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

- Computer ScienceSci. Program.
- 2020

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

- Computer ScienceJournal of Fluid Mechanics
- 2019

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

- Environmental Science
- 2020

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

- Computer Science, Engineering
- 2020

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

- Computer Science
- 2018

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.

### Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations

- Computer ScienceJ. Comput. Phys.
- 2019

### Assessment of supervised machine learning methods for fluid flows

- MathematicsTheoretical and Computational Fluid Dynamics
- 2020

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

- Computer ScienceTheoretical and Computational Fluid Dynamics
- 2020

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.