buffalo_panel.geometry.ThickBodyLineGeometry2D
- class buffalo_panel.geometry.ThickBodyLineGeometry2D(x, y, *, geometry_id=0, geometry_name=None)[source]
Bases:
BaseBodyLineGeometry2DLine-panel geometry representing a thick-body boundary discretization.
Panels lie on the physical body surface and collocation points represent boundary-condition enforcement locations on that surface.
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.
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.
Return the unit tangent vectors for each 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.