|
| 1 | +# `f_radial_eq.m` Documentation |
| 2 | + |
| 3 | +## Overview |
| 4 | +`f_radial_eq` evaluates the radial acceleration (`Rddot`) of a bubble wall using various models (Rayleigh–Plesset, Keller–Miksis, Gilmore) and equations of state. |
| 5 | + |
| 6 | +## Major Sections |
| 7 | +1. **Rayleigh–Plesset (Model 1)** |
| 8 | +2. **Keller–Miksis Pressure Form (Model 2)** |
| 9 | +3. **Keller–Miksis Enthalpy Form (Model 3)** |
| 10 | +4. **Gilmore with Tait EoS (Model 4)** |
| 11 | +5. **Keller–Miksis with Mie–Grüneisen EoS (Model 5)** |
| 12 | +6. **Gilmore with Mie–Grüneisen EoS (Model 6)** |
| 13 | +7. **EOS Helper Functions**: |
| 14 | + - `f_mie_gruneisen_eos_scalar` |
| 15 | + - `f_mie_rho_from_p_scalar` |
| 16 | + |
| 17 | +## Inputs |
| 18 | + |
| 19 | +| Name | Description | Units | |
| 20 | +|-------------|--------------------------------------------|-------| |
| 21 | +| `radial` | Model selector (1–6) | – | |
| 22 | +| `P` | Internal bubble pressure (non-dim) | – | |
| 23 | +| `Pdot` | Time derivative of `P` | – | |
| 24 | +| `Pf8` | External pressure (non-dim) | – | |
| 25 | +| `Pf8dot` | Time derivative of `Pf8` | – | |
| 26 | +| `iWe` | Inverse Weber number | – | |
| 27 | +| `R` | Bubble radius (non-dim) | – | |
| 28 | +| `Rdot` | Bubble wall velocity (non-dim) | – | |
| 29 | +| `S` | Stress term (non-dim) | – | |
| 30 | +| `Sdot` | Time derivative of `S` | – | |
| 31 | +| `Cstar` | Non-dim sound speed | – | |
| 32 | +| `sam` | Tait EOS parameter | – | |
| 33 | +| `no` | Tait exponent | – | |
| 34 | +| `GAMa` | Mie–Grüneisen parameter | – | |
| 35 | +| `nstate` | EOS exponent | – | |
| 36 | +| `nog` | (nstate–1)/2 for MG EoS | – | |
| 37 | +| `hugoniot_s`| Hugoniot slope | – | |
| 38 | +| `JdotA` | Viscous and thermal coupling parameter | – | |
| 39 | +| `ddintfnu` | Second derivative of non-Newtonian term | – | |
| 40 | +| `iDRe` | Inverse Debye–Stokes number | – | |
| 41 | + |
| 42 | +## Outputs |
| 43 | + |
| 44 | +| Name | Description | Units | |
| 45 | +|----------|-----------------------------------------|-------| |
| 46 | +| `Rddot` | Bubble wall acceleration | – | |
| 47 | + |
| 48 | +## Notes |
| 49 | +- EOS helper functions perform scalar EOS and density calculations. |
| 50 | +- Ensure physical consistency when mixing different models. |
0 commit comments