Skip to content

Simply supported beam — Modal analysis — 1D Beam elements

Free-vibration analysis of a simply-supported beam (pinned at both ends).

Analytical (Euler-Bernoulli): f_n = (n * pi / L)^2 / (2 * pi) * sqrt(E * I / (rho * A))

The rectangular section has two bending axes; modes interleave by frequency.

The model before it is solved: parts, supports and loads

The model before it is solved: its parts, supports (red) and loads (blue).

Open in 3D turn it, cut it, hide parts: in xfea's viewer, in your browser

In the latest verification run, on 2026-11-21, through the conversion service as users solve, 5 of 6 checks pass.

Quantity / reference fromxfeaReferenceDeviationTolerance
weak-axis n=1
analytical
29.28929.3170.09 %2 %
strong-axis n=1
analytical
58.40758.6330.39 %2 %
weak-axis n=2
analytical
116.82117.270.38 %2 %
strong-axis n=2
analytical
230.99234.531.51 %2 %
weak-axis n=3
analytical
261.63263.850.84 %2 %
strong-axis n=3
analytical
0.0004023527.7100.00 %2 %

examples/scripts/04_reference_cases/benchmarks/simply_supported_modal_1d.py. Run it from the repository with uv run python examples/scripts/04_reference_cases/benchmarks/simply_supported_modal_1d.py, or, with xfea-examples installed, xfea-examples run 04_reference_cases/benchmarks/simply_supported_modal_1d.py.

from xfea.problem import ModalAnalysis, Problem
from _bench_utils import (
A_M2,
E_PA,
I_STRONG_M4,
I_WEAK_M4,
L_SS_M,
RHO_KGM3,
match_and_compare_frequencies,
out_dir,
simply_supported_beam_1d,
ss_analytical_frequencies,
)
# ── Model ─────────────────────────────────────────────────────────────────
model, part, start_nodes, end_nodes, mid_nodes, material, section, length = simply_supported_beam_1d(
name="bench_ss_modal_1d",
)
# ── Problem ───────────────────────────────────────────────────────────────
problem = model.add_problem(Problem(name="ss_modal_1d"))
modal = ModalAnalysis(modes=6)
problem.add_step(modal)
problem.analyse_and_extract(path=out_dir(model.name), verbose=True)
# ── Analytical references (from raw SI constants, independent of library) ─
ref = ss_analytical_frequencies(
L_SS_M, E_PA, RHO_KGM3, A_M2, I_STRONG_M4, I_WEAK_M4, n_modes=3,
)
# ── Comparison ────────────────────────────────────────────────────────────
fea_freqs = list(modal.frequencies)
print()
print("=" * 65)
print("Simply Supported Beam — Modal Analysis — 1D Beam Elements")
print("=" * 65)
print()
match_and_compare_frequencies(fea_freqs, ref, tol_pct=2.0)

© 2026 Francesco Ranaudo · Text and pictures CC BY 4.0 · Code Elastic License 2.0 · how to reuse them