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.
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 .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
You should define that it's for only rectangulars.
sir it is not downloading
Wow great tool. Thank you
how do I get a mesh for an earth dam.
Great.
A handy piece of code when developing FEM code! Thanks