Geometry functions for three dimensions.
More...
Geometry functions for three dimensions.
◆ angles_to_dcms()
def SUAVE.Methods.Geometry.Three_Dimensional.angles_to_dcms.angles_to_dcms |
( |
|
rotations, |
|
|
|
sequence = (2,1,0) |
|
) |
| |
Builds an euler angle rotation matrix
Assumptions:
N/A
Source:
N/A
Inputs:
rotations [radians] [r1s r2s r3s], column array of rotations
sequence [-] (2,1,0) (default), (2,1,2), etc.. a combination of three column indices
Outputs:
transform [-] 3-dimensional array with direction cosine matrices
patterned along dimension zero
Properties Used:
N/A
◆ compute_chord_length_from_span_location()
def SUAVE.Methods.Geometry.Three_Dimensional.compute_chord_length_from_span_location.compute_chord_length_from_span_location |
( |
|
wing, |
|
|
|
span_location |
|
) |
| |
compute_chord_length_from_span_location.py
Created: Oct 2015, M. Vegh, Modified: Jan 2016, E. Botero Modified: Jan 2019, E. Botero
Computes the chord length given a location along the half-span.
Assumptions:
Linear variation of chord with span.
Source:
None
Inputs:
wing.chords.
root [m]
tip [m]
wing.spans.projected [m]
span_location [m]
Outputs:
chord_length [m]
Properties Used:
N/A
◆ compute_span_location_from_chord_length()
def SUAVE.Methods.Geometry.Three_Dimensional.compute_span_location_from_chord_length.compute_span_location_from_chord_length |
( |
|
wing, |
|
|
|
chord_length |
|
) |
| |
compute_span_location_from_chord_length.py
Created: Oct 2015, M. Vegh, Modified: Jan 2016, E. Botero Modified: Jan 2019, E. Botero
Computes the location along the half-span given a chord length.
Assumptions:
Linear variation of chord with span. Returns 0 if constant chord wing.
Source:
None
Inputs:
wing.chords.
root [m]
tip [m]
wing.spans.projected [m]
chord_length [m]
Outputs:
span_location [m]
Properties Used:
N/A
◆ estimate_naca_4_series_internal_volume()
def SUAVE.Methods.Geometry.Three_Dimensional.estimate_naca_4_series_internal_volume.estimate_naca_4_series_internal_volume |
( |
|
wing, |
|
|
|
m, |
|
|
|
p |
|
) |
| |
Computes the volume of a wing with NACA 4-series airfoils.
Assumptions:
Wing has constant thickness to chord along the span
Front spar is at 10%chord and rear spar is at 60% chord
Source:
Wikipedia, based on Moran, Jack (2003). An introduction to theoretical and
computational aerodynamics. Dover.
Inputs:
m [-] percent camber (.1 is 10%)
p [-] location of max camber (.1 is 10% along chord)
wing.chords.
root [m]
tip [m]
wing.taper [-]
wing.thickness_to_chord [-]
wing.spans.projected [m]
chord_length [m]
Outputs:
volume [m^3]
Properties Used:
N/A
◆ new_tensor()
def SUAVE.Methods.Geometry.Three_Dimensional.angles_to_dcms.new_tensor |
( |
|
a | ) |
|
Initializes the required tensor. Able to handle imaginary values.
Assumptions:
N/A
Source:
N/A
Inputs:
a [radians] angle of rotation
Outputs:
T [-] 3-dimensional array with identity matrix
patterned along dimension zero
Properties Used:
N/A
◆ orientation_product()
def SUAVE.Methods.Geometry.Three_Dimensional.orientation_product.orientation_product |
( |
|
T, |
|
|
|
Bb |
|
) |
| |
Computes the product of a tensor and a vector.
Assumptions:
None
Source:
N/A
Inputs:
T [-] 3-dimensional array with rotation matrix
patterned along dimension zero
Bb [-] 3-dimensional vector
Outputs:
C [-] transformed vector
Properties Used:
N/A
◆ orientation_transpose()
def SUAVE.Methods.Geometry.Three_Dimensional.orientation_transpose.orientation_transpose |
( |
|
T | ) |
|
Computes the transpose of a tensor.
Assumptions:
None
Source:
N/A
Inputs:
T [-] 3-dimensional array with rotation matrix
patterned along dimension zero
Outputs:
Tt [-] transformed tensor
Properties Used:
N/A
◆ T0()
def SUAVE.Methods.Geometry.Three_Dimensional.angles_to_dcms.T0 |
( |
|
a | ) |
|
Rotation matrix about first axis
Assumptions:
N/A
Source:
N/A
Inputs:
a [radians] angle of rotation
Outputs:
T [-] rotation matrix
Properties Used:
N/A
◆ T1()
def SUAVE.Methods.Geometry.Three_Dimensional.angles_to_dcms.T1 |
( |
|
a | ) |
|
Rotation matrix about second axis
Assumptions:
N/A
Source:
N/A
Inputs:
a [radians] angle of rotation
Outputs:
T [-] rotation matrix
Properties Used:
N/A
◆ T2()
def SUAVE.Methods.Geometry.Three_Dimensional.angles_to_dcms.T2 |
( |
|
a | ) |
|
Rotation matrix about third axis
Assumptions:
N/A
Source:
N/A
Inputs:
a [radians] angle of rotation
Outputs:
T [-] rotation matrix
Properties Used:
N/A