## Axial Members & Potential Energy Consider an axial member and its equivalent representation with a spring where $k=\frac{(EA)_{ave}}{L}$ - The strain energy in a rod is written in terms of displacement $ U=\int_{V}\bar{u}dV\qquad \bar{u}=\frac{1}{2} \left( \frac{du}{dx} \right) \left( E \frac{du}{dx} \right)=\frac{1}{2}E\left( \frac{du}{dx} \right)^2 $ - Force potentials $\Pi_{F}:$ the potential of a force acting at a point on a rod $ \Pi_{F_{i}}=-F_{i}u_{i}\qquad \text{ for }M\text{ forces that act on the rod: }\Pi_{F}=-\sum F_{i}u_{i} $ - System potential energy $\Pi:$ defined as the sum of the potential due to the externally applied forces and the potential due to the strain energy in the system $ \Pi=\Pi_{F}+\Pi_{U}=-\sum F_{i}U_{i}+U $ >[!info] Principle of Minimum Potential Energy >For a conservative system, the equilibrium state is the admissible displacement field that makes the total potential energy stationary and, for stable equilibrium, a minimum >- In a conservative system, work is independent of the path. The principle does not apply directly to nonconservative forces such as friction >- An admissible displacement field satisfies every prescribed displacement boundary condition of the problem >- The stationary condition for the displacement coordinate $u_{i}$ is >$ > \frac{ \partial \Pi }{ \partial u_{i} } =0 >$ ## Stiffness Matrix for a Single Spring Elastic strain energy is given by $ U=\frac{1}{2}k\Delta^2=\frac{1}{2}k(u_{2}-u_{1})^2=\frac{1}{2}k(u_{1}^2+u_{2}^2-2u_{1}u_{2}) $ $ U=\frac{1}{2} \begin{Bmatrix} u_{1} \\ u_{2} \end{Bmatrix}^T \begin{bmatrix} k & -k \\ -k & k \end{bmatrix} \begin{Bmatrix} u_{1} \\ u_{2} \end{Bmatrix} $ $ U=\frac{1}{2}\begin{Bmatrix} u \end{Bmatrix}^T \begin{bmatrix} K \end{bmatrix} \begin{Bmatrix} u \end{Bmatrix} $ where stiffness matrix $\begin{bmatrix}K\end{bmatrix}=\begin{bmatrix}k & -k \\ -k & k\end{bmatrix}$ and displacement vector $\begin{Bmatrix}u\end{Bmatrix}=\begin{Bmatrix}u_{1} \\ u_{2}\end{Bmatrix}$ ## Global Matrix for Multiple Springs If we now consider two springs (& three nodes), for total strain energy we'll have $ \begin{aligned} U &= \frac{1}{2}k_1(u_2-u_1)^2 + \frac{1}{2}k_2(u_3-u_2)^2 \\[4pt] &= \frac{1}{2}k_1(u_2^2-2u_1u_2+u_1^2) + \frac{1}{2}k_2(u_3^2-2u_2u_3+u_2^2) \\[4pt] &= \frac{1}{2}\bigl[u_1(k_1u_1-k_1u_2) +u_2(-k_1u_1+k_1u_2)\bigr] \\ &\quad + \frac{1}{2}\bigl[u_2(k_2u_2-k_2u_3) +u_3(-k_2u_2+k_2u_3)\bigr] \\[4pt] &= \frac{1}{2} \begin{Bmatrix} u_1 \\ u_2 \\ u_3 \end{Bmatrix}^{T} \begin{Bmatrix} k_1u_1-k_1u_2 \\ -k_1u_1+(k_1+k_2)u_2-k_2u_3 \\ -k_2u_2+k_2u_3 \end{Bmatrix} \\[4pt] &= \frac{1}{2} \begin{Bmatrix} u_1 \\ u_2 \\ u_3 \end{Bmatrix}^{T} \begin{bmatrix} k_1 & -k_1 & 0 \\ -k_1 & k_1+k_2 & -k_2 \\ 0 & -k_2 & k_2 \end{bmatrix} \begin{Bmatrix} u_1 \\ u_2 \\ u_3 \end{Bmatrix} = \frac{1}{2}\{u\}^{T}[K]\{u\}. \end{aligned} $ For $N$ springs, use this matrix: $ [K] = \begin{bmatrix} k_1 & -k_1 & 0 & \cdots & 0 \\ -k_1 & k_1 + k_2 & -k_2 & \ddots & \vdots \\ 0 & -k_2 & k_2 + k_3 & \ddots & 0 \\ \vdots & \ddots & \ddots & \ddots & -k_N \\ 0 & \cdots & 0 & -k_N & k_N \end{bmatrix} $ See symmetry [[Pasted image 20261109184228.png|here]] ## Equilibrium Equation - Potential energy due to external load: $ \Pi_{F_{i}}=-\sum F_{i}u_{i} $ - Strain energy in rod: $ \Pi_{U}=\frac{1}{2}\begin{Bmatrix} u \end{Bmatrix}^T\begin{bmatrix} K \end{bmatrix} \begin{Bmatrix} u \end{Bmatrix}=\frac{1}{2}\sum_{i=1}^n \sum_{j=1}^nK_{ij}u_{i}u_{j} $ - Total potential energy: $ \Pi=-\sum_{k=1}^nF_{k}u_{k}+\frac{1}{2} \sum_{j=1}^n \sum_{p=1}^n K_{jp}u_{j}u_{p} $ ## Main Method >**Goal:** assemble the matrix equation $[K]\{u\}=\{F\}$ 1. Define nodes and elements - Number the nodes & elements; the connectivity matrix lists the two nodes of each element 2. Construct a global stuffness matrix - $[K]$ is $n\times n$ for a system with $n$ nodes 3. Construct force vector - $\{ F \}$ is $n\times1;$ reactions at support are unknown entries 4. Enforce displacement boundary condition in displacement vector - Set $u_{i}=0$ at every fixed node 5. Solve the matrix eqn. with Matlab or Python $\{u\}=[K]^{-1}\{F\}$ See [[ME323 Lec 24 Demonstration.pdf]]