aerosandbox.aerodynamics.aero_3D.singularities.point_source
#
Module Contents#
Functions#
|
Calculates the induced velocity at a point: |
Attributes#
- aerosandbox.aerodynamics.aero_3D.singularities.point_source.calculate_induced_velocity_point_source(x_field, y_field, z_field, x_source, y_source, z_source, sigma=1, viscous_radius=0)[source]#
- Calculates the induced velocity at a point:
[x_field, y_field, z_field]
in a 3D potential-flow flowfield.
- In this flowfield, the following singularity elements are assumed:
A single point source
This function consists entirely of scalar, elementwise NumPy ufunc operations - so it can be vectorized as desired assuming input dimensions/broadcasting are compatible.
- Parameters:
x_field (Union[float, aerosandbox.numpy.ndarray]) – x-coordinate of the field point
y_field (Union[float, aerosandbox.numpy.ndarray]) – y-coordinate of the field point
z_field (Union[float, aerosandbox.numpy.ndarray]) – z-coordinate of the field point
x_left – x-coordinate of the left vertex of the bound vortex
y_left – y-coordinate of the left vertex of the bound vortex
z_left – z-coordinate of the left vertex of the bound vortex
x_right – x-coordinate of the right vertex of the bound vortex
y_right – y-coordinate of the right vertex of the bound vortex
z_right – z-coordinate of the right vertex of the bound vortex
gamma – The strength of the horseshoe vortex filament.
trailing_vortex_direction – The direction that the trailing legs of the horseshoe vortex extend. Usually,
freestream. (this is modeled as the direction of the) –
viscous_radius – To prevent a vortex singularity, here we use a Kaufmann vortex model. This parameter
(e.g. (governs the radius of this vortex model. It should be significantly smaller) –
of (at least an order) –
question. (magnitude smaller) than the smallest bound leg in the analysis in) –
x_source (Union[float, aerosandbox.numpy.ndarray]) –
y_source (Union[float, aerosandbox.numpy.ndarray]) –
z_source (Union[float, aerosandbox.numpy.ndarray]) –
sigma (Union[float, aerosandbox.numpy.ndarray]) –
- Return type:
[Union[float, aerosandbox.numpy.ndarray], Union[float, aerosandbox.numpy.ndarray], Union[float, aerosandbox.numpy.ndarray]]
- Returns: u, v, and w:
The x-, y-, and z-direction induced velocities.