ElasticBeam
This program calculates both angular deflection and total displacement of a vibrating, continuous beam. It's based on finite difference methods for the PDE. The equilibrium parameter for a stable solution is c*r<0.1 (use multiples of 1, 2 and 5 for the steps and c*r<0.5 is a good guess). If not, the equation becomes unstable and a solution is not found.
I'll modify it shortly so that it calculates also bending moments, but it's not hard to do this. Also, BC's and IC's can be modified in the script, as can be the forcing load causing vibration.
Just remember to use consistent units!
Have fun!
Cite As
Lucas Gasparino (2024). ElasticBeam (https://www.mathworks.com/matlabcentral/fileexchange/55233-elasticbeam), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Structural Mechanics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.1.0.0 | Modified to calculate bending moment and small correction on the % Solution section (substitute for the code below): y(i+1,j)=-(c*r)*(y(i,j-2)-4*y(i,j-1)+6*y(i,j)-4*y(i,j+1)+y(i,j+2))+((1/(rho*A))*(k^2))*F(i,j)+(2*y(i,j)-y(i-1,j));
|
||
1.0.0.0 |