Skip to content

pyflightstream.post.rotor_section_frames (experimental)

Generated from the docstrings at build time: every one of the 2 names in the __all__ of pyflightstream.post.rotor_section_frames has an entry below. The names a guide or an example uses come first; the others follow under Advanced.

Admit blade distributions only after measuring their cut against the blade.

Pipeline role: reuse section loads where the measured section-plane normal lies along the measured surface span; retain surface re-cuts otherwise.

Advanced

pyflightstream.post.rotor_section_frames.aligned_blade_sections

aligned_blade_sections(
    sections,
    layout,
    loads_path: Path | None,
    cp_path: Path | None,
    *,
    axis,
    rho,
    reference_speed,
    per_m,
)

Reuse measured on-span distributions, returning re-cut reasons by blade.

Surface re-cuts remain available when a distribution or its geometric evidence is missing. Section CF uses reference dynamic pressure, unlike the surface VTK coefficient which uses local dynamic pressure.

Parameters:

Name Type Description Default
sections dict

Surface re-cuts by blade name, retained when section evidence is absent.

required
layout sequence of dict

Recorded section distributions in exported order.

required
loads_path Path or None

Matching section-load and cut-geometry exports.

required
cp_path Path or None

Matching section-load and cut-geometry exports.

required
axis ndarray

Unit shaft direction in geometry axes.

required
rho float

Density in kg/m^3.

required
reference_speed float

Reference velocity in m/s for section coefficients.

required
per_m float

Native exported length units per metre.

required

Returns:

Type Description
tuple of dict

Accepted loads by blade and the reasons for retained surface re-cuts.

pyflightstream.post.rotor_section_frames.section_span_angle

section_span_angle(
    points: ndarray, radial: ndarray
) -> float

Return the acute angle in degrees between a cut normal and blade span.

Parameters:

Name Type Description Default
points ndarray

At least three noncollinear cut points, shape (n, 3).

required
radial ndarray

Measured blade span unit vector in the same axes.

required

Returns:

Type Description
float

Angle in degrees; infinity for an underdetermined cut plane.