Shell formulation
How does a flat triangular shell represent membrane and bending response?
A shell replaces a thin wall’s volume with a mid-surface and a thickness. Its assumptions describe how material moves through that thickness. KoFEM combines a constant-strain triangle (CST) for in-plane stretching with a discrete Kirchhoff triangle (DKT) for bending.
Choose the physical idealisation
Use a shell when thickness is small relative to the lengths over which deformation changes, and through-thickness normal and transverse-shear deformation do not control the answer. A thin wall meshed as a solid still solves three-dimensional elasticity with translational unknowns; it needs enough volume elements to resolve bending through its thickness. Refining that mesh does not turn it into a shell.
In KoFEM, choose Solid or Shell explicitly for each body in the geometry panel. Solid is the default. Shell asks the meshing pipeline to identify opposite planar wall faces, collapse them to mid-surfaces and assign their measured normal separation as thickness. It can retain solid material at roots and bulk regions, producing a mixed shell–solid model. Inspect the resulting FEM discretisation before solving.
Keep a region solid when thickness effects, local bearing, a joint or three-dimensional stress is the question. A shell’s surface von Mises value cannot resolve those effects. See retained solid transition regions.
Mid-surface motion and local axes
The formulation is static, small-strain and linear elastic, with an isotropic, homogeneous material through each section. It uses a Kirchhoff–Love assumption: a line initially normal to the mid-surface stays straight, normal and unstretched. There is no transverse-shear energy, geometric nonlinearity, plasticity, buckling analysis or laminate law.

Each three-node facet has six unknowns per node: three translations and three small rotations, giving an 18-component element vector. Both vectors are stored in global axes. Locally, runs from node 0 to node 1, is the normalized cross product of the two edges from node 0, and . Node winding therefore fixes the normal. The code rotates translations and rotations into this right-handed basis for element calculations, then transforms stiffness back to global axes.
Let be local surface coordinates and the signed distance along , with . Mid-surface translations are ; local rotations about are . The physical section motion is:
Zero transverse shear gives and in the smooth theory. DKT imposes the Kirchhoff constraint discretely, using quadratic rotation interpolation expressed in the three corner nodes’ displacement and rotation coefficients. It needs a connected triangle mesh with shared nodal coefficients, rather than a classical smooth plate approximation with continuous first derivatives. Rotations are independent algebraic unknowns, so they are not obtained by simply differentiating a linear triangle’s displacement.
The rotation about the facet normal is the drilling rotation. The physical CST/DKT blocks do not supply its stiffness. KoFEM adds a small diagonal stabilization, times the mean bending diagonal per facet. This removes a numerical singularity; it is not a physical torsional constitutive law.
Membrane and bending stiffness
Use the shared engineering-shear convention. The membrane strain vector contains two normal strains and the in-plane engineering shear. The curvature vector has units of inverse length and includes the doubled twisting curvature:
The CST membrane strain is constant on a facet. DKT curvature varies across it. With Young’s modulus and Poisson ratio , the plane-stress matrix is:
Write and , where the local coefficient vectors contain respectively the six in-plane and nine bending unknowns. On facet area , the two stiffness contributions are:
The membrane integral is constant times area. Bending uses three mid-edge points of equal weight . The flat, centred, homogeneous section has no membrane–bending material coupling term. Facets in different orientations still interact through shared global unknowns. Curved geometry is approximated by flat facets and needs geometric refinement as well as a displacement check.

Thickness matters strongly: membrane stiffness scales with , bending stiffness with . Doubling thickness multiplies these by 2 and 8. Thickness is a section property, not the triangle edge size. Check both when refining.
Stress resultants and surface stress
Shell force resultants integrate in-plane stress through thickness; moment resultants integrate stress times its thickness coordinate. Each is a three-component local vector, ordered . For the centred section:
With N and mm, stress is MPa, is N/mm and is N·mm/mm (numerically N). These resultants are useful theory quantities; KoFEM’s static result does not return them as separate fields. See the shared shell notation.
The implementation evaluates membrane strain and bending curvature at each facet centroid, forms plane-stress von Mises at , and returns the larger surface value. It returns three translations per node for the displacement field, rather than the six-component internal vector. A surface maximum loses the tension/compression sign and which side governed. It omits transverse normal and transverse shear stress; it is not a three-dimensional junction-stress estimate. Viewport smoothing adds the separate display recovery.
Drag to rotate · scroll to zoom
Current inputs and limitations
| Input | Current behavior |
|---|---|
| CAD body selection | One active body per model may be idealised as Shell. A second is rejected, even if it uses the same material. This guard concerns CAD idealisation, not a limit of one triangle or one wall. |
| Materials and sections | Explicit all-CTRIA3 models may have several section properties, each with its own thickness and material: every facet uses its own body’s E and ν in the stiffness and the stress recovery. Mixed models do the same for their shell facets, and their explicit solid domain supports per-tet materials. Topology optimization still needs one shell material. |
| Geometry extraction | Opposite planar faces are paired one to one, with planarity/area guards and a wall-separation cap of 15 in the app’s mm coordinates. A face whose opposite side is split by a wall standing on it, such as an I-section flange, pairs with the split pieces together. Convex corners share mid-surface nodes. At a planar T-junction the standing wall’s mid-surface is extended to the other wall’s mid-plane and imprinted into its facets. Curved walls and other branched sections are not reconstructed; check the reported wall count before trusting a section. |
| Surface loads | Uniform total face force, per-area traction and pressure become facet nodal forces, using one third of the facet contribution at each node. A total edge force is shared by edge length, half to each endpoint. Positive shell pressure acts against the winding normal. Pressure and per-area traction on edges are rejected. |
| Moments and restraints | Pure-shell payloads accept nodal forces/moments and fixed or prescribed components 0–5. App moment groups normally become force couples. Mixed/idealised models use different rotation rules; see the coupling article. An all-shell model with a declared surface-to-point coupling is rejected. |
Shell selection expresses modelling intent; it does not prove successful idealisation. Check wall coverage, connectivity, normal direction, thickness and the retained solid. No detected wall produces an explicit error; detecting one wall does not certify that every wall was found. Revisit the idealisation when section geometry, load application or the quantity of interest changes.
Check a uniformly loaded square plate
The plate check uses a square of side , thickness , , and uniform transverse load . One coherent interpretation is m, N, Pa: , , and . These are normalized verification inputs, not the app’s mm/MPa defaults or a steel example. The test applies toward the positive local normal; this is the opposite sign to positive app shell pressure.
Timoshenko and Woinowsky-Krieger give the small-deflection plate results below, with flexural rigidity . is centre deflection; is either centre bending moment resultant for the simply supported square:
The mesh has 32 × 32 cells, two DKT/CST triangles per cell, and coefficients before constraints. Clamped edges fix all six components. Simply supported edges fix normal translation and leave tangential bending rotations free; the test fixes in-plane translations and drilling everywhere to isolate bending. Facet area loads are split equally over their three nodes. CG stops at a relative residual of , as the app’s shell solve does.
| Quantity | Measured | Reference | Relative error | Test band |
|---|---|---|---|---|
| Clamped centre deflection (m) | 0.00138442 | 0.00137592 | 0.618% | 1.5% |
| Simply supported centre deflection (m) | 0.00443346 | 0.00443352 | 0.00129% | 1% |
| Simply supported centre-near surface von Mises (Pa) | 2869.59 | 2874 | 0.153% | 8% |
At the simply supported centre the bending state is equal biaxial, so the surface von Mises reference is . Recovery samples the closest facet centroid, not the exact centre. The inherited bands allow discretisation, rounded reference coefficients and that sampling offset; the 8% stress band is a regression threshold, not a general stress accuracy promise. This single mesh verifies these responses, not a convergence rate. The linear calculation also omits membrane stretching caused by large deflection; scale load down when a physical study needs deflection much smaller than thickness.
The numerical record stores every measured value. It was recorded with KoFEM’s former C++ shell core, before the shell solve moved to the Rust module as a step-for-step port. The Rust tests check the same plates against the same references and bands. Neither exercises CAD extraction or the browser wrappers. The transition comparison addresses a separate load-transfer question.
Implementation and references
- Batoz, Bathe and Ho (1980), A study of three-node triangular plate bending elements, International Journal for Numerical Methods in Engineering 15, 1771–1812. This is the DKT reference, not a validation of KoFEM’s complete shell workflow.
- Timoshenko and Woinowsky-Krieger, Theory of Plates and Shells, 2nd ed. (1959), uniformly loaded square plates.
- CST membrane, DKT interpolation and stiffness, local basis and drilling stabilization, surface stress recovery and the app’s shell solve.
- one-Shell-body guard, shell material and thickness resolution, wall pairing, mid-surface construction, load distribution and the plate cases.