aerosandbox.aerodynamics.aero_3D.linear_potential_flow
#
Module Contents#
Classes#
Helper class that provides a standard way to create an ABC using |
Functions#
Attributes#
- class aerosandbox.aerodynamics.aero_3D.linear_potential_flow.LinearPotentialFlow(airplane, op_point, xyz_ref=None, run_symmetric_if_possible=False, verbose=False, wing_model='vortex_lattice_all_horseshoe', fuselage_model='none', wing_options=None, fuselage_options=None)[source]#
Bases:
aerosandbox.ExplicitAnalysis
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
airplane (aerosandbox.geometry.Airplane) –
op_point (aerosandbox.performance.OperatingPoint) –
xyz_ref (List[float]) –
run_symmetric_if_possible (bool) –
verbose (bool) –
wing_model (Union[str, Dict[aerosandbox.geometry.Wing, str]]) –
fuselage_model (Union[str, Dict[aerosandbox.geometry.Fuselage, str]]) –
wing_options (Union[Dict[str, Any], Dict[aerosandbox.geometry.Wing, Dict[str, Any]]]) –
fuselage_options (Union[Dict[str, Any], Dict[aerosandbox.geometry.Fuselage, Dict[str, Any]]]) –
- class Elements[source]#
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- parent_component: aerosandbox.AeroSandboxObject[source]#
- class PanelElements[source]#
Bases:
Elements
,abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- class WingHorseshoeVortexElements[source]#
Bases:
PanelElements
Helper class that provides a standard way to create an ABC using inheritance.
- class WingLiftingLineElements[source]#
Bases:
WingHorseshoeVortexElements
Helper class that provides a standard way to create an ABC using inheritance.
- class FuselagePrescribedSourceLineElements[source]#
Bases:
Elements
Helper class that provides a standard way to create an ABC using inheritance.
- discretization()[source]#
Returns: A list of dictionaries, where each item in the list represents a single element.
Each item in the list is a namedtuple (effectively, a dictionary), and one of the following types:
wing_vlm_element
wing_lifting_line_element
fuselage_prescribed_source_line
- abstract run()[source]#
Computes the aerodynamic forces.
Returns a dictionary with keys:
‘F_g’ : an [x, y, z] list of forces in geometry axes [N]
‘F_b’ : an [x, y, z] list of forces in body axes [N]
‘F_w’ : an [x, y, z] list of forces in wind axes [N]
‘M_g’ : an [x, y, z] list of moments about geometry axes [Nm]
‘M_b’ : an [x, y, z] list of moments about body axes [Nm]
‘M_w’ : an [x, y, z] list of moments about wind axes [Nm]
‘L’ : the lift force [N]. Definitionally, this is in wind axes.
‘Y’ : the side force [N]. This is in wind axes.
‘D’ : the drag force [N]. Definitionally, this is in wind axes.
‘l_b’, the rolling moment, in body axes [Nm]. Positive is roll-right.
‘m_b’, the pitching moment, in body axes [Nm]. Positive is pitch-up.
‘n_b’, the yawing moment, in body axes [Nm]. Positive is nose-right.
‘CL’, the lift coefficient [-]. Definitionally, this is in wind axes.
‘CY’, the sideforce coefficient [-]. This is in wind axes.
‘CD’, the drag coefficient [-]. Definitionally, this is in wind axes.
‘Cl’, the rolling coefficient [-], in body axes
‘Cm’, the pitching coefficient [-], in body axes
‘Cn’, the yawing coefficient [-], in body axes
Nondimensional values are nondimensionalized using reference values in the LinearPotentialFlow.airplane object.
- Return type:
Dict[str, Any]
- abstract get_induced_velocity_at_points(points)[source]#
- Parameters:
points (aerosandbox.geometry.np.ndarray) –
- Return type:
aerosandbox.geometry.np.ndarray
- abstract get_velocity_at_points(points)[source]#
- Parameters:
points (aerosandbox.geometry.np.ndarray) –
- Return type:
aerosandbox.geometry.np.ndarray
- abstract get_streamlines(seed_points=None, n_steps=300, length=None)[source]#
- Parameters:
seed_points (aerosandbox.geometry.np.ndarray) –
n_steps (int) –
length (float) –
- abstract draw(c=None, cmap=None, colorbar_label=None, show=True, show_kwargs=None, draw_streamlines=True, recalculate_streamlines=False, backend='pyvista')[source]#
- Parameters:
c (aerosandbox.geometry.np.ndarray) –
cmap (str) –
colorbar_label (str) –
show (bool) –
show_kwargs (Dict) –
backend (str) –