# Rayleigh–Plesset equation

In fluid mechanics, the Rayleigh–Plesset equation or Besant–Rayleigh–Plesset equation is a nonlinear ordinary differential equation which governs the dynamics of a spherical bubble in an infinite body of incompressible fluid. Its general form is usually written as
$R{\frac {d^{2}R}{dt^{2}}}+{\frac {3}{2}}\left({\frac {dR}{dt}}\right)^{2}+{\frac {4\nu _{L}}{R}}{\frac {dR}{dt}}+{\frac {2\sigma }{\rho _{L}R}}+{\frac {\Delta P(t)}{\rho _{L}}}=0$
where
    $\rho _{L}$ is the density of the surrounding liquid, assumed to be constant
    $R(t)$ is the radius of the bubble
    $\nu _{L}$ is the kinematic viscosity of the surrounding liquid, assumed to be constant
    $\sigma$ is the surface tension of the bubble-liquid interface
    $\Delta P(t)=P_{\infty }(t)-P_{B}(t)$, in which, $P_{B}(t)$ is the pressure within the bubble, assumed to be uniform and $P_{\infty }(t)$ is the external pressure infinitely far from the bubble
Provided that $P_{B}(t)$ is known and $P_{\infty }(t)$ is given, the Rayleigh–Plesset equation can be used to solve for the time-varying bubble radius $R(t)$.
The Rayleigh–Plesset equation can be derived from the Navier–Stokes equations under the assumption of spherical symmetry. It can also be derived using an energy balance.

## History

Neglecting surface tension and viscosity, the equation was first derived by W. H. Besant in his 1859 book with the problem statement stated as An infinite mass of homogeneous incompressible fluid acted upon by no forces is at rest, and a spherical portion of the fluid is suddenly annihilated; it is required to find the instantaneous alteration of pressure at any point of the mass, and the time in which the cavity will be filled up, the pressure at an infinite distance being supposed to remain constant (in fact, Besant attributes the problem to Cambridge Senate-House problems of 1847). Besant predicted the time required to fill an empty cavity of initial radius $R_{0}$ to be
    ${\begin{aligned}t&=R_{0}{\sqrt {\frac {6\rho }{P_{\infty }}}}\int _{0}^{1}{\frac {z^{4}\,dz}{\sqrt {1-z^{6}}}}\\&=R_{0}{\sqrt {\frac {\pi \rho }{6P_{\infty }}}}{\frac {\Gamma (5/6)}{\Gamma (4/3)}}\\&\approx 0.91468R_{0}{\sqrt {\frac {\rho }{P_{\infty }}}}\end{aligned}}$
Lord Rayleigh found a simpler derivation of the same result, based on conservation of energy. The kinetic energy of the inrushing fluid is $2\pi \rho U^{2}R^{3}$ where $R$ is the time-dependent radius of the void, and $U$ the radial velocity of the fluid there. The work done by the fluid pressing in at infinity is $4\pi P_{\infty }(R_{0}^{3}-R^{3})/3$, and equating these two energies gives a relation between $R$ and $U$. Then, noting that $U=\partial R/\partial t$, separation of variables gives Besant's result. Rayleigh went further than Besant, in evaluating the integral (Euler's beta function) in terms of gamma functions. Rayleigh adapted this approach to the case of a cavity filled with an ideal gas (a bubble) by including a term for the work done compressing the gas.
For the case of the perfectly empty void, Rayleigh determined that the pressure $P$ in the fluid at a radius $r$ is given by:
    ${\frac {P}{P_{\infty }}}-1={\frac {R}{3r}}\left({\frac {R_{0}^{3}}{R^{3}}}-4\right)-{\frac {R^{4}}{3r^{4}}}\left({\frac {R_{0}^{3}}{R^{3}}}-1\right)$
When the void is at least one quarter of its initial volume, then the pressure decreases monotonically from $P_{\infty }$ at infinity to zero at $R$. As the void shrinks further a pressure maximum, greater than $P_{\infty }$ appears at
    $r^{3}={\frac {4(R_{0}^{3}-R^{3})R^{3}}{R_{0}^{3}-4R^{3}}}$
very rapidly growing and converging on the void.
The equation was first applied to traveling cavitation bubbles by Milton S. Plesset in 1949 by including effects of surface tension.

## Derivation

The Rayleigh–Plesset equation can be derived entirely from first principles using the bubble radius as the dynamic parameter. Consider a spherical bubble with time-dependent radius $R(t)$, where $t$ is time. Assume that the bubble contains a homogeneously distributed vapor/gas with a uniform temperature $T_{B}(t)$ and pressure $P_{B}(t)$. Outside the bubble is an infinite domain of liquid with constant density $\rho _{L}$ and dynamic viscosity $\mu _{L}$. Let the temperature and pressure far from the bubble be $T_{\infty }$ and $P_{\infty }(t)$. The temperature $T_{\infty }$ is assumed to be constant. At a radial distance $r$ from the center of the bubble, the varying liquid properties are pressure $P(r,t)$, temperature $T(r,t)$, and radially outward velocity $u(r,t)$. Note that these liquid properties are only defined outside the bubble, for $r\geq R(t)$.

### Mass conservation

By conservation of mass, the inverse-square law requires that the radially outward velocity $u(r,t)$ must be inversely proportional to the square of the distance from the origin (the center of the bubble). Therefore, letting $F(t)$ be some function of time,
    $u(r,t)={\frac {F(t)}{r^{2}}}$
In the case of zero mass transport across the bubble surface, the velocity at the interface must be
    $u(R,t)={\frac {dR}{dt}}={\frac {F(t)}{R^{2}}}$
which gives that
    $F(t)=R^{2}dR/dt$
In the case where mass transport occurs and assuming the bubble contents are at constant density, the rate of mass increase inside the bubble is given by
    ${\frac {dm_{V}}{dt}}=\rho _{V}{\frac {dV}{dt}}=\rho _{V}{\frac {d(4\pi R^{3}/3)}{dt}}=4\pi \rho _{V}R^{2}{\frac {dR}{dt}}$
with $V$ being the volume of the bubble. If $u_{L}$ is the velocity of the liquid relative to the bubble at $r=R$, then the mass entering the bubble is given by
    ${\frac {dm_{L}}{dt}}=\rho _{L}Au_{L}=\rho _{L}(4\pi R^{2})u_{L}$
with $A$ being the surface area of the bubble. Now by conservation of mass $dm_{v}/dt=dm_{L}/dt$, therefore $u_{L}=(\rho _{V}/\rho _{L})dR/dt$. Hence
    $u(R,t)={\frac {dR}{dt}}-u_{L}={\frac {dR}{dt}}-{\frac {\rho _{V}}{\rho _{L}}}{\frac {dR}{dt}}=\left(1-{\frac {\rho _{V}}{\rho _{L}}}\right){\frac {dR}{dt}}$
Therefore
    $F(t)=\left(1-{\frac {\rho _{V}}{\rho _{L}}}\right)R^{2}{\frac {dR}{dt}}$
In many cases, the liquid density is much greater than the vapor density, $\rho _{L}\gg \rho _{V}$, so that $F(t)$ can be approximated by the original zero mass transfer form $F(t)=R^{2}dR/dt$, so that
    $u(r,t)={\frac {F(t)}{r^{2}}}={\frac {R^{2}}{r^{2}}}{\frac {dR}{dt}}$

### Momentum conservation

Assuming that the liquid is a Newtonian fluid, the incompressible Navier–Stokes equation in spherical coordinates for motion in the radial direction gives
    $\rho _{L}\left({\frac {\partial u}{\partial t}}+u{\frac {\partial u}{\partial r}}\right)=-{\frac {\partial P}{\partial r}}+\mu _{L}\left[{\frac {1}{r^{2}}}{\frac {\partial }{\partial r}}\left(r^{2}{\frac {\partial u}{\partial r}}\right)-{\frac {2u}{r^{2}}}\right]$
Substituting kinematic viscosity $\nu _{L}=\mu _{L}/\rho _{L}$ and rearranging gives
    $-{\frac {1}{\rho _{L}}}{\frac {\partial P}{\partial r}}={\frac {\partial u}{\partial t}}+u{\frac {\partial u}{\partial r}}-\nu _{L}\left[{\frac {1}{r^{2}}}{\frac {\partial }{\partial r}}\left(r^{2}{\frac {\partial u}{\partial r}}\right)-{\frac {2u}{r^{2}}}\right]$
whereby substituting $u(r,t)$ from mass conservation yields
    $-{\frac {1}{\rho _{L}}}{\frac {\partial P}{\partial r}}={\frac {2R}{r^{2}}}\left({\frac {dR}{dt}}\right)^{2}+{\frac {R^{2}}{r^{2}}}{\frac {d^{2}R}{dt^{2}}}-{\frac {2R^{4}}{r^{5}}}\left({\frac {dR}{dt}}\right)^{2}={\frac {1}{r^{2}}}\left(2R\left({\frac {dR}{dt}}\right)^{2}+R^{2}{\frac {d^{2}R}{dt^{2}}}\right)-{\frac {2R^{4}}{r^{5}}}\left({\frac {dR}{dt}}\right)^{2}$
Note that the viscous terms cancel during substitution. Separating variables and integrating from the bubble boundary $r=R$ to $r\rightarrow \infty$ gives
    $-{\frac {1}{\rho _{L}}}\int _{P(R)}^{P(\infty )}dP=\int _{R}^{\infty }\left[{\frac {1}{r^{2}}}\left(2R\left({\frac {dR}{dt}}\right)^{2}+R^{2}{\frac {d^{2}R}{dt^{2}}}\right)-{\frac {2R^{4}}{r^{5}}}\left({\frac {dR}{dt}}\right)^{2}\right]dr$
    ${{\frac {P(R)-P_{\infty }}{\rho _{L}}}=\left[-{\frac {1}{r}}\left(2R\left({\frac {dR}{dt}}\right)^{2}+R^{2}{\frac {d^{2}R}{dt^{2}}}\right)+{\frac {R^{4}}{2r^{4}}}\left({\frac {dR}{dt}}\right)^{2}\right]_{R}^{\infty }=R{\frac {d^{2}R}{dt^{2}}}+{\frac {3}{2}}\left({\frac {dR}{dt}}\right)^{2}}$

### Boundary conditions

Let $\sigma _{rr}$ be the normal stress in the liquid that points radially outward from the center of the bubble. In spherical coordinates, for a fluid with constant density and constant viscosity,
    $\sigma _{rr}=-P+2\mu _{L}{\frac {\partial u}{\partial r}}$
Therefore at some small portion of the bubble surface, the net force per unit area acting on the lamina is
    ${\begin{aligned}\sigma _{rr}(R)+P_{B}-{\frac {2\sigma }{R}}&=-P(R)+\left.2\mu _{L}{\frac {\partial u}{\partial r}}\right|_{r=R}+P_{B}-{\frac {2\sigma }{R}}\\&=-P(R)+2\mu _{L}{\frac {\partial }{\partial r}}\left({\frac {R^{2}}{r^{2}}}{\frac {dR}{dt}}\right)_{r=R}+P_{B}-{\frac {2\sigma }{R}}\\&=-P(R)-{\frac {4\mu _{L}}{R}}{\frac {dR}{dt}}+P_{B}-{\frac {2\sigma }{R}}\\\end{aligned}}$
where $\sigma$ is the surface tension. If there is no mass transfer across the boundary, then this force per unit area must be zero, therefore
$P(R)=P_{B}-{\frac {4\mu _{L}}{R}}{\frac {dR}{dt}}-{\frac {2\sigma }{R}}$
and so the result from momentum conservation becomes
    ${\frac {P(R)-P_{\infty }}{\rho _{L}}}={\frac {P_{B}-P_{\infty }}{\rho _{L}}}-{\frac {4\mu _{L}}{\rho _{L}R}}{\frac {dR}{dt}}-{\frac {2\sigma }{\rho _{L}R}}=R{\frac {d^{2}R}{dt^{2}}}+{\frac {3}{2}}\left({\frac {dR}{dt}}\right)^{2}$
whereby rearranging and letting $\nu _{L}=\mu _{L}/\rho _{L}$ gives the Rayleigh–Plesset equation
    ${\frac {P_{B}(t)-P_{\infty }(t)}{\rho _{L}}}=R{\frac {d^{2}R}{dt^{2}}}+{\frac {3}{2}}\left({\frac {dR}{dt}}\right)^{2}+{\frac {4\nu _{L}}{R}}{\frac {dR}{dt}}+{\frac {2\sigma }{\rho _{L}R}}$
Using dot notation to represent derivatives with respect to time, the Rayleigh–Plesset equation can be more succinctly written as
       ${\frac {P_{B}(t)-P_{\infty }(t)}{\rho _{L}}}=R{\ddot {R}}+{\frac {3}{2}}({\dot {R}})^{2}+{\frac {4\nu _{L}{\dot {R}}}{R}}+{\frac {2\sigma }{\rho _{L}R}}$

## Solutions

More recently, analytical closed-form solutions were found for the Rayleigh–Plesset equation for both an empty and gas-filled bubble and were generalized to the N-dimensional case. The case when the surface tension is present due to the effects of capillarity were also studied.
Also, for the special case where surface tension and viscosity are neglected, high-order analytical approximations are also known.
In the static case, the Rayleigh–Plesset equation simplifies, yielding the Young–Laplace equation:
    $P_{B}-P_{\infty }={\frac {2\sigma }{R}}$
When only infinitesimal periodic variations in the bubble radius and pressure are considered, the RP equation also yields the expression of the natural frequency of the bubble oscillation.