public BuildingDirectionalProcedureElement(double Width, double Length, double Height, double WindSpeed, WindExposureCategory windExposureType,
     WindEnclosureType EnclosureClass,
     WindStructureDynamicResponseType StructureDynamicClass, double Damping, ICalcLog CalcLog)
     : base(Width, Length, Height, WindSpeed, windExposureType, EnclosureClass, StructureDynamicClass, Damping, CalcLog)
 {
     
 }
Пример #2
0
        public double GetInternalPressureCoefficient(WindEnclosureType EnclosureType, double OpeningArea,
                                                     double InternalVolume)
        {
            double GCpi  = this.GetInternalPressureCoefficient(EnclosureType);
            double Vi    = InternalVolume;
            double Aog   = OpeningArea;
            double Ri    = 1.0;
            double GCpiR = GCpi * Ri;

            //WindInternalPressureCoefficientLargeVolumeRi.docx


            #region GCpiR
            ICalcLogEntry GCpiREntry = new CalcLogEntry();
            GCpiREntry.ValueName = "GCpiR";
            GCpiREntry.AddDependencyValue("GCpi", Math.Round(GCpi, 3));
            GCpiREntry.AddDependencyValue("Vi", Math.Round(Vi, 3));
            GCpiREntry.Reference            = "";
            GCpiREntry.DescriptionReference = "/Templates/Loads/ASCE7_10/Wind/WindInternalPressureCoefficientLargeVolumeRi.docx";
            GCpiREntry.FormulaID            = null; //reference to formula from code
            GCpiREntry.VariableValue        = Math.Round(GCpiR, 3).ToString();
            #endregion
            this.AddToLog(GCpiREntry);

            return(GCpiR);
        }
Пример #3
0
        public double GetInternalPressureCoefficient(WindEnclosureType EnclosureType)
        {
            double GCpi = 0.0;


            switch (EnclosureType)
            {
            case WindEnclosureType.Open:
                GCpi = 0.0;

                break;

            case WindEnclosureType.PartiallyEnclosed:
                GCpi = 0.55;

                break;

            case WindEnclosureType.Enclosed:
                GCpi = 0.18;

                break;
            }

            return(GCpi);
        }
        public double GetInternalPressureCoefficient(WindEnclosureType EnclosureType, double OpeningArea,
             double InternalVolume)
        {
            double GCpi = this.GetInternalPressureCoefficient(EnclosureType);
            double Vi = InternalVolume;
            double Aog = OpeningArea;
            double Ri = 1.0;
            double GCpiR = GCpi * Ri;

            //WindInternalPressureCoefficientLargeVolumeRi.docx

            
            #region GCpiR
            ICalcLogEntry GCpiREntry = new CalcLogEntry();
            GCpiREntry.ValueName = "GCpiR";
            GCpiREntry.AddDependencyValue("GCpi", Math.Round(GCpi, 3));
            GCpiREntry.AddDependencyValue("Vi", Math.Round(Vi, 3));
            GCpiREntry.Reference = "";
            GCpiREntry.DescriptionReference = "/Templates/Loads/ASCE7_10/Wind/WindInternalPressureCoefficientLargeVolumeRi.docx";
            GCpiREntry.FormulaID = null; //reference to formula from code
            GCpiREntry.VariableValue = Math.Round(GCpiR, 3).ToString();
            #endregion
            this.AddToLog(GCpiREntry);
            
            return GCpiR;
        }
Пример #5
0
        public WindStructure(double Width, double Length, double Height, double WindSpeed, WindExposureCategory windExposureType,
                             WindEnclosureType EnclosureClass, WindStructureDynamicResponseType StructureDynamicClass,
                             double Damping, ICalcLog CalcLog) : base(CalcLog)
        {
            this.width                   = Width;
            this.length                  = Length;
            this.height                  = Height;
            this.windSpeed               = WindSpeed;
            this._windExposure           = windExposureType;
            this.enclosureClassification = EnclosureClass;
            this.dynamicClassification   = StructureDynamicClass;
            this.damping                 = Damping;


            terrainCoefficientsNeedCalculation = true;
        }
        public double GetInternalPressureCoefficient(WindEnclosureType EnclosureType)
        {
            double GCpi = 0.0;


            switch (EnclosureType)
            {
                case WindEnclosureType.Open:
                    GCpi= 0.0;
       
                    break;
                case WindEnclosureType.PartiallyEnclosed:
                    GCpi= 0.55;
                   
                    break;
                case WindEnclosureType.Enclosed:
                    GCpi= 0.18;
                
                    break;
            }

            return GCpi;
        }
 public BuildingDirectionalProcedureElement(double Width, double Length, double Height, double WindSpeed, WindExposureCategory windExposureType,
                                            WindEnclosureType EnclosureClass,
                                            WindStructureDynamicResponseType StructureDynamicClass, double Damping, ICalcLog CalcLog)
     : base(Width, Length, Height, WindSpeed, windExposureType, EnclosureClass, StructureDynamicClass, Damping, CalcLog)
 {
 }