zephyrus.nozzle
nozzle
nozzle.py
Roche-lobe overflow: the tidally driven nozzle flow through L1.
Author: Mara Attia
curvature_a(q)
Dimensionless L1 curvature A(q) of Jackson et al. (2017) Eq. (10).
q is the donor-over-accretor mass ratio. The fit is symmetric under
q to 1/q, equals 8 at equal masses, and tends to 4 at extreme
ratios; it reproduces the numerical root of their Eq. (7) to 0.3% for
all q (their Figure 2).
Source code in src/zephyrus/nozzle.py
74 75 76 77 78 79 80 81 82 83 84 | |
eggleton_lobe_radius(q, separation)
Volume-equivalent Roche lobe radius of the donor, in m.
The Eggleton (1983, ApJ 268, 368) fit as printed in Jackson et al.
(2017) Section 2.1, accurate to 1% for all mass ratios q (donor
over accretor); separation is the orbital separation [m].
Source code in src/zephyrus/nozzle.py
87 88 89 90 91 92 93 94 95 96 97 98 | |
volume_averaged_potential(r_v, M_d, M_a, separation)
Volume-averaged Roche potential at volume-equivalent radius r_v.
Jackson et al. (2017) Eq. (14): the potential of the equipotential
surface enclosing the same volume as a sphere of radius r_v around
the donor M_d, with accretor M_a at separation [m], in
J/kg. The expansion converges inside the donor's Roche lobe and not
outside it, and disagrees with a direct numerical evaluation by a few
percent as r_v approaches the lobe radius, which the primary
quantifies as about a factor of two in the final rate.
Source code in src/zephyrus/nozzle.py
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
nozzle_candidate(M_p, M_star, a, e, rho_ph, r_ph, T, mu_kg, n_phase=64, sigma_m2=None, kn_crit=1.0)
Orbit-averaged Roche-lobe overflow rate through the L1 nozzle.
The rate is Jackson et al. (2017) Eq. (3) at each orbital separation, averaged in time over the orbit and duty-cycled over the arc where the overflow description applies.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
M_p
|
float
|
Donor (planet) and accretor (star) masses [kg]. |
required |
M_star
|
float
|
Donor (planet) and accretor (star) masses [kg]. |
required |
a
|
float
|
Semi-major axis [m] and eccentricity. |
required |
e
|
float
|
Semi-major axis [m] and eccentricity. |
required |
rho_ph
|
float
|
Density [kg m^-3] and radius [m] of the launch level. The profile radius stands in for the volume-equivalent photospheric radius without the primary's Appendix distortion conversion. Along an isothermal column rho_ph exp(Phi_ph / v_th^2) is level-invariant, so the level choice cancels there and not on a non-isothermal one. |
required |
r_ph
|
float
|
Density [kg m^-3] and radius [m] of the launch level. The profile radius stands in for the volume-equivalent photospheric radius without the primary's Appendix distortion conversion. Along an isothermal column rho_ph exp(Phi_ph / v_th^2) is level-invariant, so the level choice cancels there and not on a non-isothermal one. |
required |
T
|
float
|
Temperature [K] and mean particle mass [kg] evaluating the isothermal sound speed and the exponential barrier. |
required |
mu_kg
|
float
|
Temperature [K] and mean particle mass [kg] evaluating the isothermal sound speed and the exponential barrier. |
required |
n_phase
|
int
|
Midpoint nodes in eccentric anomaly for the orbit average; the
quadrature is converged well below the default. At |
64
|
sigma_m2
|
float or None
|
Collision cross section [m^2] of the gas at L1. When given, a phase
applies only where the L1 Knudsen number is at most |
None
|
kn_crit
|
float
|
Knudsen threshold at L1, used only with |
1.0
|
Returns:
| Type | Description |
|---|---|
(rate, detail)
|
The orbit-averaged Eq. (3) rate [kg/s], unguarded so that it stays
comparable with the primary's published rates, and a detail dict.
The rate a caller should compete is
|
Source code in src/zephyrus/nozzle.py
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 | |