This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Conditional moment methods for polydisperse cavitating flows

Spencer H. Bryngelson shb@gatech.edu Rodney O. Fox Tim Colonius School of Computational Science & Engineering, Georgia Institute of Technology, Atlanta, GA 30332, USA Department of Chemical and Biological Engineering, Iowa State University, Ames, IA 50011, USA Center for Multiphase Flow Research and Education, Iowa State University, Ames, IA 50011, USA Department of Mechanical and Civil Engineering, California Institute of Technology, Pasadena, CA 91125, USA
(July 30, 2025)
Abstract

The dynamics of cavitation bubbles are important in many flows, but their small sizes and high number densities often preclude direct numerical simulation. We present a computational model that averages their effect on the flow over larger spatiotemporal scales. The model is based on solving a generalized population balance equation (PBE) for nonlinear bubble dynamics and explicitly represents the evolving probability density of bubble radii and radial velocities. Conditional quadrature-based moment methods (QBMMs) are adapted to solve this PBE. A one-way-coupled bubble dynamics problem demonstrates the efficacy of different QBMMs for the evolving bubble statistics. Results show that enforcing hyperbolicity during moment inversion (CHyQMOM) provides comparable model-form accuracy to the traditional conditional method of moments and decreases computational costs by about ten times for a broad range of test cases. The CHyQMOM-based computational model is implemented in MFC, an open-source multi-phase and high-order-accurate flow solver. We assess the effect of the model and its parameters on a two-way coupled bubble screen flow problem.

keywords:
Bubbly flow, cavitation, population balance modeling, quadrature-based moment methods
journal: J. Comp. Phys.

1 Introduction

Cavitating flows arise near ship propellers [1], in hydraulic machinery [2], over spillways [3], and during medical therapies like lithotripsy and histotripsy [4, 5, 6]. In these flows, polydisperse bubble clouds are generated directly through nucleation or break-up and shedding larger vapor regions. Directly simulating the flow of these dispersions is challenging since the associated bubble dynamics frequently occur at smaller length and time scales than the background flow [7].

In the dilute limit, a strategy for overcoming this scale separation recognizes that the dynamics of each bubble are unimportant compared to statistics of the bubble population. Ensemble phase-averaging [8, 9], for example, results in equations for the continuous liquid face forced, in a two-way-coupled manner, by statistics of (typically) the bubble radius radial velocity. The associated bubble variables become stochastic, Eulerian fields. This contrasts against Lagrangian models that track, model, and average over samples of individual particles [10, 11]. Unless the bubble populations are such that any small volume (compared to the mixture-averaged flow field variations) contains a sufficient number of bubbles to describe the statistics faithfully, these models simulate at best a single realization of a random process.

The population balance equation (PBE) represents the evolution of a dispersion’s probability (or number density function) according to a set of internal variables [12, 13]. The internal variables must provide sufficient information to close each particle’s dynamic and thermodynamic evolution. The PBE is commonly used to model the particle size distribution. It depends solely on particle motion, coagulation, and breakup [14, 15, 16], wherein the internal variables are the spatial coordinates and velocities. PBE-based models have successfully modeled flowing soot during combustion processes [17], aerosol sprays [18], and more. For oscillating bubbles, the internal variables must include the bubble radius, bubble radial velocity, and sufficient information regarding the bubble contents, which can often characterize with a single equilibrium radius [7]. When appropriate, these three internal variables can be appended to those associated with relative motion, coalescence, and break up [19, 20].

The current work formulates a PBE-based model for the distribution of bubble radius, radial velocity, and equilibrium radius. Once formulated, the PBE is a PDE in independent coordinates associated with each internal variable (as well as spatiotemporal coordinates associated with the continuous flow in which the bubbles reside). Solving this six-dimensional PDE via the method of lines is intractable. Instead, the method of moments represents and evolves the number density function via its statistical moments [21]. Other approaches to solving PBEs exist, like class [22, 23], particle [24], and Monte Carlo [25, 26] methods, though these are comparatively inefficient for multivariate PBEs or large simulations [27].

The ensemble phase-averaging methods determine the governing flow equations for oscillating bubble populations. As described in section 2, we develop an Euler–Euler approach to represent the flow and the averaged bubble dynamics at the sub-grid level [28, 10]. This method is two-way-coupled between the dispersed bubbles and suspending liquid. In particular, moments of the oscillating bubble dynamics alter the effective pressure and void fraction evolution equation.

Next, in section 3, we develop and verify the conditional moment methods discussed above to close these equations. This requires a dynamical/thermodynamical model for each bubble. Even under the assumption of spherical bubbles, the most general form of such a model consists of a set of PDEs for the balance of mass, momentum, energy. Under further assumptions, however, these can be reduced to a set of ODEs for the bubble radius and radial velocity, with equilibrium radius as a parameter [29]. The set of ODEs for each particle determines the derivatives of the internal variables that close the moment transport equations [30]. Quadrature-based moment methods then invert the moment set for a quadrature rule approximating the quantities required to close the moment transport equations [31, 32]. With multiple independent variables, conditional quadrature moment methods are computationally preferable [33]. This work implements the conditional quadrature method of moments (CQMOM [33]) and its hyperbolically constrained version, CHyQMOM [34, 35, 36].

Section 4 describes our interface-capturing numerical algorithm for solving the resulting system of equations. We demonstrate the methodology in section 5 by considering an acoustically excited bubble screen. Lastly, section 6 summarizes our results and potential next steps for extending and analyzing the PBE-based method.

2 Model formulation

2.1 Compressible flow equations

A dilute suspension of dynamically evolving bubbles flow in a compressible liquid is considered. For simplicity, we assume no slip between the bubbles and the surrounding liquid and that the gas density is much smaller than the liquid density. Under these assumptions, the mixture-averaged form of the compressible flow equations are

ρt+(ρ𝒖)=\displaystyle\frac{\partial\rho}{\partial t}+\nabla\cdot({\rho\bm{u}})=  0,\displaystyle\,0,
ρ𝒖t+(ρ𝒖𝒖+p𝑰)=\displaystyle\frac{\partial{\rho\bm{u}}}{\partial t}+\nabla\cdot(\rho\bm{u}\bm{u}+p\bm{I})=  0,\displaystyle\,0, (1)
Et+(E+p)𝒖=\displaystyle\frac{\partial{E}}{\partial t}+\nabla\cdot({E}+p)\bm{u}=  0,\displaystyle\,0,

where ρ\rho, 𝒖\bm{u}, pp, and EE are the density, velocity vector, pressure, and total energy. Terms associated with the bubbles modify these quantities and transport them in space according to ensemble phase-averaging, discussed next.

2.2 Ensemble phase-averaging

The ensemble-averaged equations follow from Zhang and Prosperetti [8] and Bryngelson et al. [10]. The disperse phase has a void fraction α\alpha and is assumed to be a dilute (α1\alpha\ll 1) population of spherical bubbles. The bubbles are represented statistically via random variables RR, R˙\dot{R}, and RoR_{o} corresponding to the instantaneous bubble radius, time derivative, and equilibrium bubble radius. Section 2.3 presents this bubble dynamics model in detail. The mixture-averaged pressure field is computed as

p(𝒙,t)=(1α)p+α(R3pbw¯R3¯ρR3R˙2¯R3¯),\displaystyle p(\bm{x},t)=(1-\alpha)p_{\ell}+\alpha\left(\frac{\mkern 1.5mu\overline{\mkern-1.5muR^{3}p_{bw}\mkern-1.5mu}\mkern 1.5mu}{\mkern 1.5mu\overline{\mkern-1.5muR^{3}\mkern-1.5mu}\mkern 1.5mu}-\rho\frac{\mkern 1.5mu\overline{\mkern-1.5muR^{3}\dot{R}^{2}\mkern-1.5mu}\mkern 1.5mu}{\mkern 1.5mu\overline{\mkern-1.5muR^{3}\mkern-1.5mu}\mkern 1.5mu}\right), (2)

where pbwp_{bw} are the associated bubble wall pressure and p(𝒙,t)p_{\ell}(\bm{x},t) is the liquid pressure according to the stiffened-gas equation of state [37]:

Γp+Π,=11α(E12ρ𝒖2).\displaystyle\Gamma_{\ell}p_{\ell}+\Pi_{\infty,\ell}=\frac{1}{1-\alpha}\left(E-\frac{1}{2}\rho\bm{u}^{2}\right). (3)

The coefficients of (3) represent water, with specific heat ratio γ=1+1/Γ=7.15\gamma_{\ell}=1+1/\Gamma_{\ell}=7.15 and stiffness Π,=356 MPa\Pi_{\infty,\ell}=$356\text{\,}\mathrm{MPa}$ [38].

The bubble number density per unit volume n(𝒙,t)n(\bm{x},t) is conserved in the absence of coalescence or breakup:

nt+(n𝒖)=0.\displaystyle\frac{\partial n}{\partial t}+\nabla\cdot(n\bm{u})=0. (4)

For the spherical bubbles considered here, nn is related to the void fraction α\alpha via

α(𝒙,t)=43πR3¯n(𝒙,t),\displaystyle\alpha(\bm{x},t)=\frac{4}{3}\pi{\mkern 1.5mu\overline{\mkern-1.5muR^{3}\mkern-1.5mu}\mkern 1.5mu}n(\bm{x},t), (5)

and thus the void fraction α(𝒙,t)\alpha(\bm{x},t) transports as

αt+𝒖α=3αR2R˙¯R3¯,\displaystyle\frac{\partial\alpha}{\partial t}+\bm{u}\cdot\nabla\alpha=3\alpha\frac{\mkern 1.5mu\overline{\mkern-1.5muR^{2}\dot{R}\mkern-1.5mu}\mkern 1.5mu}{\mkern 1.5mu\overline{\mkern-1.5muR^{3}\mkern-1.5mu}\mkern 1.5mu}, (6)

where the right-hand-side represents the change in void fraction due to bubble growth and collapse.

The over-barred terms appearing in (2), (5), and (6),

R3R˙2¯,R3¯,R2R˙¯,and R3pbw¯.\displaystyle\mkern 1.5mu\overline{\mkern-1.5muR^{3}\dot{R}^{2}\mkern-1.5mu}\mkern 1.5mu,\;\mkern 1.5mu\overline{\mkern-1.5muR^{3}\mkern-1.5mu}\mkern 1.5mu,\;\mkern 1.5mu\overline{\mkern-1.5muR^{2}\dot{R}\mkern-1.5mu}\mkern 1.5mu,\;\text{and }\mkern 1.5mu\overline{\mkern-1.5muR^{3}p_{bw}\mkern-1.5mu}\mkern 1.5mu. (7)

denote average quantities of the bubble dispersion. In particular, they are raw moments μlmn\mu_{lmn} with respect to a bubble number density function f(R,R˙,Ro)f(R,\dot{R},R_{o}),

μlmn=RlR˙mRon¯=ΩRlR˙mRonf(R,R˙,Ro)dRdR˙dRo,\displaystyle\mu_{lmn}=\mkern 1.5mu\overline{\mkern-1.5muR^{l}\dot{R}^{m}R_{o}^{n}\mkern-1.5mu}\mkern 1.5mu=\int_{\Omega}R^{l}\dot{R}^{m}R_{o}^{n}f(R,\dot{R},R_{o})\,\text{d}R\text{d}\dot{R}\text{d}R_{o}, (8)

which are computed via the methods of section 3.

2.3 Bubble dynamics model

Even for spherical models, dozens of available models employ differing assumptions about the bubble contents and simplifications of the physics. These models range from a system of two or more ODEs up to a set of PDEs (in a radial coordinate and time) describing the balance of mass, momentum, and energy of each bubble. PDE-based models are deemed intractable (at present), and we focus on ODE-based modeling. We choose one of the simplest possible models to demonstrate our methodology but note that our framework can be extended to arbitrarily complex ODE-based models.

We assume the spherical bubbles are filled with noncondensible gas and that, insofar as their dynamics are concerned, the liquid may be assumed incompressible. We assume that the gas undergoes a polytropic process during compression and expansion. Under these assumptions, the bubble radius is governed by a Rayleigh–Plesslet-like equation

RR¨+32R˙2+4ReR˙R=(RoR)3γ1Cp2WeRo[RoR(RoR)3γ],\displaystyle R\ddot{R}+\frac{3}{2}\dot{R}^{2}+\frac{4}{\mbox{Re}}\frac{\dot{R}}{R}=\left(\frac{R_{o}}{R}\right)^{3\gamma}-\frac{1}{C_{p}}-\frac{2}{\mbox{We}\,R_{o}}\left[\frac{R_{o}}{R}-\left(\frac{R_{o}}{R}\right)^{3\gamma}\right], (9)

which is dimensionless via the reference bubble size RoR_{o}^{\ast} and ambient liquid pressure p0p_{0}, and density ρ0\rho_{0}. The polytropic index is γ\gamma; in examples below we use γ=1.4\gamma=1.4. In (9), Cpp0/pC_{p}\equiv p_{0}/p_{\ell} is the forcing pressure ratio and Reynolds and Weber numbers correspond to viscous and surface tension effects as

Rep0ρ0Roν0andWep0RoS,\displaystyle\mbox{Re}\equiv\sqrt{\frac{p_{0}}{\rho_{0}}}\frac{R_{o}^{\ast}}{\nu_{0}}\quad\text{and}\quad\mbox{We}\equiv\frac{p_{0}R_{o}^{\ast}}{S}, (10)

where SS is the air–water surface tension coefficient and ν0\nu_{0} is the liquid kinematic viscosity. Under these conditions, the bubble wall pressure of (2) simplifies to pbw=(Ro/R)3γp_{bw}=\left(R_{o}/R\right)^{3\gamma} and the last moment of (7) reduces to R3(Ro/R)3γ¯\mkern 1.5mu\overline{\mkern-1.5muR^{3}(R_{o}/R)^{3\gamma}\mkern-1.5mu}\mkern 1.5mu.

3 Population balance formulation

Refer to caption
Figure 1: Illustration of the quadrature-based moment method for a fully coupled bubbly flow.

The population balance equation (PBE)

ft+R(fR˙)+R˙(fR¨)=0\displaystyle\frac{\partial f}{\partial t}+\frac{\partial}{\partial R}(f\dot{R})+\frac{\partial}{\partial\dot{R}}(f\ddot{R})=0 (11)

governs the conditional PDF f(R,R˙|Ro)f(R,\dot{R}|R_{o}) in the absence of bubble coalescence or breakup, though this approach can naturally accommodate these effects if required. Figure 1 summarizes the PBE–quadrature approach.

3.1 Method of moments

Following the usual procedure, a finite set of raw moments 𝝁\vec{\boldsymbol{\mu}} represent ff per (8[14]. The specific moments that make up 𝝁\vec{\boldsymbol{\mu}} depend on the inversion algorithm and are defined in the appendices A and B. These moments transport on the grid and evolve according to the bubble dynamics of section 2.3 as

n𝝁t+(n𝝁𝒖)=n𝝁˙=n𝒈\displaystyle\frac{\partial n\vec{\boldsymbol{\mu}}}{\partial t}+\nabla\cdot(n\vec{\boldsymbol{\mu}}\bm{u})=n{\dot{\vec{\boldsymbol{\mu}}}}=n\vec{\bm{g}} (12)

where

glmn=lμl1,m+1,n+mΩR¨RlR˙m1Ronf(𝝁)dRdR˙dRo\displaystyle g_{lmn}=l\mu_{l-1,m+1,n}+m\iiint_{\Omega}\ddot{R}R^{l}\dot{R}^{m-1}R_{o}^{n}f(\vec{\boldsymbol{\mu}})\,\text{d}R\text{d}\dot{R}\text{d}R_{o} (13)

and Ω=ΩR×ΩR˙×ΩRo=(0,)×(,)×(0,)\Omega=\Omega_{R}\times\Omega_{\dot{R}}\times\Omega_{R_{o}}=(0,\infty)\times(-\infty,\infty)\times(0,\infty). The integrand of (13) is closed via the bubble dynamics model (9) for R¨\ddot{R}, and the integral is approximated via quadrature, which is discussed next.

3.2 Conditional quadrature moment inversion

Since RoR_{o} is not a dynamic variable, the number density function is split as

f(R,R˙,Ro)=f(R,R˙|Ro)f(Ro).\displaystyle f(R,\dot{R},R_{o})=f(R,\dot{R}|R_{o})f(R_{o}). (14)

The raw moments (8) are then

μlmn\displaystyle\mu_{lmn} ΩRof(Ro)Romμlm(Ro)dRo\displaystyle\equiv\int_{\Omega_{R_{o}}}f(R_{o})R_{o}^{m}\mu_{lm}(R_{o})\,\text{d}R_{o} (15)
i=1NRowiR^o,inμlm(R^o,i),\displaystyle\approx\sum_{i=1}^{N_{R_{o}}}w_{i}\widehat{R}_{o,i}^{n}\,\mu_{lm}(\widehat{R}_{o,i}), (16)

with NRoN_{R_{o}} time-independent weights wiw_{i} and nodes R^o,i\widehat{R}_{o,i}. Simpson’s rule computes these nodes and weights and the accuracy in the approximation of (16) depends on NRoN_{R_{o}}. Other numerical integration methods are suitable and will be discussed in section 5.3. The RoR_{o}-conditioned moments are

μlm(R^o,i)\displaystyle\mu_{lm}(\widehat{R}_{o,i}) ΩR,R˙f(R,R˙|R^o,i)RlR˙mdRdR˙\displaystyle\equiv\iint_{\Omega_{R,\dot{R}}}f(R,\dot{R}|\widehat{R}_{o,i})R^{l}\dot{R}^{m}\,\text{d}R\text{d}\dot{R} (17)
j=1NRk=1NR˙[w^j,kR^jlR˙^km]R^o,i.\displaystyle\approx\sum_{j=1}^{N_{R}}\sum_{k=1}^{N_{\dot{R}}}\left[\widehat{w}_{j,k}\widehat{R}_{j}^{l}\widehat{\dot{R}}_{k}^{m}\right]_{\widehat{R}_{o,i}}. (18)

The moment indices comprising the moment set of (18) are determined by the conditional quadrature moment method used to invert those moments for a set of quadrature points and weights (and the number of points desired) [33, 35]. In particular, μlm(R^o,i)\mu_{lm}(\widehat{R}_{o,i}) is traded for quadrature points {R^j,R˙^k}(R^o,i)\{\widehat{R}_{j},\widehat{\dot{R}}_{k}\}(\widehat{R}_{o,i}) and weights w^j,k(R^o,i)\widehat{w}_{j,k}(\widehat{R}_{o,i}) for each i=1,,NRoi=1,\dots,N_{R_{o}} (with j=1,,NRj=1,\dots,N_{R}; k=1,,NR˙k=1,\dots,N_{\dot{R}}). The total moments (16) are then approximated by substituting (18) into (16) as

μlmn=i=1NRowiR^o,inj=1NRk=1NR˙[w^j,kR^jlR˙^km]R^o,i.\displaystyle\mu_{lmn}=\sum_{i=1}^{N_{R_{o}}}w_{i}\widehat{R}_{o,i}^{n}\sum_{j=1}^{N_{R}}\sum_{k=1}^{N_{\dot{R}}}\left[\widehat{w}_{j,k}\widehat{R}_{j}^{l}\widehat{\dot{R}}_{k}^{m}\right]_{\widehat{R}_{o,i}}. (19)

The CHyQMOM and CQMOM algorithms are described in appendices A and B. Their implementation is verified by ensuring that the error in closing a linear set of moment transport equations is comparable to a finite-precision round-off [39].

3.3 Model performance

We consider the ability of the QBMMs to represent the statistics of the bubble dynamics. For this example, we take a monodisperse population with the same equilibrium radius Ro=1R_{o}=1 (and thus NRo=1N_{R_{o}}=1). RR and R˙\dot{R} are initialized with independent log-normal and normal distributions with variances σR2\sigma_{R}^{2} and σR˙2\sigma_{\dot{R}}^{2}, respectively. The bubbles are forced by a step-change in pressure at t=0+t=0^{+} from equilibrium to a value CpC_{p} (which is varied). This represents a stringent test of model fidelity as high values of CpC_{p} will induce strongly nonlinear bubble dynamics.

Refer to caption
Figure 2: Example first- and second-order moments μ\mu as labeled for bubbles with Reynolds and Weber numbers corresponding to (a) Ro=1 µmR_{o}^{\ast}=$1\text{\,}\mathrm{\SIUnitSymbolMicro m}$ and (b) Ro=10 µmR_{o}^{\ast}=$10\text{\,}\mathrm{\SIUnitSymbolMicro m}$. The dimensionless initial shape parameters are σR=σR˙=0.2\sigma_{R}=\sigma_{\dot{R}}=0.2. The CHyQMOM implementation uses two quadrature nodes in each internal coordinate direction (2×22\times 2), and “Gaussian” corresponds to Gaussian closure [10]. Monte Carlo serves as an exact solution. The final time is T=13.9T=13.9 and represents 10 natural periods of the largest bubble.

Figure 2 shows the evolution of the carried moment set for Cp=0.3C_{p}=0.3. To assess the accuracy, the CHyQMOM results are compared against Monte-Carlo solutions that used 10410^{4} samples to ensure that the sampling error was at least 10-times smaller than the QBMM model-form error. Thus the Monte-Carlo solutions can be regarded as exact solutions for these comparisons. The radial moments μ10\mu_{10} and μ20\mu_{20} show how the bubbles oscillate in response to the change in external pressure, eventually reaching a statistical equilibrium [40]. These oscillations are damped rapidly for smaller bubbles due to stronger viscous effects (smaller Re). Thus, larger bubbles entail larger model-form errors as they build over time. This is most prominent for the R˙\dot{R} moments, such as μ02\mu_{02}, and smaller bubbles ((b) Ro=10 µmR_{o}^{\ast}=$10\text{\,}\mathrm{\SIUnitSymbolMicro m}$) as the velocity statistics change more quickly than the radial ones.

Refer to caption
Figure 3: Relative model-form errors for varying pressure ratio CpC_{p} and closure methods as labeled. All cases have Re=100\mbox{Re}=100 and We=13.9\mbox{We}=13.9.

A QBMM model-form relative L2L_{2} error is

ε1Nti=1Nt[μ(QBMM)(ti)μ(MC)(ti)μ(MC)(ti)]2,\displaystyle\varepsilon\equiv\frac{1}{N_{t}}\sqrt{\sum_{i=1}^{N_{t}}\left[\frac{\mu^{\mathrm{(QBMM)}}(t_{i})-\mu^{\mathrm{(MC)}}(t_{i})}{\mu^{\mathrm{(MC)}}(t_{i})}\right]^{2}}, (20)

where Monte-Carlo (MC) simulations serve as surrogate truth data and tit_{i} are Nt=103N_{t}=10^{3} uniformly spaced times in the time interval t[0,T]t\in[0,T]. Figure 3 shows ε\varepsilon for select first- and second-order moments μ\mu. We see that ε\varepsilon is smaller for CHyQMOM and CQMOM than Gaussian closure, though the difference is modest and more strongly associated with CpC_{p}. The larger errors for smaller CpC_{p} are associated with stronger bubble dynamics and the formation of non-Gaussian statistics, like skewness and kurtosis, that these closures do not represent [41]. One can represent higher-order statistics by carrying higher-order moments and thus inverting for a higher-order quadrature rule. However, this is computationally cumbersome and numerically unstable in the cases tested here.

Refer to caption
Figure 4: Total simulation times for the cases of figure 3. A single-core of a 2.8 GHz2.8\text{\,}\mathrm{GHz} Intel i7-7700HQ performed the computations. Only relative times are relevant, so the cheapest simulation normalizes the scale (CHyQMOM, Cp=0.8C_{p}=0.8).

Model accuracy was similar for all of the closure methods, but the computational time to solution is not. Figure 4 shows the total relative simulation time for the cases of figure 3 under the same adaptive time-step tolerance. CHyQMOM simulations are about 10-times cheaper than those using CQMOM or Gaussian closures, even though the accuracy is the same. This is attributed to larger time step sizes (given the same error constraint) and a smaller carried moment set than CQMOM. Due to its low cost for the same accuracy, the fully-coupled simulation algorithm employs CHyQMOM and is discussed next.

4 Interface-capturing flow solution algorithm

The QBMM approach of the previous section is solved using interface-capturing numerics. MFC, an open-source flow solver, is the basis for the implementation [42]. A brief description of the algorithm follows.

The governing equations (1), (6), and (12) combine as

𝒒ct+𝑭=𝒓\displaystyle\frac{\partial\vec{\bm{q}}_{c}}{\partial t}+\nabla\cdot\vec{\bm{F}}=\vec{\bm{r}} (21)

where 𝒒c{ρ,ρ𝒖,E,α,n𝝁}\vec{\bm{q}}_{c}\equiv\{\rho,\rho\bm{u},E,\alpha,n\vec{\boldsymbol{\mu}}\} are the conservative variables, 𝑭\vec{\bm{F}} are the advective fluxes, and 𝒓\vec{\bm{r}} are diffusive source terms. Finite volumes with uniform size Δ\Delta discretize the domain.

4.1 Flow state initialization

We initialize the flow as follows. The number density function f(R,R˙,Ro)f(R,\dot{R},R_{o}) is independently distributed with log-normal, normal, and log-normal shapes in the RR, R˙\dot{R}, and RoR_{o} directions with expected values 𝔼[R]=𝔼[Ro]=1\mathbb{E}[R]=\mathbb{E}[R_{o}]=1 and 𝔼[R˙]=0\mathbb{E}[\dot{R}]=0 and shape parameters σ\sigma_{\cdot}.

The NDF ff initializes the moment set 𝝁\vec{\boldsymbol{\mu}} via integration. The primitive variables 𝒒p{ρ,𝒖,p,α,𝝁}\vec{\bm{q}}_{p}\equiv\{\rho,\bm{u},p,\alpha,\vec{\boldsymbol{\mu}}\} are initialized as appropriate. The bubble number density nn follows from (5), 𝒒p\vec{\bm{q}}_{p}, and μ300\mu_{300}. Lastly, the known primitive variables are used to compute the conservative ones as 𝒒c{ρ,ρ𝒖,E,α,n𝝁}\vec{\bm{q}}_{c}\equiv\{\rho,\rho\bm{u},E,\alpha,n\vec{\boldsymbol{\mu}}\}.

1:f(R,R˙,Ro)f(R,\dot{R},R_{o})\leftarrow Presumed form, uncorrelated, {μR,μR˙,μRo}\{\mu_{R},\mu_{\dot{R}},\mu_{R_{o}}\} and {σR,σR˙,σRo}\{\sigma_{R},\sigma_{\dot{R}},\sigma_{R_{o}}\}
2:𝝁f\vec{\boldsymbol{\mu}}\leftarrow f and (8)
3:𝒒p{ρ,𝒖,p,α,𝝁}\vec{\bm{q}}_{p}\equiv\{\rho,\bm{u},p,\alpha,\vec{\boldsymbol{\mu}}\}\leftarrow Patches
4:nα,μ300n\leftarrow\alpha,\mu_{300} and (5)
5:𝒒cn,𝒒p\vec{\bm{q}}_{c}\leftarrow n,\vec{\bm{q}}_{p}
Algorithm 1 Flow initialization procedure

4.2 Flux divergence computation

A fifth-order-accurate WENO [43] scheme reconstructs the primitive variables 𝒒p\vec{\bm{q}}_{p} and the HLLC approximate Riemann solver [44] computes the fluxes. Algorithm 2 describes this process in detail. High-order WENO reconstructions do not guarantee that the reconstructed moments are realizable, though the moment sets remained invertible in the subsequent simulations.

1:𝒒p𝒒c\vec{\bm{q}}_{p}\leftarrow\vec{\bm{q}}_{c} and (3)
2:𝒒^pWENO(𝒒p)\widehat{\bm{q}}_{p}\leftarrow\texttt{WENO}(\vec{\bm{q}}_{p})
3:{R^,R˙^,w^}jkQBMM(𝝁^)\{\widehat{R},\widehat{\dot{R}},\widehat{w}\}_{jk}\leftarrow\texttt{QBMM}(\widehat{\boldsymbol{\mu}})
4:𝒈^,{R3R˙2¯,R3¯,R2R˙¯,R3pbw¯}{R^o,w}i,{R^,R˙^,w^}jk,i\widehat{\bm{g}},\{\mkern 1.5mu\overline{\mkern-1.5muR^{3}\dot{R}^{2}\mkern-1.5mu}\mkern 1.5mu,\mkern 1.5mu\overline{\mkern-1.5muR^{3}\mkern-1.5mu}\mkern 1.5mu,\mkern 1.5mu\overline{\mkern-1.5muR^{2}\dot{R}\mkern-1.5mu}\mkern 1.5mu,\mkern 1.5mu\overline{\mkern-1.5muR^{3}p_{bw}\mkern-1.5mu}\mkern 1.5mu\}\leftarrow\{\widehat{R}_{o},w\}_{i},\{\widehat{R},\widehat{\dot{R}},\widehat{w}\}_{jk,i}
5:𝑭HLLC(𝒒^p,𝒈^,{}¯)\vec{\bm{F}}\leftarrow\texttt{HLLC}(\widehat{\bm{q}}_{p},\widehat{\bm{g}},\mkern 1.5mu\overline{\mkern-1.5mu\{\cdot\}\mkern-1.5mu}\mkern 1.5mu)
6:𝑭𝑭\nabla\cdot\vec{\bm{F}}\leftarrow\vec{\bm{F}}
Algorithm 2 Algorithm for computing the flux divergence.

4.3 Time stepping

The conservative variables are integrated in time using third-order-accurate SSP–RK3 time integration [45]. Once the spatial derivatives have been approximated, (21) becomes a semi-discrete system of ordinary differential equations in time. We treat the temporal derivative using a Runge–Kutta time-marching scheme for the state variables. To achieve high-order accuracy and avoid spurious oscillations, we use the third-order-accurate total variation diminishing scheme of Gottlieb and Shu [46]:

𝒒c(1)\displaystyle\vec{\bm{q}}_{c}^{\,(1)} =𝒒cn~+Δt𝑳(𝒒cn~),\displaystyle=\vec{\bm{q}}_{c}^{\,\tilde{n}}+\Delta t\bm{L}(\vec{\bm{q}}_{c}^{\,\tilde{n}}),
𝒒c(2)\displaystyle\vec{\bm{q}}_{c}^{\,(2)} =34𝒒cn~+14𝒒c(1)+14Δt𝑳(𝒒c(1)),\displaystyle=\frac{3}{4}\vec{\bm{q}}_{c}^{\,\tilde{n}}+\frac{1}{4}\vec{\bm{q}}_{c}^{(1)}+\frac{1}{4}\Delta t\bm{L}(\vec{\bm{q}}_{c}^{\,(1)}), (22)
𝒒cn~+1\displaystyle\vec{\bm{q}}_{c}^{\,\tilde{n}+1} =13𝒒cn~+23𝒒c(2)+23Δt𝑳(𝒒c(2)),\displaystyle=\frac{1}{3}\vec{\bm{q}}_{c}^{\,\tilde{n}}+\frac{2}{3}\vec{\bm{q}}_{c}^{\,(2)}+\frac{2}{3}\Delta t\bm{L}(\vec{\bm{q}}_{c}^{\,(2)}),

where superscripts (1)(1) and (2)(2) indicate intermediate time-step stages, 𝑳\bm{L} represents the portion of (21) that does not include the time derivative, and n~\tilde{n} is the time-step index.

5 Application to polydisperse bubble screens

5.1 Problem setup

Refer to caption
Figure 5: Schematic of the acoustically excited bubble screen test problem. The screen is centered at x=0x=0.

We assess the statistics of bubble dynamics in an idealized model problem consisting of an acoustically excited dilute bubble screen. The bubble screen parameterization matches that of Bryngelson et al. [10], with a length of Ls=5 mmL_{s}=$5\text{\,}\mathrm{mm}$, initial void fraction αo=104\alpha_{o}=10^{-4}, median bubble equilibrium size Ro=10 µmR_{o}^{\ast}=$10\text{\,}\mathrm{\SIUnitSymbolMicro m}$ and log-normal variance σRo\sigma_{R_{o}}. The domain is Ld=5LsL_{d}=5L_{s} long, and its boundaries are non-reflective via characteristic-based boundary conditions [47]. The one-way (positive x^\hat{x}-direction) sound wave p(t)p_{\infty}(t) is generated via source terms in the governing equations (21) according to Bryngelson et al. [10]. Its form is a single period of a sinusoid with peak amplitude 0.3p00.3p_{0} and frequency 300 kHz300\text{\,}\mathrm{kHz}.

5.2 Bubble screen behavior

Refer to caption
Figure 6: Bubble-screen-centered pressure for varying RoR_{o} log-normal distributions with shape parameter σRo\sigma_{R_{o}} and fixed σR=σR˙=0.2\sigma_{R}=\sigma_{\dot{R}}=0.2.

We start by considering a screen with fixed dynamic coordinate distributions σR=σR˙\sigma_{R}=\sigma_{\dot{R}}, but varying distributions of equilibrium sizes σRo\sigma_{R_{o}}. Polydispersity in RoR_{o} is integrated via Simpson’s rule 6161 quadrature points for all cases. Figure 6 shows the bubble screen pressure for these cases as they evolve in time. For larger σRo\sigma_{R_{o}} (or broader distributions or bubble equilibrium sizes), the pressure is less oscillatory in time. A similar observation was made by Bryngelson et al. [10] for cases with no RR or R˙\dot{R} distributions. In the case of figure 6, we instead observe high-frequency oscillations in addition to the long-wavelength behaviors associated with the impinging pressure wave pp_{\infty}. The origin of these oscillations is discussed next.

Refer to caption
Figure 7: Bubble-screen-centered pressure before, during, and after excitement due to an acoustic wave. The bubbles are polydisperse with log-normal RoR_{o} distribution (σRo=0.2\sigma_{R_{o}}=0.2) and Re=103\mbox{Re}=10^{3}. Variations in (a) σR\sigma_{R} and (b) σR˙\sigma_{\dot{R}} are shown about a σR=σR˙=0.2\sigma_{R}=\sigma_{\dot{R}}=0.2 representative state.

Figure 7 shows the dynamics associated with a bubble screen in varying degrees of statistical disequilibrium, represented via different σR\sigma_{R} and σR˙\sigma_{\dot{R}}. Figure 7 (a) fixes σR˙\sigma_{\dot{R}} and varies σR\sigma_{R}. We observe the shorter-wavelength oscillatory behavior, observed in figure 6, becoming more prominent for larger σR\sigma_{R}. These wavelengths are commensurate with the mean bubble natural frequencies, which superimpose the longer wavelength acoustics associated with the impinging pp_{\infty} wave. Figure 7 (b) shows a smoother pressure profile for larger σR˙\sigma_{\dot{R}}. Phase-cancellation between the larger waves associated with broader σR˙\sigma_{\dot{R}} distributions and those of the σR\sigma_{R} distributions may account for this behavior. Notably, these behaviors are qualitatively similar to those associated with varying RoR_{o} distribution widths. Thus, parameterizing an RoR_{o} distribution based on single-probe pressure measurements is insufficient.

5.3 Closure errors

We quantify the moment closure error, εc\varepsilon_{c}, via the mismatch in bubble screen pressure p(t,x=0)p(t,x=0) due to truncated RoR_{o} integration. Otherwise, the definition of εc\varepsilon_{c} has the same form as ε\varepsilon of (20), though the truth values are changed from Monte-Carlo simulations (which are unavailable) to high-resolution NRo=401N_{R_{o}}=401 simulations as

εc1Nti=1Nt[p(QBMM)(ti,x=0)p(NRo=401)(ti,x=0)p(NRo=401)(ti,x=0)]2.\displaystyle\varepsilon_{c}\equiv\frac{1}{N_{t}}\sqrt{\sum_{i=1}^{N_{t}}\left[\frac{p^{\mathrm{(QBMM)}}(t_{i},x=0)-p^{(N_{R_{o}}=401)}(t_{i},x=0)}{p^{(N_{R_{o}}=401)}(t_{i},x=0)}\right]^{2}}. (23)

This choice is made for two reasons. First, extending the QBMM method to additional RR and R˙\dot{R} quadrature points (or moments, equivalently) was found numerically unstable for most bubble cavitation problems. One approach to addressing this specific problem is introducing a recurrent neural network to correct the quadrature points and weights [48], though we do not discuss it further here. Second, we will see that the closure errors are most strongly associated with NRoN_{R_{o}}, and thus focus on the influence of this parameter.

Refer to caption
Figure 8: Relative closure error εc\varepsilon_{c} (defined in (23)) for increasing number of RoR_{o}-direction quadrature points NRoN_{R_{o}}. Variations in (a) σR\sigma_{R}, (b) σR˙\sigma_{\dot{R}}, and (c) σRo\sigma_{R_{o}} are shown. Unless labeled otherwise, cases have the baseline σR=σR˙=σRo=0.2\sigma_{R}=\sigma_{\dot{R}}=\sigma_{R_{o}}=0.2.

Figure 8 shows the NRoN_{R_{o}} closure errors associated with variations in all three PDF directions (panels a–c). For varying σR\sigma_{R} (a) and σRo\sigma_{R_{o}} (c) we see that increasing variance σ\sigma_{\cdot} results in larger closure errors εc\varepsilon_{c}. This appears to be associated with the larger pressure oscillations p(x=0,t)p(x=0,t) observed for such cases. For figure 8 (b), we see the reverse trend, with larger σR˙\sigma_{\dot{R}} corresponding to smaller closure errors, though this effect is small. Indeed, this effect matches that of the RR- and RoR_{o}-direction effects, where larger σR˙\sigma_{\dot{R}} results in smoother pressure histories. We also investigated the effect of Re, which results in smoother pressure profiles for smaller Re, and found the same trend.

Refer to caption
Figure 9: Closure error associated with σR=σR˙=σRo=0.2\sigma_{R}=\sigma_{\dot{R}}=\sigma_{R_{o}}=0.2 for different RoR_{o}-direction quadrature rules as labeled.

Compelled by the closure error associated with NRoN_{R_{o}} dominating the total simulation error, we also implemented Gaussian–Hermite and Gauss–Legendre quadrature methods in the RoR_{o}-direction in an attempt to reduce the error. Figure 9 shows these closures errors εc\varepsilon_{c} for increasing NRoN_{R_{o}}. We see that these alternative quadrature rules do not significantly change the closure error, despite being optimal for a given NRoN_{R_{o}}. This is because the integrand becomes highly oscillatory without viscous damping, as bubbles of different equilibrium radii RoR_{o} become out of phase [40]. Long-time simulations without significant viscous effects, broadly polydisperse bubble populations (large σRo\sigma_{R_{o}}) will require treatment of these developing oscillations. For example, a time-stationary analysis could be used to approximate the RoR_{o}-moments, so long as the bubble dynamics are fast compared to the fluid flow [40]. We will investigate this in future work.

6 Conclusion

A fully coupled numerical method for simulating sub-grid cavitating bubble dispersions was presented. The approach represents and evolves the statistics of the bubble dynamic variables. This work built upon the well-established framework of quadrature-based moment methods: a governing set of moment transport equations were derived, effectively representing the underlying statistics. Those moments were inverted for a quadrature rule to close the fully coupled disperse flow equations.

Our results showed that only four quadrature points, two in each of the bubble dynamics coordinates, can be sufficient to represent the statistics of the monodisperse bubbles. This model was particularly accurate for weak pressure forcing, and thus nearly linear bubble dynamics. It was also accurate for highly damped dynamics, characteristic of low Reynolds numbers, as non-Gaussian statistics cannot present themselves. This result contrasts against a previous approach that assumed Gaussian statistics, which had demonstrably worse performance and higher computational costs [41]. The method would require more quadrature points for cases with more complicated dynamics, such as larger forcing.

An acoustically excited dilute bubble screen problem demonstrated the model’s behavior in a coupled flow. Modeling the statistics in the bubble dynamics variables resulted in qualitatively different behavior in the screen region. For example, increasing the distribution breadth in the bubble radius coordinate resulted in short-wavelength pressure oscillations of increasing magnitude superimposing the background response to the impinging acoustic wave. Thus, modeling the RRR˙\dot{R} distributions is potentially critical to modeling cavitating bubble clouds and certainly important if bubbles are ever in such statistical disequilibrium.

Finally, we found that for broadly polydisperse populations (large σRo\sigma_{R_{o}}), the closure error in the equilibrium radius coordinate RoR_{o} was most important. Our results also show that phase-cancellation can modestly reduce some computational costs associated with resolving the RoR_{o} coordinate. Still, RoR_{o}-direction quadrature dominates the solution cost of these polydisperse bubble populations, even in the face of more sophisticated quadrature rules like Gauss–Hermite (corresponding to the underlying log-normal distribution). However, one can apply existing approaches if time-separation is achieved, or a novel method based on, e.g., neural networks, can also treat this. We will investigate these in-depth in future work.

Acknowledgements

We thank Alexis Charalampopoulos and Themis Sapsis for invaluable discussions regarding the presented method. The US Office of Naval Research supported this work under grant numbers N0014-17-1-2676 and N0014-18-1-2625. Computations were performed via the Extreme Science and Engineering Discovery Environment (XSEDE) under allocations TG-CTS120005 (PI Colonius) and TG-PHY210084 (PI Bryngelson), supported by National Science Foundation grant number ACI-1548562.

References

  • Cook [1928] S. S. Cook, Erosion by water-hammer, Proc. Royal Soc. London A 119 (1928) 481–488.
  • Arndt [1981] R. Arndt, Cavitation in fluid machinery and hydraulic structures, Annu. Rev. Fluid Mech. 13 (1981) 273–326.
  • Falvey [1990] H. T. Falvey, Cavitation in chutes and spillways, US Department of the Interior, Bureau of Reclamation Denver, 1990.
  • Cleveland et al. [2000] R. O. Cleveland, O. A. Sapozhnikov, M. R. Bailey, L. A. Crum, A dual passive cavitation detector for localized detection of lithotripsy-induced cavitation in vitro, J. Acoust. Soc. Am. 107 (2000) 1745–1758.
  • Pishchalnikov et al. [2003] Y. A. Pishchalnikov, O. A. Sapozhnikov, M. R. Bailey, J. C. Williams, R. O. Cleveland, T. Colonius, L. A. Crum, A. P. Evan, J. A. McAteer, Cavitation bubble cluster activity in the breakage of kidney stones by lithotripter shockwaves, J. Endourol. 17 (2003) 435–446.
  • Maxwell et al. [2011] A. D. Maxwell, T.-Y. Wang, C. A. Cain, J. B. Fowlkes, O. A. Sapozhnikov, M. R. Bailey, Z. Xu, Cavitation clouds created by shock scattering from bubbles during histotripsy, J. Acoust. Soc. Am. 130 (2011) 1888–1898.
  • Brennen [1995] C. E. Brennen, Cavitation and bubble dynamics, Oxford University Press, 1995.
  • Zhang and Prosperetti [1994a] D. Z. Zhang, A. Prosperetti, Ensemble phase-averaged equations for bubbly flows, Phys. Fluids 6 (1994a).
  • Zhang and Prosperetti [1994b] D. Z. Zhang, A. Prosperetti, Averaged equations for inviscid disperse two-phase flow, J. Fluid Mech. 267 (1994b) 185–219.
  • Bryngelson et al. [2019] S. H. Bryngelson, K. Schmidmayer, T. Colonius, A quantitative comparison of phase-averaged models for bubbly, cavitating flows, Int. J. Mult. Flow 115 (2019) 137–143.
  • Capecelatro and Desjardins [2013] J. Capecelatro, O. Desjardins, An Euler–Lagrange strategy for simulating particle-laden flows, J. Comp. Phys. 238 (2013) 1–31.
  • Randolph and Larson [1987] A. D. Randolph, M. A. Larson, Theory of particulate processes, San Diego, Academic Press, 1987.
  • Ramkrishna [2000] D. Ramkrishna, Population Balances, Academic Press, New York, USA, 2000.
  • Fox [2003] R. O. Fox, Computational models for turbulent reacting flows, Cambridge University Press, 2003.
  • Rigopoulos [2010] S. Rigopoulos, Population balance modelling of polydispersed particles in reactive flows, Prog. Energy Combust. Sci. 36 (2010) 412–443.
  • Lee et al. [2015] K. F. Lee, R. I. Patterson, W. Wagner, M. Kraft, Stochastic weighted particle methods for population balance equations with coagulation, fragmentation and spatial inhomogeneity, J. Comp. Phys. 303 (2015) 1–18.
  • Mueller et al. [2009] M. E. Mueller, G. Blanquart, H. Pitsch, A joint volume-surface model of soot aggregation with the method of moments, Proc. Combust. Inst. 32 I (2009) 785–792.
  • Sibra et al. [2017] A. Sibra, J. Dupays, A. Murrone, F. Laurent, M. Massot, Simulation of reactive polydisperse sprays strongly coupled to unsteady flows in solid rocket motors: Efficient strategy using Eulerian multi-fluid methods, J. Comp. Phys. 339 (2017) 210–246.
  • Carrica et al. [1999] P. Carrica, D. Drew, F. Bonetto, R. Lahey, A polydisperse model for bubbly two-phase flow around a surface ship, Int. J. Mult. Flow 25 (1999) 257–305.
  • Heylmun et al. [2019] J. C. Heylmun, B. Kong, A. Passalacqua, R. Fox, A quadrature-based moment method for polydisperse bubbly flows, Comp. Phys. Comm. (2019).
  • Hulburt and Katz [1964] H. M. Hulburt, S. Katz, Some problems in particle technology. A statistical mechanical formulation, Chem. Eng. Sci. 19 (1964) 555–574.
  • Hounslow et al. [1988] M. J. Hounslow, R. L. Ryall, V. R. Marshall, A discretized population balance for nucleation, growth, and aggregation, AIChE J. 34 (1988) 1821–1832.
  • Vanni [2000] M. Vanni, Approximate population balance equations for aggregation breakage processes, J. Colloid Interface Sci. 221 (2000) 143–160.
  • Patterson et al. [2011] R. I. Patterson, W. Wagner, M. Kraft, Stochastic weighted particle methods for population balance equations, J. Comp. Phys. 230 (2011) 7456–7472.
  • Zhao et al. [2007] H. Zhao, A. Maisels, T. Matsoukas, C. Zheng, Analysis of four monte-carlo methods for the solution of population balances in dispersed systems, Powder Technol. 173 (2007) 38–50.
  • Rosner et al. [2003] D. E. Rosner, R. McGraw, P. Tandon, Multivariate population balances via moment and Monte Carlo simulation methods: an important sol reaction engineering bivariate example and “mixed” moments for the estimation of deposition, scavenging, and optical properties for populations of nonspherical suspended particles, Indust. Eng. Chem. Res. 42 (2003) 2699–2711.
  • Zucca et al. [2007] A. Zucca, D. L. Marchisio, M. Vanni, A. A. Barresi, Validation of bivariate DQMOM for nanoparticle processes simulation, AiChE J. 53 (2007) 918–931.
  • Ando et al. [2011] K. Ando, T. Colonius, C. E. Brennen, Numerical simulation of shock propagation in a polydisperse bubbly liquid, Int. J. Mult. Flow 37 (2011) 596–608.
  • Plesset and Prosperetti [1977] M. S. Plesset, A. Prosperetti, Bubble dynamics and cavitation, Annu. Rev. Fluid Mech. 9 (1977) 145–185.
  • Frenklach and Harris [1987] M. Frenklach, S. Harris, Aerosol dynamics modeling using the method of moments, J. Colloid Interface Sci. 118 (1987) 252–261.
  • McGraw [1997] R. McGraw, Description of aerosol dynamics by the quadrature method of moments, Aerosol Sci. Technol. 27 (1997) 255–265.
  • Marchisio and Fox [2013] D. L. Marchisio, R. O. Fox, Computational models for polydisperse particulate and multiphase systems, Cambridge University Press, 2013.
  • Yuan and Fox [2011] C. Yuan, R. O. Fox, Conditional quadrature method of moments for kinetic equations, J. Comp. Phys. 230 (2011) 8216–8246.
  • Fox et al. [2018] R. O. Fox, F. Laurent, A. Vié, Conditional hyperbolic quadrature method of moments for kinetic equations, J. Comp. Phys. 365 (2018) 269–293.
  • Patel et al. [2019] R. G. Patel, O. Desjardins, R. O. Fox, Three-dimensional conditional hyperbolic quadrature method of moments, J. Comp. Phys. X 1 (2019) 100006.
  • Fox and Laurent [2021] R. Fox, F. Laurent, Hyperbolic quadrature method of moments for the one-dimensional kinetic equation, arXiv:2103.10138 (2021).
  • Menikoff and Plohr [1989] R. Menikoff, B. J. Plohr, The Riemann problem for fluid-flow of real materials, Rev. Mod. Phys. 61 (1989) 75–130.
  • Maeda and Colonius [2018] K. Maeda, T. Colonius, Eulerian–Lagrangian method for simulation of cloud cavitation, J. Comp. Phys. 371 (2018) 994–1017.
  • Bryngelson et al. [2020] S. H. Bryngelson, T. Colonius, R. O. Fox, QBMMlib: A library of quadrature-based moment methods, SoftwareX 12 (2020) 100615.
  • Colonius et al. [2008] T. Colonius, R. Hagmeijer, K. Ando, C. E. Brennen, Statistical equilibrium of bubble oscillations in dilute bubbly flows, Phys. Fluids 20 (2008).
  • Bryngelson et al. [2020a] S. H. Bryngelson, A. Charalampopoulos, T. P. Sapsis, T. Colonius, A Gaussian moment method and its augmentation via LSTM recurrent neural networks for the statistics of cavitating bubble populations, Int. J. Mult. Flow 127 (2020a) 103262.
  • Bryngelson et al. [2020b] S. H. Bryngelson, K. Schmidmayer, V. Coralic, J. C. Meng, K. Maeda, T. Colonius, MFC: An open-source high-order multi-component, multi-phase, and multi-scale compressible flow solver, Comp. Phys. Comm. (2020b) 107396.
  • Jiang and Shu [1996] G.-S. Jiang, C.-W. Shu, Efficient implementation of weighted eno schemes, J. Comp. Phys. 126 (1996) 202–228.
  • Toro et al. [1994] E. Toro, M. Spruce, W. Speares, Restoration of the contact surface in the HLL-Riemann solver, Shock waves 4 (1994) 25–34.
  • Gottlieb et al. [2001] S. Gottlieb, C. W. Shu, E. Tadmor, Strong stability-preserving high-order time discretization methods, SIAM Rev. (2001).
  • Gottlieb and Shu [1998] S. Gottlieb, C.-W. Shu, Total variation diminishing Runge–Kutta schemes, Math. Comput. 67 (1998) 73–85.
  • Thompson et al. [1986] P. O. Thompson, W. C. Cummings, S. J. Ha, Sounds, source levels, and associated behavior of humpback whales, Southeast Alaska, J. Acoustic. Soc. Am. 80 (1986) 735–740.
  • Charalampopoulos et al. [2021] A.-T. Charalampopoulos, S. H. Bryngelson, T. Colonius, T. P. Sapsis, Hybrid quadrature moment method for accurate and stable representation of non-Gaussian processes and their dynamics, arXiv:2110.01374 (2021).
  • Wheeler [1974] J. C. Wheeler, Modified Moments and Gaussian Quadratures, Rocky Mt. J. Math. 4 (1974) 287–296.

Appendix A CHyQMOM moment inversion

This appendix describes the 2D, 2×22\times 2 (4) node CHyQMOM algorithm of [34]. We note that Patel et al. [35] provides the 3D version of this algorithm, though it is not necessary for our bubble dynamics problem. Algorithm 3 is the full 2D CHyQMOM algorithm, which references the 1D 2-node HyQMOM algorithm 4. The optimal moment set for this case is

𝝁={μ00,μ10,μ01,μ20,μ02,μ11},\displaystyle\vec{\boldsymbol{\mu}}=\left\{\mu_{00},\mu_{10},\mu_{01},\mu_{20},\mu_{02},\mu_{11}\right\}, (24)

which is also the input to algorithm 3.

1:procedure CHyQMOM4(𝝁\boldsymbol{\mu})
2:  Dij=μij/μ00D_{ij}=\mu_{ij}/\mu_{00}
3:  C20D20D102C_{20}\leftarrow D_{20}-D_{10}^{2}
4:  C02D02D012C_{02}\leftarrow D_{02}-D_{01}^{2}
5:  C11D11D10D01C_{11}\leftarrow D_{11}-D_{10}D_{01}
6:  𝝆,𝒙=HyQMOM2({1,0,C20})\boldsymbol{\rho},\bm{x}^{\prime}=\textsc{HyQMOM2}(\{1,0,C_{20}\})
7:  𝒚=𝒙C11/C20\bm{y}^{\prime}=\bm{x}^{\prime}C_{11}/C_{20}
8:  μavg2=C02jρjyj2\mu_{\mathrm{avg}}^{2}=C_{02}-\sum_{j}\rho_{j}{y_{j}^{\prime}}^{2}
9:  𝝆~,𝒙~=HyQMOM2({1,0,μavg2})\widetilde{\boldsymbol{\rho}},\widetilde{\bm{x}}^{\prime}=\textsc{HyQMOM2}(\{1,0,\mu_{\mathrm{avg}}^{2}\})
10:  for i,j[1,2]i,j\in[1,2] do
11:   wijμ00ρiρ~jw_{ij}\leftarrow\mu_{00}\rho_{i}\widetilde{\rho}_{j}
12:   xijD10+xjx_{ij}\leftarrow D_{10}+x_{j}^{\prime}
13:   yijD01+yj+x~iy_{ij}\leftarrow D_{01}+y_{j}^{\prime}+\widetilde{x}_{i}^{\prime}
14:  end for
15:return 𝒘,𝒙,𝒚\bm{w},\bm{x},\bm{y}
16:end procedure
Algorithm 3 CHyQMOM 2×22\times 2. 𝝁\boldsymbol{\mu} are the input moments, DD are normalized moments, CC are central moments, and 𝒘\bm{w}, 𝒙\bm{x} and 𝒚\bm{y} are the weights and node locations in the first and second coordinate directions (corresponding to RR and R˙\dot{R} in the main text).
1:procedure HyQMOM2(𝝁\boldsymbol{\mu})
2:  C2(μ0μ2μ12)/μ02C_{2}\leftarrow(\mu_{0}\mu_{2}-\mu_{1}^{2})/\mu_{0}^{2}
3:  w1=w2μ0/2w_{1}=w_{2}\leftarrow\mu_{0}/2
4:  x1μ1/μ0+C2x_{1}\leftarrow\mu_{1}/\mu_{0}+\sqrt{C_{2}}
5:  x2μ1/μ0C2x_{2}\leftarrow\mu_{1}/\mu_{0}-\sqrt{C_{2}}
6:return 𝒘,𝒙\bm{w},\bm{x}
7:end procedure
Algorithm 4 The two-node 1D HyQMOM algorithm. Nomenclature follows algorithm 3, with 𝒘\bm{w} and 𝒙\bm{x} serving as dummy weights and node locations.

Appendix B CQMOM moment inversion

This appendix has the same form as appendix A, though it instead describes the 2D CQMOM algorithm of [33]. Algorithm B is the full 2D CQMOM algorithm, referencing Wheeler’s method for computing optimal 1D quadrature nodes and weights 6. The optimal moment set for this case is

𝝁={μ00,μ10,μ01,μ20,μ02,μ11,μ30,μ03,μ12,μ13},\displaystyle\vec{\boldsymbol{\mu}}=\left\{\mu_{00},\mu_{10},\mu_{01},\mu_{20},\mu_{02},\mu_{11},\mu_{30},\mu_{03},\mu_{12},\mu_{13}\right\}, (25)

which is also the input to algorithm 5.

1:procedure CQMOM(𝝁\boldsymbol{\mu})
2:  𝒘(x),𝒙Wheeler({μ00,μ10,,μ2Nx1,0})\bm{w}^{(x)},\bm{x}\leftarrow\textsc{Wheeler}(\{\mu_{00},\mu_{10},\dots,\mu_{2N_{x}-1,0}\})
3:  for i,j[1,,Nx]i,j\in[1,\dots,N_{x}] do
4:   Vij=xji1V_{ij}=x_{j}^{i-1}
5:   Wii=wi(x)W_{ii}=w_{i}^{(x)}
6:  end for
7:  for i[0,,2Ny1]i\in[0,\dots,2N_{y}-1] do
8:   𝒙i𝑽𝑾𝒙i=μ0:Nx1,i\bm{x}_{i}^{\prime}\leftarrow\bm{V}\bm{W}\,\bm{x}_{i}^{\prime}=\mu_{0:N_{x}-1,i}
9:   wij(y),yijWheeler(𝒙i)w_{ij}^{(y)},y_{ij}\leftarrow\textsc{Wheeler}(\bm{x}_{i}^{\prime})
10:  end for
11:  wij=wi(x)wij(y)w_{ij}=w_{i}^{(x)}w_{ij}^{(y)}
12:return 𝒘,𝒙,𝒚\bm{w},\bm{x},\bm{y}
13:end procedure
Algorithm 5 2D CQMOM algorithm with dummy coordinate direction yy conditioned on xx. 𝑽\bm{V} is a Vandermonde matrix and 𝑾\bm{W} is a diagonal weight matrix.
1:procedure Wheeler(𝝁\boldsymbol{\mu})
2:  for i[1,,2N]i\in[1,\dots,2N] do
3:   σ1,iμi1\sigma_{1,i}\leftarrow\mu_{i-1}
4:  end for
5:  a0μ1/μ0a_{0}\leftarrow\mu_{1}/\mu_{0}
6:  b00b_{0}\leftarrow 0
7:  for i[2,,N]i\in[2,\dots,N] do
8:   for j[i,,2Ni+1]j\in[i,\dots,2N-i+1] do
9:     σi,jσi1,j+1ai2σi1,i1\sigma_{i,j}\leftarrow\sigma_{i-1,j+1}-a_{i-2}\sigma_{i-1,i-1}
10:   end for
11:   ai1σi,i+1/σi,iσi1,i/σi1,i1a_{i-1}\leftarrow\sigma_{i,i+1}/\sigma_{i,i}-\sigma_{i-1,i}/\sigma_{i-1,i-1}
12:   bi1σi,i/σi1,i1b_{i-1}\leftarrow\sigma_{i,i}/\sigma_{i-1,i-1}
13:  end for
14:  for i[2,,N1]i\in[2,\dots,N-1] do
15:   Ji,iai1J_{i,i}\leftarrow a_{i-1}
16:   Ji+1,i=Ji,i+1biJ_{i+1,i}=J_{i,i+1}\leftarrow\sqrt{b_{i}}
17:  end for
18:  𝑸𝚲𝑸1EVD(𝑱)\bm{Q}\boldsymbol{\Lambda}\bm{Q}^{-1}\leftarrow\textsc{EVD}(\bm{J})
19:  for i[1,,N]i\in[1,\dots,N] do
20:   xiΛiix_{i}\leftarrow\Lambda_{ii}
21:   wiμ0Qi,12w_{i}\leftarrow\mu_{0}Q_{i,1}^{2}
22:  end for
23:return 𝒘,𝒙\bm{w},\bm{x}
24:end procedure
Algorithm 6 Wheeler’s algorithm for optimal quadrature points 𝒙\bm{x} and weights 𝒘\bm{w} given a moment set 𝝁\boldsymbol{\mu} [49, 32]. 𝑱\bm{J} is a Jacobi matrix, and EVD refers to the eigenvalue decomposition.