pyflightstream.fsi.wing (stable)¶
Generated from the docstrings at build time: every one of the 2 names in the __all__ of pyflightstream.fsi.wing has an entry below. The names a guide or an example uses come first; the others follow under Advanced.
The fixed wing's structural solve: aerodynamic loads plus its own weight (FSI-G).
Pipeline role: the structural half of a coupled steady run and of a
coupled unsteady run with nothing turning. The wing is one
cantilever beam on its elastic axis, built by :mod:pyflightstream.fsi.beam
from the same per-station distributions a blade uses
(:class:~pyflightstream.fsi.config.BladeProperties, generated from the
wing's sections and a material by
:func:pyflightstream.fsi.sections.blade_properties_from_sections), and
clamped at its first station.
The loads it solves under are the aerodynamic loads the solver exports,
projected on the section axes (:func:pyflightstream.fsi.loads.to_elastic_axis),
plus the wing's own weight: the running mass under gravity, applied as a
distributed load (:func:weight_loads). The rule:
a wing at rest has no centrifugal load, it has its weight. So nothing of
:mod:pyflightstream.fsi.centrifugal is reached from here: no tension, no
propeller moment, no in-plane softening, and the solve is linear.
Frame: the package's geometry frame, x aft, y right, z up. Gravity is a
vector of that frame (:attr:~pyflightstream.fsi.config.FixedWing.gravity_m_per_s2,
-z by default): the angle of attack and the sideslip turn the free
stream, never the body, so they never turn gravity.
Advanced¶
pyflightstream.fsi.wing.solve_wing_static
¶
solve_wing_static(
cfg: FsiConfig,
flap_load_n_per_m: Sequence[float] | None = None,
torsion_moment_n_m_per_m: Sequence[float] | None = None,
) -> beam.StaticBeamSolution
Solve the clamped wing under its aerodynamic loads and its own weight.
One linear static solve of the beam of :func:pyflightstream.fsi.beam.build_beam_model:
the aerodynamic densities given, plus :func:weight_loads. No axial
load, no P-Delta, no inner iteration: nothing turns.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cfg
|
FsiConfig
|
A fixed-wing configuration. |
required |
flap_load_n_per_m
|
sequence of float
|
Aerodynamic flap load at the stations [N/m], toward the suction side. |
None
|
torsion_moment_n_m_per_m
|
sequence of float
|
Aerodynamic moment about the elastic axis at the stations [N m / m], nose up. |
None
|
Returns:
| Type | Description |
|---|---|
StaticBeamSolution
|
Flap deflection and elastic twist at the stations. |
Raises:
| Type | Description |
|---|---|
FsiInputError
|
If a load distribution's length is not the configuration's station count. |
pyflightstream.fsi.wing.weight_loads
¶
weight_loads(
cfg: FsiConfig,
) -> tuple[list[float], list[float]]
Return the wing's own weight as flap and torsion load densities per station.
The weight of a strip is mu(s) g per unit span, a force at the
section's centre of gravity. Its component along the section's
toward-suction axis is the flap load q_n = mu (g . n); its component
along the toward-leading-edge axis, q_c = mu (g . c), has no bending
degree of freedom in this beam and enters only the torsion. Carried
from the centre of gravity to the elastic axis, the pair twists the
section by m = e_c q_n - e_n q_c, with (e_c, e_n) the offset from the
elastic axis to the centre of gravity
(cg_offset_chordwise_m, cg_offset_normal_m), the identity of
:func:pyflightstream.fsi.loads.transfer_moment_to_elastic_axis. The
spanwise component would load the beam axially, which this beam
holds rigid, so it is not applied.
Source: elementary statics of a distributed weight, mu g per unit span acting at the section's centre of gravity; the moment transfer of DLV-007 Section 4.3 (FSI-R04) carries it to the elastic axis.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cfg
|
FsiConfig
|
A fixed-wing configuration. |
required |
Returns:
| Type | Description |
|---|---|
tuple of (list of float, list of float)
|
Flap load [N/m] and torsion moment [N m / m] at every station; all
zero when |
Raises:
| Type | Description |
|---|---|
FsiInputError
|
If the configuration is not a fixed wing. |