buffalo_panel.geometry.ThinBodyLineGeometry2D
- class buffalo_panel.geometry.ThinBodyLineGeometry2D(x, y, *, geometry_id=0, geometry_name=None, point_element=True)[source]
Bases:
BaseBodyLineGeometry2DLine-panel geometry representing a thin-body camber-line discretization.
Panels lie on the body reference curve. The intended default convention is quarter-panel element placement with three-quarter-panel collocation, though the shared stored fields remain the same as the thick-body geometry.
Attributes
Unique-orchestrator identifier for this geometry.
Display name for this geometry.
Geometry x-coordinates.
Geometry y-coordinates.
Connectivity mapping each panel to its start and end points.
Starting x-coordinates for every panel.
Starting y-coordinates for every panel.
Ending x-coordinates for every panel.
Ending y-coordinates for every panel.
Collocation x-coordinates for every panel.
Collocation y-coordinates for every panel.
Length of every panel.
Unit tangent vector x-component for every panel.
Unit tangent vector y-component for every panel.
Unit normal vector x-component for every panel.
Unit tangent vector y-component for every panel.
Body panel index for every panel.
Index of the trailing edge panel, or None if there isn't one.
Uniform panel-collocation fraction used by this geometry.
Return the x,y coordinates for the collocation points.
Uniform point-element fraction used by this geometry.
Return whether the geometry is closed.
Return the number of body panels.
Return the number of panels.
Return the x,y coordinates for the panel nodes.
Return the unit normal vectors for each panel.
Element source x,y coordinates.
Return the unit tangent vectors for each panel.
Panel element x-coordinates for every panel.
Panel element y-coordinates for every panel.
- geometry_id: int
Unique-orchestrator identifier for this geometry.
- geometry_name: str
Display name for this geometry.
- x: FloatArray
Geometry x-coordinates.
- y: FloatArray
Geometry y-coordinates.
- x_start: FloatArray
Starting x-coordinates for every panel.
- y_start: FloatArray
Starting y-coordinates for every panel.
- x_end: FloatArray
Ending x-coordinates for every panel.
- y_end: FloatArray
Ending y-coordinates for every panel.
- x_col: FloatArray
Collocation x-coordinates for every panel.
- y_col: FloatArray
Collocation y-coordinates for every panel.
- length: FloatArray
Length of every panel.
- s_x: FloatArray
Unit tangent vector x-component for every panel.
- s_y: FloatArray
Unit tangent vector y-component for every panel.
- n_x: FloatArray
Unit normal vector x-component for every panel.
- n_y: FloatArray
Unit tangent vector y-component for every panel.
- trailing_edge_panel_index: int | None
Index of the trailing edge panel, or None if there isn’t one.
- property collocation_fraction: float
Uniform panel-collocation fraction used by this geometry.
- property collocation_points: FloatArray
Return the x,y coordinates for the collocation points.
- property is_closed: bool
Return whether the geometry is closed.
- property n_body_panels: int
Return the number of body panels.
- property n_panels: int
Return the number of panels.
- property nodes: FloatArray
Return the x,y coordinates for the panel nodes.
- property normals: FloatArray
Return the unit normal vectors for each panel.
- property tangents: FloatArray
Return the unit tangent vectors for each panel.
- property x_element: FloatArray
Panel element x-coordinates for every panel.
- property y_element: FloatArray
Panel element y-coordinates for every panel.
- property source_points: FloatArray
Element source x,y coordinates.
- property element_fraction: float
Uniform point-element fraction used by this geometry.