RCAIDE.Library.Plots.Geometry.generate_3d_fuel_tank_points
generate_3d_fuel_tank_points#
Functions
|
Generates 3D points for a BWB aft conformal integral tank. |
|
Generates 3D coordinate points that define a fuel_tank surface. |
|
Generates 3D coordinate points that define a wing surface. |
|
Generates 3D coordinate points that define a fuel_tank surface. |
|
Returns aft tank root chord bounds used by aft BWB tank generators. |
- generate_integral_wing_tank_points(wing, n_points, segment_list, fuel_tank, plot_centerline=False)[source]#
Generates 3D coordinate points that define a wing surface.
- Parameters:
wing (Wing) – RCAIDE wing data structure containing geometry information
n_points (int) – Number of points used to discretize airfoil sections
dim (int) – Number of wing segments
plot_centerline (bool, optional) – Include the root centerline cap section in the output, default False
- Returns:
G –
- Data structure containing generated points with attributes:
- X, Y, Zndarray
Raw coordinate points
- PTSndarray
Combined coordinate array
- XA1, YA1, ZA1, XA2, YA2, ZA2ndarray
Leading edge surface points
- XB1, YB1, ZB1, XB2, YB2, ZB2ndarray
Trailing edge surface points
- Return type:
Notes
- Generates wing geometry by:
Creating airfoil sections at specified span positions
Applying twist, sweep, and dihedral
Scaling sections by local chord
Positioning in aircraft coordinate system
Definitions
- ‘Leading Edge Sweep’
Angle between leading edge and y-axis
- ‘Quarter Chord Sweep’
Angle between quarter chord line and y-axis
- ‘Dihedral’
Upward angle of wing from horizontal
- generate_integral_fuel_tank_points(fuselage, fuel_tank, segment_list, tessellation=24)[source]#
Generates 3D coordinate points that define a fuel_tank surface.
- Parameters:
fuel_tank (fuel_tank) – RCAIDE fuel_tank data structure containing geometry information
tessellation (int, optional) – Number of points to use in circumferential discretization (default: 24)
- Returns:
G –
- Data structure containing generated points
- PTSndarray
Array of shape (num_segments, tessellation, 3) containing x,y,z coordinates of surface points
- Return type:
Notes
Points are generated by creating super-elliptical cross-sections at each segment and positioning them according to segment locations.
- Major Assumptions
Cross-sections lie in y-z plane
Segments are ordered from nose to tail
Origin is at the nose of the fuel_tank
- generate_non_integral_fuel_tank_points(fuel_tank, tessellation=24)[source]#
Generates 3D coordinate points that define a fuel_tank surface.
- Parameters:
fuel_tank (fuel_tank) – RCAIDE fuel_tank data structure containing geometry information
tessellation (int, optional) – Number of points to use in circumferential discretization (default: 24)
- Returns:
G –
- Data structure containing generated points
- PTSndarray
Array of shape (num_segments, tessellation, 3) containing x,y,z coordinates of surface points
- Return type:
Notes
Points are generated by creating super-elliptical cross-sections at each segment and positioning them according to segment locations.
- Major Assumptions
Cross-sections lie in y-z plane
Segments are ordered from nose to tail
Origin is at the nose of the fuel_tank