Geometry property results have been added
This commit is contained in:
@@ -31,7 +31,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
private (double EtaAlongX, double EtaAlongY) GetBucklingCoefficients()
|
||||
{
|
||||
var stiffness = GetStiffness();
|
||||
criticalForceLogic.LongForce = options.CalcForceTuple.Nz;
|
||||
criticalForceLogic.LongitudinalForce = options.CalcForceTuple.Nz;
|
||||
criticalForceLogic.StiffnessEI = stiffness.DX;
|
||||
criticalForceLogic.DesignLength = options.CompressedMember.GeometryLength * options.CompressedMember.LengthFactorY;
|
||||
var etaAlongY = criticalForceLogic.GetEtaFactor();
|
||||
@@ -77,8 +77,8 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
{
|
||||
var gravityCenter = GeometryOperations.GetGravityCenter(ndmCollection);
|
||||
|
||||
var concreteInertia = GeometryOperations.GetMomentsOfInertiaMod(concreteNdms, gravityCenter);
|
||||
var otherInertia = GeometryOperations.GetMomentsOfInertiaMod(otherNdms, gravityCenter);
|
||||
var concreteInertia = GeometryOperations.GetReducedMomentsOfInertia(concreteNdms, gravityCenter);
|
||||
var otherInertia = GeometryOperations.GetReducedMomentsOfInertia(otherNdms, gravityCenter);
|
||||
|
||||
var stiffnessX = stiffnessLogicX.GetStiffnessCoeffitients();
|
||||
var dX = stiffnessX.Kc * concreteInertia.MomentX + stiffnessX.Ks * otherInertia.MomentX;
|
||||
@@ -127,7 +127,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
var checkResult = CheckInputData();
|
||||
if (checkResult != "")
|
||||
{
|
||||
Result = new ConcreteBucklingResult() { IsValid = false, Desctription = checkResult };
|
||||
Result = new ConcreteBucklingResult() { IsValid = false, Description = checkResult };
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
/// <inheritdoc/>
|
||||
public bool IsValid { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public string Desctription { get; set; }
|
||||
public string Description { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public double EtaFactorAlongX { get; set; }
|
||||
/// <inheritdoc/>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
{
|
||||
internal class EilerCriticalForceLogic : IEilerCriticalForceLogic
|
||||
{
|
||||
public double LongForce { get; set; }
|
||||
public double LongitudinalForce { get; set; }
|
||||
public double StiffnessEI { get; set; }
|
||||
public double DesignLength { get; set; }
|
||||
|
||||
@@ -22,13 +22,13 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
|
||||
public double GetEtaFactor()
|
||||
{
|
||||
if (LongForce >= 0d) return 1d;
|
||||
if (LongitudinalForce >= 0d) return 1d;
|
||||
var Ncr = GetCriticalForce();
|
||||
if (LongForce <= Ncr)
|
||||
if (LongitudinalForce <= Ncr)
|
||||
{
|
||||
throw new StructureHelperException(ErrorStrings.LongitudinalForceMustBeLessThanCriticalForce);
|
||||
}
|
||||
double eta = 1 / (1 - LongForce / Ncr);
|
||||
double eta = 1 / (1 - LongitudinalForce / Ncr);
|
||||
return eta;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
{
|
||||
internal interface IEilerCriticalForceLogic : ICriticalBucklingForceLogic
|
||||
{
|
||||
double LongForce { get; set; }
|
||||
double LongitudinalForce { get; set; }
|
||||
double StiffnessEI { get; set; }
|
||||
double DesignLength { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user