Matrix Analysis of Two Dimensional Bar Structures MABS2D

This program solves bar structures of constant area through matrix analysis of structures.
3.2K Downloads
Updated 21 Nov 2009

View License

Input data is the MS Excel file, where the table of nodes, table of elements, nodal external loads vector and boundary conditions are stored.
After running the mabs2d.m file on the Command Window, the program calculates the stiffness matrix in local coordinates kiL (element i). Once the transformation matrix associated to the element is obtained, the stiffness matrix in global coordinates kiG is also calculated. The table of connectivity is automatically generated for the assembly process and then computes the complete stiffness matrix of the structure. Boundary conditions are introduced on the Excel sheet in order to remove the singularity of the stiffness matrix. After solving the matrix system, the nodal displacements vector u and the nodal loads vector P0 (external loads and reactions) are calculated.
Finally, the program returns to the element formulation by transforming the global displacements into local ones to obtain the bar stresses sigmai of the element i and design the each member of the structure.
A plot of the deformed and non deformed structure in static equilibrium is also shown.
This program only considers concentrated loads on the nodes. In case there be distributed loads or thermal loads, they must be calculated separately and then included into the nodal external loads vector.
Flexion and shear effects are not considered. All the elements satisfy the hypothesis of the Finite Element Method (FEM).

Cite As

Marcos Cesar Ruggeri (2024). Matrix Analysis of Two Dimensional Bar Structures MABS2D (https://www.mathworks.com/matlabcentral/fileexchange/21793-matrix-analysis-of-two-dimensional-bar-structures-mabs2d), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Six beam element stiffness matrix

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

mabs2d_v2.1/

Version Published Release Notes
1.4.0.0

Adaptability of boundary conditions for isostatic structures included. More examples added.

1.3.0.0

Elements numeration included (v2.0)

1.2.0.0

New Screenshot

1.1.0.0

License included

1.0.0.0

Syntax improved. Instructions incorporated.