Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-10T07:35:58.470Z Has data issue: false hasContentIssue false

Deep learning of vortex-induced vibrations

Published online by Cambridge University Press:  19 December 2018

Maziar Raissi*
Affiliation:
Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
Zhicheng Wang
Affiliation:
Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
Michael S. Triantafyllou
Affiliation:
Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
George Em Karniadakis
Affiliation:
Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
*
†Email address for correspondence: maziar_raissi@brown.edu

Abstract

Vortex-induced vibrations of bluff bodies occur when the vortex shedding frequency is close to the natural frequency of the structure. Of interest is the prediction of the lift and drag forces on the structure given some limited and scattered information on the velocity field. This is an inverse problem that is not straightforward to solve using standard computational fluid dynamics methods, especially since no information is provided for the pressure. An even greater challenge is to infer the lift and drag forces given some dye or smoke visualizations of the flow field. Here we employ deep neural networks that are extended to encode the incompressible Navier–Stokes equations coupled with the structure’s dynamic motion equation. In the first case, given scattered data in space–time on the velocity field and the structure’s motion, we use four coupled deep neural networks to infer very accurately the structural parameters, the entire time-dependent pressure field (with no prior training data), and reconstruct the velocity vector field and the structure’s dynamic motion. In the second case, given scattered data in space–time on a concentration field only, we use five coupled deep neural networks to infer very accurately the vector velocity field and all other quantities of interest as before. This new paradigm of inference in fluid mechanics for coupled multi-physics problems enables velocity and pressure quantification from flow snapshots in small subdomains and can be exploited for flow control applications and also for system identification.

Information

Type
JFM Papers
Copyright
© 2018 Cambridge University Press 
Figure 0

Figure 1. Pedagogical physics-informed neural network: a plain vanilla densely connected (physics-uninformed) neural network, with 10 hidden layers and 32 neurons per hidden layer per output variable (i.e. $1\times 32=32$ neurons per hidden layer), takes the input variable $t$ and outputs $\unicode[STIX]{x1D702}$. As for the activation functions, we use $\unicode[STIX]{x1D70E}(x)=\sin (x)$. For illustration purposes only, the network depicted in this figure comprises two hidden layers and four neurons per hidden layer. We employ automatic differentiation to obtain the required derivatives to compute the residual (physics-informed) networks $f_{L}$. The total loss function is composed of the regression loss of the displacement $\unicode[STIX]{x1D702}$ on the training data, and the loss imposed by the differential equation $f_{L}$. Here, $I$ denotes the identity operator and the differential operator $\unicode[STIX]{x2202}_{t}$ is computed using automatic differentiation and can be thought of as an ‘activation operator’. Moreover, the gradients of the loss function are back-propagated through the entire network to train the parameters of the neural network as well as the damping $b$ and the stiffness $k$ parameters using the Adam optimizer.

Figure 1

Figure 2. Navier–Stokes informed neural networks: a plain vanilla densely connected (physics-uninformed) neural network, with 10 hidden layers and 32 neurons per hidden layer per output variable (i.e. $4\times 32=128$ neurons per hidden layer), takes the input variables $t$, $x$ and $y$ and outputs $\unicode[STIX]{x1D702}$, $u$, $v$ and $p$. As for the activation functions, we use $\unicode[STIX]{x1D70E}(x)=\sin (x)$. For illustration purposes only, the network depicted in this figure comprises two hidden layers and five neurons per hidden layer. We employ automatic differentiation to obtain the required derivatives to compute the residual (physics-informed) networks $e_{1}$, $e_{2}$ and $e_{3}$. If a term does not appear in the blue boxes (e.g. $u_{xy}$ or $u_{tt}$), its coefficient is assumed to be zero. It is worth emphasizing that unless the coefficient in front of a term is non-zero, that term is not going to appear in the actual ‘compiled’ computational graph and is not going to contribute to the computational cost of a feed-forward evaluation of the resulting network. The total loss function is composed of the regression loss of the velocity fields $u,v$ and the displacement $\unicode[STIX]{x1D702}$ on the training data, and the loss imposed by the differential equations $e_{1}$, $e_{2}$ and $e_{3}$. Here, $I$ denotes the identity operator and the differential operators $\unicode[STIX]{x2202}_{t},\unicode[STIX]{x2202}_{x}$ and $\unicode[STIX]{x2202}_{y}$ are computed using automatic differentiation and can be thought of as ‘activation operators’. Moreover, the gradients of the loss function are back-propagated through the entire network to train the neural network parameters using the Adam optimizer.

Figure 2

Figure 3. Point cloud: depicted in (a) is a visual representation of the distribution of observation points $\{t^{n},x^{n},y^{n}\}\text{}_{n=1}^{N}$ scattered in space and time. A randomly selected snapshot of the distribution of data points is also shown in (b). To capture the boundary layers, a finer resolution of points is sampled closer to the cylinder.

Figure 3

Figure 4. Navier–Stokes informed neural networks: a plain vanilla densely connected (physics-uninformed) neural network, with 10 hidden layers and 32 neurons per hidden layer per output variable (i.e. $5\times 32=160$ neurons per hidden layer), takes the input variables $t$, $x$ and $y$ and outputs $\unicode[STIX]{x1D702},c,u,v,w$ and $p$. As for the activation functions, we use $\unicode[STIX]{x1D70E}(x)=\sin (x)$. For illustration purposes only, the network depicted in this figure comprises two hidden layers and six neurons per hidden layer. We employ automatic differentiation to obtain the required derivatives to compute the residual (physics-informed) networks $e_{1}$, $e_{2}$, $e_{3}$ and $e_{4}$. If a term does not appear in the blue boxes (e.g. $u_{xy}$ or $u_{tt}$), its coefficient is assumed to be zero. It is worth emphasizing that unless the coefficient in front of a term is non-zero, that term is not going to appear in the actual ‘compiled’ computational graph and is not going to contribute to the computational cost of a feed-forward evaluation of the resulting network. The total loss function is composed of the regression loss of the passive scalar $c$ and the displacement $\unicode[STIX]{x1D702}$ on the training data, and the loss imposed by the differential equations $e_{1}$–$e_{4}$. Here, $I$ denotes the identity operator and the differential operators $\unicode[STIX]{x2202}_{t},\unicode[STIX]{x2202}_{x}$ and $\unicode[STIX]{x2202}_{y}$ are computed using automatic differentiation and can be thought of as ‘activation operators’. Moreover, the gradients of the loss function are back-propagated through the entire network to train the neural network parameters using the Adam optimizer.

Figure 4

Figure 5. VIVs: observations of the displacement $\unicode[STIX]{x1D702}$ are plotted in (a) while the data on the lift force $f_{L}$ are depicted in (b). These observations are shown by the red circles. Predictions of the trained neural networks $\unicode[STIX]{x1D702}$ and $f_{L}$ are depicted by blue solid lines.

Figure 5

Figure 6. VIV-I (velocity measurements): a representative snapshot of the data on the velocity field is depicted in the top left and top middle panels. The algorithm is capable of accurately (of the order of $10^{-3}$) reconstructing the velocity field and more importantly the pressure without having access to even a single observation on the pressure itself. To compute the difference between the predicted and exact pressure fields we had to subtract the spatial average pressure from both predicted and exact fields because for incompressible fluids the pressure is unique only up to a constant.

Figure 6

Figure 7. VIV-I (velocity measurements): relative $L_{2}$ errors between predictions of the model and the corresponding exact velocity and pressure fields. Four million data points corresponding to 280 time snapshots, scattered in space and time, are used to both regress the velocity field and enforce the corresponding partial differential equations. Lack of training data on $u$ and $v$ for $t<0$ and $t>14$ leads to weaker neural network predictions for the initial and final time instants. Here, it should be emphasized that the mechanism at work is ‘regression’, not ‘interpolation’. In a regression framework, lack of training data for times $t<0$ and $t>14$ directly affects the accuracy of predictions made at and near times $t=0$ and $t=14$.

Figure 7

Figure 8. VIV-I (velocity measurements): the resulting lift (a) and drag (b) forces are compared to the exact ones.

Figure 8

Figure 9. VIV-II (flow visualizations data): a representative snapshot of the data on the concentration of the passive scalar is depicted in the top left panel. The algorithm is capable of accurately (of the order of $10^{-3}$) reconstructing the concentration of the passive scalar and more importantly the velocity field as well as the pressure without having access to enough observations of these quantities themselves. To compute the difference between the predicted and exact pressure fields we had to subtract the spatial average pressure from both predicted and exact fields because for incompressible fluids the pressure is unique only up to a constant.

Figure 9

Figure 10. VIV-II (flow visualizations data): relative $L_{2}$ errors between predictions of the model and the corresponding exact velocity and pressure fields. Four million data points corresponding to 280 time snapshots, scattered in space and time, are used to both regress the concentration field and enforce the corresponding partial differential equations. Lack of training data on $c$ for $t<0$ and $t>14$ leads to weaker neural network predictions for the initial and final time instants. Here, it should be emphasized that the mechanism at work is ‘regression’, not ‘interpolation’. In a regression framework, lack of training data for times $t<0$ and $t>14$ directly affects the accuracy of predictions made at and near times $t=0$ and $t=14$.

Figure 10

Figure 11. VIV-II (flow visualizations data): the resulting lift (a) and drag (b) forces are compared to the exact ones.