XSec and Airfoil Functions

This group of functions provides API control of cross-sections (XSecs). Airfoils are a type of XSec included in this group as well. API functions for Body of Revolution XSecs are included in the Specialized Geometry group.

SetXSecAlias(std, std)

GetXSecAlias(std)

SetXSecCurveAlias(std, std)

GetXSecCurveAlias(std)

CutXSec(std, int index)

CopyXSec(std, int index)

PasteXSec(std, int index)

InsertXSec(std, int index, int type)

SetDriverGroup(std, int section_index, ...)

FitCSTAirfoil(std, int xsec_index, int deg)

GetXSecShape(std)

GetXSecWidth(std)

GetXSecHeight(std)

SetXSecWidthHeight(std, double w, double h)

SetXSecWidth(std, double w)

SetXSecHeight(std, double h)

GetXSecParmIDs(std)

GetXSecParm(std, std)

ReadFileXSec(std, std)

GetXSecPnts(std)

CopyXSecCurve(std, int index)

PasteXSecCurve(std, int index)

SetXSecPnts(std, Vec3dVec pnt_vec)

ComputeXSecPnt(std, double fract)

ComputeXSecTan(std, double fract)

ResetXSecSkinParms(std)

GetXSecContinuity(std)

SetXSecContinuity(std, int cx)

GetXSecTanAngles(std, int side)

SetXSecTanAngles(std, int side, double top, ...)

GetXSecTanSlews(std, int side)

SetXSecTanSlews(std, int side, double top, ...)

GetXSecTanStrengths(std, int side)

SetXSecTanStrengths(std, int side, ...)

GetXSecCurvatures(std, int side)

SetXSecCurvatures(std, int side, double top, ...)

ReadFileAirfoil(std, std)

SetAirfoilUpperPnts(std, Vec3dVec up_pnt_vec)

SetAirfoilLowerPnts(std, Vec3dVec low_pnt_vec)

SetAirfoilPnts(std, Vec3dVec up_pnt_vec, ...)

GetHersheyBarLiftDist(int const & npts, ...)

GetHersheyBarDragDist(int const & npts, ...)

GetVKTAirfoilPnts(int const & npts, ...)

GetVKTAirfoilCpDist(double const & alpha, ...)

GetEllipsoidSurfPnts(vec3d center, ...)

GetFeatureLinePnts(std)

GetEllipsoidCpDist(Vec3dVec surf_pnt_vec, ...)

GetAirfoilUpperPnts(std)

GetAirfoilLowerPnts(std)

GetUpperCSTCoefs(std)

GetLowerCSTCoefs(std)

GetUpperCSTDegree(std)

GetLowerCSTDegree(std)

SetUpperCST(std, int deg, DoubleVector coefs)

SetLowerCST(std, int deg, DoubleVector coefs)

PromoteCSTUpper(std)

PromoteCSTLower(std)

DemoteCSTUpper(std)

DemoteCSTLower(std)

FitAfCST(std, int xsec_index, int deg)

WriteBezierAirfoil(std, std, ...)

WriteSeligAirfoil(std, std, ...)

GetAirfoilCoordinates(std, ...)

Details

openvsp.SetXSecAlias(std: :string const & id, std: :string const & alias)[source]
openvsp.GetXSecAlias(std: :string const & id) std::string[source]
openvsp.SetXSecCurveAlias(std: :string const & id, std: :string const & alias)[source]
openvsp.GetXSecCurveAlias(std: :string const & id) std::string[source]
openvsp.CutXSec(std: :string const & geom_id, int index)[source]
openvsp.CopyXSec(std: :string const & geom_id, int index)[source]
openvsp.PasteXSec(std: :string const & geom_id, int index)[source]
openvsp.InsertXSec(std: :string const & geom_id, int index, int type)[source]
openvsp.SetDriverGroup(std: :string const & geom_id, int section_index, int driver_0, int driver_1=-1, int driver_2=-1)[source]
openvsp.FitCSTAirfoil(std: :string const & xsec_surf_id, int xsec_index, int deg)[source]
openvsp.GetXSecShape(std: :string const & xsec_id) int[source]
openvsp.GetXSecWidth(std: :string const & xsec_id) double[source]
openvsp.GetXSecHeight(std: :string const & xsec_id) double[source]
openvsp.SetXSecWidthHeight(std: :string const & xsec_id, double w, double h)[source]
openvsp.SetXSecWidth(std: :string const & xsec_id, double w)[source]
openvsp.SetXSecHeight(std: :string const & xsec_id, double h)[source]
openvsp.GetXSecParmIDs(std: :string const & xsec_id) StringVector[source]
openvsp.GetXSecParm(std: :string const & xsec_id, std: :string const & name) std::string[source]
openvsp.ReadFileXSec(std: :string const & xsec_id, std: :string const & file_name) Vec3dVec[source]
openvsp.GetXSecPnts(std: :string const & xsec_id) Vec3dVec[source]
openvsp.CopyXSecCurve(std: :string const & geom_id, int index)[source]
openvsp.PasteXSecCurve(std: :string const & geom_id, int index)[source]
openvsp.SetXSecPnts(std: :string const & xsec_id, Vec3dVec pnt_vec)[source]
openvsp.ComputeXSecPnt(std: :string const & xsec_id, double fract) vec3d[source]
openvsp.ComputeXSecTan(std: :string const & xsec_id, double fract) vec3d[source]
openvsp.ResetXSecSkinParms(std: :string const & xsec_id)[source]
openvsp.GetXSecContinuity(std: :string const & xsec_id) int[source]
openvsp.SetXSecContinuity(std: :string const & xsec_id, int cx)[source]
openvsp.GetXSecTanAngles(std: :string const & xsec_id, int side) DoubleVector[source]
openvsp.SetXSecTanAngles(std: :string const & xsec_id, int side, double top, double right, double bottom, double left)[source]
openvsp.GetXSecTanSlews(std: :string const & xsec_id, int side) DoubleVector[source]
openvsp.SetXSecTanSlews(std: :string const & xsec_id, int side, double top, double right, double bottom, double left)[source]
openvsp.GetXSecTanStrengths(std: :string const & xsec_id, int side) DoubleVector[source]
openvsp.SetXSecTanStrengths(std: :string const & xsec_id, int side, double top, double right, double bottom, double left)[source]
openvsp.GetXSecCurvatures(std: :string const & xsec_id, int side) DoubleVector[source]
openvsp.SetXSecCurvatures(std: :string const & xsec_id, int side, double top, double right, double bottom, double left)[source]
openvsp.ReadFileAirfoil(std: :string const & xsec_id, std: :string const & file_name)[source]
openvsp.SetAirfoilUpperPnts(std: :string const & xsec_id, Vec3dVec up_pnt_vec)[source]
openvsp.SetAirfoilLowerPnts(std: :string const & xsec_id, Vec3dVec low_pnt_vec)[source]
openvsp.SetAirfoilPnts(std: :string const & xsec_id, Vec3dVec up_pnt_vec, Vec3dVec low_pnt_vec)[source]
openvsp.GetHersheyBarLiftDist(int const & npts, double const & alpha, double const & Vinf, double const & span, bool full_span_flag=False) Vec3dVec[source]
openvsp.GetHersheyBarDragDist(int const & npts, double const & alpha, double const & Vinf, double const & span, bool full_span_flag=False) Vec3dVec[source]
openvsp.GetVKTAirfoilPnts(int const & npts, double const & alpha, double const & epsilon, double const & kappa, double const & tau) Vec3dVec[source]
openvsp.GetVKTAirfoilCpDist(double const & alpha, double const & epsilon, double const & kappa, double const & tau, Vec3dVec xyz_data) DoubleVector[source]
openvsp.GetEllipsoidSurfPnts(vec3d center, vec3d abc_rad, int u_npts=20, int w_npts=20) Vec3dVec[source]
openvsp.GetFeatureLinePnts(std: :string const & geom_id) Vec3dVec[source]
openvsp.GetEllipsoidCpDist(Vec3dVec surf_pnt_vec, vec3d abc_rad, vec3d V_inf) DoubleVector[source]
openvsp.GetAirfoilUpperPnts(std: :string const & xsec_id) Vec3dVec[source]
openvsp.GetAirfoilLowerPnts(std: :string const & xsec_id) Vec3dVec[source]
openvsp.GetUpperCSTCoefs(std: :string const & xsec_id) DoubleVector[source]
openvsp.GetLowerCSTCoefs(std: :string const & xsec_id) DoubleVector[source]
openvsp.GetUpperCSTDegree(std: :string const & xsec_id) int[source]
openvsp.GetLowerCSTDegree(std: :string const & xsec_id) int[source]
openvsp.SetUpperCST(std: :string const & xsec_id, int deg, DoubleVector coefs)[source]
openvsp.SetLowerCST(std: :string const & xsec_id, int deg, DoubleVector coefs)[source]
openvsp.PromoteCSTUpper(std: :string const & xsec_id)[source]
openvsp.PromoteCSTLower(std: :string const & xsec_id)[source]
openvsp.DemoteCSTUpper(std: :string const & xsec_id)[source]
openvsp.DemoteCSTLower(std: :string const & xsec_id)[source]
openvsp.FitAfCST(std: :string const & xsec_surf_id, int xsec_index, int deg)[source]
openvsp.WriteBezierAirfoil(std: :string const & file_name, std: :string const & geom_id, double const & foilsurf_u)[source]
openvsp.WriteSeligAirfoil(std: :string const & file_name, std: :string const & geom_id, double const & foilsurf_u)[source]
openvsp.GetAirfoilCoordinates(std: :string const & geom_id, double const & foilsurf_u) Vec3dVec[source]