Beispiel #1
0
        public virtual bool CheckSection(StructuralBase.Section.SectionBase Section)
        {
            // Design
            StructuralBase.Material.Steel           mat       = new StructuralBase.Material.Steel(210000, 355, 70000);
            StructuralBase.Design.Steel.SteelDesign newDesign =
                (StructuralBase.Design.Steel.SteelDesign)Section.DesignSection(mat);
            StructuralBase.Design.InternalForces newForce = new StructuralBase.Design.InternalForces();
            double moment = MaxMoment;

            newForce.M3    = moment;
            newForce.V2    = moment / (l / 2.0);
            newDesign.Lx   = l;
            newDesign.Ly   = l;
            newDesign.MA   = moment / 2.0;
            newDesign.MB   = moment;
            newDesign.MC   = moment / 2.0;
            newDesign.MMax = moment;
            newDesign.K    = 1;

            newDesign.CheckASD(newForce);

            //if (newDesign.Result == false)
            //    return false;
            //

            return(true);
        }
Beispiel #2
0
 void Check()
 {
     if (Force != null && Section != null)
     {
         Section.CalculateSecProps();
         Design.Result.Clear();
         Design.CheckASD(Force);
         if (Design.Result == true)
         {
             this.ResultSuccess = true;
         }
         else
         {
             this.ResultSuccess = false;
         }
     }
 }