This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

FEMesh Properties

An FEMesh object contains a description of the finite element mesh. A PDEModel container has an FEMesh object in its Mesh property.

Generate a mesh for your model using the generateMesh function.

Properties

expand all

Mesh nodes, returned as a matrix. Nodes is a D-by-Nn matrix, where D is the number of geometry dimensions (2 or 3), and Nn is the number of nodes in the mesh. Each column of Nodes contains the x, y, and in 3-D, z coordinates for that mesh node.

2-D meshes have nodes at the mesh triangle corners for linear elements, and at the corners and edge midpoints for 'quadratic' elements. 3-D meshes have nodes at tetrahedral vertices, and the 'quadratic' elements have additional nodes at the center points of each edge. See Mesh Data.

Data Types: double

Mesh elements, returned as an M-by-Ne matrix, where Ne is the number of elements in the mesh, and M is:

  • 3 for 2-D triangles with 'linear' GeometricOrder

  • 6 for 2-D triangles with 'quadratic' GeometricOrder

  • 4 for 3-D tetrahedra with 'linear' GeometricOrder

  • 10 for 3-D tetrahedra with 'quadratic' GeometricOrder

Each column in Elements contains the indices of the nodes for that mesh element.

Data Types: double

Target maximum mesh element size, returned as a positive real number. The maximum mesh element size is the length of the longest edge in the mesh. The generateMesh Hmax name-value pair sets the target maximum size at the time it creates the mesh. generateMesh can occasionally create a mesh with some elements that exceed MaxElementSize by a few percent.

Data Types: double

Target minimum mesh element size, returned as a positive real number. The minimum mesh element size is the length of the shortest edge in the mesh. The Hmin name-value pair passed to the generateMesh function sets the target minimum size the at the time it creates the mesh. generateMesh can occasionally create a mesh with some elements that are smaller than MinElementSize.

Data Types: double

Mesh growth rate, returned as a scalar strictly between 1 and 2.

Data Types: double

Element polynomial order, returned as 'linear' or 'quadratic'. See Elements or Mesh Data.

Data Types: double

Introduced in R2015a