Professional Documents
Culture Documents
Machine Learning CFD
Machine Learning CFD
net/publication/353324817
CITATIONS READS
10 4,372
6 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Ali Nauman P.hD. on 18 July 2021.
Abstract— Numerical simulation of fluid flow is a Recently, Berg and Nystrom [1] used deep feedforward
significant research concern during the design process of artificial neural network (ANN) and unconstraint gradient-
a machine component that experiences fluid-structure based optimisation to approximate partial differential equation
interaction (FSI). State-of-the-art in traditional (PDE). They showed an example where classical mesh-based
computational fluid dynamics (CFD) has made CFD methods could not be used, and neural network is an attractive
reach a relative perfection level during the last couple of alternative. Similarly, Long et al. used feedforward ANN to
decades. However, the accuracy of CFD is highly approximate a PDE solution and learned the PDE under
dependent on mesh size; therefore, the computational cost consideration in an inverse approach [2]. They showed that the
ability of ANN to learn the entire family of PDE based on
depends on resolving the minor feature. The
available data is remarkable. Nabian and Meidani enforced
computational complexity grows even further when there
initial and boundary conditions during the feedforward ANN
are multiple physics and scales involved making the training, and the loss function were optimised for randomly
approach time-consuming. In contrast, machine learning selected spatial points during each iteration [3]. This makes
(ML) has shown a highly encouraging capacity to forecast the outcome of ANN so-called mesh-less. Sun et al. proposed
solutions for partial differential equations. A trained an approach for extracting governing PDEs for dynamic
neural network has offered to make accurate datasets fed to an ANN-based model [4].
approximations instantaneously compared with
conventional simulation procedures. This study presents Most recently, Li et al. [5] introduced a Fourier Neural
transient fluid flow prediction past a fully immersed body Operator (FNO) to learn the entire family of parametric PDEs,
as an integral part of the ML-CFD project. MLCFD is a including the Navier–Stokes equations. This work also
presents ingeniously interpreting results between discrete
hybrid approach that involves initialising the CFD
mesh points. The method was shown to outperform traditional
simulation domain with a solution forecasted by an ML methods to solve PDEs in terms of error. Moreover, CPU-time
model to achieve fast convergence in traditional CDF. required to get an output from a neural network for varying
Initial results are highly encouraging, and the entire time- initial conditions is far lesser than that required by traditional
based series of fluid patterns past the immersed structure numerical approaches, for instance, finite element method, to
is forecasted using a deep learning algorithm. Prepared solve PDEs. Similarly, a study has reported successful ML
results show a strong agreement compared with fluid flow utilisation to classify 2D surface pressure data [6]. The 2D
simulation performed utilising CFD. surface data can be viewed as spatial and temporal variations
in the output of a multivariable function similar to PDE output.
Keywords—Machine learning, fluid-structure interaction, This study shows the capabilities of ML to study a domain that
computational fluid dynamics, numerical analyses, flow past a is not directly considered eligible for transfer learning.
cylinder
The Navier–Stokes equations are utilised extensively to
I. INTRODUCTION estimate fluid-structure interaction in machine elements, for
Multiphysics involved in fluid-structure analyses creates instance, air and blade interaction in a wind turbine.
time and computational efficiency issues related to design Therefore, the successful utilisation of ML to approximate and
approaches based on conventional numerical forecast fluid vortices and eddies, e.g., [7], is a proof of
simulations. Such approaches typically discretise the concept for the present study. Shortly, we foresee that
governing equations in time and space, solve them using computational mechanics involved in engineering design will
iterative numerical schemes, and computational time rely heavily on ML because of the widespread benefit offered
increases exponentially with an increase in mesh density. by ML, including time and efficiency issues related to the
Similar to CFD and FSI, discretised numerical computations traditional design approach. Moreover, ML algorithms also
are involved in numerous engineering fields, e.g., electric- and suggest efficient strategies to reduce three-dimensional data to
electromagnetic- fields, acoustics, chemical species transport, the planar transport network, such as turbulent CFD
fluid flow, heat transfer, optics, semiconductors, tribology and superstructures [8]. Knowledge gap: even though ANN-based
structural mechanics. physics-informed and data-driven models have been shown to
accurately approximate and instantaneously forecast
multivariable functions, the application of such models is
100
computational domain the passage of time.
II. MODELLING
A. Computational fluid dynamic model
110
The physical description and the applied boundary
conditions for the current work are shown in Fig. 1. The
computational domain size is 30 D × 30 D, where D is the
diameter of the cylinder. The Inlet boundary is placed 10D
upstream of the cylinder while the outlet is positioned at 20D
downstream. The distance of the side walls is maintained at
120
15D on each side of the cylinder. The structured mesh was
generated using hexahedral elements, and an O-grid was
introduced around the cylinder walls to ensure high-quality
mesh in the vicinity of the boundary layer thickness providing
50 nodes within the boundary layer region. Mesh topology and 130
node distribution near the cylinder wall are displayed in Fig.
1.
=0 (1)
140
=− + ∇ +∇ (2)
⁄ = (3)
Transient and incompressible forms of the continuity and
Navier-Stokes equations (Eq. 1 – 3) [9] are considered where
150
Fig. 2. Deep learning model based on Forier Neural Operator (a part of this
figure is adotpted from [5] to illustrate the data flow).
series of solutions. All the iterations from the 12th and until
the 1000th are purely based on the predicted sequence of PDE
solutions. Since it is an ongoing project and the results
presented here are initial developments, the prepared results
Pixel to Pixel Comparison = 1.303711% show diverged solution at some specific grid points. We
believe this problem could be addressed by optimising the
network architecture, which is our future goal in order to
achieve state-of-the-art accuracy. Presently, the learned model
t + 20 (ms)
ACKNOWLEDGMENT
t + 40 (ms)
[1] J. Berg and K. Nyström, "A unified deep artificial neural network
approach to partial differential equations in complex geometries,"
t + 60 (ms)