RCAIDE.Library.Methods.Geometry.Planform.convert_sweep
convert_sweep#
- convert_sweep(wing, old_ref_chord_fraction=0.0, new_ref_chord_fraction=0.25)[source]#
This method converts the sweep of a wing planform to refer to a new chord fraction. Defaults to converting from leading-edge sweep to quarter-chord sweep.
- Assumptions:
Assumes a simple trapezoidal wing shape. If the input wing object does not have a simple trapezoidal shape, this function will convert sweeps for an equivalent trapezoid having the same reference sweep, aspect ratio, and taper ratio.
- Source:
Unknown
- Inputs:
- wing - a data dictionary with the fields:
apsect_ratio - wing aspect ratio [dimensionless] sweep - wing sweep [radians] taper - wing taper ratio [dimensionless]
- old_ref_chord_fraction - a float value between 0 and 1.0 that
tells what fraction of the local chord the sweep line follows. (For example, a value of 0.25 refers to quarter-chord sweep
- new_ref_chord_fraction - a float value between 0 and 1.0 that
tells what fraction of the local chord is the new reference for sweep.
- Outputs:
- output - a single float value, new_sweep, which is the sweep
angle referenced to the new_ref_chord_fraction.
- Defaults:
Defaults to converting from leading edge sweep to quater-chord sweep.
- Properties Used:
N/A
- convert_sweep_segments(old_sweep, seg_a, seg_b, wing, old_ref_chord_fraction=0.0, new_ref_chord_fraction=0.25)[source]#
This method converts the sweep of a section of a wing between two segments to refer to a new chord fraction. More specifically, it converts the inboard segment’s (seg_a’s) outboard sweep. Defaults to converting from leading-edge sweep to quarter-chord sweep.
- Assumptions:
Assumes a simple trapezoidal section shape. If the input section does not have a simple trapezoidal shape, this function will convert sweeps for an equivalent trapezoid having the same reference sweep, aspect ratio, and taper ratio.
- Source:
Unknown
- Inputs:
old_sweep - sweep angle to convert
- seg_a and seg_b - two Segment() objects with:
root_chord_percent - percent of the wing’s root chord
- wing - a data dictionary with the fields:
chords.root - root chord [m] span - wingspan [m] symmetric - symmetry [boolean]
- old_ref_chord_fraction - a float value between 0 and 1.0 that
tells what fraction of the local chord the sweep line follows. (For example, a value of 0.25 refers to quarter-chord sweep
- new_ref_chord_fraction - a float value between 0 and 1.0 that
tells what fraction of the local chord is the new reference for sweep.
- Outputs:
- output - a single float value, new_sweep, which is the sweep
angle referenced to the new_ref_chord_fraction.
- Defaults:
Defaults to converting from leading edge sweep to quater-chord sweep.
- Properties Used:
N/A