Truss Finite Element Analysis for MATLAB
Matlab Truss Finite Element Analysis (FEA / FEM)
MATLAB Code: 2D Truss (planar truss) Analyzer toolbox using FEM
Usage
Just run the EVAL1.m and EVAL2.m
Example 1
%% Truss Definition
clc, clear
T.node = [0, 0; 0, 1; 1, 1];
T.element = [2, 3, 8e-5, 200e9; 1, 3, 8e-5, 200e9];
T.force = [3, 1000, -90];
T.support = [1, 2, 0; 2, 2, 0];
%% FEM Analysis
Tr = TrussFEA(T); % FEM Solver
TrussPlotter(Tr, 1); % Graphical visualization
Example 2
%% Truss Definition
clc, clear
T.node = [0, 0; 4, 0; 4, 4; 8, 0; 8, 6; 12, 0;12 4; 16, 0];
El_n = [1 2;1 3; 2 3; 3 4; 2 4; 3 5; 4 5; 4 7;4 6; 5 7; 6 7; 6 8; 7 8];
A = 1e-4; E = 200e9;
T.element = [El_n, A*ones(13,1), E*ones(13,1)];
T.force = [2, 3e3, -90; 4, 5e3, -90; 6, 4e3, -90];
T.support = [1 2 0; 8, 1, 2];
%% FEM Analysis
Tr = TrussFEA(T); % FEM Solver
TrussPlotter(Tr, 1); % Graphical visualization
Contact
Email: smtoraabi@ymail.com
Video Tutorial [ In Persian ]
1. Analysis of Planar Truss using Finite Element Method - Part 1: Theory
تحلیل سازه خرپا به روش المان محدود - بخش 1: تئوری
2. Analysis of Planar Truss using Finite Element Method - Part 2: Implementation in MATLAB
تحلیل سازه خرپا به روش المان محدود - بخش 2: پیاده سازی در متلب MATLAB
Zitieren als
mansour torabi (2024). Truss Finite Element Analysis for MATLAB (https://github.com/Mansourt/MATLAB_Truss_Finite_Element_Analysis/releases/tag/v1.0), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0 |