RCAIDE.Library.Plots.Aerodynamics.plot_surface_pressures

plot_surface_pressures#

plot_surface_pressures(results, save_figure=False, save_filename='Surface_Pressure', file_type='.png')[source]#

Creates contour plots of surface pressure distributions on aircraft lifting surfaces.

Parameters:
  • results (Results) –

    RCAIDE results data structure containing:
    • segments[i].conditions.aerodynamics
      Aerodynamic data containing:
      • coefficients.surface_pressure[ti]

        Pressure coefficient at each control point

    • segments[i].analyses.aerodynamics.vehicle
      Vehicle data containing:
      • vortex_distribution
        Distribution data with:
        • n_cwarray

          Number of chordwise panels per wing

        • n_swarray

          Number of spanwise panels per wing

        • n_wint

          Number of wings

        • XC, YCarrays

          Control point coordinates

        • Xarray

          Surface point x-coordinates

      • wingslist
        Wing components with:
        • verticalbool

          Flag for vertical surfaces

        • symmetricbool

          Flag for symmetric surfaces

  • save_figure (bool, optional) – Flag for saving the figure (default: False)

  • save_filename (str, optional) – Name of file for saved figure (default: “Surface_Pressure”)

  • file_type (str, optional) – File extension for saved figure (default: “.png”)

Return type:

None

Notes

Creates visualization showing:
  • Surface pressure distributions

  • Spanwise pressure variations

  • Chordwise pressure variations

  • Wing geometry outlines

Definitions

‘Pressure Coefficient’

Non-dimensional pressure difference

‘Control Point’

Location where pressure is evaluated

‘Lifting Surface’

Wing, tail, or other aerodynamic surface

‘Planform’

Top-view shape of lifting surface