Skip to content

Update to surfaceslicer: Added option to input spanwise distribution from user

Antariksh Dicholkar requested to merge acdi/PGL:surface_slicer into master

This update enables the user to set the spanwise distribution in the sliced surface to be the same as that is used in lofted surface, ensuring that the surface variations captured in the lofted surface are preserved.

  1. Added 2 input options for the spanwise distributions: a) distfunc with input in the format specified by PGL.main.distfunc.distfunc method b) spanwise distribution c) If neither (a) nor (b) are provided then a linear discretization of the span from blade root to tip is carried out according to the total span sections inputted by the user.

    Features:

    • If both (a) and (b) are provided then (a) takes precedence.
    • If the span sections in the provided distributions through options (a) and (b) are either less or more than that inputted by the user, the distributions are linearly interpolated to match the user input.
  2. Updated docs and example

Merge request reports