Skip to content

Simply supported beam — Static linear elastic — 3D Solid elements

A simply-supported beam modelled as a solid box (L x b x h). Pinned at x=0 and x=L faces. Uniform load applied as nodal forces.

Analytical, all in mm / N / MPa: I = b * h^3 / 12 = 50 * 100^3 / 12 = 4,166,667 mm^4 delta_mid = -5 * w * L^4 / (384 * E * I) R_each = w * L / 2

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

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

The result: the deformed shape coloured by stress (vonMises [MPa])

The deformed shape, coloured by stress (vonMises [MPa]), in xfea’s 3D viewer.

Open in 3D turn it, cut it, pick any field: in xfea's viewer, in your browser

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

Quantity / reference fromxfeaReferenceDeviationTolerance
Mid-span deflection (z) [mm]
analytical
-2.3211-2.3812.52 %5 %
Reaction Rz at x=0 [N]
analytical
9991.7100000.08 %5 %
Reaction Rz at x=L [N]
analytical
10008100000.08 %5 %

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

from xfea.problem import Problem, StaticStep
from xfea.results import DisplacementFieldResults, ReactionFieldResults, StressFieldResults
from _bench_utils import (
simply_supported_beam_3d,
compare,
out_dir,
sum_reactions,
)
# ── Model ─────────────────────────────────────────────────────────────────
model, part, start_nodes, end_nodes, mid_nodes, material, section, L, b, h = simply_supported_beam_3d()
# ── Load ──────────────────────────────────────────────────────────────────
w = 10.0
total_load = w * L
load_per_node = -total_load / max(1, len(part.nodes))
problem = model.add_problem(Problem(name="ss_static_3d"))
step = problem.add_step(StaticStep(name="service"))
step.add_uniform_forcefield(nodes=part.nodes, z=load_per_node, load_case="service")
disp = DisplacementFieldResults()
react = ReactionFieldResults()
stress = StressFieldResults()
step.add_field_outputs([disp, react, stress])
problem.analyse_and_extract(path=out_dir(model.name), verbose=True)
# ── Analytical references (raw numbers, independent of library) ───────────
w_val = 10.0
L_mm = 2000.0
E_MPa = 210_000.0
b_mm = 50.0
h_mm = 100.0
I_mm4 = b_mm * h_mm**3 / 12.0
delta_ref_mm = -5.0 * w_val * L_mm**4 / (384.0 * E_MPa * I_mm4)
R_ref_N = w_val * L_mm / 2.0
# ── Comparison ────────────────────────────────────────────────────────────
print()
print("=" * 65)
print("Simply Supported Beam — Static Linear Elastic — 3D Solid Elements")
print("=" * 65)
print()
delta_fea = disp.get_min_result("z").z
fea_mm = float(delta_fea)
compare("Mid-span deflection (z) [mm]", fea_mm, delta_ref_mm, tol_pct=5.0)
Rz_start = sum_reactions(react, start_nodes, "z")
fea_rz0 = float(Rz_start)
compare("Reaction Rz at x=0 [N]", fea_rz0, R_ref_N, tol_pct=5.0)
Rz_end = sum_reactions(react, end_nodes, "z")
fea_rzL = float(Rz_end)
compare("Reaction Rz at x=L [N]", fea_rzL, R_ref_N, tol_pct=5.0)

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