pysces.BoundVortices¶
-
class
pysces.BoundVortices(body, Uinfty=(1, 0))¶ A class for bound vortex panels
-
__init__(body, Uinfty=(1, 0))¶
Methods
__init__(body[, Uinfty])compute_rhs([Uinfty, wake])get_newly_shed()Return newly shed wake vortex in the inertial frame induced_velocity(x)update_positions()update_strengths([Uinfty])Update vortex strengths update_strengths_unsteady(dt[, Uinfty, ...])Update strengths for unsteady calculation Attributes
collocation_ptsinfluence_matrixnormalsnum_panelstangentstimevortices-
get_newly_shed()¶ Return newly shed wake vortex in the inertial frame
Returns: x_shed : 1d array, shape (2,)
Location of newly shed wake vortex, in inertial frame
gam_shed : float
Strength of newly shed vortex
-
update_strengths(Uinfty=(1, 0))¶ Update vortex strengths
-
update_strengths_unsteady(dt, Uinfty=(1, 0), wake=None, circ=None, wake_fac=0.25)¶ Update strengths for unsteady calculation
Shed a new wake panel (not added into wake)
Parameters: dt : float
Timestep
Uinfty : array_like, optional
Farfield fluid velocity (default (1,0))
wake : wake panel object, optional
Induces velocities on the body (default None)
circ : float, optional
Total bound circulation, for enforcing Kelvin’s circulation theorem. If None (default), obtain the total circulation from the wake, assuming overall circulation (body + wake) is zero
wake_fac : float, optional
New wake vortex is placed a distance wake_fac * Uinfty * dt from trailing edge (see Katz & Plotkin, p390).
-