Exemplo n.º 1
0
        public static Dictionary <string, object> SteelIBeamWebOpeningShearStrength(CustomProfile IShape, double F_y, double a_o, double h_op,
                                                                                    double e_op, double t_r, double b_r, bool IsSingleSideReinforcement = false, double V_u = 0, double M_u = 0)
        {
            //Default values
            double phiV_n = 0;


            //Calculation logic:

            ISectionI sectionI = IShape.Section as ISectionI;

            if (sectionI == null)
            {
                throw new Exception("Specified shape type is not supported. Provide I-shape object as inputparameter");
            }

            double PlateOffset      = 0;
            SteelIBeamWebOpening op = new SteelIBeamWebOpening(sectionI, F_y, a_o, h_op, e_op, t_r, b_r, IsSingleSideReinforcement, PlateOffset, M_u, V_u);

            phiV_n = op.GetShearStrength();

            return(new Dictionary <string, object>
            {
                { "phiV_n", phiV_n }
            });
        }
Exemplo n.º 2
0
        public void OpeningNonCompositeReinforcedReturnsShearStrength()
        {
            SetExample2Values();
            SteelIBeamWebOpening o = new SteelIBeamWebOpening(section, F_y, a_o, h_0, e, t_r, b_r, true, 0, 3600, 30);
            double phiV_n          = o.GetShearStrength();
            double refValue        = 38.7;
            double actualTolerance = EvaluateActualTolerance(phiV_n, refValue);

            Assert.LessOrEqual(actualTolerance, tolerance);
        }
        public void OpeningSteelReturnsShearStrength()
        {
            SetExampleValuesSteel();
            SteelIBeamWebOpening o = new SteelIBeamWebOpening(section, F_y, a_o, h_0, e, t_r, b_r, true, 0, M_u, V_u);
            double phiV_n          = o.GetShearStrength();
            double refValue        = 38.7;
            double actualTolerance = EvaluateActualTolerance(phiV_n, refValue);

            Assert.LessOrEqual(actualTolerance, tolerance);
        }
        public static Dictionary<string, object> SteelIBeamWebOpeningShearStrength(CustomProfile IShape,double F_y,double a_o,double h_op,
            double e_op,double t_r,double b_r,bool IsSingleSideReinforcement)
        {
            //Default values
            double phiV_n = 0;


            //Calculation logic:

            ISectionI sectionI = IShape.Section as ISectionI;
            if (sectionI == null)
            {
                throw new Exception("Specified shape type is not supported. Provide I-shape object as inputparameter");
            }
            SteelIBeamWebOpening op = new SteelIBeamWebOpening(sectionI, F_y, a_o, h_op, e_op, t_r, b_r, IsSingleSideReinforcement);
            phiV_n = op.GetShearStrength();

            return new Dictionary<string, object>
            {
                { "phiV_n", phiV_n }
 
            };
        }