EfficiencyCorrection¶
- class sharpy.generators.polaraeroforces.EfficiencyCorrection[source]¶
The efficiency and constant terms are introduced by means of the array
airfoil_efficiency
in theaero.h5
\[\mathbf{f}_{struct}^B &=\]arepsilon^f_0 mathbf{f}_{i,struct}^B + arepsilon^f_1
mathbf{m}_{struct}^B &=
arepsilon^m_0 mathbf{m}_{i,struct}^B + arepsilon^m_1
Notice that the moment correction is applied on top of the force correction. As a consequence, the aerodynamic moments generated by the forces on the vertices are corrected sequentially by both efficiencies.
- See Also:
The SHARPy case files documentation for a detailed overview on how to include the airfoil efficiencies.
- Returns:
np.ndarray: corresponding aerodynamic force at the structural node from the force and moment at a grid vertex
- generate(**params)[source]¶
- Keyword Arguments
aero_kstep (
sharpy.utils.datastructures.AeroTimeStepInfo
) – Current aerodynamic substepstructural_kstep (
sharpy.utils.datastructures.StructTimeStepInfo
) – Current structural substepstruct_forces (np.array) – Array with the aerodynamic forces mapped on the structure in the B frame of reference
- Returns
New corrected structural forces
- Return type
np.array