turbo_moc.jax_rotor.starting module#

Kantrowitz starting check of a JAX vortex blade (counterpart of turbo_moc.core.rotor_starting).

  • geometric_throat: smallest distance between the closed outline and its neighbour one pitch away, with the reference’s sampling (20 points per outline segment, every third point on the neighbour). Exact in JAX; its gradient is that of the closest pair (non-smooth only where the closest pair switches).

  • kantrowitz_ratio / isentropic_ratio: they depend on the inlet state and M_inlet only (normal shock and sonic flux on the real-gas isentropes, CoolProp root finding, which JAX cannot trace). Values are the reference’s, called through jax.pure_callback (identical by construction). The derivative in M_inlet (2026-11-17) is that of a quintic spline through the reference values on a fixed Mach grid (step GRID_STEP, HALF_WIDTH nodes on each side of the query, cached per inlet state): truncation ~1e-10, and the ~1e-11 root-solve noise of the reference is amplified only to ~1e-9 (a central difference at a small step amplified it to ~1e-4). Verified against Richardson-extrapolated differences of the reference (Cyclopentane, Water, CO2, Novec649; two-phase and vapour): <= 3e-8. Where the post-shock state crosses the dew line the ratio’s curvature jumps (slope continuous; CO2 at 0.3 pc: M 1.357) and within ~0.08 in Mach of that point the spline derivative is good to ~1e-5 only. Not valid across a kink of the ratio itself (inlet Mach at the dew line of a wet-to-dry expansion): the spline smooths it. Derivatives in the inlet state are not provided (phase 1b).

class turbo_moc.jax_rotor.starting.StartingModel(fluid_name, P0_rel, T0_rel, Q0_rel=nan, backend='HEOS')[source]#

Bases: object

Relative isentrope of one inlet state (reference object, built once) with JAX-callable ratios.

Methods

check(blade, M_inlet, beta_inlet)

Same outputs as rotor_starting.starting_check (arrays), for a JAX blade dict.

isentropic_ratio

kantrowitz_ratio

check(blade, M_inlet, beta_inlet)[source]#

Same outputs as rotor_starting.starting_check (arrays), for a JAX blade dict.

isentropic_ratio(mach)[source]#
kantrowitz_ratio(mach)[source]#
turbo_moc.jax_rotor.starting.geometric_throat(blade_x, blade_y, pitch)[source]#