DynamicControlSurface

class sharpy.generators.dynamiccontrolsurface.DynamicControlSurface[source]

Dynamic Control Surface deflection Generator

DynamicControlSurface class inherited from BaseGenerator

The object generates a deflection in radians based on the time series given as a vector in the input data

To call this generator, the generator_id = DynamicControlSurface shall be used. This is parsed as the value for the control_surface_deflection_generator key in the aerogridloader solver’s settings.

Parameters:in_dict (dict) –

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

Name Type Description Default
dt float Timestep for the simulation None
deflection_file str Relative path to the file with the deflection information. None
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
deflection

Array of deflection of the control surface

Type:np.array
deflection_dot

Array of the time derivative of the cs deflection. Calculated using 1st order finite differences.

Type:np.array

See also

class sharpy.utils.generator_interface.BaseGenerator