public GeneralCalculation(string sectionUID, string condition)
        {
            switch (condition.ToUpper().ToString())
            {
            case "WEBFORM": situation = true; break;

            default: situation = false; break;
            }

            this.sectionUID          = sectionUID;
            this.p                   = new GetWebData(sectionUID);
            this.oSTN_VerticalStress = new STN_VerticalStress(sectionUID, "WEBFORM");
            sg.Rout                  = p.IronDout / 2;    // m
            sg.width                 = p.IronWidth * 100; // cm
            //sg.UW = 71.05; //kN/m²
            sg.UW    = p.IronUW;                          //kN/m²
            sg.t1    = p.Iront1;                          // cm
            sg.t2    = p.Iront2;                          // cm
            sg.t3    = p.Iront3;                          // cm
            sg.t     = p.Iront * 100;                     // cm
            sg.theta = p.IronRibSpacing;                  // theta
            sg.Fy    = p.IronFy;                          // kg/cm²
            sg.E     = p.IronEd;                          // kN/m²
            sg.Fat   = p.IronFat;                         // kg/cm²
            sg.Fac   = p.IronFac;                         // kg/cm²
            sg.Fas   = p.IronFas;                         // kg/cm²
            this.eta = p.IronStiffReduction;              // η
            this.xi  = p.IronMCorrect;                    // ξ
        }
 public STN_VerticalStress(string UID, string outputCondition)
 {
     p = new GetWebData(UID);
     this.outputCondition = outputCondition;
     this.TR = Math.Round(p.connector.TR, 3);
     this.BH = Math.Round(p.connector.BH, 3);
 }
        public STN_StrainCheck(string sectionUID, string outputCondition)
        {
            this.outputCondition = outputCondition;
            p = new GetWebData(sectionUID);

            this.sectionUID = sectionUID;
            verticalStress  = new STN_VerticalStress(sectionUID, "");
            verticalStress.VerticalStress("TUNNEL", out string longtermVerticalStress, out string shortermVerticalStress, out string ouputSurchargeLoad, out double longtermE1, out double shortermE1, out double Pv, out double lph1, out double lph2, out double sph1, out double sph2, out double U12);

            this.soilU12 = U12;

            this.segmentE1  = p.segmentYoungsModulus;
            this.segmentU12 = p.segmentPoissonRatio;

            this.ODEg = p.ODEg;
            this.MDEg = p.MDEg;

            this.ODEVmax = p.ODEVh;
            this.MDEVmax = p.MDEVh;

            this.ODEAmax = p.ODEah;
            this.MDEAmax = p.MDEah;

            this.shearWave = p.shearwaveV;

            this.tensionStrain = Math.Round(p.segmentFy / p.steelEs, 4);
            this.Fy            = p.segmentFy;
        }
Exemplo n.º 4
0
        public SAP_ConnectTunnel(string sectionUID)
        {
            input           = new SAP_ExcelInput(DefaultfilePath);
            this.sectionUID = sectionUID;
            this.p          = new GetWebData(sectionUID);                    //  取得網路變數資料
            verticalStress  = new STN_VerticalStress(sectionUID, "WEBFORM"); //取得 土層楊氏係數及

            this.Fc    = p.connector.Fc;
            this.E     = p.connector.E;
            this.U12   = p.connector.PoissonRatio;
            this.UT    = p.connector.UnitWeight;
            this.width = 1;
        }
        public SAP_SiteTunnel(string sectionUID)
        {
            input           = new SAP_ExcelInput(DefaultfilePath);
            this.sectionUID = sectionUID;
            this.p          = new GetWebData(sectionUID);                    //  取得網路變數資料
            verticalStress  = new STN_VerticalStress(sectionUID, "WEBFORM"); //取得 土層楊氏係數及

            this.Fc    = p.segmentFc;
            this.E     = p.segmentYoungsModulus;
            this.U12   = p.segmentPoissonRatio;
            this.UW    = p.segmentUnitWeight;
            this.width = p.segmentWidth;
        }
        public SAPOut_ConnectTunnel(string sectionUID)
        {
            //input = new SAP_ExcelInput(DefaultfilePath);
            this.sectionUID = sectionUID;
            this.p          = new GetWebData(sectionUID);                    //  取得網路變數資料
            verticalStress  = new STN_VerticalStress(sectionUID, "WEBFORM"); //取得 土層楊氏係數及

            this.Fc    = p.connector.Fc;
            this.E     = p.connector.E;
            this.U12   = p.connector.PoissonRatio;
            this.UT    = p.connector.UnitWeight;
            this.width = 1;

            this.resultList = oExcuteSQL.GetBySection("STN_ConnectorResult", sectionUID, "");
            this.dataList   = oExcuteSQL.GetBySection("STN_ConnectorData", sectionUID, "");
        }
        public InputFrameMaterial(string sectionUID)
        {
            this.sectionUID = sectionUID;
            this.p          = new GetWebData(sectionUID);

            this.depth        = Math.Round(p.segmentThickness, 4).ToString();
            this.diameter     = Math.Round(p.segmentThickness, 4).ToString();
            this.width        = (float)p.segmentWidth;
            this.unitWeight   = (float)p.segmentUnitWeight;
            this.Fc           = (float)p.segmentFc;
            this.E            = (float)p.segmentYoungsModulus;
            this.U12          = (float)p.segmentPoissonRatio;
            this.contactDepth = (float)p.segmentContacingDepth;
            this.inputDepth   = new List <string> {
                depth, (contactDepth - 0.0225f).ToString(),
                (contactDepth - 0.0125f).ToString(), contactDepth.ToString()
            };
        }
 public SAP_VariationofDiameter(string sectionUID)
 {
     this.sectionUID = sectionUID;
     p = new GetWebData(sectionUID);
 }
Exemplo n.º 9
0
 public STN_SegmentSelf(string sectionUID)
 {
     this.sectionUID = sectionUID;
     p = new GetWebData(sectionUID);
 }
        //List<Tuple<string, int, string, string>> figProfile = new List<Tuple<string, int, string, string>>();

        public SGCalculationDepth(string SectionUID)
        {
            this.sectionUID = SectionUID;
            p = new GetWebData(sectionUID);
        }
Exemplo n.º 11
0
 public SAP_EQCalculation(string sectionUID)
 {
     this.sectionUID = sectionUID;
     p = new GetWebData(sectionUID);
 }
 public SAP_200yFlood(string sectionUID)
 {
     this.sectionUID = sectionUID;
     p = new GetWebData(sectionUID);
 }