ShearVelocityField

class sharpy.generators.shearvelocityfield.ShearVelocityField[source]

Shear Velocity Field Generator

ShearVelocityField class inherited from BaseGenerator

The object creates a steady velocity field with shear

\[\hat{u} = \hat{u}\_\infty \left( \frac{h - h\_\mathrm{corr}}{h\_\mathrm{ref}} \right)^{\mathrm{shear}\_\mathrm{exp}}\]
\[h = \zeta \cdot \mathrm{shear}\_\mathrm{direction}\]

The settings that this solver accepts are given by a dictionary, with the following key-value pairs:

Name Type Description Default
u_inf float Free stream velocity magnitude None
u_inf_direction list(float) x, y and z relative components of the free stream velocity <sphinx.ext.autodoc.importer._MockObject object at 0x7f261178d160>
shear_direction list(float) x, y and z relative components of the direction along which shear applies <sphinx.ext.autodoc.importer._MockObject object at 0x7f261178d2b0>
shear_exp float Exponent of the shear law 0.0
h_ref float Reference height at which u_inf is defined 1.0
h_corr float Height to correct shear law 0.0