Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class BeamCrossSection

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.Beam
Assembly: VM.Models.FE.BeamCrossSection.dll

public static class BeamCrossSection

Inheritance

objectBeamCrossSection

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Methods

CheckGeomInfo(CrossSectionType, double[], ref bool)

public static bool CheckGeomInfo(CrossSectionType sectionEnumType, double[] dSInfo, ref bool bValid)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

bValid bool

Returns

bool

CheckYDirection(double[], double[], double[])

public static bool CheckYDirection(double[] dblStartPoint, double[] dblEndPoint, double[] dblYDir)

Parameters

dblStartPoint double[]

dblEndPoint double[]

dblYDir double[]

Returns

bool

ConnectivityGenerator(string, int, ref int[], ref int[])

public static int ConnectivityGenerator(string sectionStrType, int RenderingType, ref int[] iENodes, ref int[] iStartENodes)

Parameters

sectionStrType string

RenderingType int

iENodes int[]

iStartENodes int[]

Returns

int

ConnectivityGenerator(string, ref int, ref int, ref int[], ref int[])

public static bool ConnectivityGenerator(string sectionStrType, ref int nTElement, ref int nTEdge, ref int[] iENodes, ref int[] iStartENodes)

Parameters

sectionStrType string

nTElement int

nTEdge int

iENodes int[]

iStartENodes int[]

Returns

bool

ConvertSectionEnum2String(CrossSectionType)

public static string ConvertSectionEnum2String(CrossSectionType sectionEnumType)

Parameters

sectionEnumType CrossSectionType

Returns

string

ConvertSectionString2Enum(string)

public static CrossSectionType ConvertSectionString2Enum(string strType)

Parameters

strType string

Returns

CrossSectionType

GetCrossProduct(double[], double[])

public static double[] GetCrossProduct(double[] vec1, double[] vec2)

Parameters

vec1 double[]

vec2 double[]

Returns

double[]

GetInnerProduct(double[], double[])

public static double[] GetInnerProduct(double[] vec1, double[] vec2)

Parameters

vec1 double[]

vec2 double[]

Returns

double[]

GetMagnitude(double[])

public static double GetMagnitude(double[] dblAry)

Parameters

dblAry double[]

Returns

double

GetNumElements(string, int)

public static int GetNumElements(string sectionStrType, int RenderingType)

Parameters

sectionStrType string

RenderingType int

Returns

int

GetNumNodes(string, int)

public static int GetNumNodes(string sectionStrType, int RenderingType)

Parameters

sectionStrType string

RenderingType int

Returns

int

GetNumNodes(string)

public static int GetNumNodes(string sectionStrType)

Parameters

sectionStrType string

Returns

int

GetRequiredInputCount(CrossSectionType)

public static uint GetRequiredInputCount(CrossSectionType sectionEnumType)

Parameters

sectionEnumType CrossSectionType

Returns

uint

GetSphereBodyRadius(CrossSectionType, double[])

public static double GetSphereBodyRadius(CrossSectionType sectionEnumType, double[] dSInfo)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

Returns

double

GetStiffnessElementsOfMatrixForceByCoef(CrossSectionType, double, double, double, double, double, double, double, double, double, double, double, ref double[])

public static bool GetStiffnessElementsOfMatrixForceByCoef(CrossSectionType sectionEnumType, double dArea, double dIyy, double dIzz, double dIxx, double dAsy, double dAsz, double dLength, double dPoissonRatio, double dDensity, double dYoungsModulus, double dShearModulus, ref double[] dOutput)

Parameters

sectionEnumType CrossSectionType

dArea double

dIyy double

dIzz double

dIxx double

dAsy double

dAsz double

dLength double

dPoissonRatio double

dDensity double

dYoungsModulus double

dShearModulus double

dOutput double[]

Returns

bool

GetStiffnessElementsOfMatrixForceByGeom(CrossSectionType, double[], double, double, double, double, double, ref double[])

public static bool GetStiffnessElementsOfMatrixForceByGeom(CrossSectionType sectionEnumType, double[] dSInfo, double dLength, double dPoissonRatio, double dDensity, double dYoungsModulus, double dShearModulus, ref double[] dOutput)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

dLength double

dPoissonRatio double

dDensity double

dYoungsModulus double

dShearModulus double

dOutput double[]

Returns

bool

SectionAreaProperties(string, double[], double, ref double[])

public static bool SectionAreaProperties(string sectionStrType, double[] dSInfo, double dPoissonRatio, ref double[] dOutput)

Parameters

sectionStrType string

dSInfo double[]

dPoissonRatio double

dOutput double[]

Returns

bool

SectionAreaProperties(CrossSectionType, double[], double, ref double[])

public static bool SectionAreaProperties(CrossSectionType sectionEnumType, double[] dSInfo, double dPoissonRatio, ref double[] dOutput)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

dPoissonRatio double

dOutput double[]

Returns

bool

SectionGenerator(ResultType, string, double[], ref double[])

public static bool SectionGenerator(ResultType resultEnumType, string sectionStrType, double[] dSInfo, ref double[] dOutput)

Parameters

resultEnumType ResultType

sectionStrType string

dSInfo double[]

dOutput double[]

Returns

bool

SectionGenerator(CrossSectionType, double[], ref double[])

public static bool SectionGenerator(CrossSectionType sectionEnumType, double[] dSInfo, ref double[] dOutput)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

dOutput double[]

Returns

bool

SectionGenerator(string, double[], ref double[])

public static bool SectionGenerator(string sectionStrType, double[] dSInfo, ref double[] dOutput)

Parameters

sectionStrType string

dSInfo double[]

dOutput double[]

Returns

bool

SectionGenerator(ResultType, CrossSectionType, double[], ref double[])

public static bool SectionGenerator(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dSInfo, ref double[] dOutput)

Parameters

resultEnumType ResultType

sectionEnumType CrossSectionType

dSInfo double[]

dOutput double[]

Returns

bool

SectionGenerator(ResultType, string, double[], double[], double[], double[], ref double[,])

public static bool SectionGenerator(ResultType resultEnumType, string sectionStrType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)

Parameters

resultEnumType ResultType

sectionStrType string

dSInfo double[]

dStartPoint double[]

dEndPoint double[]

dOrienMatrix double[]

dOutput double[,]

Returns

bool

SectionGenerator(CrossSectionType, double[], double[], double[], double[], ref double[,])

public static bool SectionGenerator(CrossSectionType sectionEnumType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

dStartPoint double[]

dEndPoint double[]

dOrienMatrix double[]

dOutput double[,]

Returns

bool

SectionGenerator(string, double[], double[], double[], double[], ref double[,])

public static bool SectionGenerator(string sectionStrType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)

Parameters

sectionStrType string

dSInfo double[]

dStartPoint double[]

dEndPoint double[]

dOrienMatrix double[]

dOutput double[,]

Returns

bool

SectionGenerator(ResultType, CrossSectionType, double[], double[], double[], double[], ref double[,])

public static bool SectionGenerator(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)

Parameters

resultEnumType ResultType

sectionEnumType CrossSectionType

dSInfo double[]

dStartPoint double[]

dEndPoint double[]

dOrienMatrix double[]

dOutput double[,]

Returns

bool

SectionGenerator(ResultType, string, double[], double[], double[], double[], double[], int, ref double[])

public static bool SectionGenerator(ResultType resultEnumType, string sectionStrType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dStartOri, double[] dEndOri, int RenderingType, ref double[] dOutput)

Parameters

resultEnumType ResultType

sectionStrType string

dSInfo double[]

dStartPoint double[]

dEndPoint double[]

dStartOri double[]

dEndOri double[]

RenderingType int

dOutput double[]

Returns

bool

SectionGeomProperty(ResultType, string, double[], double[], ref double)

public static bool SectionGeomProperty(ResultType resultEnumType, string sectionStrType, double[] dSInfo, double[] dOtherInfos, ref double dOutput)

Parameters

resultEnumType ResultType

sectionStrType string

dSInfo double[]

dOtherInfos double[]

dOutput double

Returns

bool

SectionGeomProperty(ResultType, CrossSectionType, double[], double[], ref double)

public static bool SectionGeomProperty(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dSInfo, double[] dOtherInfos, ref double dOutput)

Parameters

resultEnumType ResultType

sectionEnumType CrossSectionType

dSInfo double[]

dOtherInfos double[]

dOutput double

Returns

bool

SectionMass(string, double, double, double, ref double)

public static bool SectionMass(string sectionStrType, double dArea, double dDensity, double dLength, ref double dOutput)

Parameters

sectionStrType string

dArea double

dDensity double

dLength double

dOutput double

Returns

bool

SectionMass(CrossSectionType, double, double, double, ref double)

public static bool SectionMass(CrossSectionType sectionEnumType, double dArea, double dDensity, double dLength, ref double dOutput)

Parameters

sectionEnumType CrossSectionType

dArea double

dDensity double

dLength double

dOutput double

Returns

bool

SectionMassMomentOfInertia(string, double, double, double[], double, double, ref double[])

public static bool SectionMassMomentOfInertia(string sectionStrType, double dMass, double dIxx, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)

Parameters

sectionStrType string

dMass double

dIxx double

dSInfo double[]

dDensity double

dLength double

dOutput double[]

Returns

bool

SectionMassMomentOfInertia(CrossSectionType, double, double, double[], double, double, ref double[])

public static bool SectionMassMomentOfInertia(CrossSectionType sectionEnumType, double dMass, double dIxx, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)

Parameters

sectionEnumType CrossSectionType

dMass double

dIxx double

dSInfo double[]

dDensity double

dLength double

dOutput double[]

Returns

bool

SectionMassProperties(string, double[], double, double, ref double[])

public static bool SectionMassProperties(string sectionStrType, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)

Parameters

sectionStrType string

dSInfo double[]

dDensity double

dLength double

dOutput double[]

Returns

bool

SectionMassProperties(CrossSectionType, double[], double, double, ref double[])

public static bool SectionMassProperties(CrossSectionType sectionEnumType, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)

Parameters

sectionEnumType CrossSectionType

dSInfo double[]

dDensity double

dLength double

dOutput double[]

Returns

bool

SetUnitVector(double[])

public static void SetUnitVector(double[] dblAry)

Parameters

dblAry double[]

TranslateNastran2DAFUL(ResultType, CrossSectionType, double[], ref double[])

public static bool TranslateNastran2DAFUL(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dNastran, ref double[] dDAFUL)

Parameters

resultEnumType ResultType

sectionEnumType CrossSectionType

dNastran double[]

dDAFUL double[]

Returns

bool

TranslateNastran2DAFUL(ResultType, string, double[], ref double[])

public static bool TranslateNastran2DAFUL(ResultType resultEnumType, string sectionStrType, double[] dNastran, ref double[] dDAFUL)

Parameters

resultEnumType ResultType

sectionStrType string

dNastran double[]

dDAFUL double[]

Returns

bool

Connect with Ansys