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:

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

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

Name

Type

Description

Default

u_inf

float

Module of the free stream velocity

None

u_inf_direction

list(float)

Direction of the free stream velocity

numpy.array