Simply supported beam — Modal analysis — 2D Shell elements
Free-vibration analysis of a simply-supported beam modelled as a plate (L x b, t = h).
For the 2D shell model the plate bends only out-of-plane, so we compare against the strong-axis Euler-Bernoulli frequency: I = b * h^3 / 12
Analytical: f_n = (n * pi / L)^2 / (2 * pi) * sqrt(E * I / (rho * A))

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
Verification
Section titled “Verification”In the latest verification run, on 2026-11-21, through the conversion service as users solve, 2 of 3 checks pass.
| Quantity / reference from | xfea | Reference | Deviation | Tolerance | |
|---|---|---|---|---|---|
| bending mode n=1 analytical | 62.981 | 58.633 | 7.42 % | 5 % | |
| bending mode n=2 analytical | 232.6 | 234.53 | 0.82 % | 5 % | |
| bending mode n=3 analytical | 552.49 | 527.7 | 4.70 % | 5 % |
The script
Section titled “The script”examples/scripts/04_reference_cases/benchmarks/simply_supported_modal_2d.py. Run it from the repository with uv run python examples/scripts/04_reference_cases/benchmarks/simply_supported_modal_2d.py, or, with xfea-examples installed, xfea-examples run 04_reference_cases/benchmarks/simply_supported_modal_2d.py.
from xfea.problem import ModalAnalysis, Problem
from _bench_utils import ( A_M2, E_PA, I_STRONG_M4, L_SS_M, RHO_KGM3, euler_bernoulli_frequency, match_and_compare_frequencies, out_dir, simply_supported_beam_2d,)
# ── Model ─────────────────────────────────────────────────────────────────model, part, start_nodes, end_nodes, mid_nodes, material, section, L, b, h = simply_supported_beam_2d( name="bench_ss_modal_2d",)
# ── Problem ───────────────────────────────────────────────────────────────problem = model.add_problem(Problem(name="ss_modal_2d"))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 = [ (euler_bernoulli_frequency(n, L_SS_M, E_PA, I_STRONG_M4, RHO_KGM3, A_M2, mode="ss"), f"bending mode n={n}") for n in [1, 2, 3]]
# ── Comparison ────────────────────────────────────────────────────────────fea_freqs = list(modal.frequencies)
print()print("=" * 65)print("Simply Supported Beam — Modal Analysis — 2D Shell Elements")print("=" * 65)print()
match_and_compare_frequencies(fea_freqs, ref, tol_pct=5.0)© 2026 Francesco Ranaudo · Text and pictures CC BY 4.0 · Code Elastic License 2.0 · how to reuse them