public static Dictionary<string, object> UFMForcesNoMomentsAtInterfaces(double d_b,double d_c,double theta,double alpha,
            double beta, double P_u, double R_beam, bool IncludeDistortionalMomentForces = false, double M_d = 0, double A_ub = 0, string Code = "AISC360-10")
        {
            //Default values
            double V_uc = 0;
            double H_uc = 0;
            double V_ub = 0;
            double H_ub = 0;


            //Calculation logic:
            UFMCaseNoMomentsAtInterfaces ufmCase = new UFMCaseNoMomentsAtInterfaces(d_b, d_c, theta, alpha, beta, P_u, R_beam,
                IncludeDistortionalMomentForces, M_d, A_ub);
                     V_uc =ufmCase.V_c;
                     H_uc =ufmCase.H_c;
                     V_ub =ufmCase.V_b;
                     H_ub = ufmCase.H_b;

            return new Dictionary<string, object>
            {
                { "V_uc", V_uc }
                ,{ "H_uc", H_uc }
                ,{ "V_ub", V_ub }
                ,{ "H_ub", H_ub }
 
                };
                }
Esempio n. 2
0
 public void NoMomentCaseExample5_1ReturnsValueDistortionalMomentCase()
 {
     //Note 1270 kip*in distortional moment in gusset is calculated in design guide
     //from equation given in Tamboli book
     //Beam-column connection axial force H_ubc is reduced due to distorional force
     UFMCaseNoMomentsAtInterfaces ufmCase = new UFMCaseNoMomentsAtInterfaces(21.4, 14.0, 47.2, 17.5, 12.0, 840.0, 50.0, true, 127, 100);
     double H_ubc = ufmCase.H_bc;
     double refValueH_ubc = 220.0;
     double actualToleranceV_c = EvaluateActualTolerance(H_ubc, refValueH_ubc);
     Assert.LessOrEqual(actualToleranceV_c, tolerance);
 }
Esempio n. 3
0
        public void NoMomentCaseExample5_1ReturnsValueBasicCase()
        {
            UFMCaseNoMomentsAtInterfaces ufmCase = new UFMCaseNoMomentsAtInterfaces(21.4, 14.0, 47.2, 17.5, 12.0, 840.0, 0.0,false,0,0);
            double V_uc = ufmCase.V_c;
            double refValueV_uc = 302.0;
            double actualToleranceV_c = EvaluateActualTolerance(V_uc, refValueV_uc);
            Assert.LessOrEqual(actualToleranceV_c, tolerance);

            double V_ub = ufmCase.V_b;
            double refValueV_ub = 269.0;
            double actualToleranceV_b = EvaluateActualTolerance(V_ub, refValueV_ub);
            Assert.LessOrEqual(actualToleranceV_b, tolerance);

            double H_ub = ufmCase.H_b;
            double refValueH_ub = 440.0;
            double actualToleranceH_b = EvaluateActualTolerance(H_ub, refValueH_ub);
            Assert.LessOrEqual(actualToleranceH_b, tolerance);

            double H_uc = ufmCase.H_c;
            double refValueH_uc = 176.0;
            double actualToleranceH_c = EvaluateActualTolerance(H_uc, refValueH_uc);
            Assert.LessOrEqual(actualToleranceH_c, tolerance);

        }