turbo_moc.meshing.section_morph module#

Section-wise rotor blades in the 3D sweep (TurboExpo 3D design (b), 2026-11-12).

The span sweep normally scales one reference section. With rotor_design.section_profiles = {“hub”: json, “mid”: json, “tip”: json} (2D rotor_result.json files of the vortex rotors designed at the local U/c), the blade at span fraction eta is the point-wise quadratic (Lagrange) blend of the three profiles, each at its own natural pitch-to-chord ratio for the row’s pitch. Profiles are put in the conformal plane exactly as rotor_blade.build_rotor_design does (LE origin), scaled so that their native pitch equals the row pitch, stacked with a common LE meridional station (the rotor inlet interface strip keeps its length) and a common tangential centroid. The midspan profile must reproduce the reference blade. Wall nodes move to the blended profile at the same arc-length fraction; the protected boundary-layer collar moves with its nearest wall node, and CoreDeformation spreads the displacement into the core.

class turbo_moc.meshing.section_morph.SectionMorph(profiles, section, design, config=None)[source]#

Bases: object

Methods

blade(eta)

Piecewise-linear blend hub-mid-tip.

displacement(eta, scale, offset, collar)

Per-node displacement (len(xy) x 2): wall nodes to the blended blade at the same landmark-wise arc-length position; collar (boundary-layer stack) nodes rigidly with their nearest wall node.

periodic_shift(eta, scale, offset, section)

Shift (len(xy) x 2) of the periodic nodes, identical on each master/slave pair.

blade(eta)[source]#

Piecewise-linear blend hub-mid-tip. The quadratic (Lagrange) blend overshot between the sections: with the hub LE 1.3 mm downstream and the tip LE at the midspan station, the LE at eta 0.81 sat 0.15 mm upstream of both and folded the inlet strip (reacting design, 2026-11-13).

displacement(eta, scale, offset, collar)[source]#

Per-node displacement (len(xy) x 2): wall nodes to the blended blade at the same landmark-wise arc-length position; collar (boundary-layer stack) nodes rigidly with their nearest wall node. The caller prescribes it on the collar and spreads it into the core with the Laplacian (CoreDeformation.deform).

periodic_shift(eta, scale, offset, section)[source]#

Shift (len(xy) x 2) of the periodic nodes, identical on each master/slave pair.

The passage edge lies between the pressure side of one blade and the suction side of the next: it moves by the mean wall displacement of the two sides at the same meridional station (both components), fading linearly to zero at the inlet cap (the shared interface plane stays put) and one chord (or the outlet cap) behind the TE. Without it the twisted, shorter hub section closed on the fixed periodic lines near both edges (2026-11-12).