buffalo_panel.views.LineDoubletPoint2DView
- class buffalo_panel.views.LineDoubletPoint2DView(geometry, local_coefficients, top=True)[source]
Bases:
LineFamily2DView[PointElementLineGeometry2D]Field view for one point doublet line panel.
The view evaluates the velocity, potential, and stream-function contribution from one geometry panel whose doublet coefficient is concentrated at the panel point.
Methods
field_at(x, y)Evaluate velocity, potential, and stream function together.
potential_at(x, y)Evaluate induced velocity potential at field points.
stream_function_at(x, y)Evaluate induced stream function at field points.
velocity_at(x, y)Evaluate induced velocity at field points.
Attributes
Element family defining panel ownership and local coefficient layout.
Geometry containing the family source panels.
Kernel used to evaluate unit point doublet influence values.
Solved or user-specified family-local coefficients.
Branch-side convention for points on panel cuts.
- kernel: LineDoubletPoint2D
Kernel used to evaluate unit point doublet influence values.
- family: ElementFamily
Element family defining panel ownership and local coefficient layout.
- field_at(x, y)
Evaluate velocity, potential, and stream function together.
- Parameters:
x (
FloatInput) – Field-point x-coordinates.y (
FloatInput) – Field-point y-coordinates.
- Returns:
FloatArray– Global x-velocity contribution.FloatArray– Global y-velocity contribution.FloatArray– Velocity potential contribution.FloatArray– Stream-function contribution.
- Return type:
tuple[TypeAliasForwardRef(’buffalo_panel.type_aliases.FloatArray’), TypeAliasForwardRef(’buffalo_panel.type_aliases.FloatArray’), TypeAliasForwardRef(’buffalo_panel.type_aliases.FloatArray’), TypeAliasForwardRef(’buffalo_panel.type_aliases.FloatArray’)]
- geometry: GeometryT
Geometry containing the family source panels.
- local_coefficients: FloatInput
Solved or user-specified family-local coefficients.
- potential_at(x, y)
Evaluate induced velocity potential at field points.
- Parameters:
x (
FloatInput) – Field-point x-coordinates.y (
FloatInput) – Field-point y-coordinates.
- Returns:
Velocity potential contribution with the broadcast input shape.
- Return type:
- stream_function_at(x, y)
Evaluate induced stream function at field points.
- Parameters:
x (
FloatInput) – Field-point x-coordinates.y (
FloatInput) – Field-point y-coordinates.
- Returns:
Stream-function contribution with the broadcast input shape.
- Return type:
- top: bool
Branch-side convention for points on panel cuts.
- velocity_at(x, y)
Evaluate induced velocity at field points.
- Parameters:
x (
FloatInput) – Field-point x-coordinates.y (
FloatInput) – Field-point y-coordinates.
- Returns:
FloatArray– Global x-velocity contribution with the broadcast input shape.FloatArray– Global y-velocity contribution with the broadcast input shape.
- Return type:
tuple[TypeAliasForwardRef(’buffalo_panel.type_aliases.FloatArray’), TypeAliasForwardRef(’buffalo_panel.type_aliases.FloatArray’)]