image thumbnail

Finite Element Triangular Mesh Generator

version 1.1 (2.3 KB) by Kehinde OROLU
This function generates triangular mesh for a rectangular shape structure for FEM analysis

2.5K Downloads

Updated 19 Nov 2014

View License

The function femTriangularMeshGenerator() generates triangular mesh for a rectangular shape structure for Finite Element analysis.
The outputs are:
coords = x and y coordinates of each element nodes
cT = nodal connectivity
nNodes = Number of nodes

The inputs are:
Lx = width of the rectangular structure
Ly = Height of the rectangular structure
Nx = Number of divisions on x- axis
NE = Number of elements

The example generates 144 elements for a rectangular structure given a dimension 10units by 10units with respect to 8 divisions on x-axis.

Cite As

Kehinde OROLU (2021). Finite Element Triangular Mesh Generator (https://www.mathworks.com/matlabcentral/fileexchange/32875-finite-element-triangular-mesh-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!