Skip to content

pyflightstream.fsi.centrifugal (stable)

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

Centrifugal loads of the rotating blade: tension and propeller moment.

Pipeline role: WP4 of DLV-007. Computes the loads that rotation adds on top of the aerodynamic ones at every coupling call: the axial tension that stiffens bending (through P-Delta, FSI-R05), the propeller moment that twists the blade toward flat pitch (evaluated at the current total pitch and re-solved in a small inner iteration, FSI-R06 and FSI-R11), and the in-plane centrifugal softening of the flap (:func:in_plane_softening_coefficients, re-solved in the same iteration). The frequency sweep of the Campbell diagram (Gate 1) also lives here.

Evidence status (DLV-007 Section 2): the primary sources of the model (Bielawa; Houbolt and Brooks, NACA Report 1346) have not been independently checked against the formulas implemented here. Read the formulas as transcribed from the coupling plan and believed correct, not as verified against the papers they come from. Every formula therefore lives in a small isolated function with the source in the docstring, so a later correction is a localized change. [REF-05], [REF-06]

All quantities are in SI in the rotating blade frame of :mod:pyflightstream.fsi.config.

Advanced

pyflightstream.fsi.centrifugal.CampbellData dataclass

CampbellData(
    omegas_rad_per_s: tuple[float, ...],
    modal_results: tuple[ModalResult, ...],
)

Frequency tracks over a rotor speed sweep (the Campbell diagram).

Attributes:

Name Type Description
omegas_rad_per_s tuple of float

Rotor speeds of the sweep [rad/s].

modal_results tuple of beam.ModalResult

Modal result at each rotor speed, same order.

family_track

family_track(kind: str) -> list[float]

First frequency of a family ("flap" or "torsion") per Omega.

Raises:

Type Description
FsiInputError

If a sweep point holds no mode of that family among its n_modes lowest.

pyflightstream.fsi.centrifugal.RotatingSolution dataclass

RotatingSolution(
    solution: StaticBeamSolution,
    inner_solves: int,
    twist_residual_rad: float,
    tolerance_rad: float = _INNER_TOLERANCE_RAD,
    flap_residual_m: float = 0.0,
    flap_tolerance_m: float = _INNER_FLAP_FLOOR_M,
)

Static solution of the rotating blade with iteration diagnostics.

Attributes:

Name Type Description
solution StaticBeamSolution

Converged (w, theta) at the stations.

inner_solves int

Beam solves spent in the inner twist iteration (FSI-R11).

twist_residual_rad float

Largest twist change of the last inner iteration [rad].

tolerance_rad float

Threshold the residual was judged against [rad]. Carried on the result rather than left in a module constant, so a caller can state its own verdict without importing a private name, and so the number reaches the FSI log and the state where a later reader needs it (PYFS-013).

flap_residual_m float

Largest flap change of the last inner iteration [m]; the in-plane softening depends on the flap, so the flap iterates with the twist. Zero where the term vanishes.

flap_tolerance_m float

Threshold the flap residual was judged against [m].

converged bool

Whether the inner iteration reached both tolerances. False means the returned solution is the last iterate, not a solution: the twist or the flap distribution was still moving when the solve budget ran out.

converged property

converged: bool

Whether the inner iteration reached its twist and flap tolerances.

pyflightstream.fsi.centrifugal.axial_load_distribution

axial_load_distribution(cfg: FsiConfig) -> list[float]

Distributed centrifugal axial force at every station [N/m].

f(r) = mu(r) Omega^2 r, pointing from root to tip. Applied as a distributed axial member load, it makes the internal tension N(r) emerge from the solver, and P-Delta turns it into bending stiffness with no manual correction terms (FSI-R05).

Source: FSI Blade Coupling Plan rev. 2 (July 2026), Section on centrifugal loads; elementary centrifugal force on a rotating mass element.

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration with mu(r) and Omega.

required

Returns:

Type Description
list of float

f(r_i) at every station [N/m].

pyflightstream.fsi.centrifugal.axial_tension

axial_tension(cfg: FsiConfig) -> list[float]

Return the internal centrifugal tension N(r) at every station [N].

N(r) = integral from r to R of mu(s) Omega^2 s ds, evaluated with the trapezoid rule on the configured stations. This closed form is the cross-check of what the P-Delta solve builds internally; the solver never receives it directly.

Source: FSI Blade Coupling Plan rev. 2 (July 2026), Section on centrifugal loads.

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration with mu(r) and Omega.

required

Returns:

Type Description
list of float

N(r_i) at every station [N]; zero at the tip.

pyflightstream.fsi.centrifugal.campbell_sweep

campbell_sweep(
    cfg: FsiConfig,
    omegas_rad_per_s: Sequence[float],
    n_modes: int = 6,
) -> CampbellData

Sweep rotor speed and collect the natural frequencies (Gate 1).

Parameters:

Name Type Description Default
cfg FsiConfig

Base configuration; its Omega is overridden per sweep point.

required
omegas_rad_per_s sequence of float

Rotor speeds to sweep [rad/s].

required
n_modes int

Modes per point.

6

Returns:

Type Description
CampbellData

Frequency tracks of the sweep.

Examples:

>>> from pyflightstream.fsi.config import FsiConfig
>>> from pyflightstream.fsi.sections import blade_properties_from_sections
>>> plate = [(0.02, 0.002), (-0.02, 0.002), (-0.02, -0.002), (0.02, -0.002)]
>>> blade = blade_properties_from_sections(
...     [0.1, 0.3, 0.5], sections_m=[plate] * 3, chord_m=[0.04] * 3,
...     geometric_pitch_deg=[10.0] * 3, material="ti-6al-4v-grade5-annealed",
...     geometry_source="a flat 40 x 4 mm plate",
... )
>>> cfg = FsiConfig(blade_count=2, omega_rad_per_s=0.0, blade=blade)
>>> data = campbell_sweep(cfg, [0.0, 100.0, 200.0], n_modes=2)
>>> [round(f) for f in data.family_track("flap")]
[115, 164, 258]

pyflightstream.fsi.centrifugal.in_plane_softening_coefficients

in_plane_softening_coefficients(
    cfg: FsiConfig,
    elastic_twist_rad: Sequence[float] | None = None,
) -> list[float]

In-plane centrifugal softening of the flap at every station [N/m per m].

k(r) = mu(r) Omega^2 sin^2(beta(r)), so the distributed flap load gains k(r) w(r), in the direction of the flap w. The flap degree of freedom lies along the section normal, which the node embedding turns by the blade angle beta (the geometric pitch, :func:pyflightstream.fsi.nodes.station_triads): a flap w moves the section by w sin(beta) in the rotor plane, where the centrifugal field pulls it outward by mu Omega^2 w sin(beta), and that force has the component mu Omega^2 sin^2(beta) w back along the normal. It lowers the flap stiffness the tension raises; at zero pitch the flap is along the shaft and the term vanishes.

Source: the centrifugal field of a rotating frame, Omega^2 times the distance from the shaft, projected on the flap direction of the embedding; the in-plane term m Omega^2 v of the chordwise bending equation after Houbolt and Brooks, NACA Report 1346 (primary source not independently verified). The tier-1 oracle test checks it against an independent hand integration on a synthetic blade: the tip-flap increase the term gives agrees to 0.1 percentage point. [REF-06]

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration with mu(r), the geometric pitch and Omega.

required
elastic_twist_rad sequence of float

The current elastic twist per station [rad]. The flap direction turns with the section, so beta is the TOTAL pitch (geometric plus elastic, :func:total_pitch_rad); None is the untwisted blade, the geometric pitch alone.

None

Returns:

Type Description
list of float

k(r_i) at every station [N/m per m of flap].

pyflightstream.fsi.centrifugal.propeller_moment_distribution

propeller_moment_distribution(
    cfg: FsiConfig, elastic_twist_rad: Sequence[float]
) -> list[float]

Distributed propeller moment about the elastic axis [N m / m].

m_theta(r) = -Omega^2 (I1(r) - I2(r)) sin(theta_tot) cos(theta_tot), with theta_tot the total local pitch. The moment drives every section toward flat pitch, so it depends on the deformation and is re-evaluated inside the inner iteration (FSI-R06).

Source: FSI Blade Coupling Plan rev. 2 (July 2026), propeller moment term after Houbolt and Brooks, NACA Report 1346 (primary source not independently verified). [REF-06]

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration with I1(r), I2(r), geometric pitch, and Omega.

required
elastic_twist_rad sequence of float

Current elastic twist at every station [rad].

required

Returns:

Type Description
list of float

m_theta(r_i) at every station [N m / m].

pyflightstream.fsi.centrifugal.propeller_moment_twist_stiffness

propeller_moment_twist_stiffness(
    cfg: FsiConfig, elastic_twist_rad: Sequence[float]
) -> list[float]

Lumped torsional stiffening of the propeller moment [N m / rad].

Linearizing m_theta about the current pitch gives the distributed restoring stiffness k_theta(r) = Omega^2 (I1 - I2) cos(2 theta_tot), lumped here over the station tributary lengths for the modal problem. For a thin blade near flat pitch this term alone yields the classic torsional Southwell coefficient near 1.

Source: FSI Blade Coupling Plan rev. 2 (July 2026), derivative of the propeller moment term after Houbolt and Brooks, NACA Report 1346 (primary source not independently verified). [REF-06]

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration with I1(r), I2(r), geometric pitch, and Omega.

required
elastic_twist_rad sequence of float

Twist state to linearize about [rad].

required

Returns:

Type Description
list of float

Lumped stiffness at every station [N m / rad].

pyflightstream.fsi.centrifugal.rotating_frequencies

rotating_frequencies(
    cfg: FsiConfig, n_modes: int = 6
) -> beam.ModalResult

Natural frequencies of the blade spinning at the configured Omega.

The blade is first solved statically under its centrifugal loads (inner iteration included); the modal problem then adds PyNite's geometric stiffness of that tension state, the lumped propeller moment stiffening about the converged twist and the in-plane centrifugal softening of the flap (:func:in_plane_softening_coefficients, with the negative sign the static solve applies it with), so a pitched blade's flap frequencies are lowered by it as its static flap is raised.

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration; Omega taken from omega_rad_per_s.

required
n_modes int

Number of lowest modes to return.

6

Returns:

Type Description
ModalResult

Ascending frequencies with flap or torsion classification.

Raises:

Type Description
TwistIterationError

If the static solve's inner iteration did not converge: the twist the propeller moment stiffening is linearized about is then the last iterate, not a solution.

pyflightstream.fsi.centrifugal.solve_rotating_static

solve_rotating_static(
    cfg: FsiConfig,
    flap_load_n_per_m: Sequence[float] | None = None,
    torsion_moment_n_m_per_m: Sequence[float] | None = None,
) -> RotatingSolution

Solve the rotating blade statically with the inner twist iteration.

Each pass rebuilds the beam, applies the aerodynamic loads plus the centrifugal tension, the propeller moment evaluated at the current twist and the in-plane softening evaluated at the current flap (:func:in_plane_softening_coefficients), and solves with P-Delta. The loop repeats until the twist and the flap distributions stabilize, converging the structural nonlinearity implicitly at millisecond cost, decoupled from the aerodynamic loop (FSI-R11; typically 2 to 5 solves).

Parameters:

Name Type Description Default
cfg FsiConfig

Configuration; Omega may be zero, which reduces to the plain static solve in one pass.

required
flap_load_n_per_m sequence of float

Aerodynamic distributed flap load at the stations [N/m].

None
torsion_moment_n_m_per_m sequence of float

Aerodynamic distributed twisting moment about the elastic axis at the stations [N m / m].

None

Returns:

Type Description
RotatingSolution

Converged solution and iteration diagnostics.

Raises:

Type Description
FsiInputError

If a load distribution, a sequence or an array alike, does not have one entry per configured station.

pyflightstream.fsi.centrifugal.southwell_fit

southwell_fit(
    omegas_rad_per_s: Sequence[float],
    frequencies_rad_per_s: Sequence[float],
) -> tuple[float, float, float]

Fit omega_n^2 = omega_0^2 + S Omega^2 to a frequency track.

The Southwell coefficient S measures the centrifugal stiffening of a mode; the fit quality measures how straight the track is in the (Omega^2, omega_n^2) plane, which is the WP4 verification.

Source: Southwell's linear frequency-rise approximation for rotating beams, as used in the FSI Blade Coupling Plan rev. 2 (July 2026; after Bielawa, "Rotary Wing Structural Dynamics", primary source not independently verified). [REF-05]

Parameters:

Name Type Description Default
omegas_rad_per_s sequence of float

Rotor speeds of the sweep [rad/s].

required
frequencies_rad_per_s sequence of float

Natural frequency of one tracked mode at each speed [rad/s].

required

Returns:

Type Description
tuple of float

(omega_0 [rad/s], Southwell coefficient S, r_squared of the fit).

Raises:

Type Description
FsiInputError

If the sweep has fewer than three points, or not one frequency per rotor speed, or a non-finite value, or fewer than two distinct values of Omega^2 (the slope is then undefined).

Examples:

>>> import math
>>> track = [10.0, math.sqrt(102.0), math.sqrt(108.0)]
>>> [round(value, 6) for value in southwell_fit([0.0, 1.0, 2.0], track)]
[10.0, 2.0, 1.0]

pyflightstream.fsi.centrifugal.total_pitch_rad

total_pitch_rad(
    cfg: FsiConfig, elastic_twist_rad: Sequence[float]
) -> list[float]

Total local pitch theta_tot [rad]: geometric plus elastic.

Source: FSI Blade Coupling Plan rev. 2 (July 2026), definition of the total pitch entering the propeller moment (FSI-R06).

Parameters:

Name Type Description Default
cfg FsiConfig

The configuration providing the geometric pitch [deg] per station.

required
elastic_twist_rad sequence of float

The elastic twist per station [rad].

required

Returns:

Type Description
list of float

The total pitch per station [rad].