Chapter 16
Static analysis
This chapter describes how Statiko finds the internal forces, reactions and deflections of your beam. For each load combination the app solves the factored beam with its own finite-element model, then reads every check from that one result. Knowing how the model is built helps you place supports and loads so the result is what you intend, and tells you why a beam is refused as a mechanism.
Kernel paths in this chapter are under engineering/src/jvmAndAndroidMain/kotlin/statiko/engineering/.
The beam model
Eurocode does not prescribe a beam analysis formulation; EN 1990 and EN 1993-1-1 leave the structural analysis method to the designer. Statiko uses its own finite-element method: one-dimensional Euler–Bernoulli beam elements with cubic Hermite shape functions and no shear deformation. Each node has two degrees of freedom, the vertical displacement v and the rotation θ. An internal hinge gives its node a second, independent rotation, so the left and right sides can turn separately.
Within each element, the linearly varying distributed load is added back through the exact particular solution of EI·w'''' = q. The moments, shears and deflections are therefore exact at every point for the load types a beam carries, not only at the nodes. The analysis is linear elastic and first order, and bending is about the strong axis.
Source: fem/dof/BeamBendingDofs.kt:3-9; fem/statics/ExactBeamModel.kt:115-123; fem/statics/ExactBeamElement.kt; ai/architecture/engineering-rules.md, Eurocode first, FEM beyond, practice always.
What feeds the model
- Supports. Their positions and the directions they restrain, and internal hinges. The member runs from the first support to the last.
- Loads. Point forces, moments (with a hinge side when placed on a hinge) and distributed loads with a start and end intensity, each with its Y and Z offset.
- Section and material. The bending stiffness EI uses the strong-axis second moment of area of the section and the elastic modulus E, 210 GPa for steel. Timber keeps its mean stiffness in the static analysis.
- Self-weight. When Include self-weight is on, added as a uniform load over the whole member, w = 9.81 × mass per metre, multiplied by the dead-load coefficient of the combination (
calculation/StaticBeamCalculationService.kt:343-357). - The combination. Every load is first scaled by its combination coefficient (Chapter 15).
Source: calculation/BeamKernelModel.kt:12-53; fem/statics/StaticBeamAnalysisCalculator.kt:29; verification/BeamSectionAnalysisProperties.kt:46-51.
Mesh and stations
Analysis nodes sit at every support, point load, moment load and distributed-load end. Result stations add 250 equal divisions of the member and a neighbour 1 mm either side of every support and load, so peaks and jumps are caught. Positions closer than about 1 mm are merged into one node.
Two placement rules keep loads from vanishing into a free degree of freedom: a point load on a hinge is moved 1 mm to the right, and a moment on a hinge is moved 1 mm to the side you chose. At a node the app reports both the left and the right value, so a jump in the shear force shows in the graph.
Source: fem/element/UnequalElementStrategy.kt:65-96; fem/element/MinimumNodeSpacing.kt:21-34; project/src/commonMain/kotlin/statiko/project/domain/support/BeamNodeSpacing.kt:7-11; ai/architecture/engineering-rules.md, mesh rules 1 and 2.
Element stiffness and loads
The element stiffness matrix for the degrees of freedom (v1, θ1, v2, θ2) of an element of length L is:
fem/matrix/BeamBendingMatrices.kt:86-96A distributed load varying from w1 to w2 over the element gives the equivalent nodal loads:
fem/statics/ExactBeamElement.kt:11-16Point forces act on the vertical degree of freedom of their node; a moment acts on the rotation of its side.
Supports, solution and mechanisms
A support that restrains vertical translation fixes v; one that restrains rotation fixes θ. Before solving, Statiko checks the reduced stiffness matrix by Gaussian elimination with scaled partial pivoting and treats it as singular when a pivot is at most 10−10 times its row scale. A singular beam is refused with the message "The beam is a mechanism: its supports and hinges allow free movement"; it is never solved.
The remaining system Kff · uf = Ff is solved with the LAPACK routine dgesv (LU factorisation with partial pivoting).
Source: fem/statics/ExactBeamModel.kt:57-68, 142-148; fem/statics/StiffnessStability.kt:4-26; fem/statics/UnstableBeamException.kt:3-4; linalg/LinAlgImpl.kt:133-171.
Reactions, moments, shears and deflections
fem/statics/ExactBeamModel.kt:150-166Within an element the displacement is the Hermite interpolation of the nodal values plus the particular solution vp(s) = (w1s⁴/24 + (w2 − w1)/L · s⁵/120) / EI, corrected so the nodal values are kept. From it:
fem/statics/ExactBeamElement.kt:18-48Sagging moments are positive. Values smaller than 10−9 are shown as zero. The reactions, the result graphs and every check of the selected combination read this one result (Chapter 11).
Torsion
When the shear centre is offset from the centroid by more than 10−6 m, or a load has an offset, Statiko runs a second finite-element model for torsion. Each node has the twist θ and its gradient θ′ (warping). The element stiffness combines warping and St Venant torsion:
fem/matrix/TorsionMatrices.kt:13-35; fem/torsion/TorsionMatrixAssembly.kt:59-71fem/torsion/TorsionMatrixAssembly.kt:73-107A support that holds a translation fixes the twist; one that holds a rotation also fixes warping. The torsion constant It, the warping constant Iw and the shear centre come from the finite-element section analysis. The torque, twist and twist gradient at each station feed the steel shear, torsion and warping checks (Chapter 18).
Source: verification/BeamTorsionAnalysis.kt:7-15, 104; fem/data/SupportRestraints.kt:50-55; fem/torsion/TorsionPostProcessor.kt:15-46.
Limits
- Linear elastic, first-order analysis with Euler–Bernoulli elements; shear deformation is not included.
- Vertical loads and strong-axis bending only. A non-zero axial load makes the beam checks Unsupported: axial force is not available in this version of the beam.
- Torsion is not analysed when the section is symmetric about the load line and every load is central.