Truss Finite Element Analysis for MATLAB
版本 1.0 (26.5 KB) 作者:
mansour torabi
2D Truss Analyzer toolbox can analyze any 2D trusses using Finite Element Method (FEM)
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
引用格式
mansour torabi (2024). Truss Finite Element Analysis for MATLAB (https://github.com/Mansourt/MATLAB_Truss_Finite_Element_Analysis/releases/tag/v1.0), GitHub. 检索来源 .
MATLAB 版本兼容性
创建方式
R2020b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0 |
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。