コード例 #1
0
        public void HssOverlappedKConnectionReturnsYieldingOfBranchesFromUnevenDistributionValue()
        {
            SectionTube     ch    = new SectionTube(null, 8, 8, 0.5, 0.465);
            SteelMaterial   mat   = new SteelMaterial(46.0);
            SteelRhsSection Chord = new SteelRhsSection(ch, mat);

            SectionTube     mainBranch = new SectionTube(null, 6, 4, 5.0 / 16.0, 0.291);
            SteelRhsSection MainBranch = new SteelRhsSection(mainBranch, mat);

            SectionTube     secBranch       = new SectionTube(null, 5, 3, 1.0 / 4.0, 0.233);
            SteelRhsSection SecondaryBranch = new SteelRhsSection(secBranch, mat);

            double O_v = 0.533;

            IHssTrussBranchConnection con = new RhsTrussOverlappedConnection(Chord, MainBranch, 45,
                                                                             SecondaryBranch, 45,
                                                                             AxialForceType.Compression, AxialForceType.Tension, false, 0, 0, O_v
                                                                             );

            double phiP_nMain          = con.GetBranchYieldingFromUnevenLoadDistributionStrength(true).Value;
            double refValueMain        = 236;
            double actualToleranceMain = EvaluateActualTolerance(phiP_nMain, refValueMain);

            Assert.True(actualToleranceMain <= tolerance);

            double phiP_nSec          = con.GetBranchYieldingFromUnevenLoadDistributionStrength(false).Value;
            double refValueSec        = 151;
            double actualToleranceSec = EvaluateActualTolerance(phiP_nSec, refValueSec);

            Assert.True(actualToleranceSec <= tolerance);
        }
コード例 #2
0
        public void HssOverlappedKConnectionReturnsYieldingOfBranchesFromUnevenDistributionValue()
        {
            SectionTube ch = new SectionTube(null, 8, 8, 0.5, 0.465);
            SteelMaterial mat = new SteelMaterial(46.0);
            SteelRhsSection Chord = new SteelRhsSection(ch, mat);

            SectionTube mainBranch = new SectionTube(null, 6, 4, 5.0 / 16.0, 0.291);
            SteelRhsSection MainBranch = new SteelRhsSection(mainBranch, mat);

            SectionTube secBranch = new SectionTube(null, 5, 3, 1.0 / 4.0, 0.233);
            SteelRhsSection SecondaryBranch = new SteelRhsSection(secBranch, mat);

            double O_v = 0.533;

            IHssTrussBranchConnection con = new RhsTrussOverlappedConnection(Chord, MainBranch, 45, 
                SecondaryBranch, 45,
                AxialForceType.Compression, AxialForceType.Tension, false, 0, 0, O_v
                );

            double phiP_nMain = con.GetBranchYieldingFromUnevenLoadDistributionStrength(true).Value;
            double refValueMain = 236; 
            double actualToleranceMain = EvaluateActualTolerance(phiP_nMain, refValueMain);
            Assert.LessOrEqual(actualToleranceMain, tolerance);

            double phiP_nSec = con.GetBranchYieldingFromUnevenLoadDistributionStrength(false).Value;
            double refValueSec = 151;
            double actualToleranceSec = EvaluateActualTolerance(phiP_nSec, refValueSec);
            Assert.LessOrEqual(actualToleranceSec, tolerance);
        }