Exemplo n.º 1
0
        /// <summary>
        /// Calculate the value of the <see cref="Coefficient"/>.
        /// </summary>
        /// <remarks>[PN-EN 1992-1-1 Table 8.2]</remarks>
        public void Calculate()
        {
            var coefficientHelper = new CoefficientHelper(ReinforcementPosition);

            cover = coefficientHelper.CalculateCover();

            if (ReinforcementPosition.AnchorageType != AnchorageTypeEnum.Straight &&
                ReinforcementPosition.AreAnchoragesInTension && cover > 3 * Bar.Diameter)
            {
                Coefficient = 0.7;
            }
            else
            {
                Coefficient = 1;
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Calculate the value of the <see cref="Coefficient"/>.
        /// </summary>
        /// <remarks>[PN-EN 1992-1-1 Table 8.2]</remarks>
        public void Calculate()
        {
            var coefficientHelper = new CoefficientHelper(ReinforcementPosition);

            cover = coefficientHelper.CalculateCover();

            if (!ReinforcementPosition.AreAnchoragesInTension)
            {
                Coefficient = 1;
            }
            else if (ReinforcementPosition.AnchorageType == AnchorageTypeEnum.Straight)
            {
                Coefficient = 1 - 0.15 * (cover - Bar.Diameter) / Bar.Diameter;
            }
            else
            {
                Coefficient = 1 - 0.15 * (cover - 3 * Bar.Diameter) / Bar.Diameter;
            }

            Coefficient = Math.Min(Coefficient, 1);
            Coefficient = Math.Max(0.7, Coefficient);
        }