fastoad_cs25.models.geometry.profiles.profile module
Management of 2D wing profiles
- class fastoad_cs25.models.geometry.profiles.profile.Coordinates2D(x, y)
Bases:
tupleCreate new instance of Coordinates2D(x, y)
- x
Alias for field number 0
- y
Alias for field number 1
- class fastoad_cs25.models.geometry.profiles.profile.Profile(chord_length: float = 0.0)[source]
Bases:
objectClass for managing 2D wing profiles :param chord_length:
- set_points(x: Sequence, z: Sequence, keep_chord_length: bool = True, keep_relative_thickness: bool = True)[source]
Sets points of the 2D profile.
Provided points are expected to be in order around the profile (clockwise or anti-clockwise).
- Parameters:
x – in meters
z – in meters
keep_relative_thickness
keep_chord_length
- get_mean_line() DataFrame[source]
Point set of mean line of the profile.
DataFrame keys are ‘x’ and ‘z’, given in meters.
- get_relative_thickness() DataFrame[source]
Point set of relative thickness of the profile.
DataFrame keys are ‘x’ and ‘thickness’ and are relative to chord_length. ‘x’ is from 0. to 1.
- get_upper_side() DataFrame[source]
Point set of upper side of the profile.
DataFrame keys are ‘x’ and ‘z’, given in meters.