A truss is a structure in which members are arranged in such a way that they are subjected to axial loads only. The joints in trusses are considered to be pinned. In plane trusses, all members are assumed to be in the x-y plane.

A plane truss element is an axial deformation element oriented arbitrarily in two-dimensional space.

Definitions:

s and t = local coordinates along the member's axis and perpendicular to it, respectively.

x and y = global coordinates

d_{1} and d_{2} = nodal displacements along s axis (local coordinates)

u_{1} and u_{2} = nodal displacements along x axis (global coordinate)

v_{1} and v_{2} = nodal displacements along y axis (global coordinate)

L = length of each member

Using the following interpolation we can find the deformation at any point on the member based on the known values of nodal displacements:

and the element equations in the local coordinate system are as follows:

where k_{1}= the local stiffness matrix of element; d_{1 }= local degrees of freedom; r_{1} = local applied forces; E = elastic modulus of the material; and A = cross-sectional area.

For the sake of brevity, transformation matrices are not described in here.

Final form of element equations are as follows:

where

for solving the above-mentioned equation

after solving it, the axial displacements can be obtained from:

and from that, the axial strain is simply the first derivative of the axial displacement, giving constant strain over the element as

and from the axial strain, one can get to the axial stress of each member using the Hook's law, where

and consequently, the force of each member can be obtained from

Equations given above are only for one member, for a plane truss structure containing more than member, stiffness, displacement, and force matrices need to be assembled before solving. On the other hand, sufficient number of boundary conditions are required to get a unique solution. Using the files under download section may help the readers understand the concepts better.

Nodes file for plane truss analysis

Element files for plane truss analysis

put these three files in the same folder.

**Group2: **

Nodes file for plane truss analysis

Element files for plane truss analysis

put these three files in the same folder.

Nodes for plane truss analysis including initial strains and temperature loads

Elements for plane truss analysis including initial strains and temperature loads

put these three files in the same folder.

- Free download MATLAB file for finite element analysis of plane trusses + solved example + visualization, including temperature changes and initial strains
- Introduction to Finite Elements And the Big Picture
- Typical Load Combinations For Residential Buildings Design
- Solved Example: Analysis of a one-way spanning unreinforced masonry wall panel (BS 5628)
- All Types of Roofs And Their Details