Living reference

Nomenclature and Conventions

The symbols, program variables, sign conventions, and matrix calculus rules used throughout these notes. This reference will be extended as new chapters introduce additional notation.

Bold italic vectors and matricesMATLAB namingBeam signsMatrix calculus

01

Notation

Scalars are written with italic letters. Vectors and matrices are written with bold italic letters.

Abstract vector and matrix symbols are written without brackets. When their components are displayed explicitly, a row vector uses parentheses, a column vector uses braces, and a matrix uses square brackets.

Π, U, V, E, A, L, u\Pi,\ U,\ V,\ E,\ A,\ L,\ u
Scalars
K, kel, fel, u, uel\boldsymbol{K},\ \boldsymbol{k}_{el},\ \boldsymbol{f}_{el},\ \boldsymbol{u},\ \boldsymbol{u}_{el}
Vectors and matrices. Their dimensions follow from context: for example, u\boldsymbol{u} and fel\boldsymbol{f}_{el} are column vectors, whereasK\boldsymbol{K} and kel\boldsymbol{k}_{el} are matrices.
K, kel, fel, u\overline{\boldsymbol{K}},\ \overline{\boldsymbol{k}}_{el},\ \overline{\boldsymbol{f}}_{el},\ \overline{\boldsymbol{u}}
A bar denotes a vector or tensor expressed in the local reference frame. Symbols without a bar refer to the global reference frame.

02

Symbols

Latin symbols

Ael, AA_{el},\ A
Finite-element area; cross-sectional area
A0A_0
Effective shear area
A\mathcal{A}
Finite-element assembly operator; see Assembly paragraph
B\boldsymbol{B}
Strain-displacement matrix
B0\boldsymbol{B}_0
Linear part of the strain-displacement matrix
BL\boldsymbol{B}_L
Nonlinear part of the strain-displacement matrix
b=FFT\boldsymbol{b}=\boldsymbol{F}\boldsymbol{F}^{T}
Left Cauchy–Green tensor
C\boldsymbol{C}
Quadratic strain matrix used to form the truss geometric stiffness matrix
D\boldsymbol{D}
Constitutive matrix, with σ=Dε\boldsymbol{\sigma}=\boldsymbol{D}\boldsymbol{\varepsilon}
EE
Young's modulus
Et=dσdεE_t=\dfrac{d\sigma}{d\varepsilon}
Tangent modulus
E\boldsymbol{E}
Green–Lagrange strain tensor
EGL\boldsymbol{E}_{\mathrm{GL}}
Green–Lagrange strain measure
e\boldsymbol{e}
Euler–Almansi strain tensor
eEA\boldsymbol{e}_{\mathrm{EA}}
Euler–Almansi strain measure
F\boldsymbol{F}
Nodal-force vector
F\boldsymbol{F}
Deformation gradient
FΔ\boldsymbol{F}_{\Delta}
Incremental deformation gradient
Ftot\boldsymbol{F}_{\mathrm{tot}}
Total deformation gradient
F, V, HF,\ V,\ H
Force components
F(ψ,m), K(m)E(ψ,m), E(m)\begin{gathered}F(\psi,m),\ K(m)\\E(\psi,m),\ E(m)\end{gathered}
F(ψ,m)F(\psi,m) and K(m)K(m) are the incomplete and complete elliptic integrals of the first kind; E(ψ,m)E(\psi,m) and E(m)E(m) are the corresponding integrals of the second kind. Here F()F(\cdot) and E()E(\cdot) denote elliptic-integral functions, not force and Young's modulus
GG
Shear modulus
Gx, Gy, Gxy,\boldsymbol{G}_x,\ \boldsymbol{G}_y,\ \boldsymbol{G}_{xy},\ldots
Symmetric matrices associated with the nonlinear part of the Green-Lagrange strains
H\boldsymbol{H}
Matrix used to calculate the Jacobian matrix, J=H[xel yel zel]\boldsymbol{J}=\boldsymbol{H}[\boldsymbol{x}_{el}\ \boldsymbol{y}_{el}\ \boldsymbol{z}_{el}]
II
Second moment of area, generic
I1, I2I_1,\ I_2
Principal second moments of area
IyI_y
Second moment of area about the yy-axis
IzI_z
Second moment of area about the zz-axis
ItI_t
Cross-sectional torsion constant
Ir\boldsymbol{I}_{r}
Identity matrix of order rr, with r=2r=2 for a plane truss and r=3r=3 for a spatial truss
J\boldsymbol{J}
Jacobian matrix
K, k, kel\boldsymbol{K},\ \boldsymbol{k},\ \boldsymbol{k}_{el}
Elastic or tangent stiffness matrices, as specified in context
a\boldsymbol{a}
Compact vector of deformed element coordinate differences used in exact truss strain derivatives
d\boldsymbol{d}
Unit vector along the initial axis of a truss element
dad\boldsymbol{a}
Oriented differential area vector in the reference configuration
da^d\hat{\boldsymbol{a}}
Oriented differential area vector in the current configuration
dfd\boldsymbol{f}
Differential physical force vector
dV0dV_0
Differential volume in the initial or reference configuration
dVdV
Differential volume in the current configuration
G\boldsymbol{G}
Constant block matrix used in the exact Hessian of truss engineering strain
KG, kG,el\boldsymbol{K}_{G},\ \boldsymbol{k}_{G,el}
Structural and element geometric stiffness matrices
L, LbL,\ L_b
Element length; beam length
LfL_f
Element length in the deformed configuration
MM
Bending moment
MtM_t
Twisting moment or torque
NN
Axial force
N\boldsymbol{N}
Shape-function or interpolation-function matrix
neln_{el}
Number of finite elements
nG, ξG, (sG,tG), wGn_G,\ \xi_G,\ (s_G,t_G),\ w_G
Number of Gauss points, Gauss-point coordinates, and Gauss weights
P=IddT\boldsymbol{P}=\boldsymbol{I}-\boldsymbol{d}\boldsymbol{d}^{T}
Projector onto directions transverse to a truss element axis
P\boldsymbol{P}
First Piola–Kirchhoff stress tensor
p=(dTdT)T\boldsymbol{p}=\begin{pmatrix}-\boldsymbol{d}^{T}&\boldsymbol{d}^{T}\end{pmatrix}^{T}
Element nodal vector constructed from the initial truss-axis unit vector
Qr\boldsymbol{Q}_{r}
Dimension-independent block matrix [IrIrIrIr]\begin{bmatrix}\boldsymbol{I}_{r}&-\boldsymbol{I}_{r}\\-\boldsymbol{I}_{r}&\boldsymbol{I}_{r}\end{bmatrix} for a truss in rr dimensions
R\boldsymbol{R}
Rotation matrix
S\boldsymbol{S}
Second Piola–Kirchhoff stress tensor
TT
Shear force
UU
Strain energy
VV
Potential of the applied loads
fel\boldsymbol{f}_{el}
Internal nodal-force vector for one finite element
hh
Thickness
h1, h2h_1,\ h_2
Shape functions
l, m, nl,\ m,\ n
Direction cosines
k, m=k2k,\ m=k^2
Elliptic modulus and elliptic parameter in the cantilever elastica solution
rr
Radial coordinate
ss
Curvilinear coordinate
s, t, rs,\ t,\ r
Natural coordinates for isoparametric finite elements
u, v, wu,\ v,\ w
Displacement components
u, uel\boldsymbol{u},\ \boldsymbol{u}_{el}
Structural and element nodal-displacement vectors
u\nabla\boldsymbol{u}
Displacement gradient
u~\widetilde{\boldsymbol{u}}
Corotated nodal-displacement vector
V, Vel\mathcal{V},\ \mathcal{V}_{el}
Volume; finite-element volume
x, y, zx,\ y,\ z
Cartesian coordinates
x^\hat{\boldsymbol{x}}
Position vector in the current or deformed configuration
x~\widetilde{\boldsymbol{x}}
Coordinates or position vector in the corotational configuration

Greek symbols

β\beta
Shear angle, or the fixed force-direction angle in the cantilever elastica solution, as specified in context
γ\gamma
Dimensionless correction factor for the one-point shear contribution in the isoparametric Timoshenko beam element
δ\delta
Prefix denoting a virtual quantity
Δ=detF\Delta=\det\boldsymbol{F}
Local volume ratio or determinant of the deformation gradient; this scalar quantity is distinct from Δ\Delta used as an increment symbol
ΔE\Delta\boldsymbol{E}
Green–Lagrange strain increment
Δe\Delta\boldsymbol{e}
Euler–Almansi strain increment
ϵ\epsilon
Numerical error
ε0\varepsilon_0
Beam axial strain
εV\varepsilon_V
Volumetric strain
εx, εy, γxy,\varepsilon_x,\ \varepsilon_y,\ \gamma_{xy},\ldots
Strain components
ε\boldsymbol{\varepsilon}
Strain vector or tensor
η=1LΔu\boldsymbol{\eta}=\frac{1}{L}\Delta\boldsymbol{u}
Relative nodal-displacement vector normalized by the initial truss length
θ\theta
Polar angle or tangent-direction angle
κ\kappa
Curvature
κ\boldsymbol{\kappa}
Curvature vector or tensor
λ\lambda
Eigenvalue or buckling load factor
ν\nu
Poisson's ratio
ξ\xi
Dimensionless coordinate, ξ=x/L\xi=x/L
Π\Pi
Total potential energy
σx, σy, τxy,\sigma_x,\ \sigma_y,\ \tau_{xy},\ldots
Stress components
σVM\sigma_{\mathrm{VM}}
Von Mises equivalent stress
σ\boldsymbol{\sigma}
Stress vector or tensor
σ~\widetilde{\boldsymbol{\sigma}}
Stress tensor or components referred to the corotational or local frame
φ\varphi
Rotation of the normal
φ\boldsymbol{\varphi}
Rotation vector
ϕ\boldsymbol{\phi}
Buckling eigenvector or mode shape
ψ\psi
Cross-section rotation
Ψ=Π/u\boldsymbol{\Psi}=\partial\Pi/\partial\boldsymbol{u}
Equilibrium residual; the equilibrium equations areΨ=0\boldsymbol{\Psi}=\boldsymbol{0}

Derivative notation

u,xuxu,xy2uxy\begin{gathered}u_{,x}\equiv\dfrac{\partial u}{\partial x}\\[3pt]u_{,xy}\equiv\dfrac{\partial^2u}{\partial x\,\partial y}\end{gathered}
A comma in the subscript denotes differentiation with respect to the coordinate that follows it. For example, the expressions shown give first- and mixed second-derivative forms.

03

Variable names in MATLAB programs

The following list contains the principal names used in the accompanying programs.

A, Ael
Finite-element area; cross-sectional area
B, B0, BL
Strain-displacement matrices
cond
Table of nodal constraints
D, DHooke
Constitutive matrices
E
Young's modulus
elem
Finite-element connectivity and properties
ep, ep1, ep2
Engineering strain, strain gradient, and strain Hessian in the truss programs
ep, ca, be
Beam axial strain, curvature, and shear angle
F
Nodal-force vector
fel
Element internal-force vector
forze
Table of externally applied nodal loads
G
Shear modulus
ip
Element degree-of-freedom locations
istep, nstep
Current and total number of load steps
K, kel, KG, kelG
Structural elastic, element elastic, structural geometric, and element geometric stiffness matrices
lambda, Vfree
Buckling load factors and free-degree-of-freedom eigenvectors
L, l
Element or beam length
m, k, psi, psi0, thetaA
Elliptic parameter, elliptic modulus, transformed angles, and free-end tangent angle in the cantilever program
nel
Number of finite elements
neq
Number of structural degrees of freedom
nnd
Number of nodes
nu
Poisson's ratio
S
Structural nodal-displacement vector; the name comes from the Italian spostamenti
u, v, w
Nodal displacement components
uel
Element nodal-displacement vector
ux, uy, vz, wx, ...
Derivatives of displacement components
xy, xyz, x, y, z
Cartesian nodal coordinates

04

Sign convention for beams

Axial force and normal stress are positive in tension and negative in compression.

Chapter 4 retains the coordinate convention used in its finite-difference derivation: the global xx axis points to the right and its yy axis points downward. This chapter-specific choice is stated in its figure and MATLAB program.

In planar analyses, TT and TyT_y denote the same transverse force component, while MM and MzM_z denote the same bending moment component.

Bending

Positive beam rotations, bending moments, and shear forces about the y and z axes
Figure 1.Positive rotations, bending moments, and shear forces.
φz=dvdx\varphi_z=\frac{dv}{dx}
φy=dwdx\varphi_y=-\frac{dw}{dx}
κz=dφzdx=d2vdx2\kappa_z=\frac{d\varphi_z}{dx}=\frac{d^2v}{dx^2}
κy=dφydx=d2wdx2\kappa_y=\frac{d\varphi_y}{dx}=-\frac{d^2w}{dx^2}
dMzdx=Ty\frac{dM_z}{dx}=-T_y
dMydx=Tz\frac{dM_y}{dx}=T_z
d2vdx2=MzEIz\frac{d^2v}{dx^2}=\frac{M_z}{EI_z}
d2wdx2=MyEIy\frac{d^2w}{dx^2}=-\frac{M_y}{EI_y}

05

Matrix calculus conventions

Partial derivatives

For a two-dimensional truss element with four degrees of freedom,

uel=(u1v1u2v2)T\boldsymbol{u}_{el}=\begin{pmatrix}u_1&v_1&u_2&v_2\end{pmatrix}^{T}
uel={u1v1u2v2}\frac{\partial}{\partial\boldsymbol{u}_{el}}=\begin{Bmatrix}\dfrac{\partial}{\partial u_1}\\[3pt]\dfrac{\partial}{\partial v_1}\\[3pt]\dfrac{\partial}{\partial u_2}\\[3pt]\dfrac{\partial}{\partial v_2}\end{Bmatrix}
2uel2=[2u122u1v12u1u22u1v22v1u12v122v1u22v1v22u2u12u2v12u222u2v22v2u12v2v12v2u22v22]\frac{\partial^2}{\partial\boldsymbol{u}_{el}^2}=\begin{bmatrix}\dfrac{\partial^2}{\partial u_1^2}&\dfrac{\partial^2}{\partial u_1\partial v_1}&\dfrac{\partial^2}{\partial u_1\partial u_2}&\dfrac{\partial^2}{\partial u_1\partial v_2}\\[3pt]\dfrac{\partial^2}{\partial v_1\partial u_1}&\dfrac{\partial^2}{\partial v_1^2}&\dfrac{\partial^2}{\partial v_1\partial u_2}&\dfrac{\partial^2}{\partial v_1\partial v_2}\\[3pt]\dfrac{\partial^2}{\partial u_2\partial u_1}&\dfrac{\partial^2}{\partial u_2\partial v_1}&\dfrac{\partial^2}{\partial u_2^2}&\dfrac{\partial^2}{\partial u_2\partial v_2}\\[3pt]\dfrac{\partial^2}{\partial v_2\partial u_1}&\dfrac{\partial^2}{\partial v_2\partial v_1}&\dfrac{\partial^2}{\partial v_2\partial u_2}&\dfrac{\partial^2}{\partial v_2^2}\end{bmatrix}

Useful derivatives

For constant vectorsF\boldsymbol{F} and a constant matrixK\boldsymbol{K},

(uTF)u=F\frac{\partial(\boldsymbol{u}^{T}\boldsymbol{F})}{\partial\boldsymbol{u}}=\boldsymbol{F}
(uTKu)u=(K+KT)u\frac{\partial(\boldsymbol{u}^{T}\boldsymbol{K}\boldsymbol{u})}{\partial\boldsymbol{u}}=(\boldsymbol{K}+\boldsymbol{K}^{T})\boldsymbol{u}
2(uTKu)u2=K+KT\frac{\partial^2(\boldsymbol{u}^{T}\boldsymbol{K}\boldsymbol{u})}{\partial\boldsymbol{u}^2}=\boldsymbol{K}+\boldsymbol{K}^{T}

If K\boldsymbol{K} is symmetric, these last two expressions reduce to2Ku2\boldsymbol{K}\boldsymbol{u} and 2K2\boldsymbol{K}.

Assembly

With the usual finite-element placement of element quantities into their global degree-of-freedom positions,

eluelTkeluel=uTKu\sum_{el}\boldsymbol{u}_{el}^{T}\boldsymbol{k}_{el}\boldsymbol{u}_{el}=\boldsymbol{u}^{T}\boldsymbol{K}\boldsymbol{u}
elkeluel=Ku,elkel=K\sum_{el}\boldsymbol{k}_{el}\boldsymbol{u}_{el}=\boldsymbol{K}\boldsymbol{u},\qquad \sum_{el}\boldsymbol{k}_{el}=\boldsymbol{K}

On this site, the compact finite-element assembly notation:

Ael=1nel\mathop{\mathcal{A}}_{el=1}^{n_{el}}

is preferred. It denotes the usual placement of element quantities into their corresponding global degree-of-freedom positions followed by summation over all finite elements. For example:

K=Ael=1nel(kel)\boldsymbol{K}=\mathop{\mathcal{A}}_{el=1}^{n_{el}}\left(\boldsymbol{k}_{el}\right)
Fint=Ael=1nel(fel)\boldsymbol{F}_{\mathrm{int}}=\mathop{\mathcal{A}}_{el=1}^{n_{el}}\left(\boldsymbol{f}_{el}\right)

Special quadratic form

For column vectorsu,a,bRn\boldsymbol{u},\boldsymbol{a},\boldsymbol{b}\in\mathbb{R}^{n},

Π=uT(abT)u=12uT(abT+baT)u\Pi=\boldsymbol{u}^{T}(\boldsymbol{a}\boldsymbol{b}^{T})\boldsymbol{u}=\frac{1}{2}\boldsymbol{u}^{T}(\boldsymbol{a}\boldsymbol{b}^{T}+\boldsymbol{b}\boldsymbol{a}^{T})\boldsymbol{u}

The Hessian is the symmetric matrix

2Πu2=abT+baT\frac{\partial^2\Pi}{\partial\boldsymbol{u}^2}=\boldsymbol{a}\boldsymbol{b}^{T}+\boldsymbol{b}\boldsymbol{a}^{T}

06

Virtual work and energy principles

For a linear elastic structure with a symmetric stiffness matrix, the total potential energy is

Π=12eluelTkelueluTF=12uTKuuTF\Pi=\frac{1}{2}\sum_{el}\boldsymbol{u}_{el}^{T}\boldsymbol{k}_{el}\boldsymbol{u}_{el}-\boldsymbol{u}^{T}\boldsymbol{F}=\frac{1}{2}\boldsymbol{u}^{T}\boldsymbol{K}\boldsymbol{u}-\boldsymbol{u}^{T}\boldsymbol{F}

Minimum total potential energy

Ψ=Πu=KuF=0\boldsymbol{\Psi}=\frac{\partial\Pi}{\partial\boldsymbol{u}}=\boldsymbol{K}\boldsymbol{u}-\boldsymbol{F}=\boldsymbol{0}

Principle of virtual work

For every geometrically admissible virtual displacementδu\delta\boldsymbol{u},

δΠ=δuT(KuF)=0\delta\Pi=\delta\boldsymbol{u}^{T}\left(\boldsymbol{K}\boldsymbol{u}-\boldsymbol{F}\right)=0

Both principles lead to the same equilibrium equations:

Ku=F\boldsymbol{K}\boldsymbol{u}=\boldsymbol{F}

07

Validation of Programs and Macros

The present website is a revised edition of material developed and validated over many years. Programs and macros transferred to this edition without technical modification are not necessarily re-executed during the current revision. When a program is modified, it is tested again whenever practical. MATLAB programs are actively maintained and may therefore be revalidated more frequently.