Hostname: page-component-7b7567c8c-kwt9d Total loading time: 0 Render date: 2026-11-14T16:27:16.506Z Has data issue: false hasContentIssue false

Machine-learning-based pressure reconstruction with moving boundaries

Published online by Cambridge University Press:  02 April 2025

Hongping Wang
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
Fan Wu
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
Yi Liu
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
Xinyi He
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
Shuyi Feng
Affiliation:
Department of Structural Heart Disease, National Center for Cardiovascular Disease, PR ChinaFuwai Hospital, Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, PR China
Shizhao Wang*
Affiliation:
State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR ChinaSchool of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
*
Corresponding author: Shizhao Wang, wangsz@lnm.imech.ac.cn

Abstract

The greatest challenge in pressure reconstruction from the measured velocity fields is that the error of material acceleration is significantly contaminated due to error propagation. Particularly for flows with moving boundaries, accurate boundary velocities are difficult to obtain due to error propagation, and a complex boundary processing technique is needed to treat the moving boundaries. The present work proposes a machine-learning-based method to determine the pressure for incompressible flows with moving boundaries. The proposed network consists of two neural networks: one network, named the boundary network, is used to track the Lagrangian boundary points; the other physics-informed neural network, named the flow network, is adopted to approximate the flow fields. These two networks are coupled by imposing boundary conditions. We further propose a new dynamic weight strategy for the loss terms to guarantee convergence and stability. The performance of the proposed method is validated by two examples: the flow over an oscillating cylinder and the flow around a swimming fish. The proposed method can accurately determine the pressure fields and boundary motion from synthetic particle image velocimetry (PIV) flow fields. Moreover, this method can also predict the boundary and pressure at a given instant without supervised data. Finally, this method was applied to reconstruct the pressure from the two-dimensional and three-dimensional PIV velocities of the left ventricle. All of the results indicate that the proposed method can accurately reconstruct the pressure fields for flows with moving boundaries and is a novel method for surface pressure estimation.

Information

Type
JFM Papers
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1.Architecture of the dual-network model for pressure reconstruction with moving boundaries. We name this network PINN-MB. The boundary network is used to track the motion of the boundaries, and the PINN-based flow network is used to approximate the flow fields. The parameters $\mathbf {X}$ and $t$ denote space and time, respectively. $\mathbf {X}_b^t$ represents the Lagrangian points on the moving boundaries at time $t$.

Figure 1

Table 1.An overview of the differences among the PINN-MB, PINN and numerical method.

Figure 2

Figure 2.A representative snapshot of the velocity, pressure and corresponding absolute error. From left to right, the contour maps represent $u$, $v$ and pressure $p$. The dashed black lines represent negative contour levels from $-$1.5 to $-$0.1 with an interval of 0.2, and the solid black lines represent positive contour levels from 0.1 to 1.5 with an interval of 0.2. Note that the spatially averaged pressure is subtracted from both the exacted data and the predicted data for comparative assessment. For the training data, the vector space $1/R$ is set to $1/20$, and the noise level is set to $0\, \%$. The learned data were predicted over a mesh with an interval of $1/R=1/100$. Therefore, the original CFD data were interpolated on the predicted mesh to compute the absolute error. The yellow arrows indicate the motion of the cylinder.

Figure 3

Figure 3.A representative snapshot of the velocity, pressure and corresponding absolute error. From left to right, the contour maps represent $u$, $v$ and pressure $p$. The dashed black lines represent negative contour levels from $-$1.5 to $-$0.1 with an interval of 0.2, and the solid black lines represent positive contour levels from 0.1 to 1.5 with an interval of 0.2. Note that the spatially averaged pressure is subtracted from both the exacted data and the predicted data for comparative assessment. For the training data, the vector space $R$ is set to $1/20$, and the noise level is set to $8\, \%$ (the corresponding SNR is 21.9). The learned data were predicted over a mesh with an interval of $R=1/100$. Therefore, the original CFD data were interpolated over the predicted mesh to compute the absolute error. The yellow arrows indicate the motion of the cylinder.

Figure 4

Figure 4.Relative $\mathcal {l}_{2}$ norm error as a function of noise level $\sigma _n$ and vector space $1/R$: (a) $u$ component, (b) $v$ component and (c) pressure. In each case, the same PINN-MB model is used. The boundary network contains nine hidden layers and 32 neurons per hidden layer, and the flow network contains 13 hidden layers and 128 neurons per hidden layer. The red curves represent the mean values along the noise level or vector space.

Figure 5

Figure 5.(a) Pressure coefficient around the cylinder at the instant when the vertical position of the cylinder reaches a maximum of $y_c=0.2$. The parameter $\theta$ denotes the angle of the surface points. (b) PSD of the reference pressure and the predicted pressure at $(2,0)$, where $f$ denotes the nondimensional frequency.

Figure 6

Figure 6.Time series of the pressure coefficients $C_p$ at point (2,0) (the top panel) and the cylinder location $y_c$ (the bottom panel). $y_c$ denotes the y-axis centroid of the cylinder.

Figure 7

Figure 7.(a) Exact (grey thick curves) and predicted fish surfaces with $\Delta t = 2{\textrm d}t$ (red curves) and $10{\textrm d}t$ (blue curves) at different instants. From top to bottom, the non-dimensional time separation is 0.12. (b) Predicted error of the fish body as a function of the time steps of the training data $\Delta t$, the error bars represent the standard deviation. The error is normalised by the body length $L$. Note that, all of the data, including velocities and boundaries, are predicted at the time interval of $\Delta t = 2{\textrm d}t$.

Figure 8

Figure 8.Representative snapshots of pressure for DNS, PINN-MB with $\Delta t = 10 {\textrm d}t$ and the absolute error. From top to bottom, the non-dimensional times are 0.23, 0.35 and 0.47, respectively. In this case, the vector intervals of both the training data and the predicted data are set to the same values of $L/400$. No noise is added to the training data. The yellow arrows indicate the motion of the fish’s body. The mean value is subtracted from both the exacted data and the predicted data for comparative assessment.

Figure 9

Figure 9.Comparison of the surface pressure coefficients between the CFD results (thick solid curves) and the results predicted by PINN-MB with $\Delta t = 2 {\textrm d}t$ (thin solid curves) and $\Delta t = 10 {\textrm d}t$ (thin dashed curves). The different colours denote the right (red, R) and left (black, L) sides of the fish body. From left to right, the non-dimensional times are 0.23, 0.35 and 0.47, respectively.

Figure 10

Figure 10.(a) Time series of the relative $\mathcal {l}_{2}$ norm error between the predicted pressure and the DNS pressure. (b) Error of the predicted pressure as a function of the time steps of the training data $\Delta t$. Note that all the data, including the velocities and boundaries, are predicted at a time interval of $\Delta t = 2\textrm{d}t$. The red and black curves denote the errors of fields and boundaries, respectively.

Figure 11

Figure 11.Set-up of the time-resolved 2-D-PIV measurements: (a) picture of the set-up, (b) schematic of the set-up. The native mitral and aortic valves, which were anatomised from a fresh porcine heart, were connected to a 3-D-printed silicone LV. As the piston pulls back, the aortic valve is closed due to flow deceleration, and the blood analogue flows through the opened mitral valve to fill the LV. As the piston moves forwards, the mitral valve is closed, and blood is pumped into the aorta, which is driven by rapidly increasing pressure. Note that a part of the flow field is sheltered by the papillary muscles.

Figure 12

Figure 12.Flow rate (red curve) and transmitral pressure gradient (ventricular pressure–atrial pressure, blue curve) for the native mitral valve during the cardiac cycle. The time is normalised with respect to the period.

Figure 13

Figure 13.Loss functions (equation loss $\mathcal {L}_{eqns}$, boundary condition loss $\mathcal {L}_{b.c.}$, flow data loss $\mathcal {L}_{fdat}$ and boundary data loss $\mathcal {L}_{bdat}$) as a function of epochs for the 2-D experimental case of LV.

Figure 14

Figure 14.Instantaneous flow fields in the LV during different phases of the cardiac cycle: early diastole, end diastole and systole. From top to bottom, these figures present contour maps of the original PIV velocity magnitude, and the velocity magnitude and pressure fields predicted by the PINN-MB model. The predicted mesh is the same as the PIV mesh without increasing the spatial resolution. The unit of velocity is m s-1 and the pressure is converted to mmHg.

Figure 15

Figure 15.Haemodynamic force imposed on the blood during the cardiac cycle. The force is normalised by $\rho S g$, where $\rho$ is the blood density, $S$ is the area enclosed by the LV boundary and $g$ denotes the gravitational acceleration. The time is normalised with respect to the period. The two components of the force, $F_x$ and $F_y$, represent the forces in the septal-lateral and apical-basal directions, respectively.

Figure 16

Figure 16.Set-up of the time-resolved tomographic PIV measurements.

Figure 17

Figure 17.(a) Loss functions (equation loss $\mathcal {L}_{eqns}$, boundary condition loss $\mathcal {L}_{b.c.}$, flow data loss $\mathcal {L}_{fdat}$ and boundary data loss $\mathcal {L}_{bdat}$) as a function of epoch for the 3-D experimental case of LV. (b) PDFs of the divergence for the tomographic PIV and PINN-MB results.

Figure 18

Figure 18.Instantaneous left ventricular flow fields of (a, b, c) the raw tomographic PIV data and (e, f, g) the present machine learning-based results. The surface pressure can be directly obtained from the flow network. The vortex structures are visualised using the Q criterion with $Q=500$. From left to right, the time separation is 0.05 s.

Figure 19

Figure 19.Losses for the numerical benchmark of a 2-D flow over an oscillating cylinder after 5000 epochs with different dynamic weight calculation approaches. The colour bars and error bars represent the mean and standard deviation of the loss obtained from three independent runs. (a) In the small neural network, the boundary network contains nine hidden layers and 32 neurons per hidden layer, and the flow network contains 13 hidden layers and 80 neurons per hidden layer, yielding a total of 86 987 trainable parameters. (b) In the large neural network, the boundary network contains nine hidden layers and 32 neurons per hidden layer, and the flow network contains 13 hidden layers and 160 neurons per hidden layer, yielding a total of 318 907 trainable parameters. No measurement noise is considered in this test case.

Figure 20

Figure 20.Losses for the experimental case of a 2-D flow in the LV after 5000 epochs for different dynamic weight calculation approaches. The colour bars and error bars represent the mean and standard deviation of the loss obtained by three independent runs. (a) In the small neural network, the boundary network contains nine hidden layers and 48 neurons per hidden layer, and the flow network contains 13 hidden layers and 128 neurons per hidden layer, yielding a total of 218 171 trainable parameters. (b) In the large neural network, the boundary network contains nine hidden layers and 48 neurons per hidden layer, and the flow network contains 13 hidden layers and 200 neurons per hidden layer, yielding a total of 502 931 trainable parameters.

Figure 21

Figure 21.Dynamic weights as a function of epochs for the experimental case of 2-D flow in the left ventricle. (a) Dynamic weights proposed by Jin et al. (2021); (b) the present method. The curves are obtained from a large-scale neural network in which the boundary network contains nine hidden layers and 48 neurons per hidden layer, and the flow network contains 13 hidden layers and 200 neurons per hidden layer. The shadow regions represent the standard deviation of the dynamic weights from three independent runs.

Figure 22

Figure 22.(a, b) Uniformly distributed equation points and corresponding predicted pressure field. (c, d) Near-wall grid refined equation points and corresponding predicted pressure field. For the training data, the vector space $1/R$ is set to $1/40$, and the noise level is set to $0\, \%$. The learned data were predicted over a mesh with an interval of $1/R=1/100$. Therefore, the original CFD data were interpolated on the predicted mesh to compute the corresponding error. The yellow arrows indicate the motion of the cylinder. The dashed black lines correspond to negative contour levels from -1.5 to -0.1 with an interval of 0.2, and the solid black lines correspond to positive contour levels from 0.1 to 1.5 with an interval of 0.2.

Figure 23

Figure 23.Time series of the relative $\mathcal {l}_2$ norm error of the pressure for the uniform and wall-refined strategies in the case of flow over an oscillating cylinder.

Figure 24

Figure 24.A representative snapshot of the pressure given by (a) CFD and (b) PINN for the case of two axisymmetric co-rotating vortex rings. The dashed black lines represent negative contour levels from $-$4 to $-$0.2 with an interval of 0.4, and the solid black lines represent positive contour levels from 0.2 to 4 with an interval of 0.4. Note that for comparative assessment, the spatially averaged pressure is subtracted from both the exacted and predicted data for comparative assessment. The predicted mesh is the same as that of the training data without noise.

Figure 25

Figure 25.Relative $\mathcal {l}_2$ norm errors for the velocity $u,v$ and pressure $p$ as a function of time.

Figure 26

Figure 26.Relative $\mathcal {l}_2$ norm error of the pressure as a function of the ratio of the number of data points to the number of CFD points. For the flow over oscillating cylinder, the boundary network contains nine hidden layers and 32 neurons per hidden layer, and the flow network contains 13 hidden layers and 128 neurons per hidden layer, yielding a total of 207 707 trainable parameters. For the flow of fish swimming, the boundary network contains nine hidden layers and 48 neurons per hidden layer, and the flow network contains 13 hidden layers and 150 neurons per hidden layer, yielding a total of 291 981 trainable parameters.

Figure 27

Figure 27.A representative snapshot of the pressure reconstructed by (a) PINN-MB and(b) PINN (b). The PINN is unable to optimise noisy boundary conditions, therefore, the pressure near the cylinder is incorrect.