pyflightstream.post.rotor_sections_surface (experimental)¶
Generated from the docstrings at build time: every one of the 1 names in the __all__ of pyflightstream.post.rotor_sections_surface has an entry below. The names a guide or an example uses come first; the others follow under Advanced.
Read blade-local strips from labelled saved geometry and surface exports.
Pipeline role: geometric and unit adapter for the rotor section numerical core. Boundary labels identify blades; azimuth numbering is never assumed.
Advanced¶
pyflightstream.post.rotor_sections_surface.blade_surface_strips
¶
blade_surface_strips(
surface_path: Path,
saved_path: Path,
families: list[str],
lines: list[ndarray],
*,
hub: ndarray,
axis: ndarray,
moment_point: ndarray,
per_m: float,
rho: float,
reference_speed: float,
thrust_sign: float,
chord_fraction: float,
) -> tuple[
dict[str, SectionLoads],
dict[str, np.ndarray],
np.ndarray,
]
Re-cut blade surface loads into radial strips on the wake's radii.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
surface_path
|
Path
|
Matching surface export and saved simulation containing blade labels. |
required |
saved_path
|
Path
|
Matching surface export and saved simulation containing blade labels. |
required |
families
|
list of str
|
The selected rotor's modelled blade families. |
required |
lines
|
list of numpy.ndarray
|
Selected rotor wake lines in geometry metres, newest node first. |
required |
hub
|
ndarray
|
Geometry-metre origins and unit shaft direction. |
required |
axis
|
ndarray
|
Geometry-metre origins and unit shaft direction. |
required |
moment_point
|
ndarray
|
Geometry-metre origins and unit shaft direction. |
required |
per_m
|
float
|
Native surface length units per metre. |
required |
rho
|
float
|
Density in kg/m^3 and reference velocity in m/s for Cp_reference. |
required |
reference_speed
|
float
|
Density in kg/m^3 and reference velocity in m/s for Cp_reference. |
required |
thrust_sign
|
float
|
Sign of the measured blade axial load, resolving polygon winding. |
required |
chord_fraction
|
float
|
Chord fraction for induction evaluation and filament attachment. |
required |
Returns:
| Type | Description |
|---|---|
tuple
|
Strips by blade, wake indices by blade, and chord attachment per line. The VTK friction coefficient uses local dynamic pressure. |
Raises:
| Type | Description |
|---|---|
ProductError
|
SciPy is unavailable, geometry units or labels are missing, or surface fields and wake lines cannot define the requested blade strips. |