RCAIDE.Library.Plots.Geometry.plot_3d_nacelle
plot_3d_nacelle#
- plot_3d_nacelle(plot_data, nacelle, tessellation=24, number_of_airfoil_points=21, color_map='darkmint')[source]#
Creates a 3D visualization of a nacelle surface using tessellated panels.
- Parameters:
plot_data (list) – Collection of plot vertices to be rendered
nacelle (Nacelle) – RCAIDE nacelle data structure containing geometry information
tessellation (int, optional) – Number of points in azimuthal discretization (default: 24)
number_of_airfoil_points (int, optional) – Number of points used to discretize airfoil sections (default: 21)
color_map (str, optional) – Color specification for the nacelle surface (default: ‘darkmint’)
- Returns:
plot_data – Updated collection of plot vertices including nacelle surface
- Return type:
list
Notes
- Supports three types of nacelles:
Stack nacelle (built from stacked segments)
Body of Revolution nacelle (built from an airfoil profile)
Basic nacelle (built from simple geometric parameters)
See also
RCAIDE.Library.Plots.Geometry.generate_3d_stack_nacelle_points
Points generation for stack nacelle
RCAIDE.Library.Plots.Geometry.generate_3d_BOR_nacelle_points
Points generation for body of revolution
RCAIDE.Library.Plots.Geometry.generate_3d_basic_nacelle_points
Points generation for basic nacelle
- generate_3d_stack_nacelle_points(nac, tessellation=24, number_of_airfoil_points=21)[source]#
Generates 3D coordinate points for a stack-type nacelle surface.
- Parameters:
nac (Nacelle) – RCAIDE nacelle data structure containing geometry information
tessellation (int, optional) – Number of points in azimuthal discretization (default: 24)
number_of_airfoil_points (int, optional) – Number of points used to discretize sections (default: 21)
- 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
- Creates nacelle from stacked super-elliptical cross-sections with:
Specified width and height
Controllable curvature
Individual segment orientation
Major Assumptions
Segments are ordered from front to back
Cross-sections are super-elliptical
Orientation defined by Euler angles
- generate_3d_BOR_nacelle_points(nac, tessellation=24, number_of_airfoil_points=21)[source]#
Generates 3D coordinate points for a body-of-revolution nacelle surface.
- Parameters:
nac (Nacelle) – RCAIDE nacelle data structure containing geometry information
tessellation (int, optional) – Number of points in azimuthal discretization (default: 24)
number_of_airfoil_points (int, optional) – Number of points used to discretize airfoil (default: 21)
- Returns:
G –
- Data structure containing generated points
- PTSndarray
Array of shape (num_sections, tessellation, 3) containing x,y,z coordinates of surface points
- Return type:
Notes
Creates nacelle by revolving an airfoil profile about its chord line. Supports both NACA 4-series and custom airfoil coordinates.
Major Assumptions
Airfoil profile lies in x-z plane
Profile is rotated about x-axis
Flow-through option raises profile by inlet diameter
- generate_3d_basic_nacelle_points(nac, tessellation, number_of_airfoil_points)[source]#
Generates 3D coordinate points for a basic nacelle surface.
- Parameters:
nac (Nacelle) – RCAIDE nacelle data structure containing geometry information
tessellation (int) – Number of points in azimuthal discretization
number_of_airfoil_points (int) – Number of points used to discretize sections
- Returns:
G –
- Data structure containing generated points
- PTSndarray
Array of shape (num_sections, tessellation, 3) containing x,y,z coordinates of surface points
- Return type:
Notes
- Creates a simple nacelle shape using basic geometric parameters:
Length
Diameter
Inlet diameter (for flow-through nacelles)
Major Assumptions
Cross-sections are circular
Shape follows super-elliptical profile in x-direction
10 sections used for discretization