Section 7.1 of Chapter 7: Total Lagrangian Formulation (TL), 2D Isoparametric Beam Element
Cantilever Beam
A complete Total Lagrangian formulation for a straight, prismatic two-node Timoshenko beam element, including exact displacement kinematics, the consistent tangent matrix, Newton–Raphson solution, and MATLAB implementation.
Total LagrangianTimoshenko beamLarge displacementsMATLAB
01
Model, hypotheses, and notation
The initial, undeformed configuration is used as the reference. The displacement components u and v are measured in the fixed xy frame and may be large, so the equilibrium problem is highly nonlinear.
StrainSmall
MaterialLinear elastic
DisplacementLarge
Beam modelTimoshenko
ElementStraight, prismatic, two-node
ReferenceInitial undeformed configuration
For the Timoshenko beam model in the small-displacement limit,
⎩⎨⎧κβφφ=dxdψ=EIM=GA0T=dxdv=ψ+β
ε0=EAN
Figure 1. Timoshenko kinematics: rotation of the normal φ, rotation of the cross-section ψ, and shear angle β.
As in Sections 5.2 and 5.3, β denotes the shear angle, φ the rotation of the normal, and ψ the rotation of the cross-section. Thus, the angular nodal degree of freedom of the Timoshenko beam element is ψ, not φ.
β=φ−ψ
For the Timoshenko beam model, the angular nodal degree of freedom is ψ, not φ. The same distinction is used in Sections 5.2 and 5.3.
N,T,M
axial force, shear force, and bending moment
E,G
Young's modulus and shear modulus
A,A0,I
cross-sectional area, shear area, and second moment of area
u,v
displacements along the initial x and y axes
02
Exact kinematics and generalized strains
Figure 2. Cantilever loading and differential geometry used to define the rotation and axial strain.
From the geometry shown above, the rotation of the normal is:
tanφ=1+u′v′
All derivatives in this formulation are taken with respect to the axial coordinate x of the initial configuration:
u′=dxdu,v′=dxdv
The generalized strain vector is:
ε=⎩⎨⎧ε0βκ⎭⎬⎫
Pythagoras' theorem applied to the differential neutral-axis segment gives:
dxˉ=(1+u′)2+v′2dx
and therefore the exact axial strain of the neutral axis is:
ε0=dxdxˉ−1=(1+u′)2+v′2−1
The curvature and shear angle are:
κ=dxdψ
β=atan(1+u′v′)−ψ
03
Isoparametric interpolation
A two-node isoparametric beam element is adopted. To avoid using the same symbol for arc length and the beam natural coordinate, the natural coordinate is denoted by ξ∈[−1,1].
x(ξ)=h1(ξ)x1+h2(ξ)x2,y(ξ)=h1(ξ)y1+h2(ξ)y2
h1(ξ)=21−ξ,h2(ξ)=21+ξ
The same linear functions interpolate the displacement components and cross-section rotation:
The assembled residual vector and tangent stiffness matrix are:
Ψ=el∑fel−F,Kt=el∑kel
Equivalently, with total potential energy Π=U−uTF,
Ψ=∂u∂Π=∂u∂U−F=0
The Newton–Raphson iteration is:
Δu(i)=−[Kt(u(i))]−1Ψ(u(i))
u(i+1)=u(i)+Δu(i)
main.mNewton–Raphson loop
%*** main ***
error = 1;
iter = 0;
while (error > tol) && (iter < itermax)
iter = iter + 1;
stiff
dS = K\F;
S = S - dS;
error = sqrt(dS'*dS/nnd);
end
The iteration is stopped when the displacement-correction norm is smaller than the prescribed tolerance. Four to eight iterations are usually sufficient for the examples considered.
Important remark. Within the adopted assumptions, the presented Total Lagrangian formulation does not introduce an incremental approximation associated with the number of load steps. Consequently, the solution error is not controlled by the number of load increments in the same way as in an incremental approximation; a single load step may be sufficient even for very large displacements.
Figure 3. Total Lagrangian description: u(x) and v(x) are defined on the initial element x∈[0,L].
07
Numerical examples
Both examples use L=100mm, a rectangular cross-section 5mm×1mm (width × thickness), and E=2×105MPa. The finite-element results are compared with the elliptic-integral values tabulated by Mattiasson [1].
Figure 4. Cantilever and positive transverse free-end force V.
Example a. The cantilever is loaded by V=100N and H=0.
Figure 5. Deformed cantilever for V=100N. The Total Lagrangian and elliptic-integral curves coincide visually.Figure 6. Maximum free-end axial displacement, transverse displacement, and rotation versus V.
Figure 7. Axial force along the deformed-beam arc length s. The equality N=EAε0 agrees with the force component Vsinφ.
Example b. The cantilever is loaded by V=100N and H=−200N.
Figure 8. Deformed cantilever under the combined free-end forces. The presented and elliptic-integral solutions coincide visually.
The elliptic-integral beam solution does not include the Timoshenko shear contribution. That contribution is included in the present formulation and is usually small for the slender beam used in these examples.
08
MATLAB programs
The package contains the complete Total Lagrangian analysis. deriv.m evaluates the generalized strains and derivatives; stiff.m forms and assembles the internal-force vector and tangent matrix; main.m performs load stepping and Newton–Raphson iterations; and the remaining files define the model, print results, and draw effort diagrams.
MATLAB compatibility
Prepared for MATLAB R2024a. The code uses standard MATLAB syntax and is expected to be compatible with R2024a and newer MATLAB versions. No additional toolbox is required.