aerosandbox.aerodynamics.aero_2D.singularities ============================================== .. py:module:: aerosandbox.aerodynamics.aero_2D.singularities Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/aerosandbox/aerodynamics/aero_2D/singularities/linear_strength_line_singularities/index Functions --------- .. autoapisummary:: aerosandbox.aerodynamics.aero_2D.singularities.calculate_induced_velocity_line_singularities Package Contents ---------------- .. py:function:: calculate_induced_velocity_line_singularities(x_field, y_field, x_panels, y_panels, gamma, sigma) Calculates the induced velocity at a point (x_field, y_field) in a 2D potential-flow flowfield. In this flowfield, the following singularity elements are assumed: # TODO update paragraph * A line vortex that passes through the coordinates specified in (x_panel, y_panel). Each of these vertices is called a "node". * The vorticity of this line vortex per unit length varies linearly between subsequent nodes. * The vorticity at each node is specified by the parameter gamma. By convention here, positive gamma induces clockwise swirl in the flow field. Function returns the 2D velocity u, v in the global coordinate system (x, y). Inputs x_field and y_field can be 1D ndarrays representing various field points, in which case the resulting velocities u and v have the corresponding dimensionality.