File Exchange

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

8 Downloads

Updated 19 Nov 2014

View Version History

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 .

Comments and Ratings (8)

Anilcan Taner

You should define that it's for only rectangulars.

GAURAV DHADSE

sir it is not downloading

beebee

Wow great tool. Thank you

JITHA K R

how do I get a mesh for an earth dam.

Damola Ajiboye

Great.

aslan

ali

A handy piece of code when developing FEM code! Thanks

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!