buffalo_panel.post.SurfaceQuantities2D

class buffalo_panel.post.SurfaceQuantities2D(x, y, location_kind, tangent_velocity, normal_velocity, cp, panel_lift_coefficient=None, has_absolute_velocity=True, has_absolute_pressure=True)[source]

Flow quantities evaluated on a two-dimensional body surface.

Surface quantities are intentionally solver agnostic. They describe flow values at a set of surface locations, not the singularity strengths or formulation-specific unknowns used to obtain those values.

Attributes

x

Global x-coordinates where the surface quantities are evaluated.

y

Global y-coordinates where the surface quantities are evaluated.

location_kind

Description of the surface sample locations.

tangent_velocity

Velocity component along the local surface tangent direction.

normal_velocity

Velocity component along the local surface normal direction.

cp

Pressure coefficient evaluated from the surface speed convention.

panel_lift_coefficient

Per-panel contribution to lift coefficient.

has_absolute_velocity

Whether the stored surface velocity arrays are physically reportable.

has_absolute_pressure

Whether the stored surface pressure array is physically reportable.

speed

Velocity magnitude evaluated on the surface.

supports_panel_lift_distribution

Return whether a per-panel lift distribution is available.

supports_surface_pressure

Return whether absolute surface pressure coefficient is available.

supports_surface_velocity

Return whether absolute surface velocity is available.

x: FloatArray

Global x-coordinates where the surface quantities are evaluated.

y: FloatArray

Global y-coordinates where the surface quantities are evaluated.

location_kind: str

Description of the surface sample locations.

Common values include "collocation" for panel collocation points and "nodes" for panel endpoints.

tangent_velocity: FloatArray

Velocity component along the local surface tangent direction.

normal_velocity: FloatArray

Velocity component along the local surface normal direction.

cp: FloatArray

Pressure coefficient evaluated from the surface speed convention.

panel_lift_coefficient: FloatArray | None

Per-panel contribution to lift coefficient.

This quantity is useful for formulations such as lumped vortex methods where a panelwise load contribution is meaningful but absolute surface pressure and velocity are not.

has_absolute_velocity: bool

Whether the stored surface velocity arrays are physically reportable.

has_absolute_pressure: bool

Whether the stored surface pressure array is physically reportable.

property supports_surface_velocity: bool

Return whether absolute surface velocity is available.

property supports_surface_pressure: bool

Return whether absolute surface pressure coefficient is available.

property supports_panel_lift_distribution: bool

Return whether a per-panel lift distribution is available.

property speed: FloatArray

Velocity magnitude evaluated on the surface.