Hostname: page-component-7b7567c8c-kwt9d Total loading time: 0 Render date: 2026-11-14T19:50:43.431Z Has data issue: false hasContentIssue false

A seamless multiscale operator neural network for inferring bubble dynamics

Published online by Cambridge University Press:  21 October 2021

Chensen Lin
Affiliation:
Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
Martin Maxey
Affiliation:
Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
Zhen Li
Affiliation:
Department of Mechanical Engineering, Clemson University, Clemson, SC 29634, USA
George Em Karniadakis*
Affiliation:
Division of Applied Mathematics, Brown University, Providence, RI 02912, USASchool of Engineering, Brown University, Providence, RI 02912, USA
*
†Email address for correspondence: george_karniadakis@brown.edu

Abstract

Modelling multiscale systems from nanoscale to macroscale requires the use of atomistic and continuum methods and, correspondingly, different computer codes. Here, we develop a seamless method based on DeepONet, which is a composite deep neural network (a branch and a trunk network) for regressing operators. In particular, we consider bubble growth dynamics, and we model tiny bubbles of initial size from 100 nm to 10 $\mathrm {\mu }\textrm {m}$, modelled by the Rayleigh–Plesset equation in the continuum regime above 1 $\mathrm {\mu }\textrm {m}$ and the dissipative particle dynamics method for bubbles below 1 $\mathrm {\mu }\textrm {m}$ in the atomistic regime. After an offline training based on data from both regimes, DeepONet can make accurate predictions of bubble growth on-the-fly (within a fraction of a second) across four orders of magnitude difference in spatial scales and two orders of magnitude in temporal scales. The framework of DeepONet is general and can be used for unifying physical models of different scales in diverse multiscale applications.

Information

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

Figure 1.Multiscale bubble growth problem, from the scale of nucleation to a centimetre. To model this process, different methods are needed at different scales, e.g. the Rayleigh–Plesset model on the macroscale and dissipative particle dynamics on the microscale. The ‘handshaking’ problem involves coupling between the two physical models involving different mathematical descriptions at the demarcation boundary around 1 $\mathrm {\mu }\textrm {m}$.

Figure 1

Figure 2.(a) The DPD system at the microscale. The blue particles represent the liquid phase while the yellow particles represent the gas phase. Time-varying external forces are exerted on both the top and bottom walls to control the system pressure. The bubble radius, $R(t)$, is computed by measuring the volume occupied by the gas particles. (b) The R–P model at macroscale. A circular bubble is at rest in liquid. The change of pressure, $\Delta P(t)$, at the boundary at $R_E$ induces the change to the bubble size. (c) Value of $R(t)$ of an initial bubble of radius 1.258 $\mathrm {\mu }\textrm {m}$ responding to $\Delta P(t)$; the inset shows $\Delta P(t)$. The comparison of the R–P solution and the mean DPD simulation results shows a discrepancy of $1.8\,\%$. (d) When the bubble size is 92.4 nm, the discrepancy increases to over $15\,\%$. For a fair comparison, $\Delta P(t)$ values are the same. Such systematic comparisons suggest that 1 $\mathrm {\mu }\textrm {m}$ is a reasonable demarcation boundary between the R–P and the DPD models.

Figure 2

Figure 3.(a) The spatio-temporal domain for operator regression. The length scale equals to the initial bubble radius, $R_0$. The upper and lower boundary values for $R_0$ are 100 nm and 10 $\mathrm {\mu }\textrm {m}$, respectively. The time scale equals to the whole time interval, $T$. The boundary of $T$ is related to $R_0$ by defining a dimensionless characteristic time, $\tau _c$, so that $T_{\tau _c} = 5$ in all the different regimes. The training data are composed of two parts: when $R_0$ is between 1 and 10 $\mathrm {\mu }\textrm {m}$ data are generated by the R–P model, while when $R_0$ is between 100 nm and 1.25 $\mathrm {\mu }\textrm {m}$ data are generated by the DPD model. The demarcation region is between 1 and 1.25 $\mathrm {\mu }\textrm {m}$ and contains data from both physical models. (b) The architecture of DeepONet. The branch net takes $\Delta P$ as input while the trunk net takes $R_0$ and time $t$ as input. The output of the network is the relative bubble size change.

Figure 3

Figure 4.Predictions of DeepONet at different scales on unseen $R_0$ and unseen $\Delta P(t)$. (a,b) Two examples near the upper boundary of length scale; comparisons against the R–P solutions. (c,d) Two examples near the demarcation region; comparisons against both the R–P solutions and the DPD simulations; the DPD mean is the ensemble average of $12$ separate simulations. (e, f) Two examples near the lower boundary of length scale; comparisons against both the R–P solutions and the DPD simulations. The inset plots show the input signal $\Delta P(t)$. (g, h) Overview of multiple cases showing DeepONet predictions on top of ground truth in the ranges [1 $\mathrm {\mu }\textrm {m}$, 10 $\mathrm {\mu }\textrm {m}$] (compared with R–P) and [100 nm, 1 $\mathrm {\mu }\textrm {m}$] (compared with DPD).

Figure 4

Figure 5.(a) Test errors (relative $L2$) of DeepONet at different scales. For each scale, we test DeepONet with $100$ unseen $\Delta P(t)$. Below length scale 1.25 $\mathrm {\mu }\textrm {m}$, the predictions are compared with DPD simulations (blue), while above 1 $\mathrm {\mu }\textrm {m}$, the predictions are compared with the R–P model (orange). The errors are relatively higher near the lower boundary of length scale due to the noise in the ground truth (DPD mean). The errors increase slightly near the demarcation scale due to the small discrepancy between the two physical models. Overall, the errors at different scales are relatively low (below $3\,\%$). (b) Parity plot of predicted $R(t)$ against the ground truth; the data points fall on the diagonal line indicating very good prediction. Overall, the results show that DeepONet can learn from both physical models accurately.