Solve Beams using Finite Element Method

These function files solve any engineering beam problem using Finite Element Method.
3.2K Downloads
Updated 25 Feb 2018

View License

There are multiple function files. One finds the total stiffness matrix for a beam. Since this is a 2-D beam solver which means each of the nodes in this Euler Bernoulli beam has 2 DOF only (uy and phi), the order of the total stiffness matrix is number of nodes times 2.
Another function file finds the equivalent nodal force vector due to the distributed loads.
solve_beam.m is the main function to be called (like shown in the example file beam_problem.m) that calls the these two functions to solve the beam.
draw_frame and animate functions draw the beam and its displacement at the names suggest.

Cite As

Mahdi Farahikia (2025). Solve Beams using Finite Element Method (https://se.mathworks.com/matlabcentral/fileexchange/66193-solve-beams-using-finite-element-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Chemistry in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0