Skip to content

Simply supported beam — Modal analysis — 3D Solid elements

Free-vibration analysis of a simply-supported beam modelled as a solid box (L x b x h).

The solid model captures both bending axes, so modes interleave: I_strong = bh^3/12 = 4.1667e-6 m^4 I_weak = hb^3/12 = 1.0417e-6 m^4

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

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, 6 of 6 checks pass.

Quantity / reference fromxfeaReferenceDeviationTolerance
weak-axis n=1
analytical
29.28929.3170.09 %10 %
strong-axis n=1
analytical
58.39558.6330.41 %10 %
weak-axis n=2
analytical
116.83117.270.37 %10 %
strong-axis n=2
analytical
230.8234.531.59 %10 %
weak-axis n=3
analytical
261.66263.850.83 %10 %
strong-axis n=3
analytical
509.47527.73.46 %10 %

examples/scripts/04_reference_cases/benchmarks/simply_supported_modal_3d.py. Run it from the repository with uv run python examples/scripts/04_reference_cases/benchmarks/simply_supported_modal_3d.py, or, with xfea-examples installed, xfea-examples run 04_reference_cases/benchmarks/simply_supported_modal_3d.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_3d,
ss_analytical_frequencies,
)
# ── Model ─────────────────────────────────────────────────────────────────
model, part, start_nodes, end_nodes, mid_nodes, material, section, L, b, h = simply_supported_beam_3d(
name="bench_ss_modal_3d",
)
# ── Problem ───────────────────────────────────────────────────────────────
problem = model.add_problem(Problem(name="ss_modal_3d"))
modal = ModalAnalysis(modes=10)
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 — 3D Solid Elements")
print("=" * 65)
print()
match_and_compare_frequencies(fea_freqs, ref, tol_pct=10.0)

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