buffalo_panel.geometry.ThinBodyLineGeometry2D

class buffalo_panel.geometry.ThinBodyLineGeometry2D(x, y, *, geometry_id=0, geometry_name=None, point_element=True)[source]

Bases: BaseBodyLineGeometry2D

Line-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

geometry_id

Unique-orchestrator identifier for this geometry.

geometry_name

Display name for this geometry.

x

Geometry x-coordinates.

y

Geometry y-coordinates.

connectivity

Connectivity mapping each panel to its start and end points.

x_start

Starting x-coordinates for every panel.

y_start

Starting y-coordinates for every panel.

x_end

Ending x-coordinates for every panel.

y_end

Ending y-coordinates for every panel.

x_col

Collocation x-coordinates for every panel.

y_col

Collocation y-coordinates for every panel.

length

Length of every panel.

s_x

Unit tangent vector x-component for every panel.

s_y

Unit tangent vector y-component for every panel.

n_x

Unit normal vector x-component for every panel.

n_y

Unit tangent vector y-component for every panel.

body_panel_indices

Body panel index for every panel.

trailing_edge_panel_index

Index of the trailing edge panel, or None if there isn't one.

collocation_fraction

Uniform panel-collocation fraction used by this geometry.

collocation_points

Return the x,y coordinates for the collocation points.

element_fraction

Uniform point-element fraction used by this geometry.

is_closed

Return whether the geometry is closed.

n_body_panels

Return the number of body panels.

n_panels

Return the number of panels.

nodes

Return the x,y coordinates for the panel nodes.

normals

Return the unit normal vectors for each panel.

source_points

Element source x,y coordinates.

tangents

Return the unit tangent vectors for each panel.

x_element

Panel element x-coordinates for every panel.

y_element

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.

connectivity: IntArray

Connectivity mapping each panel to its start and end points.

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.

body_panel_indices: IntArray

Body panel index 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.