

MasonMesh is a Matlab package to generate structured FEM mesh with 8-Nodes 3D Hexahedral elements for masonry facade buildings. The mesh created with MasonMesh can be used in many FEM analysis software/packages, such as openSees, FEAPpv, and FEDEASLab. The output of MasonMesh is two matrices: nodesXYZ and elem2n. nodesXYZ is nn-by-3, where nn is the number of nodes in the generated mesh, and the three columns are the X, Y, and Z coordinates of the mesh. elem2n is ne-by-8, where ne is the number of elements in the generated mesh, and the columns are the index of each vertex in nodesXYZ. The order of vertices in elem2n is shown in the figure above (courter-clockwise, from bottom to up), which is compatible with most FEM software/packages. The visualization is created with the package “Postprocessing in FEM” created by Dr. Siva Srinivas Kolukula. MasonMesh can be retrieved from Matlab File Exchange website through this link.
Cite As:
jinyan zhao (2023). MasonMesh (https://www.mathworks.com/matlabcentral/fileexchange/123345-masonmesh), MATLAB Central File Exchange. Retrieved January 16, 2023.