turbo_moc.core.leading_edge_shock module#

Leading-edge bow shock of a supersonic rotor cascade (Moeckel 1949, real gas).

Moeckel (NACA TN 1921) places the detached shock ahead of a blunt body with three assumptions: the shock is a hyperbola asymptotic to the free-stream Mach lines,

eta = sqrt(x^2 - x0^2) / B, B = sqrt(M1^2 - 1),

the sonic line joining the sonic point on the shock to the sonic point on the body is straight, and continuity across that sonic line fixes the shock standoff. Here the sonic line is taken normal to the mean flow direction across it, so that

rho1 V1 y_s = (rho a)* (y_s - y_b) / cos(theta_m),

with y_b the half-height of the body at its sonic point (where the surface deflection equals the sonic deflection of an oblique shock) and (rho a)* the sonic flux behind the normal shock on the stagnation streamline. The ratio rho1 V1 / (rho a)* is the Kantrowitz ratio of rotor_starting.

All jump conditions use the real-gas (equilibrium two-phase) equation of state. In a cascade the shock branches are followed until they meet a neighbouring blade: the first hit on a suction surface is where the bow shock impinges (Sousa & Paniagua, Entropy 17 (2015) 5593, Figs. 2b and 5). The local shock strength there follows from the hyperbola slope with the uniform inflow upstream, which ignores the waves the shock crosses on its way.

class turbo_moc.core.leading_edge_shock.ObliqueShock(isentrope, mach)[source]#

Bases: object

Real-gas oblique shocks for one upstream state on an isentrope.

Methods

attached_angle(deflection)

Weak-branch wave angle [rad] for a deflection [rad]; None if the shock detaches.

jump(wave_angle)

Deflection [rad], downstream Mach, pressure ratio and entropy rise for a wave angle [rad].

sonic()

Wave angle and deflection [rad] at which the flow behind the shock is sonic.

attached_angle(deflection)[source]#

Weak-branch wave angle [rad] for a deflection [rad]; None if the shock detaches.

jump(wave_angle)[source]#

Deflection [rad], downstream Mach, pressure ratio and entropy rise for a wave angle [rad].

sonic()[source]#

Wave angle and deflection [rad] at which the flow behind the shock is sonic.

turbo_moc.core.leading_edge_shock.bow_shock(rotor, mach=None, beta_inlet=None, branch_length=None, count=400)[source]#

Bow shock of a vortex rotor result (as written by the app worker) and where it hits the neighbours.

mach and beta_inlet [deg, from axial] default to the design inflow; pass the CFD values to compare with a simulation. Lengths are in the rotor’s units. Returns the shock geometry, its standoff, and the first impingement on a neighbouring suction surface (chord fraction from the leading edge, local wave angle, pressure ratio, downstream Mach and entropy rise of the local oblique shock).

turbo_moc.core.leading_edge_shock.normal_shock(fluid, rho1, p1, h1, vn1)[source]#

Downstream state and normal velocity of a normal shock with upstream normal velocity vn1.