← All theory chapters
Theory / FEM

The Two-node Bar: From Interpolation to Reaction

Derive a complete linear bar element and check displacement, stress and equilibrium.

Theory · Educational notes

How does a nodal displacement become an element force?

Use E = 70000 MPa, A = 100 mm² and L = 200 mm, with the left end fixed and 1000 N at the right. Recover strain, stress and force from the solved displacement.

The linear shape functions produce a displacement gradient equal to end extension divided by length. Multiplying by E gives stress and by area gives force. Recovering the original applied force closes the calculation and exposes unit or assembly mistakes.

Connect the physical quantities

The two-node bar represents axial extension only. Its strain follows from the displacement difference divided by length; identical nodal translations give zero strain. Bending and torsion require different kinematics rather than extra interpretation of the axial result.

The relationship used in this example

σ=Eu2−u1L\sigma=E\frac{u_2-u_1}{L}

A two-node bar carries axial force along its axis. Its interpolated displacement is linear, its strain is constant, and its stiffness follows from elastic virtual work. It is a useful first derivation because every matrix term can be checked against the axial-extension formula.

Work through the example

Step 1

Compute stiffness EA/L = 35000 N/mm.

Step 2

Solve u2 = 1000/35000 = 0.0285714 mm.

Step 3

Recover stress E(u2/L) = 10 MPa and check Aσ = 1000 N.

Full example conditions and reference values

Take E = 70000 N/mm², A = 100 mm², L = 200 mm. Fix the left node and pull the right node with F = 1000 N. The element stiffness factor EA/L is 35000 N/mm. The right displacement is 0.0285714 mm, strain is 0.000142857 and stress is 10 N/mm². The left reaction is −1000 N. The force recovered from Aσ equals the applied force. Energy is ½Fu2 = 14.2857 N·mm.

Compare the numbers before judging the result

Compare the calculated values
ElementsPer-element k (N/mm)Tip u (mm)
1350000.02857143
2700000.02857143
41400000.02857143

The uniform end-loaded bar is exactly representable by linear elements, so this refinement does not change its tip displacement.

What the result means for a model

Use a bar as a hand-check for axial load paths. A beam additionally represents rotations and bending stiffness; a truss in space still lacks bending stiffness. Choose the idealization before matching a numerical displacement.

This is a useful assembly regression for an end-loaded uniform bar. If stiffness doubles after subdivision, local length or connectivity was likely handled incorrectly. Passing this case does not test a varying axial load or bending formulation.

Another application: Split the bar without changing its response

Split the 200 mm bar into two 100 mm elements with unchanged E and A. Each has stiffness 70,000 N/mm; their series stiffness is 35,000 N/mm. At 1000 N the midpoint moves 0.0142857 mm and the tip 0.0285714 mm, matching the one-element solution.

Further modeling details

1 · Choose the interpolation

N1 is one at the left node and zero at the right; N2 does the reverse. Their sum is one, so a constant translation is reproduced exactly. Differentiating u gives ε = (u2−u1)/L. This is a kinematic assumption before any material law is chosen.

2 · Insert the constitutive law

For this uniaxial linear material σ = Eε. Virtual internal work is the integral of δε Aσ over the reference length. Replacing ε and δε with B times nodal displacements gives δueᵀ ke ue. Since the virtual nodal vector is arbitrary, the element force relation follows.

3 · Apply a load and enforce the support

For an end force the element load vector is [0,F]ᵀ. Prescribe u1, solve the free equation, and recover the reaction from the original equations. Do not read the constrained equation as zero force merely because its displacement is fixed.

4 · Add distributed loading

A uniform axial line load q contributes qL/2 to each node through the integral of Nᵀq. Summing nodal forces alone checks resultant equilibrium but not interpolation accuracy. Continue to the distributed-load chapter for an example with exact nodal values and nonzero interior displacement error.

5 · Distinguish a bar from a beam

This element has no bending or torsional stiffness. A spatial truss uses direction cosines to relate axial extension to global translations; it still does not carry bending. A thin pack rail under transverse loading requires a suitable beam, shell or solid idealization.

Formula and symbol reference

Open the complete formula reference
N1=1−xL,N2=xLN_1=1-\frac{x}{L},\qquad N_2=\frac{x}{L}
uh=N1u1+N2u2u^h=N_1u_1+N_2u_2
ε=Bue,B=[−1/L1/L]\varepsilon=\mathbf B\mathbf u_e,\quad\mathbf B=\begin{bmatrix}-1/L&1/L\end{bmatrix}
ke=∫0LBTEAB dx\mathbf k_e=\int_0^L\mathbf B^\mathsf T EA\mathbf B\,\mathrm dx
ke=EAL[1−1−11]\mathbf k_e=\frac{EA}{L}\begin{bmatrix}1&-1\\-1&1\end{bmatrix}
σ=Eu2−u1L\sigma=E\frac{u_2-u_1}{L}
SymbolMeaningUnit / convention
E, A, LAxial modulus, area and reference lengthN/mm²; mm²; mm
N1, N2Linear displacement shape functionsdimensionless
B, εStrain–displacement matrix and axial strain1/mm; dimensionless
u1, u2, σNodal displacements and axial stressmm; N/mm²

When this example stops applying

Uniform cross-section, constant E, small axial strain and no bending. The exact result for a uniform end-loaded bar is a special case and does not establish general mesh accuracy.

Check your interpretation

Divide the same uniform bar into two equal elements. What are the midpoint displacement and reaction?

Show the reasoning

Each half has stiffness 70000 N/mm. The midpoint displacement is 0.0142857 mm, the end displacement remains 0.0285714 mm, and the reaction remains −1000 N. Each element has the same 10 MPa stress.

Sources and calculation scope

The questions and comparison tables are independently authored teaching examples. Numbers illustrate the stated models; they are not measured cell/pack data or commercial-solver validation.

Comparison calculations (Python)

English / Korean · revised 1 November 2026