public void SectionDoubleStackedReturnsMomentOfInertia() { //W18X50 + C15X33.9 //Table 1-19 SectionI IShape = new SectionI(null, 18.2d,7.56d, 0.695d, 0.415d); SectionChannel Channel = new SectionChannel(null, 15.0d, 3.4d, 0.65d, 0.4d, true, true); SectionDoubleStacked shape = new SectionDoubleStacked(Channel, IShape, 0.4); double I_x = shape.I_x; double refValue1 = 1456.0; //from Autocad. Does not agree with Manual which is 1250 double I_y = shape.I_y; double refValue2 = 363.6; //from Autocad. Does not agree with Manual which is 1250 double actualTolerance1 = EvaluateActualTolerance(I_x, refValue1); double actualTolerance2 = EvaluateActualTolerance(I_y, refValue2); Assert.LessOrEqual(actualTolerance1, tolerance); Assert.LessOrEqual(actualTolerance2, tolerance); }
internal SectionChannel(double d, double b_f, double t_f, double t_w, bool IsWeakAxis, bool AreFlangeTipsDown) { ISection r = new ds.SectionChannel("", d, b_f, t_f, t_w, IsWeakAxis, AreFlangeTipsDown); Section = r; }
public void FactoryReturnsChannel() { FlexuralMemberFactory factory = new FlexuralMemberFactory(); AiscShapeFactory AiscShapeFactory = new AiscShapeFactory(); ISectionChannel r = new SectionChannel("", 12.0, 6, 0.4, 0.25); SteelMaterial mat = new SteelMaterial(50.0, 29000); ISteelBeamFlexure beam12 = factory.GetBeam(r, mat, null, MomentAxis.XAxis, FlexuralCompressionFiberPosition.Top); Assert.IsTrue(true); }