01
Model and kinematics A straight, prismatic two-node beam element of constant cross-section is analysed in the global x y xy x y plane. Small strains, small displacements, and linear elastic material behaviour are assumed [1] .
The local x ˉ \bar x x ˉ axis coincides with the neutral axis of the element, while y ˉ \bar y y ˉ is a principal axis of the cross-section. The angle θ \theta θ defines the orientation of the local frame with respect to the global frame.
Each node has the local degrees of freedom u ˉ \bar u u ˉ , v ˉ \bar v v ˉ , and ψ \psi ψ . The global nodal displacement components are u u u , v v v , and ψ \psi ψ . The local element vector is:
u ˉ e l = { u ˉ 1 v ˉ 1 ψ 1 u ˉ 2 v ˉ 2 ψ 2 } \bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}=\begin{Bmatrix}\bar u_1\\[3pt]\bar v_1\\[3pt]\psi_1\\[3pt]\bar u_2\\[3pt]\bar v_2\\[3pt]\psi_2\end{Bmatrix} u ˉ e l = ⎩ ⎨ ⎧ u ˉ 1 v ˉ 1 ψ 1 u ˉ 2 v ˉ 2 ψ 2 ⎭ ⎬ ⎫ The rotation angle of the normal, the rotation angle of the cross-section, and the shear angle have the following expressions:
φ = d v ˉ d x ˉ , ψ = φ − β , β = T G A 0 \varphi=\frac{d\bar v}{d\bar x},\qquad \psi=\varphi-\beta,\qquad \beta=\frac{T}{GA_0} φ = d x ˉ d v ˉ , ψ = φ − β , β = G A 0 T The rotation of the cross-section is related to the bending moment by:
d ψ d x ˉ = M E I \frac{d\psi}{d\bar x}=\frac{M}{EI} d x ˉ d ψ = E I M The nodal angular degree of freedom is ψ \psi ψ , the rotation of the cross-section, not φ \varphi φ , the rotation of the normal.
The Euler–Bernoulli model is recovered when β = 0 \beta=0 β = 0 , so that φ = ψ \varphi=\psi φ = ψ .
02
Generalized strains and stresses For the Timoshenko beam, the generalized strain vector and its work-conjugate generalized stress vector are:
ε = { ε 0 , β , κ } T , σ = { N , T , M } T , σ = D ε \htmlClass{fea-math-bold-italic}{\boldsymbol{\varepsilon}}=\left\{\varepsilon_0,\beta,\kappa\right\}^{T},\qquad \htmlClass{fea-math-bold-italic}{\boldsymbol{\sigma}}=\left\{N,T,M\right\}^{T},\qquad \htmlClass{fea-math-bold-italic}{\boldsymbol{\sigma}}=\htmlClass{fea-math-bold-italic}{\boldsymbol D}\htmlClass{fea-math-bold-italic}{\boldsymbol{\varepsilon}} ε = { ε 0 , β , κ } T , σ = { N , T , M } T , σ = D ε ε 0 = d u ˉ d x ˉ , β = d v ˉ d x ˉ − ψ , κ = d ψ d x ˉ , D = [ E A 0 0 0 G A 0 0 0 0 E I ] \varepsilon_0=\frac{d\bar u}{d\bar x},\qquad \beta=\frac{d\bar v}{d\bar x}-\psi,\qquad \kappa=\frac{d\psi}{d\bar x},\qquad \htmlClass{fea-math-bold-italic}{\boldsymbol D}=\left[\begin{array}{ccc}EA&0&0\\[4pt]0&GA_0&0\\[4pt]0&0&EI\end{array}\right] ε 0 = d x ˉ d u ˉ , β = d x ˉ d v ˉ − ψ , κ = d x ˉ d ψ , D = E A 0 0 0 G A 0 0 0 0 E I { N T M } = [ E A 0 0 0 G A 0 0 0 0 E I ] { ε 0 β κ } \left\{\begin{array}{c}N\\[4pt]T\\[4pt]M\end{array}\right\}=\left[\begin{array}{ccc}EA&0&0\\[4pt]0&GA_0&0\\[4pt]0&0&EI\end{array}\right]\left\{\begin{array}{c}\varepsilon_0\\[4pt]\beta\\[4pt]\kappa\end{array}\right\} ⎩ ⎨ ⎧ N T M ⎭ ⎬ ⎫ = E A 0 0 0 G A 0 0 0 0 E I ⎩ ⎨ ⎧ ε 0 β κ ⎭ ⎬ ⎫ Here E and G are Young's modulus and the shear modulus; A , A 0 A_0 A 0 , and I are the cross-sectional area, effective shear area, and second moment of area. The generalized strains are the axial strain ε 0 \varepsilon_0 ε 0 , shear angle β \beta β , and curvature κ \kappa κ . Their work-conjugate generalized stresses are the axial force N , shear force T , and bending moment M .
For the nodal-load case used below, the shear force and therefore β \beta β are constant within an element. Consequently,
d β d x ˉ = 0 , d ψ d x ˉ = d φ d x ˉ , M = E I d φ d x ˉ \frac{d\beta}{d\bar x}=0,\qquad \frac{d\psi}{d\bar x}=\frac{d\varphi}{d\bar x},\qquad M=EI\frac{d\varphi}{d\bar x} d x ˉ d β = 0 , d x ˉ d ψ = d x ˉ d φ , M = E I d x ˉ d φ T = − d M d x ˉ = − E I d 2 φ d x ˉ 2 = − E I d 3 v ˉ d x ˉ 3 T=-\frac{dM}{d\bar x}=-EI\frac{d^2\varphi}{d\bar x^2}=-EI\frac{d^3\bar v}{d\bar x^3} T = − d x ˉ d M = − E I d x ˉ 2 d 2 φ = − E I d x ˉ 3 d 3 v ˉ Combining the shear constitutive relation with equilibrium gives:
β = T G A 0 = − E I G A 0 d 3 v ˉ d x ˉ 3 \beta=\frac{T}{GA_0}=-\frac{EI}{GA_0}\frac{d^3\bar v}{d\bar x^3} β = G A 0 T = − G A 0 E I d x ˉ 3 d 3 v ˉ 03
Interpolation Let ξ = x ˉ / L \xi=\bar x/L ξ = x ˉ / L , with 0 ≤ ξ ≤ 1 0\leq\xi\leq1 0 ≤ ξ ≤ 1 . Linear interpolation is used for the axial displacement and cubic interpolation for the transverse displacement:
v ˉ ( ξ ) = [ 0 , 2 ξ 3 − 3 ξ 2 + 1 , ( ξ 3 − 2 ξ 2 + ξ ) L , 0 , − 2 ξ 3 + 3 ξ 2 , ( ξ 3 − ξ 2 ) L ] { u ˉ 1 , v ˉ 1 , ψ 1 + β , u ˉ 2 , v ˉ 2 , ψ 2 + β } T \bar v(\xi)=\left[0,\ 2\xi^3-3\xi^2+1,\ (\xi^3-2\xi^2+\xi)L,\ 0,\ -2\xi^3+3\xi^2,\ (\xi^3-\xi^2)L\right]\left\{\bar u_1,\bar v_1,\psi_1+\beta,\bar u_2,\bar v_2,\psi_2+\beta\right\}^{T} v ˉ ( ξ ) = [ 0 , 2 ξ 3 − 3 ξ 2 + 1 , ( ξ 3 − 2 ξ 2 + ξ ) L , 0 , − 2 ξ 3 + 3 ξ 2 , ( ξ 3 − ξ 2 ) L ] { u ˉ 1 , v ˉ 1 , ψ 1 + β , u ˉ 2 , v ˉ 2 , ψ 2 + β } T The interpolation uses the normal rotations φ 1 = ψ 1 + β \varphi_1=\psi_1+\beta φ 1 = ψ 1 + β and φ 2 = ψ 2 + β \varphi_2=\psi_2+\beta φ 2 = ψ 2 + β . Applying the third derivative to the cubic polynomial and using the shear relation gives:
β = E I G A 0 [ 0 , − 12 L 3 , − 6 L 2 , 0 , 12 L 3 , − 6 L 2 ] { u ˉ 1 v ˉ 1 ψ 1 + β u ˉ 2 v ˉ 2 ψ 2 + β } \beta=\frac{EI}{GA_0}\left[0,\ -\frac{12}{L^3},\ -\frac{6}{L^2},\ 0,\ \frac{12}{L^3},\ -\frac{6}{L^2}\right]\left\{\begin{array}{c}\bar u_1\\\bar v_1\\\psi_1+\beta\\\bar u_2\\\bar v_2\\\psi_2+\beta\end{array}\right\} β = G A 0 E I [ 0 , − L 3 12 , − L 2 6 , 0 , L 3 12 , − L 2 6 ] ⎩ ⎨ ⎧ u ˉ 1 v ˉ 1 ψ 1 + β u ˉ 2 v ˉ 2 ψ 2 + β ⎭ ⎬ ⎫ Because β \beta β occurs on both sides, the preceding equation is solved for β \beta β . The result is:
β = B β u ˉ e l \beta=\htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\beta}\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el} β = B β u ˉ e l B ε = [ − 1 / L , 0 , 0 , 1 / L , 0 , 0 ] \htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\varepsilon}=\left[-1/L,\ 0,\ 0,\ 1/L,\ 0,\ 0\right] B ε = [ − 1/ L , 0 , 0 , 1/ L , 0 , 0 ] B β = 1 G A 0 L 2 + 12 E I [ 0 , − 12 E I / L , − 6 E I , 0 , 12 E I / L , − 6 E I ] \htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\beta}=\frac{1}{GA_0L^2+12EI}\left[0,\ -12EI/L,\ -6EI,\ 0,\ 12EI/L,\ -6EI\right] B β = G A 0 L 2 + 12 E I 1 [ 0 , − 12 E I / L , − 6 E I , 0 , 12 E I / L , − 6 E I ] The curvature is first obtained by differentiating the normal rotation:
κ = d ψ d x ˉ = d φ d x ˉ = d 2 v ˉ d x ˉ 2 \kappa=\frac{d\psi}{d\bar x}=\frac{d\varphi}{d\bar x}=\frac{d^2\bar v}{d\bar x^2} κ = d x ˉ d ψ = d x ˉ d φ = d x ˉ 2 d 2 v ˉ κ = [ 0 , 12 ξ − 6 L 2 , 6 ξ − 4 L , 0 , − 12 ξ + 6 L 2 , 6 ξ − 2 L ] { u ˉ 1 v ˉ 1 ψ 1 + β u ˉ 2 v ˉ 2 ψ 2 + β } \kappa=\left[0,\ \frac{12\xi-6}{L^2},\ \frac{6\xi-4}{L},\ 0,\ \frac{-12\xi+6}{L^2},\ \frac{6\xi-2}{L}\right]\left\{\begin{array}{c}\bar u_1\\\bar v_1\\\psi_1+\beta\\\bar u_2\\\bar v_2\\\psi_2+\beta\end{array}\right\} κ = [ 0 , L 2 12 ξ − 6 , L 6 ξ − 4 , 0 , L 2 − 12 ξ + 6 , L 6 ξ − 2 ] ⎩ ⎨ ⎧ u ˉ 1 v ˉ 1 ψ 1 + β u ˉ 2 v ˉ 2 ψ 2 + β ⎭ ⎬ ⎫ Substitution of β = B β u ˉ e l \beta=\htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\beta}\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el} β = B β u ˉ e l eliminates the additional quantity and yields:
κ = B κ u ˉ e l \kappa=\htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\kappa}\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el} κ = B κ u ˉ e l B κ = 1 G A 0 L 2 + 12 E I [ 0 , 6 G A 0 ( 2 ξ − 1 ) , − ( 4 G A 0 − 6 G A 0 ξ ) L 2 + 12 E I L , 0 , − 6 G A 0 ( 2 ξ − 1 ) , ( 6 G A 0 ξ − 2 G A 0 ) L 2 + 12 E I L ] \htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\kappa}=\frac{1}{GA_0L^2+12EI}\left[0,\ 6GA_0(2\xi-1),\ -\frac{(4GA_0-6GA_0\xi)L^2+12EI}{L},\ 0,\ -6GA_0(2\xi-1),\ \frac{(6GA_0\xi-2GA_0)L^2+12EI}{L}\right] B κ = G A 0 L 2 + 12 E I 1 [ 0 , 6 G A 0 ( 2 ξ − 1 ) , − L ( 4 G A 0 − 6 G A 0 ξ ) L 2 + 12 E I , 0 , − 6 G A 0 ( 2 ξ − 1 ) , L ( 6 G A 0 ξ − 2 G A 0 ) L 2 + 12 E I ] The generalized strains are therefore collected without further approximation:
ε ( ξ ) = { ε 0 β κ } = B ( ξ ) u ˉ e l , B = [ B ε B β B κ ] \htmlClass{fea-math-bold-italic}{\boldsymbol{\varepsilon}}(\xi)=\left\{\begin{array}{c}\varepsilon_0\\\beta\\\kappa\end{array}\right\}=\htmlClass{fea-math-bold-italic}{\boldsymbol B}(\xi)\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el},\qquad \htmlClass{fea-math-bold-italic}{\boldsymbol B}=\left[\begin{array}{c}\htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\varepsilon}\\\htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\beta}\\\htmlClass{fea-math-bold-italic}{\boldsymbol B}_{\kappa}\end{array}\right] ε ( ξ ) = ⎩ ⎨ ⎧ ε 0 β κ ⎭ ⎬ ⎫ = B ( ξ ) u ˉ e l , B = B ε B β B κ B = [ − 1 / L 0 0 1 / L 0 0 0 − 12 E I G A 0 L 3 + 12 E I L − 6 E I G A 0 L 2 + 12 E I 0 12 E I G A 0 L 3 + 12 E I L − 6 E I G A 0 L 2 + 12 E I 0 6 G A 0 ( 2 ξ − 1 ) G A 0 L 2 + 12 E I − G A 0 ( 4 − 6 ξ ) L 2 + 12 E I G A 0 L 3 + 12 E I L 0 − 6 G A 0 ( 2 ξ − 1 ) G A 0 L 2 + 12 E I G A 0 ( 6 ξ − 2 ) L 2 + 12 E I G A 0 L 3 + 12 E I L ] \htmlClass{fea-math-bold-italic}{\boldsymbol B}=\left[\begin{array}{cccccc}-1/L&0&0&1/L&0&0\\[7pt]0&-\dfrac{12EI}{GA_0L^3+12EIL}&-\dfrac{6EI}{GA_0L^2+12EI}&0&\dfrac{12EI}{GA_0L^3+12EIL}&-\dfrac{6EI}{GA_0L^2+12EI}\\[7pt]0&\dfrac{6GA_0(2\xi-1)}{GA_0L^2+12EI}&-\dfrac{GA_0(4-6\xi)L^2+12EI}{GA_0L^3+12EIL}&0&-\dfrac{6GA_0(2\xi-1)}{GA_0L^2+12EI}&\dfrac{GA_0(6\xi-2)L^2+12EI}{GA_0L^3+12EIL}\end{array}\right] B = − 1/ L 0 0 0 − G A 0 L 3 + 12 E I L 12 E I G A 0 L 2 + 12 E I 6 G A 0 ( 2 ξ − 1 ) 0 − G A 0 L 2 + 12 E I 6 E I − G A 0 L 3 + 12 E I L G A 0 ( 4 − 6 ξ ) L 2 + 12 E I 1/ L 0 0 0 G A 0 L 3 + 12 E I L 12 E I − G A 0 L 2 + 12 E I 6 G A 0 ( 2 ξ − 1 ) 0 − G A 0 L 2 + 12 E I 6 E I G A 0 L 3 + 12 E I L G A 0 ( 6 ξ − 2 ) L 2 + 12 E I 04
Stiffness matrix The local stiffness follows from the deformation energy:
U e l = 1 2 ∫ 0 L ε T D ε d x ˉ , k ˉ e l = ∫ 0 L B T D B d x ˉ U_{el}=\frac{1}{2}\int_0^L\htmlClass{fea-math-bold-italic}{\boldsymbol{\varepsilon}}^{T}\htmlClass{fea-math-bold-italic}{\boldsymbol D}\htmlClass{fea-math-bold-italic}{\boldsymbol{\varepsilon}}\,d\bar x,\qquad \bar{\htmlClass{fea-math-bold-italic}{\boldsymbol k}}_{el}=\int_0^L\htmlClass{fea-math-bold-italic}{\boldsymbol B}^{T}\htmlClass{fea-math-bold-italic}{\boldsymbol D}\htmlClass{fea-math-bold-italic}{\boldsymbol B}\,d\bar x U e l = 2 1 ∫ 0 L ε T D ε d x ˉ , k ˉ e l = ∫ 0 L B T D B d x ˉ Direct integration gives the complete local matrix [2]
k ˉ e l = [ E A L 0 0 − E A L 0 0 0 12 E I L 3 ( 1 + λ ) 6 E I L 2 ( 1 + λ ) 0 − 12 E I L 3 ( 1 + λ ) 6 E I L 2 ( 1 + λ ) 0 6 E I L 2 ( 1 + λ ) ( 4 + λ ) E I L ( 1 + λ ) 0 − 6 E I L 2 ( 1 + λ ) ( 2 − λ ) E I L ( 1 + λ ) − E A L 0 0 E A L 0 0 0 − 12 E I L 3 ( 1 + λ ) − 6 E I L 2 ( 1 + λ ) 0 12 E I L 3 ( 1 + λ ) − 6 E I L 2 ( 1 + λ ) 0 6 E I L 2 ( 1 + λ ) ( 2 − λ ) E I L ( 1 + λ ) 0 − 6 E I L 2 ( 1 + λ ) ( 4 + λ ) E I L ( 1 + λ ) ] , λ = 12 E I G A 0 L 2 \bar{\htmlClass{fea-math-bold-italic}{\boldsymbol k}}_{el}=\left[\begin{array}{cccccc}\dfrac{EA}{L}&0&0&-\dfrac{EA}{L}&0&0\\[7pt]0&\dfrac{12EI}{L^3(1+\lambda)}&\dfrac{6EI}{L^2(1+\lambda)}&0&-\dfrac{12EI}{L^3(1+\lambda)}&\dfrac{6EI}{L^2(1+\lambda)}\\[7pt]0&\dfrac{6EI}{L^2(1+\lambda)}&\dfrac{(4+\lambda)EI}{L(1+\lambda)}&0&-\dfrac{6EI}{L^2(1+\lambda)}&\dfrac{(2-\lambda)EI}{L(1+\lambda)}\\[7pt]-\dfrac{EA}{L}&0&0&\dfrac{EA}{L}&0&0\\[7pt]0&-\dfrac{12EI}{L^3(1+\lambda)}&-\dfrac{6EI}{L^2(1+\lambda)}&0&\dfrac{12EI}{L^3(1+\lambda)}&-\dfrac{6EI}{L^2(1+\lambda)}\\[7pt]0&\dfrac{6EI}{L^2(1+\lambda)}&\dfrac{(2-\lambda)EI}{L(1+\lambda)}&0&-\dfrac{6EI}{L^2(1+\lambda)}&\dfrac{(4+\lambda)EI}{L(1+\lambda)}\end{array}\right],\qquad \lambda=\frac{12EI}{GA_0L^2} k ˉ e l = L E A 0 0 − L E A 0 0 0 L 3 ( 1 + λ ) 12 E I L 2 ( 1 + λ ) 6 E I 0 − L 3 ( 1 + λ ) 12 E I L 2 ( 1 + λ ) 6 E I 0 L 2 ( 1 + λ ) 6 E I L ( 1 + λ ) ( 4 + λ ) E I 0 − L 2 ( 1 + λ ) 6 E I L ( 1 + λ ) ( 2 − λ ) E I − L E A 0 0 L E A 0 0 0 − L 3 ( 1 + λ ) 12 E I − L 2 ( 1 + λ ) 6 E I 0 L 3 ( 1 + λ ) 12 E I − L 2 ( 1 + λ ) 6 E I 0 L 2 ( 1 + λ ) 6 E I L ( 1 + λ ) ( 2 − λ ) E I 0 − L 2 ( 1 + λ ) 6 E I L ( 1 + λ ) ( 4 + λ ) E I , λ = G A 0 L 2 12 E I With λ = 12 E I / ( G A 0 L 2 ) \lambda=12EI/(GA_0L^2) λ = 12 E I / ( G A 0 L 2 ) , the bending-and-shear terms can be written compactly as:
a = 12 E I L 3 ( 1 + λ ) , b = 6 E I L 2 ( 1 + λ ) , c = ( 4 + λ ) E I L ( 1 + λ ) , d = ( 2 − λ ) E I L ( 1 + λ ) a=\frac{12EI}{L^3(1+\lambda)},\qquad b=\frac{6EI}{L^2(1+\lambda)},\qquad c=\frac{(4+\lambda)EI}{L(1+\lambda)},\qquad d=\frac{(2-\lambda)EI}{L(1+\lambda)} a = L 3 ( 1 + λ ) 12 E I , b = L 2 ( 1 + λ ) 6 E I , c = L ( 1 + λ ) ( 4 + λ ) E I , d = L ( 1 + λ ) ( 2 − λ ) E I k ˉ e l = [ E A / L 0 0 − E A / L 0 0 0 a b 0 − a b 0 b c 0 − b d − E A / L 0 0 E A / L 0 0 0 − a − b 0 a − b 0 b d 0 − b c ] \bar{\htmlClass{fea-math-bold-italic}{\boldsymbol k}}_{el}=\left[\begin{array}{cccccc}EA/L&0&0&-EA/L&0&0\\[4pt]0&a&b&0&-a&b\\[4pt]0&b&c&0&-b&d\\[4pt]-EA/L&0&0&EA/L&0&0\\[4pt]0&-a&-b&0&a&-b\\[4pt]0&b&d&0&-b&c\end{array}\right] k ˉ e l = E A / L 0 0 − E A / L 0 0 0 a b 0 − a b 0 b c 0 − b d − E A / L 0 0 E A / L 0 0 0 − a − b 0 a − b 0 b d 0 − b c The matrix is transformed from the local element frame to the global frame by:
k e l = R T k ˉ e l R , R = [ R 0 0 0 R 0 ] , R 0 = [ c o s θ s i n θ 0 − s i n θ c o s θ 0 0 0 1 ] \htmlClass{fea-math-bold-italic}{\boldsymbol k}_{el}=\htmlClass{fea-math-bold-italic}{\boldsymbol R}^{T}\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol k}}_{el}\htmlClass{fea-math-bold-italic}{\boldsymbol R},\qquad \htmlClass{fea-math-bold-italic}{\boldsymbol R}=\left[\begin{array}{cc}\htmlClass{fea-math-bold-italic}{\boldsymbol R}_0&\htmlClass{fea-math-bold-italic}{\boldsymbol0}\\[4pt]\htmlClass{fea-math-bold-italic}{\boldsymbol0}&\htmlClass{fea-math-bold-italic}{\boldsymbol R}_0\end{array}\right],\qquad \htmlClass{fea-math-bold-italic}{\boldsymbol R}_0=\left[\begin{array}{ccc}\mathop{\mathit{cos}}\theta&\mathop{\mathit{sin}}\theta&0\\[4pt]-\mathop{\mathit{sin}}\theta&\mathop{\mathit{cos}}\theta&0\\[4pt]0&0&1\end{array}\right] k e l = R T k ˉ e l R , R = [ R 0 0 0 R 0 ] , R 0 = cos θ − sin θ 0 sin θ cos θ 0 0 0 1 05
Energy and Gaussian quadrature U e l = 1 2 ∫ 0 L ( E A ε 0 2 + G A 0 β 2 + E I κ 2 ) d x ˉ U_{el}=\frac{1}{2}\int_0^L\left(EA\varepsilon_0^2+GA_0\beta^2+EI\kappa^2\right)d\bar x U e l = 2 1 ∫ 0 L ( E A ε 0 2 + G A 0 β 2 + E I κ 2 ) d x ˉ Two Gauss points give the exact result because the highest polynomial degree in the energy integrand is two. On 0 ≤ ξ ≤ 1 0\leq\xi\leq1 0 ≤ ξ ≤ 1 ,
ξ 1 , 2 = 1 2 ( 1 ∓ 1 3 ) , w 1 = w 2 = 1 \xi_{1,2}=\frac12\left(1\mp\frac{1}{\sqrt3}\right),\qquad w_1=w_2=1 ξ 1 , 2 = 2 1 ( 1 ∓ 3 1 ) , w 1 = w 2 = 1 The energy evaluated by two-point Gaussian quadrature is:
U e l = 1 2 ∑ G = 1 2 w G [ E A ε 0 2 ( ξ G ) + G A 0 β 2 ( ξ G ) + E I κ 2 ( ξ G ) ] L 2 U_{el}=\frac{1}{2}\sum_{G=1}^{2}w_G\left[EA\varepsilon_0^2(\xi_G)+GA_0\beta^2(\xi_G)+EI\kappa^2(\xi_G)\right]\frac{L}{2} U e l = 2 1 G = 1 ∑ 2 w G [ E A ε 0 2 ( ξ G ) + G A 0 β 2 ( ξ G ) + E I κ 2 ( ξ G ) ] 2 L The local stiffness is the Hessian of the element energy:
k ˉ e l = ∂ 2 U e l ∂ u ˉ e l 2 \bar{\htmlClass{fea-math-bold-italic}{\boldsymbol k}}_{el}=\frac{\partial^2U_{el}}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}^2} k ˉ e l = ∂ u ˉ e l 2 ∂ 2 U e l k ˉ e l = ∑ G = 1 2 w G [ E A ∂ ε 0 ∂ u ˉ e l ( ∂ ε 0 ∂ u ˉ e l ) T + G A 0 ∂ β ∂ u ˉ e l ( ∂ β ∂ u ˉ e l ) T + E I ∂ κ ∂ u ˉ e l ( ∂ κ ∂ u ˉ e l ) T ] ξ G L 2 \bar{\htmlClass{fea-math-bold-italic}{\boldsymbol k}}_{el}=\sum_{G=1}^{2}w_G\left[EA\frac{\partial\varepsilon_0}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}\left(\frac{\partial\varepsilon_0}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}\right)^T+GA_0\frac{\partial\beta}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}\left(\frac{\partial\beta}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}\right)^T+EI\frac{\partial\kappa}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}\left(\frac{\partial\kappa}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}\right)^T\right]_{\xi_G}\frac{L}{2} k ˉ e l = G = 1 ∑ 2 w G [ E A ∂ u ˉ e l ∂ ε 0 ( ∂ u ˉ e l ∂ ε 0 ) T + G A 0 ∂ u ˉ e l ∂ β ( ∂ u ˉ e l ∂ β ) T + E I ∂ u ˉ e l ∂ κ ( ∂ u ˉ e l ∂ κ ) T ] ξ G 2 L The required gradients are the transposes of the three rows of B \htmlClass{fea-math-bold-italic}{\boldsymbol B} B :
∂ ε 0 ∂ u ˉ e l = { − 1 / L 0 0 1 / L 0 0 } \frac{\partial\varepsilon_0}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}=\left\{\begin{array}{c}-1/L\\[4pt]0\\[4pt]0\\[4pt]1/L\\[4pt]0\\[4pt]0\end{array}\right\} ∂ u ˉ e l ∂ ε 0 = ⎩ ⎨ ⎧ − 1/ L 0 0 1/ L 0 0 ⎭ ⎬ ⎫ ∂ β ∂ u ˉ e l = { 0 − 12 E I G A 0 L 3 + 12 E I L − 6 E I G A 0 L 2 + 12 E I 0 12 E I G A 0 L 3 + 12 E I L − 6 E I G A 0 L 2 + 12 E I } \frac{\partial\beta}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}=\left\{\begin{array}{c}0\\[5pt]-\dfrac{12EI}{GA_0L^3+12EIL}\\[5pt]-\dfrac{6EI}{GA_0L^2+12EI}\\[5pt]0\\[5pt]\dfrac{12EI}{GA_0L^3+12EIL}\\[5pt]-\dfrac{6EI}{GA_0L^2+12EI}\end{array}\right\} ∂ u ˉ e l ∂ β = ⎩ ⎨ ⎧ 0 − G A 0 L 3 + 12 E I L 12 E I − G A 0 L 2 + 12 E I 6 E I 0 G A 0 L 3 + 12 E I L 12 E I − G A 0 L 2 + 12 E I 6 E I ⎭ ⎬ ⎫ ∂ κ ∂ u ˉ e l = { 0 6 G A 0 ( 2 ξ − 1 ) G A 0 L 2 + 12 E I − G A 0 ( 4 − 6 ξ ) L 2 + 12 E I G A 0 L 3 + 12 E I L 0 − 6 G A 0 ( 2 ξ − 1 ) G A 0 L 2 + 12 E I G A 0 ( 6 ξ − 2 ) L 2 + 12 E I G A 0 L 3 + 12 E I L } \frac{\partial\kappa}{\partial\bar{\htmlClass{fea-math-bold-italic}{\boldsymbol u}}_{el}}=\left\{\begin{array}{c}0\\[5pt]\dfrac{6GA_0(2\xi-1)}{GA_0L^2+12EI}\\[5pt]-\dfrac{GA_0(4-6\xi)L^2+12EI}{GA_0L^3+12EIL}\\[5pt]0\\[5pt]-\dfrac{6GA_0(2\xi-1)}{GA_0L^2+12EI}\\[5pt]\dfrac{GA_0(6\xi-2)L^2+12EI}{GA_0L^3+12EIL}\end{array}\right\} ∂ u ˉ e l ∂ κ = ⎩ ⎨ ⎧ 0 G A 0 L 2 + 12 E I 6 G A 0 ( 2 ξ − 1 ) − G A 0 L 3 + 12 E I L G A 0 ( 4 − 6 ξ ) L 2 + 12 E I 0 − G A 0 L 2 + 12 E I 6 G A 0 ( 2 ξ − 1 ) G A 0 L 3 + 12 E I L G A 0 ( 6 ξ − 2 ) L 2 + 12 E I ⎭ ⎬ ⎫ This energy-based form is particularly convenient in nonlinear finite element formulations, where the residual vector and tangent stiffness are obtained by successive differentiation of the same potential.
06
Numerical examples The numerical data for both examples are defined in gen.m. For a cantilever with L = 100 m m L=100\ \mathit{mm} L = 100 mm , E = 2 × 10 5 M P a E=2\times10^5\ \mathit{MPa} E = 2 × 1 0 5 MPa , G = E / 2.5 G=E/2.5 G = E /2.5 , width 5 m m 5\ \mathit{mm} 5 mm , and thickness 2 m m 2\ \mathit{mm} 2 mm , the loads F = 10 N F=10\ \mathit{N} F = 10 N and H = 35 N H=35\ \mathit{N} H = 35 N give v m a x = 5 m m v_{max}=5\ \mathit{mm} v ma x = 5 mm in the Euler–Bernoulli model and v m a x = 5.0015 m m v_{max}=5.0015\ \mathit{mm} v ma x = 5.0015 mm in the Timoshenko model. Here F F F is the vertical force applied at the free end. The two values are practically identical because shear deformation is negligible for this slender beam.
With thickness 20 m m 20\ \mathit{mm} 20 mm and F = 10 4 N F=10^4\ \mathit{N} F = 1 0 4 N , the corresponding values are 5 m m 5\ \mathit{mm} 5 mm and 5.15 m m 5.15\ \mathit{mm} 5.15 mm . The difference, about three percent, is the contribution of transverse shear deformation.
07
MATLAB programs The package contains five commented files. gen.m defines the model; deriv.m evaluates the generalized strain rows; stiff.m uses two-point Gauss integration and assembles the structure; stress.m recovers N , T , and M ; and main.m runs the analysis and plots the results.
stiff.m Two-point Gauss integration
for ig = 1:2
xc = 1/2*(1 + xg(ig));
deriv
kel = kel + L/2*(ea*ep1*ep1' + ga*be1*be1' + ei*ka1*ka1');
end
K(ip,ip) = K(ip,ip) + R'*kel*R;MATLAB compatibility
Tested in MATLAB R2024a. The code uses standard MATLAB syntax and is expected to be compatible with newer MATLAB versions. No additional toolbox is required.
08
References O. C. Zienkiewicz, R. L. Taylor, and J. Z. Zhu, The Finite Element Method: Its Basis and Fundamentals , 7th ed., Elsevier, 2013. K. J. Bathe, Finite Element Procedures , 2nd ed., Klaus-Jürgen Bathe, 2014. PREVIOUS SECTION ← 5.1. Beam Finite Element — Euler–Bernoulli Beam Model NEXT SECTION 5.3. Isoparametric Two-Node Beam Element — Timoshenko Beam Model →