AeroTimeStepInfo
- class sharpy.utils.datastructures.AeroTimeStepInfo(dimensions, dimensions_star)[source]
Aerodynamic Time step class.
Contains the relevant aerodynamic attributes for a single time step. All variables should be expressed in
GFoR unless otherwise stated.- ct_dimensions
Pointer to
dimensionsto interface the C++ library uvlmlib`
- ct_dimensions_star
Pointer to
dimensions_starto interface the C++ library uvlmlib`
- dimensions
Matrix defining the dimensions of the vortex grid on solid surfaces
[num_surf x chordwise panels x spanwise panels]- Type:
np.ndarray
- dimensions_star
Matrix defining the dimensions of the vortex grid on wakes
[num_surf x streamwise panels x spanwise panels]- Type:
np.ndarray
- n_surf
Number of aerodynamic surfaces on solid bodies. Each aerodynamic surface on solid bodies will have an associted wake.
- Type:
int
- zeta
Location of solid grid vertices
[n_surf][3 x (chordwise nodes + 1) x (spanwise nodes + 1)]- Type:
list(np.ndarray
- zeta_dot
Time derivative of
zeta- Type:
list(np.ndarray)
- normals
Normal direction to panels at the panel center
[n_surf][3 x chordwise nodes x spanwise nodes]- Type:
list(np.ndarray)
- forces
Forces not associated to time derivatives on grid vertices
[n_surf][3 x (chordwise nodes + 1) x (spanwise nodes + 1)]- Type:
list(np.ndarray)
- dynamic_forces
Forces associated to time derivatives on grid vertices
[n_surf][3 x (chordwise nodes + 1) x (spanwise nodes + 1)]- Type:
list(np.ndarray)
- zeta_star
Location of wake grid vertices
[n_surf][3 x (streamwise nodes + 1) x (spanwise nodes + 1)]- Type:
list(np.ndarray
- u_ext
Background flow velocity on solid grid nodes
[n_surf][3 x (chordwise nodes + 1) x (spanwise nodes + 1)]- Type:
list(np.ndarray)
- u_ext_star
Background flow velocity on wake grid nodes
[n_surf][3 x (streamwise nodes + 1) x (spanwise nodes + 1)]- Type:
list(np.ndarray)
- gamma
Circulation associated to solid panels
[n_surf][3 x chordwise nodes x spanwise nodes]- Type:
list(np.ndarray)
- gamma_star
Circulation associated to wake panels
[n_surf][3 x streamwise nodes x spanwise nodes]- Type:
list(np.ndarray)
- gamma_dot
Time derivative of
gamma- Type:
list(np.ndarray)
- inertial_total_forces
Total aerodynamic forces in
GFoR[n_surf x 6]- Type:
list(np.ndarray)
- body_total_forces
Total aerodynamic forces in
AFoR[n_surf x 6]- Type:
list(np.ndarray)
- inertial_steady_forces
Total aerodynamic steady forces in
GFoR[n_surf x 6]- Type:
list(np.ndarray)
- body_steady_forces
Total aerodynamic steady forces in
AFoR[n_surf x 6]- Type:
list(np.ndarray)
- inertial_unsteady_forces
Total aerodynamic unsteady forces in
GFoR[n_surf x 6]- Type:
list(np.ndarray)
- body_unsteady_forces
Total aerodynamic unsteady forces in
AFoR[n_surf x 6]- Type:
list(np.ndarray)
- postproc_cell
Variables associated to cells to be postprocessed
- Type:
dict
- postproc_node
Variables associated to nodes to be postprocessed
- Type:
dict
- in_global_AFoR
Trueif the variables are stored in the global A FoR.Falseif they are stored in the local A FoR of each body. AlwaysTruefor single-body simulations. Currently not used.- Type:
bool
- control_surface_deflection
Deflection of the control surfaces, in rad and if fitted.
- Type:
np.ndarray
- Parameters:
dimensions (np.ndarray) – Matrix defining the dimensions of the vortex grid on solid surfaces
[num_surf x chordwise panels x spanwise panels]dimensions_star (np.ndarray) – Matrix defining the dimensions of the vortex grid on wakes
[num_surf x streamwise panels x spanwise panels]
Note, Ben Preston 27/09/24: forces and dynamic forces are stated to be in
Ghowever were actually determined to be inA. This issue may apply to other parameters, however errors due to this were only apparent in the AeroForcesCalculator postprocessor.