ShearVelocityField¶
- class sharpy.generators.shearvelocityfield.ShearVelocityField[source]¶
Shear Velocity Field Generator
ShearVelocityFieldclass inherited fromBaseGeneratorThe 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_inffloatFree stream velocity magnitude
Noneu_inf_directionlist(float)x,yandzrelative components of the free stream velocitynumpy.arrayshear_directionlist(float)x,yandzrelative components of the direction along which shear appliesnumpy.arrayshear_expfloatExponent of the shear law
0.0h_reffloatReference height at which
u_infis defined1.0h_corrfloatHeight to correct shear law
0.0