+6 07 553 86 86 arazin@utm.my
Plotting deformation of frame structure (FEM)

Plotting deformation of frame structure (FEM)

This is a MATLAB code to plot a deformation of planar frame structure. Since the formulation involves transformation of local elements to a global system, plotting using a simple w(x) versus x is not possible.. We need to transform back the DOFs obtained in the global...
FEM Meshing – TRUSS SYSTEM 1

FEM Meshing – TRUSS SYSTEM 1

This codes is to generate a set of truss structures with the arrangement as shown in the figure. . clear, clc, clf Lx = 5; Nx = 25; Ly = 0.5; Ny = 5; t = 0.1; Slimit = 1000; %CREATE NODES [X,Y]=meshgrid(0:Lx/Nx:Lx,0:Ly/Ny:Ly); X=X’; Y=Y’; nodes =...
FEM – Bar Problem 1

FEM – Bar Problem 1

This program is to demonstrate the calculation of bar element in FEM. . % Clear previous data and graph clc; clear all; cla %Input E=200e6; % Young’s modulus (kN/m) A=0.04; % Area (m^2) L1=2.5; % Length 1st Element (m) L2=2.5; % Length 1st Element (m) P=10; %...