SteadyVelocityField

class sharpy.generators.steadyvelocityfield.SteadyVelocityField[source]

Steady Velocity Field Generator

SteadyVelocityField class inherited from BaseGenerator

The object creates a steady velocity field with the velocity and flow direction specified by the user.

To call this generator, the generator_id = SteadyVelocityField shall be used. This is parsed as the value for the velocity_field_generator key in the desired aerodynamic solver’s settings.

Parameters:in_dict (dict) –

Input data in the form of dictionary. See acceptable entries below:

Name Type Description Default
u_inf float Free stream velocity magnitude 0
u_inf_direction list(float) x, y and z relative components of the free stream velocity [1.0, 0.0, 0.0]
settings_types

Acceptable data types of the input data

Type:dict
settings_default

Default values for input data should the user not provide them

Type:dict
u_inf

Free stream velocity selection

Type:float
u_inf_direction

x, y and z relative contributions to the free stream velocity

Type:list(float)

See also

class sharpy.utils.generator_interface.BaseGenerator