Beam-Column Interaction#

../../../../../_images/steel_design_beam_column_interaction.png

Checking a steel member in compression and bending acc. to EN 1993-1-1, 6.3.3, Eq. (6.61) and (6.62), with the interaction factors acc. to Method 1 (Annex A):

  • Model a column fixed at the base and pinned at the top, with a rigidly attached cantilever arm

  • Apply the point load at the top of the column and the line load on the arm

  • Define the effective lengths with the buckling length factor 0.7

  • Select Method 1 (Annex A) for the interaction factors in the ULS configuration

  • Perform the calculation and the steel design check

  • Read χy, χz, Cmy, kyy, kzy and the ratios of both equations from the design check details and compare them with the reference

Keywords:
beam-column interaction factors Annex A compression and bending effective lengths design check details verification example

Note

Reference: JRC - Eurocodes: Background & Applications - Design of Steel Buildings (EUR 27346 EN, 2015), Chapter 1, Example 8. The results of RFEM agree with the reference within 2 %.

How to switch the interaction factors to Method 2 (Annex B) and compare both methods is shown in Stability Methods.

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

# -------------------------------------------------------
# This example demonstrates the stability check of a steel member subjected to
# compression and bending (beam-column) acc. to EN 1993-1-1, 6.3.3, Eq. (6.61) and (6.62),
# with the interaction factors kyy, kzy determined by Method 1 (Annex A).
#
# Reference:
#   JRC - Eurocodes: Background & Applications - Design of Steel Buildings
#   (EUR 27346 EN, 2015), Chapter 1, Example 8.
#
#   Column A-B, L = 6.0 m, fixed at the base A, pinned and held horizontally at the top B.
#   A cantilever arm B-C (3.0 m) is rigidly attached at B and carries 15 kN/m,
#   a point load of 920 kN acts at B (design values).
#   RHS 200x150x8 hot-finished, S355, Lcr,y = Lcr,z = 0.7 L = 4.2 m.
#   NEd = 965 kN, My,Ed = 67.5 kNm (top) / -33.8 kNm (base).
#
# The script creates the model, runs the steel design and compares the components
# of Eq. (6.61) and (6.62) with the values published in the reference.
#
# How to switch the interaction factors to Method 2 (Annex B) and compare both
# methods is shown in the example steel_design_stability_methods.
# -------------------------------------------------------


COLUMN_LENGTH = 6.0     # m
ARM_LENGTH = 3.0        # m
LOAD_ARM = 15.0e3       # N/m
LOAD_TOP = 920.0e3      # N
BUCKLING_FACTOR = 0.7   # Lcr = 0.7 L (fixed - pinned)

# Results published in the reference for Method 1 (Annex A):
# key in the RFEM design check details: (value, caption)
REFERENCE = {
    "chi_y": (0.83, "Reduction factor chi_y"),
    "chi_z": (0.72, "Reduction factor chi_z"),
    "c_my": (0.60, "Equivalent uniform moment factor C_my"),
    "k_yy": (0.69, "Interaction factor k_yy"),
    "k_zy": (0.40, "Interaction factor k_zy"),
    "eta_6_61": (0.99, "Design ratio Eq. (6.61)"),
    "eta_6_62": (0.93, "Design ratio Eq. (6.62)"),
}


def define_structure() -> list:

    return [

        rfem.structure_core.Material(
            no=1,
            name="S355",
        ),
        rfem.structure_core.CrossSection(
            no=1,
            name="RHS 200x150x8.0",   # hot-finished acc. to EN 10210 ('RHS 200x150x8' is the cold-formed EN 10219 section)
            material=1,
        ),

        # Column A-B (vertical, global Z axis points downwards) and arm B-C
        rfem.structure_core.Node(no=1),
        rfem.structure_core.Node(no=2, coordinate_3=-COLUMN_LENGTH),
        rfem.structure_core.Node(no=3, coordinate_1=ARM_LENGTH, coordinate_3=-COLUMN_LENGTH),
        rfem.structure_core.Line(no=1, definition_nodes=[1, 2]),
        rfem.structure_core.Line(no=2, definition_nodes=[2, 3]),
        rfem.structure_core.Member(
            no=1,
            comment="Column A-B",
            line=1,
            cross_section_start=1,
        ),
        rfem.structure_core.Member(
            no=2,
            comment="Arm B-C",
            line=2,
            cross_section_start=1,
        ),

        rfem.types_for_nodes.NodalSupport(
            no=1,
            user_defined_name_enabled=True,
            name="Fixed",
            nodes=[1],
            spring=common.Vector3d(x=inf, y=inf, z=inf),
            rotational_restraint=common.Vector3d(x=inf, y=inf, z=inf),
        ),
        rfem.types_for_nodes.NodalSupport(
            no=2,
            user_defined_name_enabled=True,
            name="Held horizontally",
            nodes=[2],
            spring=common.Vector3d(x=inf, y=inf, z=0),
            rotational_restraint=common.Vector3d(x=0, y=0, z=0),
        ),
    ]


def define_loading() -> list:

    # The reference gives design values, so one load case is combined with factor 1.0.

    return [

        rfem.loading.StaticAnalysisSettings(no=1),
        rfem.loading.LoadCase(
            no=1,
            name="Design loads",
            static_analysis_settings=1,
            self_weight_active=False,
        ),
        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="Design loads",
            design_situation=1,
            static_analysis_settings=1,
            combination_rule_str="LC1",
        ),

        rfem.loads.NodalLoad(
            no=1,
            load_case=1,
            nodes=[2],
            load_direction=rfem.loads.NodalLoad.LOAD_DIRECTION_GLOBAL_Z_OR_USER_DEFINED_W_TRUE_LENGTH,
            force_magnitude=LOAD_TOP,
        ),
        rfem.loads.MemberLoad(
            no=1,
            load_case=1,
            members=[2],
            load_distribution=rfem.loads.MemberLoad.LOAD_DISTRIBUTION_UNIFORM,
            load_direction=rfem.loads.MemberLoad.LOAD_DIRECTION_GLOBAL_Z_OR_USER_DEFINED_W_TRUE_LENGTH,
            magnitude=LOAD_ARM,
        ),
    ]


def define_steel_design() -> list:

    # Only the column is designed. A hollow section is not susceptible to
    # lateral-torsional buckling (chi_LT = 1.0), so LTB is not considered.

    return [

        rfem.steel_design_objects.SteelDesignUlsConfiguration(
            no=1,
            assigned_to_members=[1],
        ),
        rfem.steel_design.SteelEffectiveLengths(
            no=1,
            members=[1],
            flexural_buckling_about_y=True,
            flexural_buckling_about_z=True,
            torsional_buckling=False,
            lateral_torsional_buckling=False,
            factors=rfem.steel_design.SteelEffectiveLengths.FactorsTable(
                rows=[
                    rfem.steel_design.SteelEffectiveLengths.FactorsRow(
                        flexural_buckling_u=BUCKLING_FACTOR,
                        flexural_buckling_v=BUCKLING_FACTOR,
                    ),
                ]
            ),
        ),
    ]


def select_annex_a(rfem_app: rfem.Application) -> None:
    """
    Selects Method 1 (Annex A) for the interaction factors kyy, kyz, kzy, kzz in the
    ULS configuration ("Stability" tab of the dialog), as used in the reference.
    """
    config = rfem_app.get_object(rfem.steel_design_objects.SteelDesignUlsConfiguration(no=1))
    settings = config.settings_ec3
    common.tree_table.set_values_by_key(tree=settings, key="param_k_annex_a", values=[True])
    rfem_app.update_object(
        rfem.steel_design_objects.SteelDesignUlsConfiguration(no=1, settings_ec3=settings)
    )


def get_check_values(rfem_app: rfem.Application, design_ratios_df: pandas.DataFrame, check_type: str) -> tuple:
    """
    Returns the governing row of the given check type together with the rows of
    the section 'Design Check Values' of its design check details.
    """
    rows = design_ratios_df[design_ratios_df["design_check_type"] == check_type]
    governing = rows.loc[rows["design_ratio"].idxmax()]
    details_df = rfem_app.get_results(
        results_type=rfem.results.STEEL_DESIGN_DESIGN_CHECK_DETAILS,
        filters=[
            rfem.results.ResultsFilter(
                column_id="design_check_details_id",
                filter_expression=str(governing["design_check_details_id"]),
            )
        ],
    ).data
    start = details_df.index[details_df["key"] == "design_check_values"][0]
    return governing, details_df.loc[start:]


def get_value(check_values_df: pandas.DataFrame, key: str) -> float:
    """
    Returns the full-precision SI value of a key ('value' holds the rounded display text).
    """
    row = check_values_df.loc[check_values_df["key"] == key]
    return float(row["value_si"].values[0])


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

with rfem.Application() as rfem_app:

    rfem_app.create_model(name="steel_design_beam_column_interaction")

    base_data = rfem_app.get_base_data()
    base_data.addons.steel_design_active = True
    base_data.standards.steel_design_standard = rfem.BaseData.Standards.STEEL_DESIGN_NATIONAL_ANNEX_AND_EDITION_EN_1993_CEN_2015_06_STANDARD
    rfem_app.set_base_data(base_data=base_data)

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

    select_annex_a(rfem_app)
    rfem_app.calculate_all(skip_warnings=True)

    design_ratios_df = rfem_app.get_results(
        results_type=rfem.results.STEEL_DESIGN_MEMBERS_DESIGN_RATIOS,
        member_no="1",
    ).data
    summary = design_ratios_df.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", "location_x", "design_check_description"]].to_string(index=False))

    # Stability check for compression and bending acc. to 6.3.3:
    # the details list the components of Eq. (6.61) and Eq. (6.62).
    governing, values = get_check_values(rfem_app, design_ratios_df, "ST3100.00")
    print(f"\n{governing['design_check_type']} | {governing['design_check_description']} | x = {governing['location_x']} m")
    print(f"N_c,Ed = {get_value(values, 'n_c_ed') / 1e3:.1f} kN, M_y,Ed = {get_value(values, 'm_y_ed') / 1e3:.1f} kNm")

    print("\nComparison with JRC Example 8 (Annex A):")
    print(f"\n{'Quantity':<42}{'RFEM':>10}{'Reference':>12}{'Deviation':>12}")
    for key, (ref_value, caption) in REFERENCE.items():
        rfem_value = get_value(values, key)
        deviation = (rfem_value - ref_value) / ref_value * 100
        print(f"{caption:<42}{rfem_value:>10.3f}{ref_value:>12.2f}{deviation:>11.1f}%")