Exemplo n.º 1
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);
     }
 }
Exemplo n.º 2
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 ct,
                     double cd,
                     double cp,
                     bool userSpecifiedExposure = false)
 {
 }
Exemplo n.º 3
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 ct,
                     ref double cd,
                     ref double cp,
                     ref bool userSpecifiedExposure)
 {
 }
Exemplo n.º 4
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;
        }
Exemplo n.º 5
0
        /// <summary>
        /// This function retrieves 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, cpp.</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 eTerrainCategory terrainCategory,
                            ref double ct,
                            ref double cd,
                            ref double cp,
                            ref bool userSpecifiedExposure)
        {
            int csiExposureFrom    = 0;
            int csiTerrainCategory = 0;

            _callCode = _sapModel.LoadPatterns.AutoWind.GetNTC2008(name,
                                                                   ref csiExposureFrom,
                                                                   ref directionAngle,
                                                                   ref Cpw,
                                                                   ref Cpl,
                                                                   ref userSpecifiedHeights,
                                                                   ref coordinateTopZ,
                                                                   ref coordinateBottomZ,
                                                                   ref windSpeed,
                                                                   ref csiTerrainCategory,
                                                                   ref ct,
                                                                   ref cd,
                                                                   ref cp,
                                                                   ref userSpecifiedExposure);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            exposureFrom    = (eWindExposure)csiExposureFrom;
            terrainCategory = (eTerrainCategory)csiTerrainCategory;
        }
Exemplo n.º 6
0
 /// <summary>
 /// This function assigns 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"></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 orography,
                     double k1,
                     double CsCd,
                     double rho,
                     bool userSpecifiedExposure = false)
 {
     _callCode = _sapModel.LoadPatterns.AutoWind.SetEurocode12005_1(name,
                                                                    (int)exposureFrom,
                                                                    directionAngle,
                                                                    Cpw,
                                                                    Cpl,
                                                                    userSpecifiedHeights,
                                                                    coordinateTopZ,
                                                                    coordinateBottomZ,
                                                                    windSpeed,
                                                                    (int)terrainCategory,
                                                                    orography,
                                                                    k1,
                                                                    CsCd,
                                                                    rho,
                                                                    userSpecifiedExposure);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }