Example #1
0
 public void BoltBearingEndBoltsReturnsValue()
 {
     AffectedElementWithHoles element = new AffectedElementWithHoles();
     double phiR_n = element.GetBearingStrengthAtBoltHole(1.03, 7.0 / 8.0, 1, 50.0, 65.0, BoltHoleType.STD, BoltHoleDeformationType.ConsideredUnderServiceLoad, false);
     double refValue = 60.3;
     double actualTolerance = EvaluateActualTolerance(phiR_n, refValue);
     Assert.LessOrEqual(actualTolerance, tolerance);
 }
        public static Dictionary<string, object> BoltGroupBearingStrength(double N_BoltRowParallel, double N_BoltRowPerpendicular, double phiR_nFirstRow, double phiR_nInnerRow, string Code = "AISC360-10")
        {
            //Default values
            double phiR_n = 0;


            //Calculation logic:
            AffectedElementWithHoles el = new AffectedElementWithHoles();
            phiR_n = el.GetBoltGroupBearingStrength(N_BoltRowParallel, N_BoltRowPerpendicular, phiR_nFirstRow, phiR_nInnerRow);
            return new Dictionary<string, object>
            {
                { "phiR_n", phiR_n }
 
            };
        }