AerogridLoader
- class sharpy.solvers.aerogridloader.AerogridLoader[source]
AerogridLoaderclass, inherited fromGridLoaderGenerates 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_generatorand the required inputswake_shape_generator_input. The supported wake generators aresharpy.generators.straightwake.StraighWakeandsharpy.generators.helicoidalwake.HelicoidalWake.The
control_surface_deflectionsetting 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_settingssetting is a list of dictionaries, one for each control surface. The dictionaries specify the settings for the generatorDynamicControlSurface. If the relevant control surface is simply static, an empty string should be parsed. See the documentation forDynamicControlSurfacegenerators for accepted key-value pairs as settings.The
initial_alignsetting aligns the wing panel discretization with the freestream for the undeformed structure, and applies this Z rotation at every timestep (panels become misaligned when the wing deforms). Thealigned_gridsetting aligns the wing panel discretization with the flow at every time step and takes precedence.- Parameters:
data (PreSharpy) –
ProblemDataclass 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.h5HDF5 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
unsteadyboolUnsteady effects
Falsealigned_gridboolAlign grid
Trueinitial_alignboolInitially align grid
Truefreestream_dirlist(float)Free stream flow direction
[1.0, 0.0, 0.0]mstar['int', 'list(int)']Number of chordwise wake panels
10control_surface_deflectionlist(str)List of control surface generators for each control surface
[]control_surface_deflection_generator_settingsdictList of dictionaries with the settings for each generator
{}wake_shape_generatorstrID of the generator to define the initial wake shape
StraightWakeStraightWake,HelicoidalWakewake_shape_generator_inputdictDictionary of inputs needed by the wake shape generator
{}