Accidental eccentricity logic was changed
This commit is contained in:
@@ -184,7 +184,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
}
|
||||
|
||||
var (EtaFactorX, EtaFactorY) = GetBucklingCoefficients();
|
||||
var messageString = "Eta factor orbitrary {0} axis, Etta{0} = {1} (dimensionless)";
|
||||
var messageString = "Eta factor orbitrary {0} axis, Eta{0} = {1} (dimensionless)";
|
||||
var messageStringX = string.Format(messageString, "X", EtaFactorX);
|
||||
var messageStringY = string.Format(messageString, "Y", EtaFactorY);
|
||||
TraceLogger?.AddMessage(messageStringX);
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace StructureHelperLogics.NdmCalculations.Buckling
|
||||
public double GetCriticalForce()
|
||||
{
|
||||
double Ncr = - Math.Pow(Math.PI, 2) * StiffnessEI / Math.Pow(DesignLength, 2);
|
||||
string message = string.Format("Ncr = - (PI ^ 2) * D / L0 ^2 = - ({0} * {1} / ({2} ^2)) = {3}, N", Math.PI, StiffnessEI, DesignLength, Ncr);
|
||||
string message = string.Format("Ncr = - (PI ^ 2) * D / L0 ^2 = - ({0}^2 * {1} / ({2} ^2)) = {3}, N", Math.PI, StiffnessEI, DesignLength, Ncr);
|
||||
TraceLogger?.AddMessage(message);
|
||||
return Ncr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user