AerogridLoader

class sharpy.solvers.aerogridloader.AerogridLoader[source]

AerogridLoader class, inherited from GridLoader

Generates aerodynamic grid based on the input data

The initial wake shape is now defined in SHARPy (instead of UVLM) through a wake shape generator wake_shape_generator and the required inputs wake_shape_generator_input. The supported wake generators are sharpy.generators.straightwake.StraighWake and sharpy.generators.helicoidalwake.HelicoidalWake.

The control_surface_deflection setting allows the user to use a time specific control surface deflection, should the problem include them. This setting takes a list of strings, each for the required control surface generator.

The control_surface_deflection_generator_settings setting is a list of dictionaries, one for each control surface. The dictionaries specify the settings for the generator DynamicControlSurface. If the relevant control surface is simply static, an empty string should be parsed. See the documentation for DynamicControlSurface generators for accepted key-value pairs as settings.

Parameters:

data (PreSharpy) – ProblemData class structure

settings

Name-value pair of the settings employed by the aerodynamic solver

Type:

dict

settings_types

Acceptable types for the values in settings

Type:

dict

settings_default

Name-value pair of default values for the aerodynamic settings

Type:

dict

data

class structure

Type:

ProblemData

file_name

name of the .aero.h5 HDF5 file

Type:

str

aero

empty attribute

data_dict

key-value pairs of aerodynamic data

Type:

dict

wake_shape_generator

Wake shape generator

Type:

class

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

Name

Type

Description

Default

Options

unsteady

bool

Unsteady effects

False

aligned_grid

bool

Align grid

True

freestream_dir

list(float)

Free stream flow direction

[1.0, 0.0, 0.0]

mstar

['int', 'list(int)']

Number of chordwise wake panels

10

control_surface_deflection

list(str)

List of control surface generators for each control surface

[]

control_surface_deflection_generator_settings

dict

List of dictionaries with the settings for each generator

{}

wake_shape_generator

str

ID of the generator to define the initial wake shape

StraightWake

StraightWake, HelicoidalWake

wake_shape_generator_input

dict

Dictionary of inputs needed by the wake shape generator

{}