Skip to content

Meshing (Mesh.m)

In finite elements and computer graphics, mesh tessellation is a common language used to describe the structural geometry through a finite collection of vertices and edges. In Sorotoki, meshes and mesh generation features are packaged into the class Mesh.m. In general, a mesh defines a discrete representation of a continuum body that is subdivided into smaller convex sub-volumes, referred to as "elements". The nodal and elemental information are stored in data structures that can be accessed using msh.Node and msh.Element, respectively. For two-dimensional FEM problems, it is common to use linear elements such as Tri3 and Quad4 or quadratic elements like Tri6 and Quad8$. For three-dimensional FEM problems, the common practice is to use hexahedron elements (i.e. Hex8) or tetrahedral elements (i.e., Tet4 and Tet12). There are also polygonal tessellations, often denotes as PolyN finite elements1. Sorotoki supports all these types.


  1. Cameron Talischi, Glaucio H. Paulino, Anderson Pereira, and Ivan F. M. Menezes. PolyTop: a Matlab implementation of a general topology optimization framework using unstructured polygonal finite element meshes. Structural and Multidisciplinary Optimization, 45(3):329–357, 2012. doi:10.1007/s00158-011-0696-x