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
Global x-coordinates where the surface quantities are evaluated.
Global y-coordinates where the surface quantities are evaluated.
Description of the surface sample locations.
Velocity component along the local surface tangent direction.
Velocity component along the local surface normal direction.
Pressure coefficient evaluated from the surface speed convention.
Per-panel contribution to lift coefficient.
Whether the stored surface velocity arrays are physically reportable.
Whether the stored surface pressure array is physically reportable.
Velocity magnitude evaluated on the surface.
Return whether a per-panel lift distribution is available.
Return whether absolute surface pressure coefficient is available.
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.