SYSTEM.INITIALIZE: BLUEPRINT_UNFOLD
DWG TITLEPORTFOLIO BLUEPRINT
DRAWN BYDINESH KUMAR
SCALE1:1
REVISIONA.02
← Back to FEM Dashboard
CHAPTER 4Element Formulations

1D Spring & Bar Element Formulations

Physical Intuition

To master the Finite Element Method (FEM) and Finite Element Analysis (FEA), we must establish a solid foundation using the simplest yet most physically revealing elements: the one-dimensional (1D) spring and axial bar element. Real-world structures—whether they are bridge trusses, aircraft wings, or engine crankshafts—deform in three dimensions. However, their complex behaviors are governed by the same mathematical and physical principles that we can observe in a simple 1D axial member. By stripping away geometric complexities, we focus purely on the core mechanics: discretization, linear interpolation, local vs. global coordinate systems, energy minimization, and global system assembly.

In this chapter, we transition from continuous systems—where physical fields (like displacements, strains, and stresses) are described by differential equations at every single point—to discrete systems, where the behavior is approximated at a finite number of points called nodes. We will explore how shape functions act as a mathematical bridge between discrete nodal values and the continuous space between them. We will then derive the stiffness matrix using both energy principles and weighted residual methods, and finally, we will solve a multi-step axial assembly under complex loading conditions.


Core Concepts

1. Continuous vs. Discrete Systems: The Discretization Paradigm

In classical solid mechanics, a bar is treated as a continuous elastic body. If you apply a force at the end of a bar, every infinitesimal slice of the bar deforms. The displacement field $u(x)$ is continuous, meaning it has an infinite number of degrees of freedom (DOFs) because we need an infinite number of values to describe the displacement of every single point along the length. The exact behavior is governed by the strong-form differential equation:

$$AE \frac{d^2u}{dx^2} + q(x) = 0$$

where $A$ is the cross-sectional area, $E$ is Young's Modulus, and $q(x)$ is the distributed axial load.

For simple geometries and uniform loads, finding an analytical solution to this differential equation is straightforward. However, when the cross-sectional area $A$ varies arbitrarily, the material properties $E$ change along the length (e.g., in functionally graded materials), or multiple point loads are applied, finding a closed-form analytical solution becomes mathematically intractable.

The Finite Element Method resolves this by discretizing the continuous bar into a finite number of sub-domains called elements. Instead of solving for the displacement at an infinite number of points, we solve for the displacements at a finite number of discrete points called nodes. The displacement within each element is then approximated by interpolating the values at its boundary nodes. Through this discretization, we convert a differential equation (infinitely many variables) into a system of algebraic equations (finite number of variables):

$$[K]\{U\} = \{F\}$$

where $[K]$ is the global stiffness matrix, $\{U\}$ is the vector of nodal displacements, and $\{F\}$ is the vector of nodal forces.

2. Linear Interpolation and Shape Functions

Since we only calculate displacements at the nodes, we need a way to estimate the displacement at an arbitrary point $x$ inside an element. We use interpolation functions, commonly referred to as shape functions.

For a 1D bar element defined by two nodes (local Node 1 at $x=0$ and local Node 2 at $x=L$), the simplest approximation is a linear variation of displacement. The displacement field $u(x)$ within the element is represented as:

$$u(x) = N_1(x) u_1 + N_2(x) u_2$$

where $u_1$ and $u_2$ are the axial displacements at Node 1 and Node 2, respectively, and $N_1(x)$ and $N_2(x)$ are the shape functions.

Shape functions are not arbitrary; they must satisfy strict mathematical and physical criteria:

1.
Kronecker Delta Property: A shape function must have a value of unity ($1$) at its corresponding node and zero ($0$) at all other nodes.
$$N_i(x_j) = \delta_{ij}$$

For our 2-node element:

$N_1(0) = 1, \quad N_1(L) = 0$
$N_2(0) = 0, \quad N_2(L) = 1$

This property ensures that when we evaluate the displacement field $u(x)$ exactly at Node 1 ($x=0$), we get $u(0) = N_1(0)u_1 + N_2(0)u_2 = 1 \cdot u_1 + 0 \cdot u_2 = u_1$.

2.
Partition of Unity: The sum of all shape functions within an element must equal unity at any point in the domain.
$$\sum_{i=1}^n N_i(x) = 1$$

If this property is violated, the element cannot represent rigid body motion. If we translate the entire element by a constant displacement $u_0$ (i.e., $u_1 = u_2 = u_0$), the displacement at any point inside must be $u(x) = u_0$. Since $u(x) = (N_1(x) + N_2(x)) u_0$, we must have $N_1(x) + N_2(x) = 1$. If $N_1(x) + N_2(x) \neq 1$, the interpolation would falsely predict that a rigid translation induces strains and stresses in the material.

3.
Completeness and Compatibility: The shape functions must be able to represent constant strain states (since strain is the derivative of displacement, and the derivative of a linear function is constant). Furthermore, the displacement must be continuous across element boundaries ($C^0$ continuity) to prevent physical gaps or overlaps from opening up between elements under load.

3. Local vs. Global Coordinate Systems and Node Mapping

In structural analysis, elements can be oriented in various directions. To make the calculations manageable, we define two coordinate systems:

Local Coordinate System (Element Coordinate System): This system is attached directly to the individual element. For a 1D bar, the local coordinate axis $x$ runs along the neutral axis of the bar, with its origin usually placed at local Node 1. The local nodes are always numbered sequentially as $1$ and $2$. This system simplifies the derivation of shape functions and stiffness matrices.
Global Coordinate System (Structure Coordinate System): This is a fixed, reference coordinate system for the entire structure. The global nodes are numbered from $1$ to $N_{global}$, where $N_{global}$ is the total number of nodes in the mesh.

For a 1D assembly where all bars lie along the same straight line, the local and global coordinates are aligned. However, we still need a mapping mechanism to assemble local element matrices into the global system. This is done using an element connectivity table (or mapping matrix). For example, Element 3 might connect global Node 3 to global Node 4. Its local Node 1 maps to global Node 3, and its local Node 2 maps to global Node 4. This mapping ensures that internal forces and displacements are balanced at the shared joints.

4. The Axial Bar Stiffness Formulation: Analogy to a Spring

Let us relate the physical behavior of a solid bar to a simple mechanical spring. A spring is characterized by its stiffness constant $k$, which relates force $F$ to elongation $\delta$:

$$F = k \delta$$

Now consider an elastic bar of length $L$, cross-sectional area $A$, and Young's Modulus $E$, fixed at one end and pulled with an axial force $F$ at the other. From classical strength of materials:

Axial strain: $\epsilon = \frac{\delta}{L}$
Hooke's Law: $\sigma = E \epsilon = E \frac{\delta}{L}$
Axial stress: $\sigma = \frac{F}{A}$

Equating the stress expressions:

$$\frac{F}{A} = E \frac{\delta}{L} \implies F = \left(\frac{AE}{L}\right) \delta$$

Comparing this to the spring equation $F = k \delta$, we see that a bar behaves exactly like a spring with an equivalent axial stiffness:

$$k = \frac{AE}{L}$$

The stiffness depends on:

Material properties ($E$): Higher modulus means a stiffer bar.
Cross-sectional geometry ($A$): Larger area increases stiffness.
Member length ($L$): Longer bars are more flexible (stiffness is inversely proportional to length).

5. Assemblies of Springs: Series vs. Parallel Networks

When modeling complex structures, individual elements are connected in networks. We can evaluate their combined behavior using series and parallel spring equivalents:

Springs in Series (End-to-End Connection)

Consider two springs with stiffnesses $k_1$ and $k_2$ connected in series under an axial load $F$.

Force Equilibrium: The same force $F$ must pass through both springs. Thus, $F_1 = F_2 = F$.
Displacement Compatibility: The total displacement $\delta_{total}$ is the sum of the individual elongations:
$$\delta_{total} = \delta_1 + \delta_2$$

Using Hooke's Law:

$$\delta_{total} = \frac{F}{k_1} + \frac{F}{k_2} = F \left( \frac{1}{k_1} + \frac{1}{k_2} \right)$$

Since $F = k_{eq} \delta_{total}$, we have:

$$\frac{1}{k_{eq}} = \frac{1}{k_1} + \frac{1}{k_2} \implies k_{eq} = \frac{k_1 k_2}{k_1 + k_2}$$

In series systems, the equivalent stiffness is always *smaller* than the smallest individual stiffness.

Springs in Parallel (Side-by-Side Connection)

Consider two springs with stiffnesses $k_1$ and $k_2$ connected in parallel, sharing the same load $F$ and undergoing the same displacement $\delta$.

Force Equilibrium: The total force $F$ is shared between the two springs:
$$F = F_1 + F_2$$
Displacement Compatibility: Both springs deform by the same amount:
$$\delta_1 = \delta_2 = \delta$$

Using Hooke's Law:

$$F = k_1 \delta + k_2 \delta = (k_1 + k_2) \delta$$

Comparing to $F = k_{eq} \delta$, we get:

$$k_{eq} = k_1 + k_2$$

In parallel systems, stiffnesses add up directly.

6. Physical Interpretation of Stiffness Coefficients

A key concept in FEA is the physical meaning of the elements within a stiffness matrix. For a system of equations $[K]\{U\} = \{F\}$, the entry $K_{ij}$ in the stiffness matrix represents the reaction force at Node $i$ due to a unit displacement applied at Node $j$, while all other nodes are held fixed (zero displacement).

For a single bar element:

$$[k]^e = \begin{bmatrix} k_{11} & k_{12} \\ k_{21} & k_{22} \end{bmatrix} = \frac{AE}{L} \begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix}$$
$k_{11} = \frac{AE}{L}$: If Node 2 is held fixed ($u_2 = 0$) and we pull Node 1 by a unit displacement ($u_1 = 1$), the force required at Node 1 is $\frac{AE}{L}$.
$k_{21} = -\frac{AE}{L}$: Under the same conditions (Node 1 pulled by $1$, Node 2 fixed), the reaction force generated at Node 2 to prevent it from moving is $-\frac{AE}{L}$ (acting in the negative direction to hold the node).

This physical interpretation is universal across all structural finite elements, including 2D plates, shells, and 3D solids.

7. Essential vs. Natural Boundary Conditions

A stiffness matrix $[K]$ assembled for a structure without any supports is singular (its determinant is $|K| = 0$). Mathematically, this means the matrix cannot be inverted. Physically, it indicates that the structure is free to move as a rigid body without any resistance. To solve for displacements, we must apply constraints to eliminate rigid body modes.

Boundary conditions in FEM are classified into two types:

Essential (Dirichlet) Boundary Conditions: These are constraints on the primary variables (displacements in structural mechanics). Examples include a fixed end ($u = 0$) or a prescribed displacement ($u = d_0$). These boundary conditions must be explicitly enforced by reducing the stiffness equations.
Natural (Neumann) Boundary Conditions: These are constraints on the derivatives of the primary variables (forces or tractions in structural mechanics). Examples include a point load applied at a node or a free end (where the axial force is zero). These boundary conditions are naturally incorporated into the force vector $\{F\}$ and do not require modification of the stiffness matrix.

Extended chapter reference

Axial interpolation, stiffness assembly, distributed loads, and stress recovery

The two-node bar is the clearest complete FEM model: shape functions interpolate displacement, their derivatives create strain, constitutive behavior creates stress, and integration produces element stiffness.

Derive linear shape functions from nodal interpolation conditions.
Assemble element stiffness and consistent load vectors into global equations.
Apply essential constraints without destroying equilibrium information.
Recover axial strain, stress, reaction force, and element energy.

Visual map

From formulation to verified result

1D Spring & Bar Element Formulations finite element workflowA six-stage engineering workflow from model definition through verification.1D Spring & Bar Element FormulationsModel-to-evidence sequence1
Define nodes
2
Interpolate u
3
Differentiate to strain
4
Integrate stiffness
5
Assemble and constrain
6
Recover stress
Each stage produces evidence for the next. A reliable result preserves traceability from the physical idealization to the final engineering check.

Equation sheet

Governing relationships

Bar stiffness
$$[k]^e=\frac{AE}{L}\begin{bmatrix}1&-1\\-1&1\end{bmatrix}$$

Local axial force-displacement relation.

Strain field
$$\varepsilon=[B]\{u\}^e=\frac{u_2-u_1}{L}$$

Constant strain for a linear bar.

Consistent body load
$$\{f_q\}^e=\int_0^L[N]^Tq(x)\,dx$$

Converts distributed load to equivalent nodal forces.

Engineering comparison

Selection and interpretation table

ElementDOFs per nodeField capturedTypical use
Spring1Relative axial motionJoints and discrete compliance
2-node bar1Constant axial strainRods and straight tie members
3-node bar1Linear axial strainTapered or graded members
Cable2 or 3Tension-only geometric responseGuy wires and suspension systems

Verification and application

Checks before accepting the result

  • Rigid translation produces zero strain
  • Element forces are equal and opposite
  • Reactions close the load balance
  • Refinement converges to analytical displacement

Industry application

A stepped tie rod is best represented with element boundaries at every area or material change. The axial force remains continuous between unloaded segments, while strain and stress jump according to the local values of A and E.