예제 #1
0
 /// <summary>
 /// Assigns auto wind loading parameters for NBCC 95.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="q">The velocity pressure in kPa.</param>
 /// <param name="gustFactor">The gust factor.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double q,
                     double gustFactor,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetNBCC95(name,
                                                           (int)exposureFrom,
                                                           directionAngle,
                                                           Cpw,
                                                           Cpl,
                                                           userSpecifiedHeights,
                                                           coordinateTopZ,
                                                           coordinateBottomZ,
                                                           q,
                                                           gustFactor,
                                                           userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #2
0
 /// <summary>
 /// This function assigns auto wind loading parameters for Indian IS875-1987.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="windSpeed">The wind speed in meters per second.</param>
 /// <param name="terrainCategory">The terrain category.</param>
 /// <param name="codeClass">The code class.</param>
 /// <param name="K1">The risk coefficient (k1 factor).</param>
 /// <param name="K3">The topography factor (k3 factor).</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     int terrainCategory,
                     eCodeClass codeClass,
                     double K1,
                     double K3,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetIS8751987(name,
                                                              (int)exposureFrom,
                                                              directionAngle,
                                                              Cpw,
                                                              Cpl,
                                                              userSpecifiedHeights,
                                                              coordinateTopZ,
                                                              coordinateBottomZ,
                                                              windSpeed,
                                                              terrainCategory,
                                                              (int)codeClass,
                                                              K1,
                                                              K3,
                                                              userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #3
0
        /// <summary>
        /// Returns auto wind loading parameters for NBCC 95.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpw">The windward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpl">The leeward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="q">The velocity pressure in kPa.</param>
        /// <param name="gustFactor">The gust factor.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref double Cpw,
                            ref double Cpl,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double q,
                            ref double gustFactor,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetNBCC95(name,
                                                                  ref csiExposureFrom,
                                                                  ref directionAngle,
                                                                  ref Cpw,
                                                                  ref Cpl,
                                                                  ref userSpecifiedHeights,
                                                                  ref coordinateTopZ,
                                                                  ref coordinateBottomZ,
                                                                  ref q,
                                                                  ref gustFactor,
                                                                  ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
        }
예제 #4
0
 /// <summary>
 /// Assigns auto wind loading parameters for NTC 2008.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="windSpeed">The wind velocity, Vb, in m/s.</param>
 /// <param name="terrainCategory">The terrain category.</param>
 /// <param name="ct">The topography factor, ct.</param>
 /// <param name="cd">The dynamic coefficient, cd.</param>
 /// <param name="cp">The shape factor, cp.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     eTerrainCategory terrainCategory,
                     double ct,
                     double cd,
                     double cp,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetNTC2008(name,
                                                            (int)exposureFrom,
                                                            directionAngle,
                                                            Cpw,
                                                            Cpl,
                                                            userSpecifiedHeights,
                                                            coordinateTopZ,
                                                            coordinateBottomZ,
                                                            windSpeed,
                                                            (int)terrainCategory,
                                                            ct,
                                                            cd,
                                                            cp,
                                                            userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #5
0
 /// <summary>
 /// This function assigns auto wind loading parameters for BS6399-95.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="windSpeed">Effective wind speed in meters per seconds.</param>
 /// <param name="Ca">The size effect factor.</param>
 /// <param name="Cr">The dynamic augmentation factor.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException"></exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     double Ca,
                     double Cr,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetBS639995(name,
                                                             (int)exposureFrom,
                                                             directionAngle,
                                                             Cpw,
                                                             Cpl,
                                                             userSpecifiedHeights,
                                                             coordinateTopZ,
                                                             coordinateBottomZ,
                                                             windSpeed,
                                                             Ca,
                                                             Cr,
                                                             userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
예제 #6
0
        /// <summary>
        /// This function retrieves auto wind loading parameters for BS6399-95.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpw">The windward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpl">The leeward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="windSpeed">Effective wind speed in meters per seconds.</param>
        /// <param name="Ca">The size effect factor.</param>
        /// <param name="Cr">The dynamic augmentation factor.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException"></exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref double Cpw,
                            ref double Cpl,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double windSpeed,
                            ref double Ca,
                            ref double Cr,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetBS639995(name,
                                                                    ref csiExposureFrom,
                                                                    ref directionAngle,
                                                                    ref Cpw,
                                                                    ref Cpl,
                                                                    ref userSpecifiedHeights,
                                                                    ref coordinateTopZ,
                                                                    ref coordinateBottomZ,
                                                                    ref windSpeed,
                                                                    ref Ca,
                                                                    ref Cr,
                                                                    ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
        }
예제 #7
0
 /// <summary>
 /// This function assigns auto wind loading parameters for 1997 UBC.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="windSpeed">Design reference wind speed in miles per hour.</param>
 /// <param name="exposureType">Exposure category.</param>
 /// <param name="importanceFactor">The importance factor.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     eExposureTypeBToD exposureType,
                     double importanceFactor,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetUBC97(name,
                                                          (int)exposureFrom,
                                                          directionAngle,
                                                          Cpw,
                                                          Cpl,
                                                          userSpecifiedHeights,
                                                          coordinateTopZ,
                                                          coordinateBottomZ,
                                                          windSpeed,
                                                          (int)exposureType,
                                                          importanceFactor,
                                                          userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #8
0
        /// <summary>
        /// This function retrieves auto wind loading parameters for API 4F 2013.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="windSpeed">Design reference wind velocity, Vref, in knots.</param>
        /// <param name="structuralSafetyLevel">The structural safety level multiplier.</param>
        /// <param name="shieldingFactor">The shielding factor.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double windSpeed,
                            ref double structuralSafetyLevel,
                            ref double shieldingFactor)
        {
            int csiExposureFrom = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetAPI4F2013(name,
                                                                     ref csiExposureFrom,
                                                                     ref directionAngle,
                                                                     ref userSpecifiedHeights,
                                                                     ref coordinateTopZ,
                                                                     ref coordinateBottomZ,
                                                                     ref windSpeed,
                                                                     ref structuralSafetyLevel,
                                                                     ref shieldingFactor);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
        }
예제 #9
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     double structuralSafetyLevel,
                     double shieldingFactor)
 {
 }
예제 #10
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     bool userSpecifiedExposure = false)
 {
 }
예제 #11
0
 public void GetLoad(string name,
                     ref eWindExposure exposureFrom,
                     ref double directionAngle,
                     ref double Cpw,
                     ref double Cpl,
                     ref bool userSpecifiedHeights,
                     ref double coordinateTopZ,
                     ref double coordinateBottomZ,
                     ref double windSpeed,
                     ref bool userSpecifiedExposure)
 {
 }
예제 #12
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double q,
                     double gustFactor,
                     double importanceFactor,
                     bool userSpecifiedExposure = false)
 {
 }
예제 #13
0
        /// <summary>
        /// This function retrieves auto wind loading parameters for NBCC 2015.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load. This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpw">The windward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpl">The leeward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="NBCCCase">This is 1, 2, 3, 4, or 5, indicating the desired case from NBCC 2105 Figure A-4.1.7.9(1).
        /// 5 means to create all cases.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="e1">Value e1 in ASCE7-02 Figure 6-9.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="e2">Value e2 in ASCE7-02 Figure 6-9.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="q">The velocity pressure in kPa.</param>
        /// <param name="gustFactor">The gust factor.</param>
        /// <param name="topographicFactor">The topographic factor.</param>
        /// <param name="importanceFactor">The importance factor.</param>
        /// <param name="terrainType">Type of the terrain.</param>
        /// <param name="CeWindward">The windward exposure factor, Ce.
        /// This item applies only when <paramref name="terrainType" /> = <see cref="eTerrainType.User" />.</param>
        /// <param name="CeLeeward">The windward exposure factor, Ce.
        /// This item applies only when <paramref name="terrainType" /> = <see cref="eTerrainType.User" />.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref double Cpw,
                            ref double Cpl,
                            ref int NBCCCase,
                            ref double e1,
                            ref double e2,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double q,
                            ref double gustFactor,
                            ref double topographicFactor,
                            ref double importanceFactor,
                            ref eTerrainType terrainType,
                            ref double CeWindward,
                            ref double CeLeeward,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom = 0;
            int csiTerrainType  = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetNBCC2015(name,
                                                                    ref csiExposureFrom,
                                                                    ref directionAngle,
                                                                    ref Cpw,
                                                                    ref Cpl,
                                                                    ref NBCCCase,
                                                                    ref e1,
                                                                    ref e2,
                                                                    ref userSpecifiedHeights,
                                                                    ref coordinateTopZ,
                                                                    ref coordinateBottomZ,
                                                                    ref q,
                                                                    ref gustFactor,
                                                                    ref topographicFactor,
                                                                    ref importanceFactor,
                                                                    ref csiTerrainType,
                                                                    ref CeWindward,
                                                                    ref CeLeeward,
                                                                    ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
            terrainType  = (eTerrainType)csiTerrainType;
        }
예제 #14
0
        /// <summary>
        /// This function retrieves auto wind loading parameters for Chinese 2010.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="buildingWidth">The building width. [L].</param>
        /// <param name="Us">The shape coefficient.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="uniformTaper">True: A correction is to be applied to the wind load for a uniform taper.</param>
        /// <param name="BhOverB0">The taper ratio, Bh/B0.
        /// This item applies only when <paramref name="uniformTaper" /> = True.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="wzero">The basic wind pressure in kN/m^2.</param>
        /// <param name="Rt">The ground roughness, Rt.</param>
        /// <param name="phiZSource">The Phi Z source.</param>
        /// <param name="T1Source">The T1 source.</param>
        /// <param name="userT">It is the user defined T1 period. [s].
        /// This item applies only when <paramref name="T1Source" /> = <see cref="eT1Source.UserDefined" /></param>
        /// <param name="dampingRatio">The damping ratio.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref double buildingWidth,
                            ref double Us,
                            ref bool uniformTaper,
                            ref double BhOverB0,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double wzero,
                            ref eRoughnessBToD Rt,
                            ref ePhiZSource phiZSource,
                            ref eT1Source T1Source,
                            ref double userT,
                            ref double dampingRatio,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom = 0;
            int csiRt           = 0;
            int csiPhiZSource   = 0;
            int csiT1Source     = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetChinese2010(name,
                                                                       ref csiExposureFrom,
                                                                       ref directionAngle,
                                                                       ref buildingWidth,
                                                                       ref Us,
                                                                       ref uniformTaper,
                                                                       ref BhOverB0,
                                                                       ref userSpecifiedHeights,
                                                                       ref coordinateTopZ,
                                                                       ref coordinateBottomZ,
                                                                       ref wzero,
                                                                       ref csiRt,
                                                                       ref csiPhiZSource,
                                                                       ref csiT1Source,
                                                                       ref userT,
                                                                       ref dampingRatio,
                                                                       ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
            Rt           = (eRoughnessBToD)csiRt;
            phiZSource   = (ePhiZSource)csiPhiZSource;
            T1Source     = (eT1Source)csiT1Source;
        }
예제 #15
0
        /// <summary>
        /// Returns auto wind loading parameters for AS/NZS 1170.2:2002.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpw">The windward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpl">The leeward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Ka">The area reduction factor, Ka.</param>
        /// <param name="Kc">The combination factor, Kc.</param>
        /// <param name="Kl">The local pressure factor, Kl.</param>
        /// <param name="Kp">The porous cladding factor, Kp.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="windSpeed">Design reference wind speed, Vr, in m/s.</param>
        /// <param name="terrainCategory">The terrain category.</param>
        /// <param name="cycloneRegion">True: The structure is in a cyclone region.</param>
        /// <param name="Md">The directional multiplier, Md.</param>
        /// <param name="Ms">The shielding multiplier, Ms.</param>
        /// <param name="Mt">The topographic multiplier, Mt.</param>
        /// <param name="Cdyn">The dynamic response factor, Cdyn.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref double Cpw,
                            ref double Cpl,
                            ref double Ka,
                            ref double Kc,
                            ref double Kl,
                            ref double Kp,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double windSpeed,
                            ref int terrainCategory,
                            ref bool cycloneRegion,
                            ref double Md,
                            ref double Ms,
                            ref double Mt,
                            ref double Cdyn,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetASNZS117022002(name,
                                                                          ref csiExposureFrom,
                                                                          ref directionAngle,
                                                                          ref Cpw,
                                                                          ref Cpl,
                                                                          ref Ka,
                                                                          ref Kc,
                                                                          ref Kl,
                                                                          ref Kp,
                                                                          ref userSpecifiedHeights,
                                                                          ref coordinateTopZ,
                                                                          ref coordinateBottomZ,
                                                                          ref windSpeed,
                                                                          ref terrainCategory,
                                                                          ref cycloneRegion,
                                                                          ref Md,
                                                                          ref Ms,
                                                                          ref Mt,
                                                                          ref Cdyn,
                                                                          ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
        }
예제 #16
0
        /// <summary>
        /// Returns  auto wind loading parameters for ASCE 7-05.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="windSpeed">Design reference wind speed in miles per hour.</param>
        /// <param name="Cpw">The windward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpl">The leeward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="ASCECase">This is 1, 2, 3, 4 or 5, indicating the desired case from ASCE7-02 Figure 6-9. 1, 2, 3 and 4 refer to cases 1 through 4 in the figure.
        /// 5 means to create all cases.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="e1">Value e1 in ASCE7-02 Figure 6-9.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="e2">Value e2 in ASCE7-02 Figure 6-9.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="exposureType">Exposure category.</param>
        /// <param name="importanceFactor">The importance factor.</param>
        /// <param name="Kzt">The topographical factor.</param>
        /// <param name="gustFactor">The gust factor.</param>
        /// <param name="Kd">The directionality factor.</param>
        /// <param name="solidGrossRatio">The solid area divided by gross area ratio for open frame structure loading.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.FrameObjects" /> or <see cref="eWindExposure.AreaAndFrameObjects" />.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double windSpeed,
                            ref double Cpw,
                            ref double Cpl,
                            ref int ASCECase,
                            ref double e1,
                            ref double e2,
                            ref eExposureTypeBToD exposureType,
                            ref double importanceFactor,
                            ref double Kzt,
                            ref double gustFactor,
                            ref double Kd,
                            ref double solidGrossRatio,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom = 0;
            int csiExposureType = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetASCE705(name,
                                                                   ref csiExposureFrom,
                                                                   ref directionAngle,
                                                                   ref Cpw,
                                                                   ref Cpl,
                                                                   ref ASCECase,
                                                                   ref e1,
                                                                   ref e2,
                                                                   ref userSpecifiedHeights,
                                                                   ref coordinateTopZ,
                                                                   ref coordinateBottomZ,
                                                                   ref windSpeed,
                                                                   ref csiExposureType,
                                                                   ref importanceFactor,
                                                                   ref Kzt,
                                                                   ref gustFactor,
                                                                   ref Kd,
                                                                   ref solidGrossRatio,
                                                                   ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom = (eWindExposure)csiExposureFrom;
            exposureType = (eExposureTypeBToD)csiExposureType;
        }
예제 #17
0
 public void GetLoad(string name,
                     ref eWindExposure exposureFrom,
                     ref double directionAngle,
                     ref double Cpw,
                     ref double Cpl,
                     ref bool userSpecifiedHeights,
                     ref double coordinateTopZ,
                     ref double coordinateBottomZ,
                     ref double q,
                     ref double gustFactor,
                     ref double importanceFactor,
                     ref bool userSpecifiedExposure)
 {
 }
예제 #18
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     int terrainCategory,
                     eCodeClass codeClass,
                     double K1,
                     double K3,
                     bool userSpecifiedExposure = false)
 {
 }
예제 #19
0
 public void GetLoad(string name,
                     ref eWindExposure exposureFrom,
                     ref double directionAngle,
                     ref double Cpw,
                     ref double Cpl,
                     ref bool userSpecifiedHeights,
                     ref double coordinateTopZ,
                     ref double coordinateBottomZ,
                     ref double windSpeed,
                     ref int terrainCategory,
                     ref eCodeClass codeClass,
                     ref double K1,
                     ref double K3,
                     ref bool userSpecifiedExposure)
 {
 }
예제 #20
0
 public void GetLoad(string name,
                     ref eWindExposure exposureFrom,
                     ref double directionAngle,
                     ref double Cpw,
                     ref double Cpl,
                     ref bool userSpecifiedHeights,
                     ref double coordinateTopZ,
                     ref double coordinateBottomZ,
                     ref double windSpeed,
                     ref eTerrainCategory terrainCategory,
                     ref double orography,
                     ref double k1,
                     ref double CsCd,
                     ref double rho,
                     ref bool userSpecifiedExposure)
 {
 }
예제 #21
0
 /// <summary>
 /// Assigns auto wind loading parameters for AS/NZS 1170.2:2002.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Ka">The area reduction factor, Ka.</param>
 /// <param name="Kc">The combination factor, Kc.</param>
 /// <param name="Kl">The local pressure factor, Kl.</param>
 /// <param name="Kp">The porous cladding factor, Kp.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="windSpeed">Design reference wind speed, Vr, in m/s.</param>
 /// <param name="terrainCategory">The terrain category.</param>
 /// <param name="cycloneRegion">True: The structure is in a cyclone region.</param>
 /// <param name="Md">The directional multiplier, Md.</param>
 /// <param name="Ms">The shielding multiplier, Ms.</param>
 /// <param name="Mt">The topographic multiplier, Mt.</param>
 /// <param name="Cdyn">The dynamic response factor, Cdyn.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     double Ka,
                     double Kc,
                     double Kl,
                     double Kp,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     int terrainCategory,
                     bool cycloneRegion,
                     double Md,
                     double Ms,
                     double Mt,
                     double Cdyn,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetASNZS117022002(name,
                                                                   (int)exposureFrom,
                                                                   directionAngle,
                                                                   Cpw,
                                                                   Cpl,
                                                                   Ka,
                                                                   Kc,
                                                                   Kl,
                                                                   Kp,
                                                                   userSpecifiedHeights,
                                                                   coordinateTopZ,
                                                                   coordinateBottomZ,
                                                                   windSpeed,
                                                                   terrainCategory,
                                                                   cycloneRegion,
                                                                   Md,
                                                                   Ms,
                                                                   Mt,
                                                                   Cdyn,
                                                                   userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #22
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     eTerrainCategory terrainCategory,
                     double orography,
                     double k1,
                     double CsCd,
                     double rho,
                     bool userSpecifiedExposure = false)
 {
 }
예제 #23
0
 /// <summary>
 /// Assigns auto wind loading parameters for ASCE 7-05.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="windSpeed">Design reference wind speed in miles per hour.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="ASCECase">This is 1, 2, 3, 4 or 5, indicating the desired case from ASCE7-02 Figure 6-9. 1, 2, 3 and 4 refer to cases 1 through 4 in the figure.
 /// 5 means to create all cases.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="e1">Value e1 in ASCE7-02 Figure 6-9.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="e2">Value e2 in ASCE7-02 Figure 6-9.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="exposureType">Exposure category.</param>
 /// <param name="importanceFactor">The importance factor.</param>
 /// <param name="Kzt">The topographical factor.</param>
 /// <param name="gustFactor">The gust factor.</param>
 /// <param name="Kd">The directionality factor.</param>
 /// <param name="solidGrossRatio">The solid area divided by gross area ratio for open frame structure loading.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.FrameObjects" /> or <see cref="eWindExposure.AreaAndFrameObjects" />.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     double Cpw,
                     double Cpl,
                     int ASCECase,
                     double e1,
                     double e2,
                     eExposureTypeBToD exposureType,
                     double importanceFactor,
                     double Kzt,
                     double gustFactor,
                     double Kd,
                     double solidGrossRatio     = 0.2,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetASCE705(name,
                                                            (int)exposureFrom,
                                                            directionAngle,
                                                            Cpw,
                                                            Cpl,
                                                            ASCECase,
                                                            e1,
                                                            e2,
                                                            userSpecifiedHeights,
                                                            coordinateTopZ,
                                                            coordinateBottomZ,
                                                            windSpeed,
                                                            (int)exposureType,
                                                            importanceFactor,
                                                            Kzt,
                                                            gustFactor,
                                                            Kd,
                                                            solidGrossRatio,
                                                            userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #24
0
 /// <summary>
 /// This function assigns auto wind loading parameters for NBCC 2015.
 /// </summary>
 /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
 /// <param name="exposureFrom">The source of the wind exposure.</param>
 /// <param name="directionAngle">The direction angle for the wind load.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpw">The windward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="Cpl">The leeward coefficient, Cp.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="NBCCCase">This is 1, 2, 3, 4, or 5, indicating the desired case from NBCC 2105 Figure A-4.1.7.9(1).
 /// 5 means to create all cases.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="e1">Value e1 in ASCE7-02 Figure 6-9.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="e2">Value e2 in ASCE7-02 Figure 6-9.
 /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
 /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
 /// Else, the elevations are determined by the program.</param>
 /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
 /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
 /// <param name="q">The velocity pressure in kPa.</param>
 /// <param name="gustFactor">The gust factor.</param>
 /// <param name="topographicFactor">The topographic factor.</param>
 /// <param name="importanceFactor">The importance factor.</param>
 /// <param name="terrainType">Type of the terrain.</param>
 /// <param name="CeWindward">The windward exposure factor, Ce.
 /// This item applies only when <paramref name="terrainType" /> = <see cref="eTerrainType.User" />.</param>
 /// <param name="CeLeeward">The windward exposure factor, Ce.
 /// This item applies only when <paramref name="terrainType" /> = <see cref="eTerrainType.User" />.</param>
 /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
 /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     int NBCCCase,
                     double e1,
                     double e2,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double q,
                     double gustFactor,
                     double topographicFactor,
                     double importanceFactor,
                     eTerrainType terrainType,
                     double CeWindward,
                     double CeLeeward,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetNBCC2015(name,
                                                             (int)exposureFrom,
                                                             directionAngle,
                                                             Cpw,
                                                             Cpl,
                                                             NBCCCase,
                                                             e1,
                                                             e2,
                                                             userSpecifiedHeights,
                                                             coordinateTopZ,
                                                             coordinateBottomZ,
                                                             q,
                                                             gustFactor,
                                                             topographicFactor,
                                                             importanceFactor,
                                                             (int)terrainType,
                                                             CeWindward,
                                                             CeLeeward,
                                                             userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #25
0
 public void GetLoad(string name,
                     ref eWindExposure exposureFrom,
                     ref double directionAngle,
                     ref double buildingWidth,
                     ref double Us,
                     ref bool uniformTaper,
                     ref double BhOverB0,
                     ref bool userSpecifiedHeights,
                     ref double coordinateTopZ,
                     ref double coordinateBottomZ,
                     ref double wzero,
                     ref eRoughnessBToD Rt,
                     ref ePhiZSource phiZSource,
                     ref eT1Source T1Source,
                     ref double userT,
                     ref double dampingRatio,
                     ref bool userSpecifiedExposure)
 {
 }
예제 #26
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double buildingWidth,
                     double Us,
                     bool uniformTaper,
                     double BhOverB0,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double wzero,
                     eRoughnessBToD Rt,
                     ePhiZSource phiZSource,
                     eT1Source T1Source,
                     double userT,
                     double dampingRatio,
                     bool userSpecifiedExposure = false)
 {
 }
예제 #27
0
        /// <summary>
        /// This function retrieves auto wind loading parameters for Eurocode 1 2005.
        /// </summary>
        /// <param name="name">The name of an existing Wind-type load case with an auto wind assignment.</param>
        /// <param name="exposureFrom">The source of the wind exposure.</param>
        /// <param name="directionAngle">The direction angle for the wind load.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpw">The windward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="Cpl">The leeward coefficient, Cp.
        /// This item applies only when <paramref name="exposureFrom" /> = <see cref="eWindExposure.ExtentsOfRigidDiaphragms" />.</param>
        /// <param name="userSpecifiedHeights">True: Top and bottom elevations of the wind load are user specified.
        /// Else, the elevations are determined by the program.</param>
        /// <param name="coordinateTopZ">Global Z-coordinate at the highest level where auto wind loads are applied. [L].</param>
        /// <param name="coordinateBottomZ">Global Z-coordinate at the lowest level where auto wind loads are applied. [L].</param>
        /// <param name="windSpeed">The basic wind speed, vb, in meters per second.</param>
        /// <param name="terrainCategory">The terrain category.</param>
        /// <param name="orography">The orography factor, Co.</param>
        /// <param name="k1">The turbulence factor, k1.</param>
        /// <param name="CsCd">The structural factor, CsCd.</param>
        /// <param name="rho">The air density in kg/m^3, Rho.</param>
        /// <param name="userSpecifiedExposure">True: Wind exposure widths are provided by the user.
        /// Else, wind exposure widths are calculated by the program from the extents of the diaphragms.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        public void GetLoad(string name,
                            ref eWindExposure exposureFrom,
                            ref double directionAngle,
                            ref double Cpw,
                            ref double Cpl,
                            ref bool userSpecifiedHeights,
                            ref double coordinateTopZ,
                            ref double coordinateBottomZ,
                            ref double windSpeed,
                            ref eTerrainCategory terrainCategory,
                            ref double orography,
                            ref double k1,
                            ref double CsCd,
                            ref double rho,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom    = 0;
            int csiTerrainCategory = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetEurocode12005_1(name,
                                                                           ref csiExposureFrom,
                                                                           ref directionAngle,
                                                                           ref Cpw,
                                                                           ref Cpl,
                                                                           ref userSpecifiedHeights,
                                                                           ref coordinateTopZ,
                                                                           ref coordinateBottomZ,
                                                                           ref windSpeed,
                                                                           ref csiTerrainCategory,
                                                                           ref orography,
                                                                           ref k1,
                                                                           ref CsCd,
                                                                           ref rho,
                                                                           ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            exposureFrom    = (eWindExposure)csiExposureFrom;
            terrainCategory = (eTerrainCategory)csiTerrainCategory;
        }
예제 #28
0
 public void GetLoad(string name,
                     ref eWindExposure exposureFrom,
                     ref double directionAngle,
                     ref double Cpw,
                     ref double Cpl,
                     ref int NBCCCase,
                     ref double e1,
                     ref double e2,
                     ref bool userSpecifiedHeights,
                     ref double coordinateTopZ,
                     ref double coordinateBottomZ,
                     ref double q,
                     ref double gustFactor,
                     ref double topographicFactor,
                     ref double importanceFactor,
                     ref eTerrainType terrainType,
                     ref double CeWindward,
                     ref double CeLeeward,
                     ref bool userSpecifiedExposure)
 {
 }
예제 #29
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     int NBCCCase,
                     double e1,
                     double e2,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double q,
                     double gustFactor,
                     double topographicFactor,
                     double importanceFactor,
                     eTerrainType terrainType,
                     double CeWindward,
                     double CeLeeward,
                     bool userSpecifiedExposure = false)
 {
 }
예제 #30
0
 public void SetLoad(string name,
                     eWindExposure exposureFrom,
                     double directionAngle,
                     double Cpw,
                     double Cpl,
                     int ASCECase,
                     double e1,
                     double e2,
                     bool userSpecifiedHeights,
                     double coordinateTopZ,
                     double coordinateBottomZ,
                     double windSpeed,
                     eExposureTypeAToD exposureType,
                     double importanceFactor,
                     double Kzt,
                     double gustFactor,
                     double Kd,
                     double solidGrossRatio     = 0.2,
                     bool userSpecifiedExposure = false)
 {
 }