Abstract
# A Multiphysics Single-Bubble Sonoluminescence Simulator with Fractal-Correction-Engine Trajectory Mapping **Author:** Adam L McEvoy **Keywords:** sonoluminescence, cavitation, Keller–Miksis, converging shock, Guderley singularity, plasma spectroscopy, chemical kinetics, uncertainty quantification, fractal correction engine, nonlinear dynamics --- ## Abstract I present an end-to-end computational model of single-bubble sonoluminescence (SBSL) that couples bubble-wall dynamics, resolved interior gas dynamics, a multi-species combustion-chemistry network, plasma radiative transfer, non-spherical shape stability, and a full statistical-uncertainty layer, and that overlays a domain-agnostic trajectory-mapping method — the Fractal Correction Engine (FCE). The bubble wall is integrated with the Keller–Miksis equation including a van der Waals gas, a Moss thermal model, and Hertz–Knudsen water-vapour transport. The collapse interior is resolved with a spherically-symmetric compressible-Euler solver that captures the converging shock, its focus at $r=0$, and the reflected shock. Crucially, I regularize the ideal-gas Guderley focus singularity with three independent physical mechanisms — multi-stage Saha ionization, bremsstrahlung radiative loss, and Spitzer electron thermal conduction — which together reduce the unphysical, grid-divergent millions-of-kelvin focus to a grid-stable $\sim 2\times10^{4}$–$8\times10^{4}\,\mathrm{K}$ consistent with measurement. Emission is computed by integrating the radiative-transfer equation through the resolved radial profile, yielding an apparent (brightness) temperature of $\sim 1.2\times10^{4}\,\mathrm{K}$ that matches published spectra ($R^2 = 0.92$) and resolves the long-standing hydrodynamics-versus-spectroscopy temperature gap. The FCE is applied compositionally to every evolving surface of the system and, in its closed-loop runtime, tracks the bubble radius as a fractal path and detects collapse perturbations with recall $1.00$ and zero timing error — including on a digitized experimental waveform for which the engine has no governing equation. The software is validated against internal benchmarks (24/26) and published experiments, is uncertainty-quantified by Monte-Carlo and Sobol analysis, and is covered by 121 automated tests. --- ## 1. Introduction Single-bubble sonoluminescence is the emission of picosecond flashes of light from a micron-scale gas bubble that is trapped at a pressure antinode of an acoustic standing wave and driven into repeated, extraordinarily violent collapses. A bubble of equilibrium radius $R_0 \sim 4.5\,\mu\mathrm{m}$ expands to $\sim 40\,\mu\mathrm{m}$ during the rarefaction half-cycle, then collapses supersonically to a fraction of a micron in nanoseconds, compressing and heating its contents to plasma conditions. The phenomenon compresses acoustic energy by roughly twelve orders of magnitude in energy density and remains a benchmark problem in nonlinear fluid dynamics, plasma physics, and chemistry. This document describes a simulator that models the full chain of SBSL physics and, on top of it, applies the Fractal Correction Engine — a domain-agnostic method that extracts a fractal path from an observed trajectory using $\pi$ and local curvature and predicts that path forward and backward between perturbations. The two goals are complementary: the physics modules provide a quantitatively defensible model of the bubble, and the FCE tests whether the *observed* dynamics can be tracked, its perturbations localized, and its interference structure mapped, from data alone. I built the system to be modular, testable, and honest about its own limits: every module reports diagnostics that can flag when it is being pushed outside its regime, results are reported with uncertainty intervals rather than point estimates, and negative results (approaches that did not improve accuracy) are retained and documented rather than discarded. --- ## 2. System Overview The simulator is organized as a pipeline of independent engines coordinated by an orchestrator. The stages, in execution order, are: 1. **Bubble dynamics** — integrate the wall equation of motion for $R(t)$.2. **Collapse detection** — locate collapse events and compute their statistics.3. **Thermodynamics** — temperature, pressure, density, Saha ionization.4. **Radial gas dynamics** — resolve the interior temperature profile $T(r,t)$ by heat conduction.5. **Compressible shock solver** — resolve the converging/reflected shock and the focus.6. **Chemical kinetics** — integrate an eight-species reaction network over the collapse.7. **Emission** — blackbody, bremsstrahlung, line, and opacity radiative transfer.8. **Non-spherical dynamics** — spherical-harmonic shape-mode stability.9. **Energy balance** — a closed energy ledger over the cycle.10. **FCE analysis** — fractal/predictive mapping of every surface, interference maps, and the closed-loop runtime.11. **Validation** — internal benchmarks and quantitative comparison to experiment.12. **Uncertainty quantification** — Monte-Carlo propagation and Sobol sensitivity. Coupling between the wall dynamics and the interior physics is handled by operator splitting: the wall ODE produces the trajectory $R(t)$, $\dot R(t)$, and the interior solvers (radial conduction, compressible shock, chemistry) are integrated on the narrow collapse window driven by that trajectory. This keeps each solver in a regime where it is stable and accurate while preserving the physically important coupling. --- ## 3. Bubble-Wall Dynamics ### 3.1 Keller–Miksis equation The bubble wall is integrated with the Keller–Miksis equation, which retains liquid compressibility to first order in the wall Mach number and therefore captures acoustic radiation damping self-consistently: $$\left(1-\frac{\dot R}{c}\right) R\,\ddot R \;+\; \frac{3}{2}\left(1-\frac{\dot R}{3c}\right)\dot R^{2}\;=\; \frac{1}{\rho}\left(1+\frac{\dot R}{c}\right)\!\left(P_B - P_\infty\right) \;+\; \frac{R}{\rho c}\,\frac{dP_B}{dt},$$ where $R$ is the bubble radius, $c$ the liquid sound speed, $\rho$ the liquid density, and the bubble-wall and far-field pressures are $$P_B = P_g - \frac{2\sigma}{R} - \frac{4\mu\dot R}{R}, \qquadP_\infty = P_0 - P_a\sin(\omega t),$$ with surface tension $\sigma$, dynamic viscosity $\mu$, ambient pressure $P_0$, acoustic pressure amplitude $P_a$, and drive angular frequency $\omega = 2\pi f$. The classical Rayleigh–Plesset equation is available as a limiting model. Integration uses an adaptive high-order explicit method (DOP853) with stiff fallbacks (Radau/BDF) when vapour transport makes the system stiff. ### 3.2 Gas equation of state The interior gas pressure follows a van der Waals hard-core polytrope, $$P_g = P_{g,\mathrm{eq}}\left(\frac{R_0^{3}-h^{3}}{R^{3}-h^{3}}\right)^{\gamma},$$ where $h = R_0/8.86$ is the van der Waals hard-core radius for argon, $\gamma$ the adiabatic index, and $P_{g,\mathrm{eq}} = P_0 + 2\sigma/R_0 - P_v$ the equilibrium gas pressure. ### 3.3 Thermal model With the Moss single-temperature thermal model the gas temperature evolves as $$\frac{dT}{dt} = -(\gamma-1)\,T\,\frac{3\dot R}{R} \;+\; \frac{\kappa\,(T_\ell - T)}{\rho_g\,c_v\,R^{2}},$$ the first term being adiabatic compression heating and the second heat conduction to the liquid at temperature $T_\ell$, with gas thermal conductivity $\kappa$ and specific heat $c_v$. ### 3.4 Water-vapour transport When enabled, water vapour is exchanged with the liquid at the wall by the Hertz–Knudsen relation, $$\dot m = 4\pi R^{2}\,\alpha\,\big(P_{\mathrm{sat}}(T_w) - x_v P_g\big)\sqrt{\frac{M_{\mathrm{H_2O}}}{2\pi \mathcal{R} T_w}},$$ with accommodation coefficient $\alpha$, wall temperature $T_w$, saturation pressure $P_{\mathrm{sat}}$ (Antoine relation), vapour mole fraction $x_v$, and universal gas constant $\mathcal{R}$. The mixture then evolves with a mole-weighted effective adiabatic index, and dissociation acts as an energy sink. Because the large expanded bubble is cool, evaporation fills it to a high vapour fraction ($x_{\mathrm{H_2O}} \approx 0.92$ at maximum radius in the reference run), so the trapped vapour is the dominant reactive species at collapse. --- ## 4. Interior Thermodynamics and Ionization The peak interior temperature is estimated at three increasing levels of fidelity, and I report all three because they bracket the true value: 1. a volume-averaged/parabolic-profile estimate with a Rankine–Hugoniot shock amplification;2. a spatially-resolved conduction PDE (Section 5.1);3. the fully-resolved compressible shock (Section 6). The ionization fraction is obtained from the Saha equation, $$\frac{x^{2}}{1-x} = \frac{1}{n}\left(\frac{2\pi m_e k_B T}{h_P^{2}}\right)^{3/2}\frac{2g_i}{g_n}\,\exp\!\left(-\frac{E_{\mathrm{ion}}}{k_B T}\right),$$ with electron mass $m_e$, Planck constant $h_P$, ionization energy $E_{\mathrm{ion}}$, and ion/neutral degeneracies $g_i,g_n$. Plasma formation is flagged when $x > 0.01$ and $T > 7000\,\mathrm{K}$. --- ## 5. Resolved Interior Gas Dynamics ### 5.1 Radial heat conduction The interior temperature field is resolved on a co-moving normalized coordinate $\xi = r/R(t)\in[0,1]$ using the homobaric (uniform-pressure) energy equation $$\rho\,c_v\,\frac{DT}{Dt} = -(\gamma-1)\,\rho\,c_v\,T\,(\nabla\!\cdot\mathbf{u}) \;+\; \nabla\!\cdot(k\nabla T),$$ with the uniform-compression velocity field $\mathbf{u}(r) = (\dot R/R)\,r$ so that $\nabla\!\cdot\mathbf{u} = 3\dot R/R$, and the spherical Laplacian $$\nabla^{2}T = \frac{1}{R^{2}\xi^{2}}\,\partial_\xi\!\big(\xi^{2}\,\partial_\xi T\big).$$ Boundary conditions are symmetry at the centre, $\partial_\xi T|_0 = 0$, and a Dirichlet wall, $T|_1 = T_w$. The method of lines is used with a step cap that prevents the adaptive integrator from striding over the nanosecond compression feature. This model yields a physically-derived hot-core structure (centre-to-average temperature ratio $\approx 2