The authors present generalized finite-volume-based discretized loss functions integrated into pressure-linked algorithms for physics-based unsupervised training of neural networks (NNs). In contrast to automatic differentiation-based counterparts, discretized loss functions leverage well-developed numerical schemes of computational fluid dynamics (CFD) for tailoring NN training specific to the flow problems. For validation, neural network-based solvers (NN solvers) are trained by posing equations such as the Poisson equation, energy equation, and Spalart–Allmaras model as loss functions. The predictions from the trained NNs agree well with the solutions from CFD solvers while also providing solution time speed-ups of up to seven times. Another application of unsupervised learning is the novel hybrid loss functions presented in this study. Hybrid learning combines the information from sparse or partial observations with a physics-based loss to train the NNs accurately and provides training speed-ups of up to five times compared with a fully unsupervised method. Also, to properly utilize the potential of discretized loss functions, they are formulated in a machine learning (ML) framework (TensorFlow) integrated with a CFD solver (OpenFOAM). The ML-CFD framework created here infuses versatility into the training by giving loss functions access to the different numerical schemes of the OpenFOAM. In addition, this integration allows for offloading the CFD programming to OpenFOAM, circumventing bottlenecks from manually coding new flow conditions in a solely ML-based framework like TensorFlow.
Skip Nav Destination
A generalized framework for unsupervised learning and data recovery in computational fluid dynamics using discretized loss functions
Article navigation
July 2022
Research Article|
July 08 2022
A generalized framework for unsupervised learning and data recovery in computational fluid dynamics using discretized loss functions
Special Collection:
Artificial Intelligence in Fluid Mechanics
Deepinder Jot Singh Aulakh
;
Deepinder Jot Singh Aulakh
a)
(Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing)
1
Department of Mechanical and Materials Engineering, Queen's University
, Kingston, Canada
a)Author to whom correspondence should be addressed: 16djsa@queensu.ca
Search for other works by this author on:
Steven B. Beale
;
Steven B. Beale
(Funding acquisition, Investigation, Methodology, Project administration, Resources, Supervision, Writing – original draft, Writing – review & editing)
1
Department of Mechanical and Materials Engineering, Queen's University
, Kingston, Canada
2
Institute of Energy and Climate Research, IEK-13, Forschungszentrum Jülich GmbH
, Germany
Search for other works by this author on:
Jon G. Pharoah
Jon G. Pharoah
(Conceptualization, Data curation, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization)
1
Department of Mechanical and Materials Engineering, Queen's University
, Kingston, Canada
Search for other works by this author on:
a)Author to whom correspondence should be addressed: 16djsa@queensu.ca
Note: This paper is part of the special topic, Artificial Intelligence in Fluid Mechanics.
Physics of Fluids 34, 077111 (2022)
Article history
Received:
April 28 2022
Accepted:
June 23 2022
Citation
Deepinder Jot Singh Aulakh, Steven B. Beale, Jon G. Pharoah; A generalized framework for unsupervised learning and data recovery in computational fluid dynamics using discretized loss functions. Physics of Fluids 1 July 2022; 34 (7): 077111. https://doi.org/10.1063/5.0097480
Download citation file:
Sign in
Don't already have an account? Register
Sign In
You could not be signed in. Please check your credentials and make sure you have an active account and try again.
Sign in via your Institution
Sign in via your InstitutionPay-Per-View Access
$40.00