Column Flexural Buckling#

../../../../../_images/steel_design_column_flexural_buckling.png

Checking a pinned steel column for flexural buckling acc. to EN 1993-1-1, 6.3.1, and comparing the result with a published worked example:

  • Model a pinned HEB 340 column in S355 with a buckling length of 4.335 m

  • Apply the design axial force NEd = 3326 kN

  • Define the steel design configuration and the effective lengths

  • Perform the calculation and the steel design check

  • Read the slenderness, the reduction factor χ and the buckling resistance Nb,Rd from the design check details

  • Compare the values with the reference

Keywords:
flexural buckling steel column effective lengths buckling resistance design check details verification example

Note

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

Effective lengths with intermediate supports are shown in Effective Lengths.

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

# -------------------------------------------------------
# This example demonstrates the flexural buckling check of a pinned steel column
# in accordance with EN 1993-1-1 (CEN, recommended values).
#
# Reference:
#   JRC - Eurocodes: Background & Applications - Design of Steel Buildings
#   (EUR 27346 EN, 2015), Chapter 1, Example 3.
#
#   HEB 340, S355, pinned at both ends, L = Lcr,y = Lcr,z = 4.335 m,
#   design axial force NEd = 3326 kN (already factored), gamma_M1 = 1.0.
#
# The script creates the model, runs the steel design and compares the
# results of the governing check (flexural buckling about the minor axis)
# with the values published in the reference.
# -------------------------------------------------------


# Input data of the reference example (SI units)
COLUMN_LENGTH = 4.335   # m
N_ED = 3326e3           # N

# Results published in the reference
REFERENCE = {
    "lambdaand_773_z": (0.75, "-", "Non-dimensional slenderness about z"),
    "chi_z": (0.69, "-", "Reduction factor chi_z (buckling curve c)"),
    "n_b_z_rd": (4186.0, "kN", "Buckling resistance Nb,z,Rd"),
    "eta": (0.79, "-", "Design ratio NEd / Nb,Rd"),
}


def define_structure() -> list:

    # The column is vertical (global Z axis points downwards), pinned at the base
    # and held horizontally at the top. Torsion is restrained at the base only.

    return [

        rfem.structure_core.Material(
            no=1,
            name="S355",
        ),
        rfem.structure_core.CrossSection(
            no=1,
            name="HEB 340",
            material=1,
        ),

        rfem.structure_core.Node(
            no=1,
        ),
        rfem.structure_core.Node(
            no=2,
            coordinate_3=-COLUMN_LENGTH,
        ),
        rfem.structure_core.Line(
            no=1,
            definition_nodes=[1, 2],
        ),
        rfem.structure_core.Member(
            no=1,
            line=1,
            cross_section_start=1,
        ),

        rfem.types_for_nodes.NodalSupport(
            no=1,
            user_defined_name_enabled=True,
            name="Pinned base",
            nodes=[1],
            spring=common.Vector3d(x=inf, y=inf, z=inf),
            rotational_restraint=common.Vector3d(x=0, y=0, 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 the design axial force directly, so a single load case
    # is combined with the factor 1.0 in a user-defined load combination.

    return [

        rfem.loading.StaticAnalysisSettings(
            no=1,
        ),
        rfem.loading.LoadCase(
            no=1,
            name="Design load NEd",
            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="NEd",
            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=N_ED,
        ),
    ]


def define_steel_design() -> list:

    # Buckling lengths follow from the member length (factor 1.0 about both axes).
    # Lateral-torsional buckling is not relevant for a column in pure compression.

    return [

        rfem.steel_design_objects.SteelDesignUlsConfiguration(
            no=1,
            assigned_to_all_members=True,
        ),
        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,
        ),
    ]


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 get_design_check_values(details_df: pandas.DataFrame) -> pandas.DataFrame:
    """
    Returns only the rows of the section 'Design Check Values' of the design check details.

    The keys in the details table are not unique across its sections (for example 'i_z' is
    used for the moment of inertia as well as for the radius of gyration), so the lookup is
    restricted to the section that belongs to the design check itself.
    """
    start = details_df.index[details_df["key"] == "design_check_values"][0]
    return details_df.loc[start:]


# Scale factors from SI units to the units used in the reference
UNIT_SCALE = {"-": 1.0, "kN": 1e3, "kNm": 1e3}


def print_comparison(check_values_df: pandas.DataFrame, reference: dict) -> None:
    """
    Prints the RFEM values next to the reference values with their deviation.
    The column 'value' holds the rounded display value as text, so the full-precision
    column 'value_si' is used and converted to the unit of the reference.
    """
    print(f"\n{'Quantity':<45}{'RFEM':>12}{'Reference':>12}{'Deviation':>12}")
    for key, (ref_value, unit, caption) in reference.items():
        row = check_values_df.loc[check_values_df["key"] == key].iloc[0]
        rfem_value = float(row["value_si"]) / UNIT_SCALE[unit]
        deviation = (rfem_value - ref_value) / ref_value * 100
        print(f"{caption + ' [' + unit + ']':<45}{rfem_value:>12.3f}{ref_value:>12.3f}{deviation:>11.1f}%")


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

with rfem.Application() as rfem_app:

    # Initialize model
    rfem_app.create_model(name="steel_design_column_flexural_buckling")

    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)

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

    # Calculate model
    rfem_app.calculate_all(skip_warnings=True)

    # Design ratios of all checks, the maximum per check type
    design_ratios_df = rfem_app.get_results(
        results_type=rfem.results.STEEL_DESIGN_MEMBERS_DESIGN_RATIOS,
    ).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", "design_check_description"]].to_string(index=False))

    # Details of flexural buckling about the minor axis
    check_type = "ST1300.00"  # Flexural buckling about principal z-axis acc. to EN 1993-1-1, 6.3.1
    governing = get_governing_check(design_ratios_df, check_type)
    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

    print(f"\n{check_type} | {governing['design_check_description']} | comparison with JRC Example 3:")
    print_comparison(get_design_check_values(details_df), REFERENCE)