ShearVelocityField¶
- class sharpy.generators.shearvelocityfield.ShearVelocityField[source]¶
Shear Velocity Field Generator
ShearVelocityField
class inherited fromBaseGenerator
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
andz
relative components of the free stream velocitynumpy.array
shear_direction
list(float)
x
,y
andz
relative components of the direction along which shear appliesnumpy.array
shear_exp
float
Exponent of the shear law
0.0
h_ref
float
Reference height at which
u_inf
is defined1.0
h_corr
float
Height to correct shear law
0.0