Skip to content

pyflightstream.post.rotor_sections_products (experimental)

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

Rotor section products from matching surface and wake snapshots.

Pipeline role: adapt the resolved post context to blade-local numerical reductions and write their long and strip tables beside the polar products.

Advanced

pyflightstream.post.rotor_sections_products.rotor_section_snapshot

rotor_section_snapshot(
    ctx,
    point,
    *,
    rotor,
    wake,
    surface,
    saved,
    units,
    rho,
    speed,
    alpha,
    beta,
    rpm,
    copies,
    repair_w=False,
)

Reduce one matching surface and wake snapshot in physical geometry axes.

Parameters:

Name Type Description Default
ctx SimContext

Resolved simulation and far-field declaration.

required
point PolarPoint

Operating point and its parsed near-field loads.

required
rotor RotorBlock

Selected hub, axis, blade families and diameter in metres.

required
wake WakeLines

Matching wake export in geometry axes and SI units.

required
surface Path

Matching surface VTK and labelled saved simulation.

required
saved Path

Matching surface VTK and labelled saved simulation.

required
units float

Native exported length units per metre.

required
rho float

Density in kg/m^3.

required
speed float

Free-stream velocity in m/s.

required
alpha float

Incidence and sideslip in degrees.

required
beta float

Incidence and sideslip in degrees.

required
rpm float

Recorded rotor speed in revolutions per minute.

required
copies int

Number of periodic sector copies in the full wheel.

required
repair_w bool

Compute the optional section-anchored W diagnostic.

False

Returns:

Type Description
tuple of dict

Dimensional loads by blade and rotor, and local strip diagnostics by blade.

Raises:

Type Description
ProductError

Measured axial load is zero, leaving the surface winding unresolved.

pyflightstream.post.rotor_sections_products.rotor_sections_products

rotor_sections_products(
    ctx,
    *,
    output,
    read_wake,
    flow,
    per_m,
    copies,
    window,
    skip,
)

Write the selected rotor's blade-local long and strip tables.

Parameters:

Name Type Description Default
ctx SimContext

Resolved simulation, operating points, product paths and provenance.

required
output callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required
read_wake callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required
flow callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required
per_m callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required
copies callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required
window callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required
skip callable

Pipeline adapters resolving exports, reading wakes, reading flow values, converting units, counting periodic copies, selecting steps and reporting skips.

required