Files
FemLite/examples/euler_column_buckling

Euler Column Buckling Benchmark

This benchmark verifies the V5 main-solver linear buckling path on a pinned-pinned Euler-Bernoulli column with a known analytical critical load:

Pcr = pi^2 E I / (K L)^2

The default example path runs:

build-win-gcc-16\femlite.exe examples\euler_column_buckling\euler_column_buckling.inp --buckling --output-dir examples\euler_column_buckling\results\auto_run

The main executable reads *BUCKLING COLUMN, assembles the column through fem_buckling_column, and calls the production geom_beam2d_column_stiffness, buckling_dense_solve and buckling_euler_column_load routines from femlite_core. The legacy benchmark executable is only a thin wrapper around the same production module.

Files:

  • euler_column_buckling.inp: benchmark input with E, I, L, element count and effective length factor.
  • check_buckling_results.py: CTest checker for the femlite --buckling workflow.
  • run_case.bat: double-click runner that builds and calls femlite.

Generated outputs:

  • buckling_summary.csv: Euler reference, computed first three load factors, residual, relative error and KG mode normalization.
  • buckling_mode_1.csv: first-mode transverse displacement and rotation by column node.

Acceptance:

  • First buckling load relative error must be at most 2.0e-2.
  • First modal residual must be at most 1.0e-8.
  • The first mode must be normalized such that phi^T KG phi = 1.
  • Pinned-end transverse displacement must remain zero.