BladeAD.utils.smooth_quantities_spanwise
Module Contents
Functions
|
Smooth a radially distributed quantity if it is discontinuous. |
- BladeAD.utils.smooth_quantities_spanwise.smooth_quantities_spanwise(qty: csdl_alpha.Variable, stop_indices: List[int], transition_window: int) csdl_alpha.Variable
Smooth a radially distributed quantity if it is discontinuous.
This function is meant to be used in combination with the CompositeAirfoilModel class and smooth the transition between airfoil sections. It averages the values across the transition region based on a smoothing window.
Function call is abstracted from the user.
- Parameters
- qtycsdl.Variable
the quantitiy to be smoothed
- stop_indicesList[int]
list of blade element indices that specify transition
- transition_windowint
the length of the smoothing window
- Returns
- csdl.Variable
the smoothed quantity