Surface Reinforcement#

../../../../../_images/concrete_design_surface_reinforcement.png

Designing the top and bottom surface reinforcement of a one-way slab with a cantilever acc. to EN 1992-1-1 and checking it against a hand calculation:

  • Model a 1 m wide slab strip of 200 mm in C30/37 with a span of 5.0 m and a cantilever of 2.0 m, with its long edges as lines of symmetry

  • Define the concrete cover, the durability and the reinforcement directions of the surfaces

  • Define the provided meshes: bottom bars 10 mm at 150 mm, top bars 10 mm at 200 mm in the span direction, bars 8 mm at 200 mm across

  • Arrange the imposed load in two ULS combinations, for the maximum hogging and the maximum sagging moment

  • Refine the FE mesh, perform the calculation and the concrete design check

  • Read the required top and bottom reinforcement along the slab and the design check details of the bending design on both sides

  • Compare the design moments, the lever arms, As,req and the design ratios with the hand calculation

Keywords:
surface reinforcement slab cantilever top and bottom reinforcement required reinforcement bending design minimum reinforcement load arrangement design check details verification example

Note

Reference: hand calculation acc. to EN 1992-1-1 with the rectangular stress block and fyd = 435 MPa, included in the script. The hogging moment at the support, the maximum sagging moment, the effective depth and the minimum and secondary reinforcement agree. RFEM requires up to 1 % less reinforcement because it uses the inclined top branch of the reinforcement stress-strain diagram (σs = 454 MPa) and the smaller lever arm of the two reinforcement layers.

RFEM applies the minimum reinforcement acc. to 9.2.1.1(1) also to the transverse direction wherever that side is in tension. In the slab strip, the Poisson effect causes that tension, so the minimum reinforcement governs the transverse bars.

Punching shear of a flat slab is shown in Punching Internal Column.

from dlubal.api import rfem, common
from math import inf, pi, sqrt
import pandas

# -------------------------------------------------------
# This example demonstrates the design of the top and bottom surface reinforcement of a
# one-way slab with a cantilever acc. to EN 1992-1-1 (CEN, recommended values): the
# required reinforcement for bending on both sides, the check of the provided meshes,
# the minimum reinforcement and the secondary transverse reinforcement.
#
# Slab:
#   h = 200 mm, C30/37, B500S(A), span L = 5.0 m between a hinged and a sliding line
#   support, cantilever C = 2.0 m beyond the sliding support, concrete cover 25 mm.
#   Bottom mesh: bars 10 mm at 150 mm in the span direction (5.24 cm2/m, outer layer),
#   top mesh: bars 10 mm at 200 mm (3.93 cm2/m, outer layer), transverse bars 8 mm at
#   200 mm (2.51 cm2/m) in both meshes. Both meshes cover the whole slab.
#   RFEM applies the minimum reinforcement of 9.2.1.1(1) also in direction 2 wherever
#   that side is in tension, here from the Poisson effect, which governs the transverse bars.
#   g_k = 25 kN/m3 x 0.20 m + 1.5 kN/m2 finishes = 6.5 kN/m2, q_k = 3.0 kN/m2.
#
# Load combinations acc. to Eq. (6.10), the imposed load arranged for each extreme:
#   CO1  1.35 g_k + 1.5 q_k on the span and the cantilever -> maximum hogging moment
#   CO2  1.35 g_k on both, 1.5 q_k on the span only        -> maximum sagging moment
#   All permanent actions take the same partial factor, EN 1990 Table A1.2(B), Note 3.
#
# Modelling:
#   A strip of 1 m width is modelled. Its long edges are lines of symmetry of a wide
#   slab: they may move vertically but cannot rotate about their own axis. The strip
#   then bends like the wide slab, and m_y = nu m_x from the Poisson effect.
#   The FE mesh is refined to 0.1 m so that a mesh node lies close to the maximum of
#   the sagging moment.
#
# Reference:
#   Hand calculation acc. to EN 1992-1-1 with the rectangular stress block (3.1.7(3)) and
#   the horizontal top branch of the reinforcement stress-strain diagram (f_yd = 435 MPa).
#   RFEM uses the inclined top branch (sigma_s = 454 MPa) and designs both directions with
#   the smaller lever arm of the two reinforcement layers, so its required reinforcement
#   is up to 1 % lower.
# -------------------------------------------------------


SPAN = 5.0              # m
CANTILEVER = 2.0        # m
WIDTH = 1.0             # m, modelled strip
THICKNESS = 0.20        # m
COVER = 0.025           # m, concrete cover of the outer bars, top and bottom
G_FINISHES = 1.5e3      # N/m2
Q_K = 3.0e3             # N/m2, imposed load (category A)
MESH_SIZE = 0.1         # m, target length of the finite elements

BAR_1, SPACING_1_BOTTOM, SPACING_1_TOP = 0.010, 0.150, 0.200    # m, bars in the span direction (direction 1)
BAR_2, SPACING_2 = 0.008, 0.200                                  # m, transverse bars (direction 2)


# -------------------------------------------------------
# Hand calculation acc. to EN 1992-1-1
# -------------------------------------------------------

F_CK, F_YK, F_CTM = 30e6, 500e6, 2.9e6          # Pa
F_CD = 1.0 * F_CK / 1.5                          # alpha_cc = 1.0, gamma_c = 1.5
F_YD = F_YK / 1.15                               # gamma_s = 1.15
LAMBDA = 0.8                                     # rectangular stress block, f_ck <= 50 MPa

g_ed = 1.35 * (25e3 * THICKNESS + G_FINISHES)   # N/m2
q_ed = 1.5 * Q_K                                # N/m2

# CO1: hogging moment at the support, statically determinate
m_ed_top = (g_ed + q_ed) * CANTILEVER**2 / 2                    # Nm/m

# CO2: support reaction at the hinged end and the maximum sagging moment in the span
m_support = g_ed * CANTILEVER**2 / 2                            # Nm/m
reaction = (g_ed + q_ed) * SPAN / 2 - m_support / SPAN          # N/m
x_max = reaction / (g_ed + q_ed)                                # m
m_ed_bottom = reaction**2 / (2 * (g_ed + q_ed))                 # Nm/m

d_1 = THICKNESS - COVER - BAR_1 / 2             # m, direction 1 (outer layer), top and bottom
d_2 = THICKNESS - COVER - BAR_1 - BAR_2 / 2     # m, direction 2 (inner layer)


def required_reinforcement(m_ed: float) -> tuple:
    """
    Returns the lever arm and the required reinforcement for the moment m_ed (rectangular stress block).
    """
    mu = m_ed / (WIDTH * d_1**2 * F_CD)
    xi = (1 - sqrt(1 - 2 * mu)) / LAMBDA        # x / d
    z = d_1 * (1 - LAMBDA * xi / 2)             # m
    return z, m_ed / (z * F_YD)                 # m, m2/m


z_top, a_s_req_top = required_reinforcement(m_ed_top)
z_bottom, a_s_req_bottom = required_reinforcement(m_ed_bottom)

a_s_prov_1_top = pi * BAR_1**2 / 4 / SPACING_1_TOP              # m2/m
a_s_prov_1_bottom = pi * BAR_1**2 / 4 / SPACING_1_BOTTOM        # m2/m
a_s_prov_2 = pi * BAR_2**2 / 4 / SPACING_2                      # m2/m
a_s_min_2 = max(0.26 * F_CTM / F_YK, 0.0013) * WIDTH * d_2      # 9.2.1.1(1), direction 2

# Results of the hand calculation: key -> (value, unit, caption)
REFERENCE = {
    "d": (d_1 * 1e3, "mm", "Effective depth d, direction 1"),
    "m_ed_top": (m_ed_top / 1e3, "kNm/m", "Top: m_Ed at the support (CO1)"),
    "z_top": (z_top * 1e3, "mm", "Top: lever arm z"),
    "a_s_req_top": (a_s_req_top * 1e4, "cm2/m", "Top: required reinforcement A_s,req"),
    "eta_top": (a_s_req_top / a_s_prov_1_top, "-", "Top: design ratio A_s,req / A_s,prov"),
    "m_ed_bottom": (m_ed_bottom / 1e3, "kNm/m", "Bottom: maximum m_Ed in the span (CO2)"),
    "z_bottom": (z_bottom * 1e3, "mm", "Bottom: lever arm z"),
    "a_s_req_bottom": (a_s_req_bottom * 1e4, "cm2/m", "Bottom: required reinforcement A_s,req"),
    "eta_bottom": (a_s_req_bottom / a_s_prov_1_bottom, "-", "Bottom: design ratio A_s,req / A_s,prov"),
    "eta_min": (a_s_min_2 / a_s_prov_2, "-", "Minimum reinforcement dir. 2 A_s,min / A_s,prov"),
    "eta_sec": (0.2 * a_s_prov_1_bottom / a_s_prov_2, "-", "Secondary reinforcement 20 % / A_s,prov,2"),
}


def define_structure() -> list:

    # The surfaces refer to the concrete design objects: concrete covers,
    # durability, reinforcement directions and the ULS configuration.
    concrete_design_of_surface = dict(
        thickness=1,
        is_user_defined_concrete_cover_enabled=True,
        user_defined_concrete_cover_top=COVER,
        user_defined_concrete_cover_bottom=COVER,
        concrete_durability_top=1,
        concrete_durability_bottom=1,
        reinforcement_direction_top=1,
        reinforcement_direction_bottom=1,
        surface_concrete_design_uls_configuration=1,
    )

    return [

        rfem.structure_core.Material(no=1, name="C30/37"),
        rfem.structure_core.Material(no=2, name="B500S(A)"),

        rfem.structure_core.Thickness(
            no=1,
            material=1,
            uniform_thickness=THICKNESS,
        ),

        rfem.structure_core.Node(no=1, coordinate_1=0.0, coordinate_2=0.0),
        rfem.structure_core.Node(no=2, coordinate_1=SPAN, coordinate_2=0.0),
        rfem.structure_core.Node(no=3, coordinate_1=SPAN + CANTILEVER, coordinate_2=0.0),
        rfem.structure_core.Node(no=4, coordinate_1=SPAN + CANTILEVER, coordinate_2=WIDTH),
        rfem.structure_core.Node(no=5, coordinate_1=SPAN, coordinate_2=WIDTH),
        rfem.structure_core.Node(no=6, coordinate_1=0.0, coordinate_2=WIDTH),

        rfem.structure_core.Line(no=1, definition_nodes=[1, 2]),
        rfem.structure_core.Line(no=2, definition_nodes=[2, 5]),
        rfem.structure_core.Line(no=3, definition_nodes=[5, 6]),
        rfem.structure_core.Line(no=4, definition_nodes=[6, 1]),
        rfem.structure_core.Line(no=5, definition_nodes=[2, 3]),
        rfem.structure_core.Line(no=6, definition_nodes=[3, 4]),
        rfem.structure_core.Line(no=7, definition_nodes=[4, 5]),

        # Surface 1: the span, surface 2: the cantilever
        rfem.structure_core.Surface(no=1, boundary_lines=[1, 2, 3, 4], **concrete_design_of_surface),
        rfem.structure_core.Surface(no=2, boundary_lines=[5, 6, 7, 2], **concrete_design_of_surface),

        # Hinged support at the end of the span, sliding support at the cantilever
        rfem.types_for_lines.LineSupport(
            no=1,
            user_defined_name_enabled=True,
            name="Hinged",
            lines=[4],
            spring=common.Vector3d(x=inf, y=inf, z=inf),
            rotational_restraint=common.Vector3d(x=0, y=0, z=0),
        ),
        rfem.types_for_lines.LineSupport(
            no=2,
            user_defined_name_enabled=True,
            name="Sliding",
            lines=[2],
            spring=common.Vector3d(x=0, y=inf, z=inf),
            rotational_restraint=common.Vector3d(x=0, y=0, z=0),
        ),

        # Long edges: lines of symmetry of a wide slab
        rfem.types_for_lines.LineSupport(
            no=3,
            user_defined_name_enabled=True,
            name="Symmetry",
            lines=[1, 3, 5, 7],
            spring=common.Vector3d(x=0, y=0, z=0),
            rotational_restraint=common.Vector3d(x=inf, y=0, z=0),
        ),
    ]


def define_loading() -> list:

    # The self-weight is applied by the load case (25 kN/m3 of C30/37). The imposed load
    # on the span and on the cantilever are separate load cases, so that the combinations
    # can arrange it for the maximum hogging and the maximum sagging moment.

    return [

        rfem.loading.StaticAnalysisSettings(no=1),
        rfem.loading.LoadCase(
            no=1,
            name="Permanent",
            static_analysis_settings=1,
            self_weight_active=True,
            action_category=rfem.loading.LoadCase.ACTION_CATEGORY_PERMANENT_G,
        ),
        rfem.loading.LoadCase(
            no=2,
            name="Imposed - span",
            static_analysis_settings=1,
            self_weight_active=False,
            action_category=rfem.loading.LoadCase.ACTION_CATEGORY_IMPOSED_LOADS_CATEGORY_A_DOMESTIC_RESIDENTIAL_AREAS_QI_A,
        ),
        rfem.loading.LoadCase(
            no=3,
            name="Imposed - cantilever",
            static_analysis_settings=1,
            self_weight_active=False,
            action_category=rfem.loading.LoadCase.ACTION_CATEGORY_IMPOSED_LOADS_CATEGORY_A_DOMESTIC_RESIDENTIAL_AREAS_QI_A,
        ),
        rfem.loading.DesignSituation(
            no=1,
            design_situation_type=rfem.loading.DesignSituation.DESIGN_SITUATION_TYPE_STR_PERMANENT_AND_TRANSIENT_6_10,
        ),
        rfem.loading.LoadCombination(
            no=1,
            name="Max hogging",
            design_situation=1,
            static_analysis_settings=1,
            combination_rule_str="1.35*LC1 + 1.5*LC2 + 1.5*LC3",
        ),
        rfem.loading.LoadCombination(
            no=2,
            name="Max sagging",
            design_situation=1,
            static_analysis_settings=1,
            combination_rule_str="1.35*LC1 + 1.5*LC2",
        ),

        rfem.loads.SurfaceLoad(no=1, load_case=1, surfaces=[1, 2], uniform_magnitude=G_FINISHES),
        rfem.loads.SurfaceLoad(no=1, load_case=2, surfaces=[1], uniform_magnitude=Q_K),
        rfem.loads.SurfaceLoad(no=1, load_case=3, surfaces=[2], uniform_magnitude=Q_K),
    ]


def define_concrete_design() -> list:

    # Created before the surfaces, which refer to them.

    return [

        rfem.concrete_design_objects.ConcreteDesignUlsConfiguration(
            no=1,
            assigned_to_all_surfaces=True,
        ),

        # Closed interior spaces (XC1)
        rfem.reinforcement.ConcreteDurability(
            no=1,
            surfaces=[1, 2],
            corrosion_induced_by_carbonation_enabled=True,
            corrosion_induced_by_carbonation=rfem.reinforcement.ConcreteDurability.CORROSION_INDUCED_BY_CARBONATION_DRY_OR_PERMANENTLY_WET,
        ),

        # Direction 1 along the global x-axis (the span), direction 2 across
        rfem.reinforcement.ReinforcementDirection(
            no=1,
            surfaces=[1, 2],
        ),

        # Provided bottom mesh: direction 1 is the outer layer
        rfem.reinforcement.SurfaceReinforcement(
            no=1,
            surfaces=[1, 2],
            material=2,
            location_type=rfem.reinforcement.SurfaceReinforcement.LOCATION_TYPE_ON_SURFACE,
            definition_type=rfem.reinforcement.SurfaceReinforcement.DEFINITION_TYPE_REBAR_2_LAYERS,
            rebar_diameter=BAR_1,
            rebar_spacing=SPACING_1_BOTTOM,
            orthogonal_rebar_diameter=BAR_2,
            orthogonal_rebar_spacing=SPACING_2,
            alignment_top_enabled=False,
            alignment_bottom_enabled=True,
        ),

        # Provided top mesh: direction 1 is the outer layer
        rfem.reinforcement.SurfaceReinforcement(
            no=2,
            surfaces=[1, 2],
            material=2,
            location_type=rfem.reinforcement.SurfaceReinforcement.LOCATION_TYPE_ON_SURFACE,
            definition_type=rfem.reinforcement.SurfaceReinforcement.DEFINITION_TYPE_REBAR_2_LAYERS,
            rebar_diameter=BAR_1,
            rebar_spacing=SPACING_1_TOP,
            orthogonal_rebar_diameter=BAR_2,
            orthogonal_rebar_spacing=SPACING_2,
            alignment_top_enabled=True,
            alignment_bottom_enabled=False,
        ),
    ]


def get_governing_check(design_ratios_df: pandas.DataFrame, check_type: str) -> pandas.Series:
    """
    Returns the row with the highest design ratio for the given design check type.
    """
    rows = design_ratios_df[design_ratios_df["design_check_type"] == check_type]
    return rows.loc[rows["design_ratio"].idxmax()]


def print_comparison(rfem_values: dict, reference: dict) -> None:
    """
    Prints the RFEM values next to the values of the hand calculation with their deviation.
    """
    print(f"\n{'Quantity':<56}{'RFEM':>10}{'Hand calc.':>12}{'Deviation':>11}")
    for key, (ref_value, unit, caption) in reference.items():
        deviation = (rfem_values[key] - ref_value) / ref_value * 100
        print(f"{caption + ' [' + unit + ']':<56}{rfem_values[key]:>10.3f}{ref_value:>12.3f}{deviation:>10.1f}%")


# -------------------------------------------------------
# MAIN SCRIPT
# -------------------------------------------------------

with rfem.Application() as rfem_app:

    rfem_app.create_model(name="concrete_design_surface_reinforcement")

    base_data = rfem_app.get_base_data()
    base_data.addons.concrete_design_active = True
    base_data.standards.concrete_design_standard = rfem.BaseData.Standards.CONCRETE_DESIGN_NATIONAL_ANNEX_AND_EDITION_EN_1992_CEN_2014_11_STANDARD
    rfem_app.set_base_data(base_data=base_data)

    rfem_app.delete_all_objects()
    rfem_app.create_object_list(
        objs=
            define_concrete_design() +
            define_structure() +
            define_loading()
    )

    mesh_settings = rfem_app.get_mesh_settings()
    mesh_settings.general_target_length_of_fe = MESH_SIZE
    rfem_app.set_mesh_settings(mesh_settings=mesh_settings)

    calculation_info = rfem_app.calculate_all(skip_warnings=True)
    if not calculation_info.succeeded:
        raise RuntimeError(f"Calculation failed: {calculation_info.message}")

    # Design ratios of all surface checks, the maximum per check type
    design_ratios_df = rfem_app.get_results(
        results_type=rfem.results.CONCRETE_DESIGN_SURFACES_DESIGN_RATIOS,
    ).data
    summary = design_ratios_df[design_ratios_df["design_ratio"] > 0]
    summary = summary.sort_values("design_ratio", ascending=False).drop_duplicates("design_check_type")
    print("\nGoverning design ratios per check type:")
    print(summary[["design_check_type", "design_ratio", "loading", "design_check_description"]].to_string(index=False))

    # Required reinforcement in the span direction along the centre line of the strip,
    # enveloped over both combinations, every 0.5 m between the slab ends. It includes the
    # minimum reinforcement (9.2.1.1(1)) wherever that side is in tension.
    required_df = rfem_app.get_result_table(
        table=rfem.results.CONCRETE_DESIGN_REQUIRED_REINFORCEMENT_AREA_ON_SURFACES_BY_LOCATION_TABLE,
        loading=None,
    ).data
    required_df = required_df[required_df["surface_no"].notna()]
    x = required_df["mesh_node_or_grid_point_coordinates_x_direction"].astype(float)
    centre_line = required_df[
        (required_df["mesh_node_or_grid_point_coordinates_y_direction"] == WIDTH / 2) &
        ((x * 2).round(6) % 1 == 0) & (x > 0) & (x < SPAN + CANTILEVER)
    ].drop_duplicates("mesh_node_or_grid_point_coordinates_x_direction").sort_values("mesh_node_or_grid_point_coordinates_x_direction")
    print("\nRequired reinforcement in the span direction [cm2/m]:")
    print(f"{'x [m]':>8}{'a_s1,top':>12}{'a_s1,bottom':>14}")
    for _, row in centre_line.iterrows():
        print(f"{float(row['mesh_node_or_grid_point_coordinates_x_direction']):>8.2f}"
              f"{float(row['longitudinal_reinforcement_area_a_s1_top']) * 1e4:>12.2f}"
              f"{float(row['longitudinal_reinforcement_area_a_s1_bottom']) * 1e4:>14.2f}")

    def get_check_details(check_type: str) -> tuple:
        """
        Returns the governing row of the check type and a reader for the values of its design check details.
        """
        governing = get_governing_check(design_ratios_df, check_type)
        details_df = rfem_app.get_results(
            results_type=rfem.results.CONCRETE_DESIGN_DESIGN_CHECK_DETAILS,
            filters=[
                rfem.results.ResultsFilter(
                    column_id="design_check_details_id",
                    filter_expression=str(governing["design_check_details_id"]),
                )
            ],
        ).data
        return governing, lambda key: float(details_df.loc[details_df["key"] == key, "value_si"].values[0])

    # Details of the bending design into direction 1: top side over the support, bottom side in the span
    top, top_value = get_check_details("UL0101.01")             # 1st direction on top side (-z)
    bottom, bottom_value = get_check_details("UL0101.03")       # 1st direction on bottom side (+z)

    rfem_values = {
        "d": bottom_value("d_1_z_bottom") * 1e3,
        "m_ed_top": -top_value("m_x") / 1e3,
        "z_top": top_value("z_1_z_top") * 1e3,
        "a_s_req_top": top_value("a_s_dim_1_z_top") * 1e4,
        "eta_top": float(top["design_ratio"]),
        "m_ed_bottom": bottom_value("m_x") / 1e3,
        "z_bottom": bottom_value("z_1_z_bottom") * 1e3,
        "a_s_req_bottom": bottom_value("a_s_dim_1_z_bottom") * 1e4,
        "eta_bottom": float(bottom["design_ratio"]),
        "eta_min": float(get_governing_check(design_ratios_df, "DM0300.04")["design_ratio"]),
        "eta_sec": float(get_governing_check(design_ratios_df, "DM0308.02")["design_ratio"]),
    }

    print(f"\nBending design into direction 1 (UL0101.01 top in {top['loading']}, "
          f"UL0101.03 bottom in {bottom['loading']}) | comparison with the hand calculation:")
    print_comparison(rfem_values, REFERENCE)
    print(f"\nMaximum sagging moment at x = {x_max:.2f} m; RFEM designs the nearest mesh node.")
    print(f"RFEM: steel stress sigma_s = {bottom_value('sigma_s_1_z_bottom') / 1e6:.0f} MPa "
          f"(hand calc.: f_yd = {F_YD / 1e6:.0f} MPa), lever arm used for both directions "
          f"z_min = {top_value('z_min_z_top') * 1e3:.1f} mm (top), {bottom_value('z_min_z_bottom') * 1e3:.1f} mm (bottom)")