Showing posts with label 2d. Show all posts
Showing posts with label 2d. Show all posts

Friday, October 7, 2016

Free download MATLAB file for finite element analysis of beams and columns + solved example + visualization

Visit http://CivilEngineeringBible.com for newer posts

Here I developed a MATLAB code for solving beam problems using Finite Element Technique with the ability of plotting deformed shape. Results of this code include nodal displacements; axial forces, bending moments, and shear forces for members; reaction forces at supports.

Below are some of the results:
three-story, two-span bending frame with dead load and lateral load.


 one-story, one-span bending frame with lateral load.

Results are verified with Abaqus and analytical methods.

For m-files (functions) contact me via: hosseinali.sut@gmail.com


Wednesday, March 25, 2015

2D elastic Finite Element MATLAB code + Abaqus Verification

Visit http://CivilEngineeringBible.com for newer posts and files
I wrote a finite element code (FEM Program) for two-dimensional analysis of elastic body using MATLAB programming language.
Here is a video of the results + its verification with Abaqus:


4-node elements ,4 Gauss points for numerical integration are used;.

Contact me via email (hosseinali.sut@gmail.com) for MATLAB files (functions).

*** Here is a solve example using both Abaqus and Code:
Normal Stress in X-direction, Abaqus result:


Normal Stress in X-direction, Code result:


Shear Stress in XY-direction, Abaqus result:


Shear Stress in XY-direction, Code result:


Normal Stress in Y-direction, Abaqus result:


Normal Stress in Y-direction, Code result:

Finite Element Analysis of a Contact Problem using MATLAB Code

Visit http://CivilEngineeringBible.com for newer posts and files
Here is the results of my FEM MATLAB code for large deformation contact problem:
Both Penalty and Lagrange Multiplier methods are programmed.



Do not hesitate to contact me via email (hosseinali.sut@gmail.com) for MATLAB files:
At.m
Bbar.m
BL.m
FX.m
GreenSt.m
Gvector.m
J.m
main.m
MG.m
readdata.m
spk2c.m